flat.css 17 KB

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