dark.css 17 KB

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