flat.css 17 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. html, body {
  5. background: #fafafa;
  6. height: 100%;
  7. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  8. }
  9. /*=== Links */
  10. a, button.as-link {
  11. color: #2980b9;
  12. outline: none;
  13. }
  14. /*=== Forms */
  15. legend {
  16. margin: 20px 0 5px;
  17. padding: 5px 20px;
  18. background: #ecf0f1;
  19. display: inline-block;
  20. width: auto;
  21. font-size: 1.4em;
  22. border-radius: 20px;
  23. clear: both;
  24. }
  25. label {
  26. min-height: 25px;
  27. padding: 5px 0;
  28. cursor: pointer;
  29. color: #444;
  30. }
  31. textarea {
  32. width: 360px;
  33. height: 100px;
  34. }
  35. input, select, textarea {
  36. padding: 5px;
  37. background: #fff;
  38. color: #666;
  39. border: none;
  40. border-bottom: 3px solid #ddd;
  41. border-left-color: #ddd;
  42. border-radius: 5px;
  43. min-height: 25px;
  44. line-height: 25px;
  45. vertical-align: middle;
  46. }
  47. option {
  48. padding: 0 .5em;
  49. }
  50. input:focus, select:focus, textarea:focus {
  51. color: #333;
  52. border-color: #2980b9;
  53. }
  54. input:invalid, select:invalid {
  55. color: #f00;
  56. border-color: #f00;
  57. box-shadow: none;
  58. }
  59. input:disabled, select:disabled {
  60. background: #eee;
  61. }
  62. input.extend {
  63. transition: width 200ms linear;
  64. }
  65. /*=== Tables */
  66. table {
  67. border-collapse: collapse;
  68. }
  69. tr, th, td {
  70. padding: 0.5em;
  71. border: 1px solid #ddd;
  72. }
  73. th {
  74. background: #f6f6f6;
  75. }
  76. form td,
  77. form th {
  78. font-weight: normal;
  79. text-align: center;
  80. }
  81. /*=== COMPONENTS */
  82. /*===============*/
  83. /*=== Forms */
  84. .form-group {
  85. padding: 5px;
  86. border: 1px solid transparent;
  87. border-radius: 3px;
  88. }
  89. .form-group::after {
  90. content: "";
  91. display: block;
  92. clear: both;
  93. }
  94. .form-group:hover {
  95. background: #fff;
  96. border: 1px solid #eee;
  97. border-radius: 3px;
  98. }
  99. .form-group.form-actions {
  100. margin: 15px 0 25px;
  101. padding: 5px 0;
  102. background: #ecf0f1;
  103. border-top: 3px solid #bdc3c7;
  104. border-radius: 5px 5px 0 0;
  105. }
  106. .form-group.form-actions .btn {
  107. margin: 0 10px;
  108. }
  109. .form-group .group-name {
  110. padding: 10px 0;
  111. text-align: right;
  112. }
  113. .form-group .group-controls {
  114. min-height: 25px;
  115. padding: 5px 0;
  116. }
  117. .form-group .group-controls .control {
  118. line-height: 2.0em;
  119. }
  120. /*=== Buttons */
  121. .stick {
  122. vertical-align: middle;
  123. font-size: 0;
  124. }
  125. .stick input,
  126. .stick .btn {
  127. border-radius: 0;
  128. }
  129. .stick .btn:first-child,
  130. .stick input:first-child {
  131. border-radius: 5px 0 0 5px;
  132. }
  133. .stick .btn:last-child,
  134. .stick input:last-child,
  135. .stick .btn + .dropdown > .btn {
  136. border-radius: 0 5px 5px 0;
  137. }
  138. .stick .btn + .btn,
  139. .stick .btn + input,
  140. .stick .btn + .dropdown > .btn,
  141. .stick input + .btn,
  142. .stick input + input,
  143. .stick input + .dropdown > .btn,
  144. .stick .dropdown + .btn,
  145. .stick .dropdown + input,
  146. .stick .dropdown + .dropdown > .btn {
  147. border-left-width: 1px;
  148. border-left-style: solid;
  149. }
  150. .btn {
  151. margin: 0;
  152. padding: 5px 10px;
  153. background: #3498db;
  154. display: inline-block;
  155. color: #fff;
  156. font-size: 0.9rem;
  157. border: none;
  158. border-bottom: 3px solid #2980b9;
  159. border-left-color: #2980b9;
  160. border-radius: 5px;
  161. min-height: 38px;
  162. min-width: 15px;
  163. line-height: 25px;
  164. vertical-align: middle;
  165. cursor: pointer;
  166. overflow: hidden;
  167. }
  168. a.btn {
  169. min-height: 25px;
  170. line-height: 25px;
  171. }
  172. .btn:hover {
  173. text-decoration: none;
  174. }
  175. .btn.active,
  176. .btn:active,
  177. .btn:hover,
  178. .dropdown-target:target ~ .btn.dropdown-toggle {
  179. background: #2980b9;
  180. }
  181. .btn-important {
  182. font-weight: normal;
  183. background: #e67e22;
  184. color: #fff;
  185. border-bottom: 3px solid #d35400;
  186. border-left-color: #d35400;
  187. }
  188. .btn-important:hover,
  189. .btn-important:active {
  190. background: #d35400;
  191. }
  192. .btn-attention {
  193. background: #e74c3c;
  194. color: #fff;
  195. border-bottom: 3px solid #c0392b;
  196. border-left-color: #c0392b;
  197. }
  198. .btn-attention:hover,
  199. .btn-attention:active {
  200. background: #c0392b;
  201. }
  202. /*=== Navigation */
  203. .nav-list .nav-header,
  204. .nav-list .item {
  205. height: 2.5em;
  206. line-height: 2.5em;
  207. font-size: 0.9rem;
  208. }
  209. .nav-list .item:hover,
  210. .nav-list .item.active {
  211. background: #2980b9;
  212. color: #fff;
  213. }
  214. .nav-list .item:hover a,
  215. .nav-list .item.active a {
  216. color: #fff;
  217. }
  218. .nav-list .disable {
  219. text-align: center;
  220. background: #fafafa;
  221. color: #aaa;
  222. }
  223. .nav-list .item > a {
  224. padding: 0 10px;
  225. }
  226. .nav-list a:hover {
  227. text-decoration: none;
  228. }
  229. .nav-list .item.empty a {
  230. color: #f39c12;
  231. }
  232. .nav-list .item:hover.empty a,
  233. .nav-list .item.active.empty a {
  234. background: #f39c12;
  235. color: #fff;
  236. }
  237. .nav-list .item.error a {
  238. color: #bd362f;
  239. }
  240. .nav-list .item:hover.error a,
  241. .nav-list .item.active.error a {
  242. background: #bd362f;
  243. color: #fff;
  244. }
  245. .nav-list .nav-header {
  246. padding: 0 10px;
  247. font-weight: bold;
  248. background: #34495e;
  249. color: #fff;
  250. }
  251. .nav-list .nav-form {
  252. padding: 3px;
  253. text-align: center;
  254. }
  255. .nav-head {
  256. margin: 0;
  257. text-align: right;
  258. background: #34495e;
  259. color: #fff;
  260. }
  261. .nav-head a {
  262. color: #fff;
  263. }
  264. .nav-head .item {
  265. padding: 5px 10px;
  266. font-size: 0.9rem;
  267. line-height: 1.5rem;
  268. }
  269. /*=== Horizontal-list */
  270. .horizontal-list {
  271. margin: 0;
  272. padding: 0;
  273. }
  274. .horizontal-list .item {
  275. vertical-align: middle;
  276. }
  277. /*=== Dropdown */
  278. .dropdown-menu {
  279. margin: 5px 0 0;
  280. padding: 5px 0;
  281. background: #fafafa;
  282. font-size: 0.8rem;
  283. border: 1px solid #95a5a6;
  284. border-radius: 3px;
  285. text-align: left;
  286. }
  287. .dropdown-menu::after {
  288. background: #fff;
  289. width: 10px;
  290. height: 10px;
  291. border-top: 1px solid #95a5a6;
  292. border-left: 1px solid #95a5a6;
  293. content: "";
  294. position: absolute;
  295. top: -6px;
  296. right: 13px;
  297. z-index: -10;
  298. transform: rotate(45deg);
  299. }
  300. .dropdown-header {
  301. padding: 0 5px 5px;
  302. font-weight: bold;
  303. text-align: left;
  304. color: #34495e;
  305. }
  306. .dropdown-menu > .item > a,
  307. .dropdown-menu > .item > span,
  308. .dropdown-menu > .item > .as-link {
  309. padding: 0 22px;
  310. line-height: 2.5em;
  311. font-size: 0.8rem;
  312. }
  313. .dropdown-menu > .item:hover {
  314. background: #2980b9;
  315. color: #fff;
  316. }
  317. .dropdown-menu > .item[aria-checked="true"] > a::before {
  318. font-weight: bold;
  319. margin: 0 0 0 -14px;
  320. }
  321. .dropdown-menu > .item:hover > a {
  322. text-decoration: none;
  323. color: #fff;
  324. }
  325. .dropdown-menu .input select,
  326. .dropdown-menu .input input {
  327. margin: 0 auto 5px;
  328. padding: 2px 5px;
  329. border-radius: 3px;
  330. }
  331. .separator {
  332. margin: 5px 0;
  333. border-bottom: 1px solid #ddd;
  334. }
  335. /*=== Alerts */
  336. .alert {
  337. margin: 15px auto;
  338. padding: 10px 15px;
  339. background: #f4f4f4;
  340. color: #aaa;
  341. font-size: 0.9em;
  342. border: 1px solid #ccc;
  343. border-right: 1px solid #aaa;
  344. border-bottom: 1px solid #aaa;
  345. border-radius: 5px;
  346. text-shadow: 0 0 1px #eee;
  347. }
  348. .alert-head {
  349. font-size: 1.15em;
  350. }
  351. .alert > a {
  352. text-decoration: underline;
  353. color: inherit;
  354. }
  355. .alert-warn {
  356. background: #ffe;
  357. color: #c95;
  358. border: 1px solid #eeb;
  359. }
  360. .alert-success {
  361. background: #dfd;
  362. color: #484;
  363. border: 1px solid #cec;
  364. }
  365. .alert-error {
  366. background: #fdd;
  367. color: #844;
  368. border: 1px solid #ecc;
  369. }
  370. /*=== Pagination */
  371. .pagination {
  372. background: #ecf0f1;
  373. color: #000;
  374. font-size: 0.8em;
  375. text-align: center;
  376. }
  377. .content .pagination {
  378. margin: 0;
  379. padding: 0;
  380. }
  381. .pagination .item.pager-current {
  382. background: #34495e;
  383. color: #ecf0f1;
  384. font-size: 1.5em;
  385. font-weight: bold;
  386. }
  387. .pagination .item a {
  388. display: block;
  389. font-style: italic;
  390. line-height: 3em;
  391. text-decoration: none;
  392. color: #000;
  393. }
  394. .pagination .item a:hover {
  395. background: #34495e;
  396. color: #ecf0f1;
  397. }
  398. .pagination .loading,
  399. .pagination a:hover.loading {
  400. background: url("loader.gif") center center no-repeat #34495e;
  401. font-size: 0;
  402. }
  403. /*=== Boxes */
  404. .box {
  405. border: 1px solid #ddd;
  406. border-radius: 5px;
  407. }
  408. .box .box-title {
  409. margin: 0;
  410. padding: 5px 10px;
  411. background: #ecf0f1;
  412. color: #333;
  413. border-bottom: 1px solid #ddd;
  414. border-radius: 5px 5px 0 0;
  415. }
  416. .box .box-title .configure {
  417. margin-right: 4px;
  418. }
  419. .box .box-content {
  420. padding-left: 30px;
  421. max-height: 260px;
  422. }
  423. .box .box-content .item {
  424. font-size: 0.9rem;
  425. line-height: 2.5em;
  426. }
  427. .box .box-title .configure .icon,
  428. .box .box-content .item .configure .icon {
  429. vertical-align: middle;
  430. background-color: #95a5a6;
  431. border-radius: 3px;
  432. }
  433. /*=== Tree */
  434. .tree {
  435. margin: 10px 0;
  436. }
  437. .tree-folder-title {
  438. position: relative;
  439. padding: 0 10px;
  440. background: #34495e;
  441. line-height: 2.5rem;
  442. font-size: 1rem;
  443. }
  444. .tree-folder-title .title {
  445. background: inherit;
  446. color: #fff;
  447. }
  448. .tree-folder-title .title:hover {
  449. text-decoration: none;
  450. }
  451. .tree-folder.active .tree-folder-title {
  452. background: #2980b9;
  453. font-weight: bold;
  454. }
  455. .tree-folder-items {
  456. background: #2c3e50;
  457. }
  458. .tree-folder-items > .item {
  459. padding: 0 10px;
  460. line-height: 2.5rem;
  461. font-size: 0.8rem;
  462. }
  463. .tree-folder-items > .item.active {
  464. background: #2980b9;
  465. }
  466. .tree-folder-items > .item > a {
  467. text-decoration: none;
  468. color: #fff;
  469. }
  470. /*=== Scrollbar */
  471. @supports (scrollbar-width: thin) {
  472. #sidebar {
  473. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  474. }
  475. #sidebar:hover {
  476. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  477. }
  478. }
  479. @supports not (scrollbar-width: thin) {
  480. #sidebar::-webkit-scrollbar-thumb {
  481. background: rgba(255, 255, 255, 0.1);
  482. }
  483. #sidebar:hover::-webkit-scrollbar-thumb {
  484. background: rgba(255, 255, 255, 0.3);
  485. }
  486. }
  487. /*=== STRUCTURE */
  488. /*===============*/
  489. /*=== Header */
  490. .header {
  491. background: #ecf0f1;
  492. height: 85px;
  493. }
  494. .header > .item {
  495. padding: 10px;
  496. vertical-align: middle;
  497. text-align: center;
  498. }
  499. .header > .item.title {
  500. width: 230px;
  501. }
  502. .header > .item.title h1 {
  503. margin: 0.5em 0;
  504. }
  505. .header > .item.title h1 a {
  506. text-decoration: none;
  507. }
  508. .header > .item.search input {
  509. width: 230px;
  510. }
  511. .header .item.search input:focus {
  512. width: 350px;
  513. }
  514. /*=== Body */
  515. #global {
  516. height: calc(100% - 85px);
  517. }
  518. .aside {
  519. background: #ecf0f1;
  520. }
  521. .aside.aside_feed {
  522. padding: 10px 0;
  523. text-align: center;
  524. background: #34495e;
  525. border-radius: 0 10px 0 0;
  526. }
  527. .aside.aside_feed .tree {
  528. margin: 10px 0 50px;
  529. }
  530. /*=== Aside main page (categories) */
  531. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  532. margin: 10px 0;
  533. padding: 0 10px;
  534. background: inherit;
  535. font-size: 0.9rem;
  536. position: absolute;
  537. right: 0;
  538. line-height: 1.5rem;
  539. }
  540. /*=== Aside main page (feeds) */
  541. .feed.item.empty.active {
  542. background: #f39c12;
  543. }
  544. .feed.item.error.active {
  545. background: #bd362f;
  546. }
  547. .feed.item.empty,
  548. .feed.item.empty > a {
  549. color: #e67e22;
  550. }
  551. .feed.item.error,
  552. .feed.item.error > a {
  553. color: #bd362f;
  554. }
  555. .feed.item.empty.active,
  556. .feed.item.error.active,
  557. .feed.item.empty.active > a,
  558. .feed.item.error.active > a {
  559. color: #fff;
  560. }
  561. .aside_feed .tree-folder-items .dropdown-menu::after {
  562. left: 2px;
  563. }
  564. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  565. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  566. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  567. border-radius: 3px;
  568. }
  569. /*=== Configuration pages */
  570. .post {
  571. padding: 10px 50px;
  572. font-size: 0.9em;
  573. }
  574. .post form {
  575. margin: 10px 0;
  576. }
  577. .post.content {
  578. max-width: 550px;
  579. }
  580. /*=== Prompt (centered) */
  581. .prompt {
  582. max-width: 20rem;
  583. margin-left: auto;
  584. margin-right: auto;
  585. padding-left: .5rem;
  586. padding-right: .5rem;
  587. text-align: center;
  588. }
  589. .prompt form {
  590. margin-top: 2rem;
  591. margin-bottom: 3rem;
  592. text-align: left;
  593. }
  594. .prompt .form-group {
  595. margin-bottom: 1rem;
  596. }
  597. .prompt .form-group::after {
  598. display: none;
  599. }
  600. .prompt .form-group.form-group-actions {
  601. display: flex;
  602. margin-top: 2rem;
  603. align-items: center;
  604. justify-content: space-between;
  605. }
  606. .prompt .stick,
  607. .prompt input {
  608. width: 100%;
  609. box-sizing: border-box;
  610. }
  611. .prompt .btn.btn-important {
  612. padding-left: 1.5rem;
  613. padding-right: 1.5rem;
  614. font-size: 1.1rem;
  615. }
  616. .prompt p {
  617. margin: 20px 0;
  618. }
  619. /*=== New article notification */
  620. #new-article {
  621. background: #3498db;
  622. font-size: 0.9em;
  623. text-align: center;
  624. }
  625. #new-article:hover {
  626. background: #2980b9;
  627. }
  628. #new-article > a {
  629. line-height: 3em;
  630. font-weight: bold;
  631. color: #fff;
  632. }
  633. #new-article > a:hover {
  634. text-decoration: none;
  635. }
  636. /*=== Day indication */
  637. .day {
  638. padding: 0 10px;
  639. font-weight: bold;
  640. line-height: 3em;
  641. border-left: 2px solid #ecf0f1;
  642. }
  643. .day .name {
  644. padding: 0 10px 0 0;
  645. color: #aab;
  646. font-size: 1.8em;
  647. opacity: 0.3;
  648. font-style: italic;
  649. text-align: right;
  650. }
  651. /*=== Index menu */
  652. .nav_menu {
  653. text-align: center;
  654. padding: 5px 0;
  655. }
  656. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  657. vertical-align: middle;
  658. background-color: #95a5a6;
  659. border-radius: 3px;
  660. }
  661. /*=== Feed articles */
  662. .flux {
  663. border-left: 2px solid #ecf0f1;
  664. }
  665. .flux:hover {
  666. background: #fff;
  667. }
  668. .flux.current {
  669. background: #fff;
  670. border-left-color: #3498db;
  671. }
  672. .flux.not_read {
  673. border-left-color: #ff5300;
  674. }
  675. .flux.not_read:not(.current) {
  676. background: #fff3ed;
  677. }
  678. .flux.not_read:not(.current):hover .item.title {
  679. background: inherit;
  680. }
  681. .flux.favorite {
  682. border-left-color: #ffc300;
  683. }
  684. .flux.favorite:not(.current) {
  685. background: #fff6da;
  686. }
  687. .flux.favorite:not(.current):hover .item.title {
  688. background: #fff6da;
  689. }
  690. .flux_header {
  691. font-size: 0.8rem;
  692. cursor: pointer;
  693. border-top: 1px solid #ecf0f1;
  694. }
  695. .flux_header .title {
  696. font-size: 0.9rem;
  697. }
  698. .flux .website .favicon {
  699. padding: 5px;
  700. }
  701. .flux .item.date {
  702. color: #666;
  703. font-size: 0.7rem;
  704. }
  705. .flux .bottom {
  706. font-size: 0.8rem;
  707. text-align: center;
  708. }
  709. /*=== Content of feed articles */
  710. .content {
  711. padding: 20px 10px;
  712. }
  713. .content > h1.title > a {
  714. color: #000;
  715. }
  716. .content hr {
  717. margin: 30px 10px;
  718. background: #ddd;
  719. height: 1px;
  720. border: 0;
  721. box-shadow: 0 2px 5px #ccc;
  722. }
  723. .content pre {
  724. margin: 10px auto;
  725. padding: 10px 20px;
  726. overflow: auto;
  727. background: #222;
  728. color: #fff;
  729. font-size: 0.9rem;
  730. border-radius: 3px;
  731. }
  732. .content code {
  733. padding: 2px 5px;
  734. background: #fafafa;
  735. color: #d14;
  736. border: 1px solid #eee;
  737. border-radius: 3px;
  738. }
  739. .content pre code {
  740. background: transparent;
  741. color: #fff;
  742. border: none;
  743. }
  744. .content blockquote {
  745. margin: 0;
  746. padding: 5px 20px;
  747. background: #fafafa;
  748. display: block;
  749. color: #333;
  750. border-top: 1px solid #ddd;
  751. border-bottom: 1px solid #ddd;
  752. }
  753. .content blockquote p {
  754. margin: 0;
  755. }
  756. /*=== Notification and actualize notification */
  757. .notification {
  758. padding: 0 0 0 5px;
  759. background: #ddd;
  760. color: #666;
  761. font-size: 0.9em;
  762. border: none;
  763. border-radius: 3px;
  764. text-align: center;
  765. font-weight: bold;
  766. line-height: 3em;
  767. z-index: 10;
  768. vertical-align: middle;
  769. }
  770. .notification.good {
  771. background: #1abc9c;
  772. color: #fff;
  773. }
  774. .notification.bad {
  775. background: #e74c3c;
  776. color: #fff;
  777. }
  778. .notification a.close {
  779. padding: 0 15px;
  780. line-height: 3em;
  781. border-radius: 0 3px 3px 0;
  782. }
  783. .notification.good a.close:hover {
  784. background: #16a085;
  785. }
  786. .notification.bad a.close:hover {
  787. background: #c0392b;
  788. }
  789. .notification#actualizeProgress {
  790. line-height: 2em;
  791. }
  792. /*=== "Load more" part */
  793. #bigMarkAsRead {
  794. text-align: center;
  795. text-decoration: none;
  796. background: #ecf0f1;
  797. }
  798. #bigMarkAsRead:hover {
  799. background: #34495e;
  800. color: #fff;
  801. }
  802. /*=== Navigation menu (for articles) */
  803. #nav_entries {
  804. margin: 0;
  805. text-align: center;
  806. line-height: 3em;
  807. table-layout: fixed;
  808. background: #34495e;
  809. }
  810. /*=== READER VIEW */
  811. /*================*/
  812. #stream.reader .flux {
  813. padding: 0 0 50px;
  814. background: #ecf0f1;
  815. color: #34495e;
  816. border: none;
  817. }
  818. #stream.reader .flux .author {
  819. margin: 0 0 10px;
  820. color: #999;
  821. font-size: 90%;
  822. }
  823. /*=== GLOBAL VIEW */
  824. /*================*/
  825. .box.category .box-title .title {
  826. font-weight: normal;
  827. text-decoration: none;
  828. text-align: left;
  829. }
  830. .box.category:not([data-unread="0"]) .box-title {
  831. background: #3498db;
  832. }
  833. .box.category:not([data-unread="0"]) .box-title:active {
  834. background: #2980b9;
  835. }
  836. .box.category:not([data-unread="0"]) .box-title .title {
  837. font-weight: bold;
  838. color: #fff;
  839. }
  840. .box.category .title:not([data-unread="0"])::after {
  841. background: none;
  842. border: 0;
  843. position: absolute;
  844. top: 5px; right: 10px;
  845. font-weight: bold;
  846. box-shadow: none;
  847. text-shadow: none;
  848. }
  849. .box.category .item.feed {
  850. padding: 2px 10px;
  851. font-size: 0.8rem;
  852. }
  853. /*=== DIVERS */
  854. /*===========*/
  855. .aside.aside_feed .nav-form input,
  856. .aside.aside_feed .nav-form select {
  857. width: 140px;
  858. }
  859. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  860. right: -20px;
  861. }
  862. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  863. right: 33px;
  864. }
  865. /*=== STATISTICS */
  866. /*===============*/
  867. .stat {
  868. margin: 10px 0 20px;
  869. }
  870. .stat th,
  871. .stat td,
  872. .stat tr {
  873. border: none;
  874. }
  875. .stat > table td,
  876. .stat > table th {
  877. border-bottom: 1px solid #ddd;
  878. }
  879. .stat > .horizontal-list {
  880. margin: 0 0 5px;
  881. }
  882. .stat > .horizontal-list .item {
  883. overflow: hidden;
  884. white-space: nowrap;
  885. text-overflow: ellipsis;
  886. }
  887. .stat > .horizontal-list .item:first-child {
  888. width: 270px;
  889. }
  890. /*=== LOGS */
  891. /*=========*/
  892. .loglist {
  893. overflow: hidden;
  894. border: 1px solid #aaa;
  895. }
  896. .log {
  897. margin: 10px 0;
  898. padding: 5px 2%;
  899. background: #fafafa;
  900. color: #666;
  901. font-size: 0.8rem;
  902. overflow: auto;
  903. }
  904. .log > .date {
  905. margin: 0 10px 0 0;
  906. padding: 5px 10px;
  907. border-radius: 20px;
  908. }
  909. .log.error > .date {
  910. background: #e74c3c;
  911. color: #fff;
  912. }
  913. .log.warning > .date {
  914. background: #f39c12;
  915. }
  916. .log.notice > .date {
  917. background: #ecf0f1;
  918. }
  919. .log.debug > .date {
  920. background: #111;
  921. color: #eee;
  922. }
  923. /*=== MOBILE */
  924. /*===========*/
  925. @media (max-width: 840px) {
  926. .form-group .group-name {
  927. padding-bottom: 0;
  928. text-align: left;
  929. }
  930. .aside {
  931. transition: width 200ms linear;
  932. }
  933. .aside .toggle_aside,
  934. #panel .close {
  935. background: #2c3e50;
  936. display: block;
  937. width: 100%;
  938. height: 50px;
  939. line-height: 50px;
  940. text-align: center;
  941. }
  942. .aside.aside_feed {
  943. padding: 0;
  944. }
  945. .nav_menu .btn {
  946. margin: 5px 10px;
  947. padding: 3px 5px;
  948. min-height: 0;
  949. }
  950. .nav_menu .stick {
  951. margin: 0 10px;
  952. }
  953. .nav_menu .stick .btn {
  954. margin: 5px 0;
  955. }
  956. .nav_menu .search {
  957. display: inline-block;
  958. max-width: 97%;
  959. }
  960. .nav_menu .search input {
  961. padding: 3px 5px;
  962. max-width: 97%;
  963. width: 90px;
  964. }
  965. .nav_menu .search input:focus {
  966. width: 400px;
  967. }
  968. .day .name {
  969. font-size: 1.1rem;
  970. }
  971. .pagination {
  972. margin: 0 0 3.5em;
  973. }
  974. .notification {
  975. border-radius: 0;
  976. }
  977. .notification a.close {
  978. background: transparent;
  979. display: block;
  980. left: 0;
  981. }
  982. .notification a.close:hover {
  983. opacity: 0.5;
  984. }
  985. .notification a.close .icon {
  986. display: none;
  987. }
  988. .post {
  989. padding-left: 15px;
  990. padding-right: 15px;
  991. }
  992. #close-slider.active {
  993. background: #2c3e50;
  994. }
  995. }