dark.css 17 KB

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