flat.css 18 KB

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