flat.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038
  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-title .configure,
  436. .box .box-content .item .configure {
  437. visibility: hidden;
  438. }
  439. .box .box-content .item .configure .icon {
  440. vertical-align: middle;
  441. background-color: #95a5a6;
  442. border-radius: 3px;
  443. }
  444. .box .box-title:hover .configure,
  445. .box .box-content .item:hover .configure {
  446. visibility: visible;
  447. }
  448. /*=== Tree */
  449. .tree {
  450. margin: 10px 0;
  451. }
  452. .tree-folder-title {
  453. position: relative;
  454. padding: 0 10px;
  455. background: #34495e;
  456. line-height: 2.5rem;
  457. font-size: 1rem;
  458. }
  459. .tree-folder-title .title {
  460. background: inherit;
  461. color: #fff;
  462. }
  463. .tree-folder-title .title:hover {
  464. text-decoration: none;
  465. }
  466. .tree-folder.active .tree-folder-title {
  467. background: #2980b9;
  468. font-weight: bold;
  469. }
  470. .tree-folder-items {
  471. background: #2c3e50;
  472. }
  473. .tree-folder-items > .item {
  474. padding: 0 10px;
  475. line-height: 2.5rem;
  476. font-size: 0.8rem;
  477. }
  478. .tree-folder-items > .item.active {
  479. background: #2980b9;
  480. }
  481. .tree-folder-items > .item > a {
  482. text-decoration: none;
  483. color: #fff;
  484. }
  485. /*=== Scrollbar */
  486. @supports (scrollbar-width: thin) {
  487. #sidebar {
  488. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  489. }
  490. #sidebar:hover {
  491. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  492. }
  493. }
  494. @supports not (scrollbar-width: thin) {
  495. #sidebar::-webkit-scrollbar-thumb {
  496. background: rgba(255, 255, 255, 0.1);
  497. }
  498. #sidebar:hover::-webkit-scrollbar-thumb {
  499. background: rgba(255, 255, 255, 0.3);
  500. }
  501. }
  502. /*=== STRUCTURE */
  503. /*===============*/
  504. /*=== Header */
  505. .header {
  506. height: 85px;
  507. background: #ecf0f1;
  508. }
  509. .header > .item {
  510. padding: 10px;
  511. vertical-align: middle;
  512. text-align: center;
  513. }
  514. .header > .item.title{
  515. width: 230px;
  516. }
  517. .header > .item.title h1 {
  518. margin: 0.5em 0;
  519. }
  520. .header > .item.title h1 a {
  521. text-decoration: none;
  522. }
  523. .header > .item.search input {
  524. width: 230px;
  525. }
  526. .header .item.search input:focus {
  527. width: 350px;
  528. }
  529. /*=== Body */
  530. #global {
  531. height: calc(100% - 85px);
  532. }
  533. .aside {
  534. background: #ecf0f1;
  535. }
  536. .aside.aside_feed {
  537. padding: 10px 0;
  538. text-align: center;
  539. background: #34495e;
  540. border-radius: 0 10px 0 0;
  541. }
  542. .aside.aside_feed .tree {
  543. margin: 10px 0 50px;
  544. }
  545. /*=== Aside main page (categories) */
  546. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  547. position: absolute;
  548. right: 0;
  549. margin: 10px 0;
  550. padding: 0 10px;
  551. font-size: 0.9rem;
  552. line-height: 1.5rem;
  553. background: inherit;
  554. }
  555. /*=== Aside main page (feeds) */
  556. .feed.item.empty.active {
  557. background: #f39c12;
  558. }
  559. .feed.item.error.active {
  560. background: #bd362f;
  561. }
  562. .feed.item.empty,
  563. .feed.item.empty > a {
  564. color: #e67e22;
  565. }
  566. .feed.item.error,
  567. .feed.item.error > a {
  568. color: #bd362f;
  569. }
  570. .feed.item.empty.active,
  571. .feed.item.error.active,
  572. .feed.item.empty.active > a,
  573. .feed.item.error.active > a {
  574. color: #fff;
  575. }
  576. .aside_feed .tree-folder-items .dropdown-menu::after {
  577. left: 2px;
  578. }
  579. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  580. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  581. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  582. border-radius: 3px;
  583. }
  584. /*=== Configuration pages */
  585. .post {
  586. padding: 10px 50px;
  587. font-size: 0.9em;
  588. }
  589. .post form {
  590. margin: 10px 0;
  591. }
  592. .post.content {
  593. max-width: 550px;
  594. }
  595. /*=== Prompt (centered) */
  596. .prompt {
  597. text-align: center;
  598. }
  599. .prompt label {
  600. text-align: left;
  601. }
  602. .prompt form {
  603. margin: 10px auto 20px auto;
  604. width: 200px;
  605. }
  606. .prompt input {
  607. margin: 5px auto;
  608. width: 100%;
  609. }
  610. .prompt p {
  611. margin: 20px 0;
  612. }
  613. /*=== New article notification */
  614. #new-article {
  615. text-align: center;
  616. font-size: 0.9em;
  617. background: #3498db;
  618. }
  619. #new-article:hover {
  620. background: #2980b9;
  621. }
  622. #new-article > a {
  623. line-height: 3em;
  624. font-weight: bold;
  625. color: #fff;
  626. }
  627. #new-article > a:hover {
  628. text-decoration: none;
  629. }
  630. /*=== Day indication */
  631. .day {
  632. padding: 0 10px;
  633. font-weight: bold;
  634. line-height: 3em;
  635. border-left: 2px solid #ecf0f1;
  636. }
  637. .day .name {
  638. padding: 0 10px 0 0;
  639. font-size: 1.8em;
  640. opacity: 0.3;
  641. font-style: italic;
  642. text-align: right;
  643. color: #aab;
  644. }
  645. /*=== Index menu */
  646. .nav_menu {
  647. text-align: center;
  648. padding: 5px 0;
  649. }
  650. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  651. vertical-align: middle;
  652. background-color: #95a5a6;
  653. border-radius: 3px;
  654. }
  655. /*=== Feed articles */
  656. .flux {
  657. border-left: 2px solid #ecf0f1;
  658. }
  659. .flux:hover {
  660. background: #fff;
  661. }
  662. .flux.current {
  663. border-left-color: #3498db;
  664. }
  665. .flux.not_read {
  666. background: #FFF3ED;
  667. border-left-color: #FF5300;
  668. }
  669. .flux.not_read:not(.current):hover .item.title {
  670. background: #FFF3ED;
  671. }
  672. .flux.favorite {
  673. background: #FFF6DA;
  674. border-left-color: #FFC300;
  675. }
  676. .flux.favorite:not(.current):hover .item.title {
  677. background: #FFF6DA;
  678. }
  679. .flux.current {
  680. background: #fff;
  681. }
  682. .flux_header {
  683. font-size: 0.8rem;
  684. cursor: pointer;
  685. border-top: 1px solid #ecf0f1;
  686. }
  687. .flux_header .title {
  688. font-size: 0.9rem;
  689. }
  690. .flux .website .favicon {
  691. padding: 5px;
  692. }
  693. .flux .date {
  694. font-size: 0.7rem;
  695. color: #666;
  696. }
  697. .flux .bottom {
  698. font-size: 0.8rem;
  699. text-align: center;
  700. }
  701. /*=== Content of feed articles */
  702. .content {
  703. padding: 20px 10px;
  704. }
  705. .content > h1.title > a {
  706. color: #000;
  707. }
  708. .content hr {
  709. margin: 30px 10px;
  710. height: 1px;
  711. background: #ddd;
  712. border: 0;
  713. box-shadow: 0 2px 5px #ccc;
  714. }
  715. .content pre {
  716. margin: 10px auto;
  717. padding: 10px 20px;
  718. overflow: auto;
  719. background: #222;
  720. color: #fff;
  721. font-size: 0.9rem;
  722. border-radius: 3px;
  723. }
  724. .content code {
  725. padding: 2px 5px;
  726. color: #dd1144;
  727. background: #fafafa;
  728. border: 1px solid #eee;
  729. border-radius: 3px;
  730. }
  731. .content pre code {
  732. background: transparent;
  733. color: #fff;
  734. border: none;
  735. }
  736. .content blockquote {
  737. display: block;
  738. margin: 0;
  739. padding: 5px 20px;
  740. border-top: 1px solid #ddd;
  741. border-bottom: 1px solid #ddd;
  742. background: #fafafa;
  743. color: #333;
  744. }
  745. .content blockquote p {
  746. margin: 0;
  747. }
  748. /*=== Notification and actualize notification */
  749. .notification {
  750. padding: 0 0 0 5px;
  751. text-align: center;
  752. font-weight: bold;
  753. font-size: 0.9em;
  754. line-height: 3em;
  755. z-index: 10;
  756. vertical-align: middle;
  757. background: #ddd;
  758. color: #666;
  759. border-radius: 3px;
  760. border: none;
  761. }
  762. .notification.good {
  763. background: #1abc9c;
  764. color: #fff;
  765. }
  766. .notification.bad {
  767. background: #e74c3c;
  768. color: #fff;
  769. }
  770. .notification a.close {
  771. padding: 0 15px;
  772. line-height: 3em;
  773. border-radius: 0 3px 3px 0;
  774. }
  775. .notification.good a.close:hover {
  776. background: #16a085;
  777. }
  778. .notification.bad a.close:hover {
  779. background: #c0392b;
  780. }
  781. .notification#actualizeProgress {
  782. line-height: 2em;
  783. }
  784. /*=== "Load more" part */
  785. #bigMarkAsRead {
  786. text-align: center;
  787. text-decoration: none;
  788. background: #ecf0f1;
  789. }
  790. #bigMarkAsRead:hover {
  791. background: #34495e;
  792. color: #fff;
  793. }
  794. /*=== Navigation menu (for articles) */
  795. #nav_entries {
  796. margin: 0;
  797. text-align: center;
  798. line-height: 3em;
  799. table-layout: fixed;
  800. background: #34495e;
  801. }
  802. /*=== READER VIEW */
  803. /*================*/
  804. #stream.reader .flux {
  805. padding: 0 0 50px;
  806. background: #ecf0f1;
  807. color: #34495e;
  808. border: none;
  809. }
  810. #stream.reader .flux .author {
  811. margin: 0 0 10px;
  812. font-size: 90%;
  813. color: #999;
  814. }
  815. /*=== GLOBAL VIEW */
  816. /*================*/
  817. .box.category .box-title .title {
  818. font-weight: normal;
  819. text-decoration: none;
  820. text-align: left;
  821. }
  822. .box.category:not([data-unread="0"]) .box-title {
  823. background: #3498db;
  824. }
  825. .box.category:not([data-unread="0"]) .box-title:active {
  826. background: #2980b9;
  827. }
  828. .box.category:not([data-unread="0"]) .box-title .title {
  829. font-weight: bold;
  830. color: #fff;
  831. }
  832. .box.category .title:not([data-unread="0"])::after {
  833. position: absolute;
  834. top: 5px; right: 10px;
  835. border: 0;
  836. background: none;
  837. font-weight: bold;
  838. box-shadow: none;
  839. text-shadow: none;
  840. }
  841. .box.category .item.feed {
  842. padding: 2px 10px;
  843. font-size: 0.8rem;
  844. }
  845. /*=== DIVERS */
  846. /*===========*/
  847. .aside.aside_feed .nav-form input,
  848. .aside.aside_feed .nav-form select {
  849. width: 140px;
  850. }
  851. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  852. right: -20px;
  853. }
  854. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  855. right: 33px;
  856. }
  857. /*=== STATISTICS */
  858. /*===============*/
  859. .stat {
  860. margin: 10px 0 20px;
  861. }
  862. .stat th,
  863. .stat td,
  864. .stat tr {
  865. border: none;
  866. }
  867. .stat > table td,
  868. .stat > table th {
  869. border-bottom: 1px solid #ddd;
  870. }
  871. .stat > .horizontal-list {
  872. margin: 0 0 5px;
  873. }
  874. .stat > .horizontal-list .item {
  875. overflow: hidden;
  876. white-space: nowrap;
  877. text-overflow: ellipsis;
  878. }
  879. .stat > .horizontal-list .item:first-child {
  880. width: 270px;
  881. }
  882. /*=== LOGS */
  883. /*=========*/
  884. .loglist {
  885. overflow: hidden;
  886. border: 1px solid #aaa;
  887. }
  888. .log {
  889. margin: 10px 0;
  890. padding: 5px 2%;
  891. overflow: auto;
  892. font-size: 0.8rem;
  893. background: #fafafa;
  894. color: #666;
  895. }
  896. .log > .date {
  897. margin: 0 10px 0 0;
  898. padding: 5px 10px;
  899. border-radius: 20px;
  900. }
  901. .log.error > .date {
  902. background: #e74c3c;
  903. color: #fff;
  904. }
  905. .log.warning > .date {
  906. background: #f39c12;
  907. }
  908. .log.notice > .date {
  909. background: #ecf0f1;
  910. }
  911. .log.debug > .date {
  912. background: #111;
  913. color: #eee;
  914. }
  915. /*=== MOBILE */
  916. /*===========*/
  917. @media(max-width: 840px) {
  918. .aside {
  919. transition: width 200ms linear;
  920. -moz-transition: width 200ms linear;
  921. -webkit-transition: width 200ms linear;
  922. -o-transition: width 200ms linear;
  923. -ms-transition: width 200ms linear;
  924. }
  925. .aside .toggle_aside,
  926. #panel .close {
  927. display: block;
  928. width: 100%;
  929. height: 50px;
  930. line-height: 50px;
  931. text-align: center;
  932. background: #2c3e50;
  933. }
  934. .aside.aside_feed {
  935. padding: 0;
  936. }
  937. .nav_menu .btn {
  938. margin: 5px 10px;
  939. }
  940. .nav_menu .stick {
  941. margin: 0 10px;
  942. }
  943. .nav_menu .stick .btn {
  944. margin: 5px 0;
  945. }
  946. .nav_menu .search {
  947. display: inline-block;
  948. max-width: 97%;
  949. }
  950. .nav_menu .search input {
  951. max-width: 97%;
  952. width: 90px;
  953. }
  954. .nav_menu .search input:focus {
  955. width: 400px;
  956. }
  957. .day .name {
  958. font-size: 1.1rem;
  959. }
  960. .pagination {
  961. margin: 0 0 3.5em;
  962. }
  963. .notification {
  964. border-radius: 0;
  965. }
  966. .notification a.close {
  967. display: block;
  968. left: 0;
  969. background: transparent;
  970. }
  971. .notification a.close:hover {
  972. opacity: 0.5;
  973. }
  974. .notification a.close .icon {
  975. display: none;
  976. }
  977. }