flat.css 17 KB

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