flat.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. html, body {
  5. background: #fafafa;
  6. color: black;
  7. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", 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. input, select, textarea {
  32. padding: 5px;
  33. background: #fff;
  34. color: #666;
  35. border: none;
  36. border-bottom: 3px solid #ddd;
  37. border-left-color: #ddd;
  38. border-radius: 5px;
  39. min-height: 25px;
  40. line-height: 1;
  41. }
  42. option {
  43. padding: 0 .5em;
  44. }
  45. input:focus, select:focus, textarea:focus {
  46. color: #333;
  47. border-color: #2980b9;
  48. }
  49. input:user-invalid, select:user-invalid {
  50. color: #f00;
  51. border-color: #f00;
  52. box-shadow: none;
  53. }
  54. input:disabled, select:disabled, textarea:disabled {
  55. background: #eee;
  56. }
  57. /*=== Tables */
  58. table {
  59. border-collapse: collapse;
  60. }
  61. th, td {
  62. border: 1px solid #ddd;
  63. }
  64. th {
  65. background: #f6f6f6;
  66. }
  67. .config-articleicons td,
  68. .config-articleicons th {
  69. font-weight: normal;
  70. text-align: center;
  71. }
  72. /*=== COMPONENTS */
  73. /*===============*/
  74. /*=== Forms */
  75. .form-group {
  76. padding: 5px;
  77. border: 1px solid transparent;
  78. border-radius: 3px;
  79. }
  80. .form-group::after {
  81. display: block;
  82. clear: both;
  83. }
  84. .form-group:hover {
  85. background: #fff;
  86. border: 1px solid #eee;
  87. border-radius: 3px;
  88. }
  89. .form-group.form-actions {
  90. margin: 15px 0 25px;
  91. padding: 5px 0;
  92. background-color: #e6ecedaa;
  93. border-top: 3px solid #bdc3c7;
  94. border-radius: 5px 5px 0 0;
  95. }
  96. .form-group.form-actions .btn {
  97. margin: 0 10px;
  98. }
  99. .form-group .group-name {
  100. padding: 10px 0;
  101. }
  102. .form-group .group-controls {
  103. min-height: 25px;
  104. padding: 5px 0;
  105. }
  106. .form-group .group-controls .control {
  107. line-height: 2.0em;
  108. }
  109. /*=== Buttons */
  110. .stick input,
  111. .stick .btn,
  112. .group .btn {
  113. border-radius: 0;
  114. }
  115. .stick .btn:first-child,
  116. .group .btn:first-child,
  117. .stick input:first-child {
  118. border-radius: 5px 0 0 5px;
  119. }
  120. .stick .btn:last-child,
  121. .group .btn:last-child,
  122. .stick input:last-child,
  123. .stick .dropdown:last-child > .btn,
  124. .group .dropdown:last-child > .btn {
  125. border-radius: 0 5px 5px 0;
  126. }
  127. .group > .btn:only-child,
  128. .group > .dropdown:only-child > .btn {
  129. border-radius: 5px;
  130. }
  131. .stick .btn + .btn,
  132. .group .btn + .btn,
  133. .stick .btn + input,
  134. .stick .btn + .dropdown > .btn,
  135. .group .btn + .dropdown > .btn,
  136. .stick input + .btn,
  137. .stick input + input,
  138. .stick input + .dropdown > .btn,
  139. .stick .dropdown + .btn,
  140. .group .dropdown + .btn,
  141. .stick .dropdown + input,
  142. .stick .dropdown + .dropdown > .btn,
  143. .group .dropdown + .dropdown > .btn {
  144. border-left-width: 1px;
  145. border-left-style: solid;
  146. }
  147. .btn {
  148. margin: 0;
  149. padding: 0.25rem 0.5rem;
  150. background: #3498db;
  151. color: #fff;
  152. font-size: 0.9rem;
  153. border: none;
  154. border-bottom: 3px solid #2980b9;
  155. border-left-color: #2980b9;
  156. border-radius: 5px;
  157. min-height: 25px;
  158. min-width: 15px;
  159. line-height: 25px;
  160. vertical-align: middle;
  161. }
  162. .btn:hover {
  163. text-decoration: none;
  164. }
  165. .btn.active,
  166. .btn:active,
  167. .btn:hover,
  168. .dropdown-target:target ~ .btn.dropdown-toggle {
  169. background: #2980b9;
  170. }
  171. .btn .icon {
  172. filter: brightness(5);
  173. }
  174. #toggle-unread .icon,
  175. #toggle-starred .icon {
  176. filter: none;
  177. }
  178. .btn-important {
  179. font-weight: normal;
  180. background: #e67e22;
  181. color: #fff;
  182. border-bottom: 3px solid #d35400;
  183. border-left-color: #d35400;
  184. }
  185. .btn-important:hover,
  186. .btn-important:active {
  187. background: #d35400;
  188. }
  189. .btn-important .icon {
  190. filter: brightness(3);
  191. }
  192. .btn-attention {
  193. background: #e74c3c;
  194. color: #fff;
  195. border-bottom: 3px solid #c0392b;
  196. border-left-color: #c0392b;
  197. }
  198. .btn-attention:hover,
  199. .btn-attention:active {
  200. background: #c0392b;
  201. }
  202. .switch.active {
  203. background-color: #2980b9;
  204. }
  205. .switch.active:hover {
  206. background-image: url('./icons/disabled-light.svg');
  207. }
  208. /*=== Navigation */
  209. .nav-list {
  210. font-size: 0.9rem;
  211. }
  212. .nav-list .item,
  213. .nav-list .item.nav-header {
  214. min-height: 2.5em;
  215. line-height: 2.5;
  216. }
  217. .nav-list .item a:hover,
  218. .nav-list .item .as-link:hover,
  219. .nav-list .item.active {
  220. background: #2980b9;
  221. color: #fff;
  222. }
  223. .nav-list .item.active a,
  224. .nav-list .item.active .as-link {
  225. color: #fff;
  226. }
  227. .nav-list .item > a,
  228. .nav-list .item > .as-link {
  229. padding: 0 1rem;
  230. }
  231. .nav-list a:hover {
  232. text-decoration: none;
  233. }
  234. .nav-list .nav-header {
  235. padding: 0 1rem;
  236. font-weight: bold;
  237. background: #34495e;
  238. color: #fff;
  239. }
  240. .nav-list .nav-form {
  241. padding: 3px;
  242. text-align: center;
  243. }
  244. /*=== Dropdown */
  245. .dropdown-menu {
  246. margin: 0.5rem 0 0;
  247. padding: 0.5rem 0 0.25rem 0;
  248. background: #fafafa;
  249. font-size: 0.8rem;
  250. border: 1px solid #95a5a6;
  251. border-radius: 3px;
  252. text-align: left;
  253. }
  254. .dropdown-menu::after {
  255. border-color: #95a5a6;
  256. right: 12px;
  257. }
  258. .dropdown-header,
  259. .dropdown-section .dropdown-section-title {
  260. padding: 0 0.5rem 0.5rem;
  261. font-weight: bold;
  262. text-align: left;
  263. color: #34495e;
  264. }
  265. .dropdown-header a {
  266. position: absolute;
  267. right: 0.5rem;
  268. }
  269. .dropdown-menu .item > a,
  270. .dropdown-menu .item > span,
  271. .dropdown-menu .item > .as-link {
  272. padding: 0 22px;
  273. line-height: 2.5em;
  274. font-size: inherit;
  275. }
  276. .dropdown-menu .dropdown-section .item > a,
  277. .dropdown-menu .dropdown-section .item > span,
  278. .dropdown-menu .dropdown-section .item > .as-link {
  279. padding-left: 2rem;
  280. }
  281. .dropdown-menu .dropdown-section .item:last-child {
  282. margin-bottom: 0.5rem;
  283. }
  284. .dropdown-menu .item > a:focus,
  285. .dropdown-menu .item > a:hover,
  286. .dropdown-menu .item > button:focus:not([disabled]),
  287. .dropdown-menu .item > button:hover:not([disabled]),
  288. .dropdown-menu .item > label:focus:not(.noHover),
  289. .dropdown-menu .item > label:hover:not(.noHover) {
  290. background: #2980b9;
  291. color: #fff;
  292. }
  293. .dropdown-menu > .item a:hover .icon,
  294. .nav-list.aside .item a:hover .icon {
  295. filter: brightness(3);
  296. }
  297. .dropdown-menu > .item[aria-checked="true"] > a::before {
  298. font-weight: bold;
  299. margin: 0 0 0 -14px;
  300. }
  301. .dropdown-menu .input select,
  302. .dropdown-menu .input input {
  303. margin: 0 auto 5px;
  304. padding: 2px 5px;
  305. border-radius: 3px;
  306. }
  307. .item ~ .dropdown-header,
  308. .dropdown-section ~ .dropdown-section,
  309. .item.separator {
  310. border-top-color: #ddd;
  311. }
  312. /*=== Alerts */
  313. .alert {
  314. background: #f4f4f4;
  315. color: #aaa;
  316. font-size: 0.9em;
  317. border: 1px solid #ccc;
  318. border-right: 1px solid #aaa;
  319. border-bottom: 1px solid #aaa;
  320. border-radius: 5px;
  321. text-shadow: 0 0 1px #eee;
  322. }
  323. .alert-head {
  324. font-size: 1.15em;
  325. }
  326. .alert > a {
  327. text-decoration: underline;
  328. color: inherit;
  329. }
  330. .alert-warn {
  331. background: #ffe;
  332. color: #c95;
  333. border: 1px solid #eeb;
  334. }
  335. .alert-info {
  336. background: #e6f3ff;
  337. color: #1a3d5c;
  338. border: 1px solid #b3d9ff;
  339. }
  340. .alert-success {
  341. background: #dfd;
  342. color: #484;
  343. border: 1px solid #cec;
  344. }
  345. .alert-error {
  346. background: #fdd;
  347. color: #844;
  348. border: 1px solid #ecc;
  349. }
  350. /*=== Pagination */
  351. .pagination {
  352. background: #ecf0f1;
  353. color: #000;
  354. }
  355. .pagination .item a {
  356. color: #000;
  357. }
  358. /*=== Boxes */
  359. .box {
  360. border: 1px solid #ddd;
  361. border-radius: 5px;
  362. }
  363. .box .box-title {
  364. background: #ecf0f1;
  365. color: #333;
  366. border-bottom: 1px solid #ddd;
  367. border-radius: 5px 5px 0 0;
  368. }
  369. .box .box-title .configure {
  370. margin-right: 4px;
  371. }
  372. .box .box-content {
  373. padding-left: 30px;
  374. max-height: 260px;
  375. }
  376. .box .box-content .item {
  377. font-size: 0.9rem;
  378. }
  379. .box .box-title .configure .icon,
  380. .box .box-content .item .configure .icon {
  381. vertical-align: middle;
  382. background-color: #95a5a6;
  383. border-radius: 3px;
  384. }
  385. /*=== Tree */
  386. .tree {
  387. margin: 10px 0;
  388. }
  389. .tree-folder-title {
  390. position: relative;
  391. padding: 0 10px;
  392. background: #34495e;
  393. line-height: 2.5rem;
  394. font-size: 1rem;
  395. }
  396. .tree-folder-title .title {
  397. background: inherit;
  398. color: #fff;
  399. }
  400. .tree-folder-title .title:hover {
  401. text-decoration: none;
  402. }
  403. .tree-folder.active .tree-folder-title {
  404. background: #2980b9;
  405. font-weight: bold;
  406. }
  407. .tree-folder-items {
  408. background: #2c3e50;
  409. }
  410. .tree-folder-items > .item {
  411. font-size: 0.8rem;
  412. }
  413. .tree-folder-items > .item.active {
  414. background: #2980b9;
  415. }
  416. .tree-folder-items > .item > a {
  417. text-decoration: none;
  418. color: #fff;
  419. }
  420. /*=== Scrollbar */
  421. @supports (scrollbar-width: thin) {
  422. #sidebar {
  423. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  424. }
  425. #sidebar:hover {
  426. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  427. }
  428. }
  429. @supports not (scrollbar-width: thin) {
  430. #sidebar::-webkit-scrollbar-thumb {
  431. background: rgba(255, 255, 255, 0.1);
  432. }
  433. #sidebar:hover::-webkit-scrollbar-thumb {
  434. background: rgba(255, 255, 255, 0.3);
  435. }
  436. }
  437. /*=== STRUCTURE */
  438. /*===============*/
  439. /*=== Header */
  440. .header {
  441. background: #ecf0f1;
  442. }
  443. .header > .item {
  444. vertical-align: middle;
  445. text-align: center;
  446. }
  447. .header > .item.title a:hover .logo {
  448. filter: brightness(1.5);
  449. }
  450. .header > .item.title h1 {
  451. margin: 0.5em 0;
  452. }
  453. .header > .item.title h1 a {
  454. text-decoration: none;
  455. }
  456. .header > .item.search input {
  457. width: 350px;
  458. }
  459. .aside {
  460. background: #ecf0f1;
  461. }
  462. .aside.aside_feed {
  463. padding: 10px 0;
  464. text-align: center;
  465. background: #34495e;
  466. border-radius: 0 10px 0 0;
  467. }
  468. .aside.aside_feed .tree {
  469. margin: 10px 0 50px;
  470. }
  471. .aside.aside_feed .icon {
  472. filter: brightness(3);
  473. }
  474. /*=== Aside main page (categories) */
  475. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  476. background-color: #2c3e50;
  477. }
  478. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  479. background-color: #34495e;
  480. }
  481. .aside .about {
  482. margin: 1rem;
  483. display: block;
  484. color: #ecf0f1;
  485. font-style: italic;
  486. }
  487. /*=== Aside main page (feeds) */
  488. .feed.item.empty.active {
  489. background: #f39c12;
  490. }
  491. .feed.item.error.active {
  492. background: #bd362f;
  493. }
  494. .feed.item.empty,
  495. .feed.item.empty > a {
  496. color: #e67e22;
  497. }
  498. .feed.item.error,
  499. .feed.item.error > a {
  500. color: #bd362f;
  501. }
  502. .feed.item.empty.active,
  503. .feed.item.error.active,
  504. .feed.item.empty.active > a,
  505. .feed.item.error.active > a {
  506. color: #fff;
  507. }
  508. .aside_feed .tree-folder-items .dropdown-menu::after {
  509. left: 2px;
  510. }
  511. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  512. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  513. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  514. border-radius: 3px;
  515. }
  516. /*=== Prompt (centered) */
  517. .prompt .form-group {
  518. margin-bottom: 1rem;
  519. }
  520. .prompt .form-group::after {
  521. display: none;
  522. }
  523. .prompt .form-group.form-group-actions {
  524. display: flex;
  525. margin-top: 2rem;
  526. align-items: center;
  527. justify-content: space-between;
  528. }
  529. .prompt .btn.btn-important {
  530. padding-left: 1.5rem;
  531. padding-right: 1.5rem;
  532. font-size: 1.1rem;
  533. }
  534. /*=== New article notification */
  535. #new-article {
  536. background: #3498db;
  537. font-size: 0.9em;
  538. text-align: center;
  539. }
  540. #new-article > a {
  541. line-height: 3em;
  542. font-weight: bold;
  543. color: #fff;
  544. }
  545. #new-article > a:hover {
  546. text-decoration: none;
  547. background: #2980b9;
  548. }
  549. /*=== Transition indication, e.g. day */
  550. .transition {
  551. padding: 0 10px;
  552. font-weight: bold;
  553. line-height: 3em;
  554. border-left: 2px solid #ecf0f1;
  555. }
  556. .transition .name {
  557. padding: 0 10px 0 0;
  558. color: #aab;
  559. font-size: 1.8em;
  560. opacity: 0.3;
  561. font-style: italic;
  562. text-align: right;
  563. }
  564. /*=== Index menu */
  565. .nav_menu {
  566. text-align: center;
  567. padding: 5px 0.5rem 5px 3rem;
  568. }
  569. .nav_menu .btn {
  570. margin: 5px 10px;
  571. }
  572. .nav_menu .stick,
  573. .nav_menu .group {
  574. margin: 0 10px;
  575. }
  576. .nav_menu .stick .btn,
  577. .nav_menu .group .btn {
  578. margin: 5px 0;
  579. }
  580. .dropdown-menu .dropdown-header .icon {
  581. filter: invert(0.6);
  582. }
  583. .dropdown-menu .dropdown-header a:hover .icon {
  584. filter: invert(0.6) invert(77%) sepia(63%) saturate(4993%) hue-rotate(177deg) brightness(88%) contrast(96%);
  585. }
  586. /*=== Feed articles */
  587. .flux {
  588. border-left: 2px solid #ecf0f1;
  589. }
  590. .flux:not(.current):hover .flux_header .title,
  591. .flux .flux_header:hover {
  592. background: #fff;
  593. }
  594. .flux.current {
  595. background: #fff;
  596. border-left-color: #3498db;
  597. }
  598. .flux.not_read {
  599. border-left-color: #ff5300;
  600. }
  601. .flux.not_read:not(.current) {
  602. background: #fff3ed;
  603. }
  604. .flux.favorite {
  605. border-left-color: #ffc300;
  606. }
  607. .flux.favorite:not(.current) {
  608. background: #fff6da;
  609. }
  610. .flux_header {
  611. font-size: 0.8rem;
  612. cursor: pointer;
  613. border-top: 1px solid #ecf0f1;
  614. }
  615. .flux_header .title {
  616. font-size: 0.9rem;
  617. }
  618. .flux .flux_header .date,
  619. .flux .flux_content .bottom .date {
  620. color: #666;
  621. }
  622. .flux .bottom {
  623. font-size: 0.8rem;
  624. text-align: center;
  625. }
  626. /* stylelint-disable-next-line no-duplicate-selectors */
  627. .flux.current {
  628. border-left-width: 5px;
  629. border-left-style: double;
  630. }
  631. .flux.current > .flux_header {
  632. background: linear-gradient(to right, transparent 0, transparent 3px, #fff 3px);
  633. margin-left: -3px; /* Compensate increased border-left-width */
  634. }
  635. /*=== Content of feed articles */
  636. .content {
  637. padding: 20px 10px;
  638. }
  639. .content > h1.title > a {
  640. color: #000;
  641. }
  642. .content hr {
  643. margin: 30px 10px;
  644. background: #ddd;
  645. height: 1px;
  646. border: 0;
  647. box-shadow: 0 2px 5px #ccc;
  648. }
  649. .content pre {
  650. background: #222;
  651. color: #fff;
  652. border-radius: 3px;
  653. }
  654. .content code {
  655. background: #fafafa;
  656. color: #d14;
  657. border-color: #eee;
  658. border-radius: 3px;
  659. }
  660. .content pre code {
  661. background: transparent;
  662. color: #fff;
  663. border: none;
  664. }
  665. .content blockquote {
  666. margin: 0;
  667. padding: 5px 20px;
  668. background: #fafafa;
  669. display: block;
  670. color: #333;
  671. border-top: 1px solid #ddd;
  672. border-bottom: 1px solid #ddd;
  673. }
  674. .content blockquote p {
  675. margin: 0;
  676. }
  677. /*=== Notification and actualize notification */
  678. .notification {
  679. background: #ddd;
  680. color: #666;
  681. font-size: 0.9em;
  682. border: none;
  683. border-radius: 3px;
  684. text-align: center;
  685. font-weight: bold;
  686. vertical-align: middle;
  687. }
  688. .notification.good {
  689. background: #1abc9c;
  690. color: #fff;
  691. }
  692. .notification.bad {
  693. background: #e74c3c;
  694. color: #fff;
  695. }
  696. .notification a {
  697. color: #000;
  698. }
  699. .notification .close {
  700. border-radius: 0 3px 3px 0;
  701. }
  702. .notification.good .close:hover {
  703. background: #16a085;
  704. }
  705. .notification .close .icon {
  706. filter: brightness(2.5);
  707. }
  708. .notification.bad .close:hover {
  709. background: #c0392b;
  710. }
  711. .notification .close:hover .icon {
  712. filter: brightness(4);
  713. }
  714. /*=== "Load more" part */
  715. #bigMarkAsRead.big {
  716. text-align: center;
  717. text-decoration: none;
  718. background: #ecf0f1;
  719. }
  720. #bigMarkAsRead:hover {
  721. background: #34495e;
  722. color: #fff;
  723. }
  724. /*=== Navigation menu (for articles) */
  725. #nav_entries {
  726. background: #34495e;
  727. }
  728. /*=== READER VIEW */
  729. /*================*/
  730. #stream.reader .flux {
  731. background: #fafafa;
  732. color: #34495e;
  733. border: none;
  734. }
  735. #stream.reader .flux .flux_content {
  736. background-color: #fff;
  737. border-color: #ecf0f1;
  738. }
  739. #stream.reader .flux .author {
  740. color: #999;
  741. }
  742. /*=== GLOBAL VIEW */
  743. /*================*/
  744. .box.category .box-title .title {
  745. font-weight: normal;
  746. text-decoration: none;
  747. text-align: left;
  748. }
  749. .box.category:not([data-unread="0"]) .box-title {
  750. background: #3498db;
  751. }
  752. .box.category:not([data-unread="0"]) .box-title:active {
  753. background: #2980b9;
  754. }
  755. .box.category:not([data-unread="0"]) .box-title .title {
  756. font-weight: bold;
  757. color: #fff;
  758. }
  759. .box.category .title:not([data-unread="0"])::after {
  760. background: none;
  761. border: 0;
  762. position: absolute;
  763. top: 5px; right: 10px;
  764. font-weight: bold;
  765. box-shadow: none;
  766. text-shadow: none;
  767. }
  768. /*=== DIVERS */
  769. /*===========*/
  770. .aside.aside_feed .nav-form input,
  771. .aside.aside_feed .nav-form select {
  772. width: 140px;
  773. }
  774. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  775. right: -20px;
  776. }
  777. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  778. right: 33px;
  779. }
  780. /*=== STATISTICS */
  781. /*===============*/
  782. .stat {
  783. margin: 10px 0 20px;
  784. }
  785. .stat th,
  786. .stat td,
  787. .stat tr {
  788. border: none;
  789. }
  790. .stat > table td,
  791. .stat > table th {
  792. border-bottom: 1px solid #ddd;
  793. }
  794. /*=== MOBILE */
  795. /*===========*/
  796. @media (max-width: 840px) {
  797. .form-group .group-name {
  798. padding-bottom: 0;
  799. }
  800. .aside .toggle_aside,
  801. #overlay .close,
  802. .dropdown-menu .toggle_aside {
  803. background: #2c3e50;
  804. }
  805. .nav_menu .btn {
  806. padding: 3px 5px;
  807. min-height: 0;
  808. }
  809. .nav_menu .stick #mark-read-menu .dropdown-toggle.btn {
  810. border-left-width: 0;
  811. border-top-left-radius: 5px;
  812. border-bottom-left-radius: 5px;
  813. }
  814. .nav_menu .search {
  815. display: inline-block;
  816. max-width: 97%;
  817. }
  818. .nav_menu .search input {
  819. padding: 3px 5px;
  820. max-width: 97%;
  821. width: 90px;
  822. }
  823. .nav_menu .search input:focus {
  824. width: 400px;
  825. }
  826. .dropdown-target:target ~ .dropdown-toggle::after {
  827. background-color: #fafafa;
  828. border-top: 1px solid #95a5a6;
  829. border-left: 1px solid #95a5a6;
  830. }
  831. .dropdown-target:target ~ .btn.dropdown-toggle::after {
  832. bottom: -19px;
  833. }
  834. .transition .name {
  835. font-size: 1.1rem;
  836. }
  837. .notification {
  838. border-radius: 0;
  839. }
  840. .notification .close {
  841. background: transparent;
  842. display: block;
  843. left: 0;
  844. }
  845. .notification .close:hover {
  846. opacity: 0.5;
  847. }
  848. .notification .close .icon {
  849. display: none;
  850. }
  851. .post {
  852. padding-left: 15px;
  853. padding-right: 15px;
  854. }
  855. #close-slider.active {
  856. background: #2c3e50;
  857. }
  858. }