flat.css 17 KB

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