nord.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375
  1. @charset "UTF-8";
  2. /*******************
  3. * Theme is based on the Nord theme: https://www.nordtheme.com/docs/colors-and-palettes (archived: https://archive.ph/LVpdB)
  4. *******************/
  5. :root {
  6. /* Set sans-serif & mono fonts */
  7. --sans-font: Inter, Lato,Helvetica,"IBM Plex Sans","Roboto",-apple-system,BlinkMacSystemFont,"Nimbus Sans L",Avenir,"Noto Sans", "Segoe UI",Arial,Helvetica,"Helvetica Neue",sans-serif;
  8. --mono-font: "mononoki Nerd Font","IBM Plex Mono","Roboto Mono","Ubuntu Mono","Fira Code","Overpass Mono", Monaco,"Droid Sans Mono",monospace;
  9. /* given theme colors: */
  10. --nordX-background: #242933;
  11. --nord0-polarnight: #2e3440;
  12. --nord1-polarnight: #3b4252;
  13. --nord2-polarnight: #434c5e;
  14. --nord3-polarnight: #4c566a;
  15. --nord4-snowstorm: #d8dee9;
  16. /* --nord5-snowstorm: #e5e9f0; */
  17. --nord6-snowstorm: #eceff4;
  18. /* --nord7-frost: #8fbcbb; */
  19. --nord8-frost: #88c0d0;
  20. --nord9-frost: #81a1c1;
  21. /* --nord10-frost: #5e81ac; */
  22. --nord11-aurora: #bf616a;
  23. /* --nord12-aurora: #d08770; */
  24. --nord13-aurora: #ebcb8b;
  25. --nord14-aurora: #a3be8c;
  26. --nord15-aurora: #b48ead;
  27. --main-background: var(--nordX-background);
  28. --main-background-transparent: #242933cc;
  29. --accent-bg: var(--nord0-polarnight);
  30. --accent-border: var(--nord0-polarnight);
  31. --light-bg: var(--nord1-polarnight);
  32. --dropdown-bg: var(--nord2-polarnight);
  33. --border-elements: var(--nord3-polarnight);
  34. --text-accent: var(--nord4-snowstorm);
  35. --text-default: var(--nord6-snowstorm);
  36. --highlight: var(--nord8-frost);
  37. --accent: var(--nord9-frost);
  38. --red: var(--nord11-aurora);
  39. --orange: var(--nord13-aurora);
  40. --green: var(--nord14-aurora);
  41. --purple: var(--nord15-aurora);
  42. --frss-background-color-transparent: #2e34407f;
  43. --frss-background-color: var(--main-background);
  44. --frss-box-shadow-color-transparent: #111;
  45. --frss-switch-accent-color: var(--nord14-aurora);
  46. --frss-background-color-middle: var(--highlight);
  47. --frss-background-color-dark: var(--light-bg);
  48. --frss-background-color-error-transparent: #bf616a40;
  49. --frss-border-color: var(--border-elements);
  50. --frss-scrollbar-handle: #0002;
  51. --frss-scrollbar-handle-hover: var(--nord1-polarnight);
  52. --frss-scrollbar-track: transparent;
  53. --frss-scrollbar-track-hover: transparent;
  54. }
  55. /*=== GENERAL */
  56. /*============*/
  57. @font-face {
  58. font-family: 'Lato';
  59. src: local('Lato'),
  60. url('../fonts/LatoLatin-Regular.woff') format('woff'),
  61. url('../fonts/LatoLatin-Bold.woff') format('woff'),
  62. url('../fonts/LatoLatin-Bolditalic.woff') format('woff'),
  63. url('../fonts/LatoLatin-Italic.woff') format('woff');
  64. }
  65. @font-face {
  66. font-family: 'Noto Sans';
  67. src: local('Noto Sans'), local('NotoSans');
  68. }
  69. html, body {
  70. background: var(--main-background);
  71. color: var(--text-default);
  72. font-family: var(--sans-font);
  73. }
  74. /*=== Links */
  75. a, .as-link, button.as-link {
  76. color: var(--accent);
  77. }
  78. a:hover, .as-link:hover, button.as-link:hover {
  79. color: var(--highlight);
  80. }
  81. p.help {
  82. color: var(--text-accent);
  83. font-size: 0.9em;
  84. font-style: italic;
  85. padding-left: 0.25rem;
  86. }
  87. p.help img {
  88. height: 1em;
  89. vertical-align: middle;
  90. }
  91. kbd {
  92. color: var(--orange);
  93. border-color: var(--border-elements);
  94. background-color: var(--accent-bg);
  95. }
  96. legend {
  97. margin: 20px 0 5px;
  98. padding: 5px 0;
  99. font-size: 1.4em;
  100. }
  101. label {
  102. min-height: 25px;
  103. padding: 5px 0;
  104. cursor: pointer;
  105. }
  106. input, select, textarea {
  107. color: var(--text-default);
  108. border: 1px solid var(--border-elements);
  109. border-radius: 6px;
  110. background-color: transparent;
  111. min-height: 25px;
  112. line-height: 1;
  113. }
  114. input:invalid,
  115. select:invalid,
  116. textarea:invalid {
  117. border-color: var(--red);
  118. }
  119. input:hover,
  120. select:hover,
  121. textarea:hover {
  122. border-color: var(--accent);
  123. }
  124. input:focus,
  125. select:focus,
  126. textarea:focus {
  127. background-color: var(--main-background);
  128. border-color: var(--highlight);
  129. outline: none;
  130. }
  131. input:disabled, select:disabled {
  132. border-color: var(--border-elements);
  133. color: var(--text-accent);
  134. }
  135. button.as-link[disabled] {
  136. color: var(--text-accent);
  137. font-style: italic;
  138. }
  139. /*=== Tables */
  140. .config-articleicons td,
  141. .config-articleicons th {
  142. font-weight: normal;
  143. }
  144. table {
  145. border-collapse: collapse;
  146. }
  147. table tr {
  148. border-bottom: 1px solid var(--border-elements);
  149. }
  150. table th, table td {
  151. padding: 10px 20px;
  152. }
  153. .form-group.form-actions {
  154. margin: 2rem 0 5rem 0;
  155. background-color: var(--main-background-transparent);
  156. }
  157. .form-group .group-name {
  158. padding: 10px 0;
  159. }
  160. .form-group .group-controls {
  161. padding: 5px 0;
  162. min-height: 25px;
  163. }
  164. /*=== Buttons */
  165. .btn {
  166. margin: .3rem .6rem 0.3rem 0;
  167. padding: 0.25rem 0.5rem;
  168. background: var(--accent-bg);
  169. color: var(--accent);
  170. font-size: 0.9rem;
  171. border: 1px solid var(--border-elements);
  172. border-radius: 5px;
  173. text-decoration: none;
  174. transition: .2s;
  175. min-height: 25px;
  176. min-width: 15px;
  177. vertical-align: middle;
  178. line-height: 25px;
  179. }
  180. .btn.active {
  181. background-color: var(--main-background);
  182. border: 1px solid var(--accent);
  183. }
  184. div:target ~ .btn {
  185. background-color: var(--highlight);
  186. border: 1px solid var(--highlight);
  187. }
  188. div:target ~ .btn .icon {
  189. filter: brightness(30%);
  190. }
  191. .btn:hover {
  192. color: var(--highlight);
  193. border: 1px solid var(--highlight);
  194. text-decoration: none;
  195. }
  196. a:hover .icon,
  197. .btn:hover .icon {
  198. filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
  199. transition: .2s filter;
  200. }
  201. .btn-important, #nav_menu_read_all .read_all, #actualize {
  202. font-weight: bold !important;
  203. background-color: var(--accent) !important;
  204. color: var(--main-background) !important;
  205. }
  206. .btn-important:hover, #nav_menu_read_all .read_all:hover, #actualize:hover {
  207. background-color: var(--highlight) !important;
  208. }
  209. #btn-add.btn-important .icon, #actualize .icon {
  210. filter: brightness(0);
  211. }
  212. .btn-attention {
  213. color: var(--red) !important;
  214. border: 1px solid var(--red) !important;
  215. }
  216. .btn-attention:hover {
  217. background: var(--red);
  218. transition: 0.2s background;
  219. color: var(--main-background) !important;
  220. }
  221. .btn:hover,
  222. svg:hover {
  223. cursor: pointer;
  224. }
  225. .stick input,
  226. .stick select,
  227. .stick .btn {
  228. border-radius: 0;
  229. }
  230. .stick input:first-child,
  231. .stick select:first-child,
  232. .stick .btn:first-child {
  233. border-top-left-radius: 6px;
  234. border-bottom-left-radius: 6px;
  235. border-right-width: 0;
  236. }
  237. .dropdown-menu .stick input {
  238. background-color: var(--light-bg);
  239. border-color: var(--accent-border);
  240. }
  241. .dropdown-menu .stick input:focus {
  242. background-color: var(--accent-bg);
  243. }
  244. .dropdown-menu .stick .btn {
  245. border-color: var(--accent-border);
  246. }
  247. .stick input:hover,
  248. .stick:hover input,
  249. .stick:hover .btn {
  250. border-color: var(--accent) !important
  251. }
  252. .stick .btn:hover,
  253. .stick input:focus,
  254. .stick input:focus ~ .btn {
  255. border-color: var(--highlight) !important
  256. }
  257. .nav_menu .stick input,
  258. .nav_menu .stick .btn {
  259. border-radius: 6px;
  260. border-right-width: 1px;
  261. }
  262. .nav_menu .stick #mark-read-menu .read_all.btn,
  263. .nav_menu .dropdown-menu .stick.search input {
  264. margin-right: 0;
  265. border-top-right-radius: 0;
  266. border-bottom-right-radius: 0;
  267. }
  268. .nav_menu .stick #mark-read-menu .dropdown-toggle.btn,
  269. .nav_menu .dropdown-menu .stick.search .btn {
  270. margin-left: 0;
  271. border-left: 0;
  272. border-top-left-radius: 0;
  273. border-bottom-left-radius: 0;
  274. }
  275. .stick .btn:last-child {
  276. margin-right: 0;
  277. border-top-right-radius: 6px;
  278. border-bottom-right-radius: 6px;
  279. }
  280. .stick .btn {
  281. margin-top: 0;
  282. margin-bottom: 0;
  283. }
  284. .stick.configure-feeds .btn {
  285. margin-right: 0;
  286. }
  287. .header .stick,
  288. .header .btn {
  289. margin: 0
  290. }
  291. /*=== Navigation */
  292. .dropdown-menu {
  293. margin: 5px 0 0;
  294. padding: 0.5rem 0 0.25rem 0;
  295. background: var(--dropdown-bg);
  296. font-size: 0.8rem;
  297. border: none;
  298. border-radius: 6px;
  299. text-align: left;
  300. }
  301. .dropdown-header,
  302. .dropdown-section .dropdown-section-title {
  303. padding: 0.5rem 0.75rem;
  304. font-weight: bold;
  305. text-align: left;
  306. }
  307. .dropdown-menu .item > a,
  308. .dropdown-menu .item > span,
  309. .dropdown-menu .item > .as-link {
  310. padding: 0 22px;
  311. line-height: 2.5em;
  312. font-size: inherit;
  313. min-width: 200px;
  314. }
  315. .dropdown-menu .dropdown-section .item > a,
  316. .dropdown-menu .dropdown-section .item > span,
  317. .dropdown-menu .dropdown-section .item > .as-link {
  318. padding-left: 2rem;
  319. }
  320. .dropdown-menu .dropdown-section .item:last-child {
  321. margin-bottom: 0.5rem;
  322. }
  323. .dropdown-menu .item > a:focus,
  324. .dropdown-menu .item > a:hover,
  325. .dropdown-menu .item > button:focus:not([disabled]),
  326. .dropdown-menu .item > button:hover:not([disabled]),
  327. .dropdown-menu .item > label:focus:not(.noHover),
  328. .dropdown-menu .item > label:hover:not(.noHover) {
  329. background-color: var(--light-bg);
  330. color: var(--text-default);
  331. transition: .2s;
  332. }
  333. .dropdown-menu > .item[aria-checked="true"] > a::before {
  334. font-weight: bold;
  335. margin: 0 0 0 -14px;
  336. }
  337. .dropdown-menu .input select,
  338. .dropdown-menu .input input {
  339. margin: 0 auto 5px;
  340. padding: 2px 5px;
  341. }
  342. .dropdown-menu > .item:hover > a {
  343. text-decoration: none;
  344. }
  345. .dropdown-close a:hover {
  346. background: none;
  347. }
  348. .dropdown-target:target ~ .dropdown-toggle::after {
  349. background-color: var(--dropdown-bg);
  350. border: none;
  351. right: 13px;
  352. bottom: -14px;
  353. }
  354. .dropdown-menu-scrollable .dropdown-close {
  355. display: none;
  356. }
  357. .item ~ .dropdown-header,
  358. .dropdown-section ~ .dropdown-section,
  359. .item.separator {
  360. border-top-color: var(--accent-border);
  361. }
  362. /*=== Alerts */
  363. .alert {
  364. color: var(--text-accent);
  365. font-size: 0.9em;
  366. border: 1px solid var(--border-elements);
  367. border-radius: 6px;
  368. background-color: var(--light-bg);
  369. }
  370. .alert-success {
  371. border-color: var(--green);
  372. }
  373. .alert-head {
  374. font-size: 1.15em;
  375. }
  376. .alert > a {
  377. text-decoration: underline;
  378. }
  379. .alert-warn {
  380. border-color: var(--orange);
  381. }
  382. .alert-error {
  383. border-color: var(--red);
  384. }
  385. /*=== Icons */
  386. .icon {
  387. filter: invert(74%) sepia(29%) saturate(411%) hue-rotate(171deg) brightness(130%) contrast(85%);
  388. }
  389. img.favicon {
  390. background: var(--text-accent);
  391. border-radius: 4px;
  392. }
  393. /*=== Pagination */
  394. .pagination {
  395. padding: 0.5rem;
  396. background-color: var(--accent-bg);
  397. }
  398. .pagination .item a {
  399. border-radius: 6px;
  400. }
  401. .pagination .item.active a {
  402. color: var(--highlight);
  403. font-weight: bold;
  404. }
  405. .pagination .item a:hover {
  406. background-color: var(--main-background);
  407. color: var(--text-default);
  408. transition: .2s;
  409. }
  410. /*=== Boxes */
  411. .box {
  412. background-color: var(--accent-bg);
  413. border-radius: 10px;
  414. }
  415. .box .box-content {
  416. padding-bottom: 1.5rem;
  417. list-style: none;
  418. }
  419. .box .box-title {
  420. padding-top: 0.75rem;
  421. padding-bottom: 0.5rem;
  422. border-bottom: 1px solid var(--nordX-background);
  423. }
  424. .box .box-title .configure {
  425. padding-right: .25rem;
  426. }
  427. .box .box-title h2 {
  428. color: var(--accent);
  429. font-size: 1rem;
  430. }
  431. .box .box-title .configure:not([data-cat-position=""])::after {
  432. top: .5rem;
  433. }
  434. .box .box-content .item {
  435. padding: 0;
  436. font-size: 0.9rem;
  437. }
  438. /*=== Draggable */
  439. .drag-hover {
  440. margin: 0 0 5px;
  441. }
  442. [draggable=true] {
  443. cursor: grab;
  444. }
  445. /*=== Tree */
  446. .tree {
  447. margin: 10px 0;
  448. }
  449. .tree-folder-title .title {
  450. background: inherit;
  451. }
  452. .tree-folder-title:hover button.dropdown-toggle .icon {
  453. filter: invert(74%) sepia(29%) saturate(411%) hue-rotate(171deg) brightness(130%) contrast(85%);
  454. }
  455. .tree-folder-title button.dropdown-toggle:hover .icon {
  456. filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
  457. }
  458. .tree-folder.category {
  459. border-bottom: 1px solid var(--main-background);
  460. }
  461. .tree-folder.category.active .tree-folder-title,
  462. .tree-folder.category .tree-folder-title:hover,
  463. .tree-folder.category:hover .tree-folder-title {
  464. background: var(--light-bg);
  465. }
  466. .tree-folder .tree-folder-title:hover a,
  467. .tree-folder.category.active .tree-folder-title:hover a,
  468. .tree-folder .tree-folder-items .item.feed:hover a {
  469. color: var(--text-default);
  470. }
  471. .tree-folder.category.active .tree-folder-title a {
  472. color: var(--highlight);
  473. }
  474. .tree-folder-items > .item {
  475. color: var(--text-default);
  476. font-size: 0.8rem;
  477. }
  478. .tree-folder-items > .item > a {
  479. text-decoration: none;
  480. }
  481. .tree-folder-title {
  482. position: relative;
  483. padding: 0.25rem 0.75rem;
  484. font-size: 1rem;
  485. }
  486. .tree-folder-title .title:hover {
  487. text-decoration: none;
  488. }
  489. .tree-folder.active .tree-folder-title {
  490. font-weight: bold;
  491. }
  492. /*=== STRUCTURE */
  493. /*===============*/
  494. /*=== Header */
  495. .header > .item {
  496. vertical-align: middle;
  497. text-align: center;
  498. }
  499. .header > .item.title h1 {
  500. margin: 0.5em 0;
  501. }
  502. .header > .item.title h1 a {
  503. text-decoration: none;
  504. }
  505. .header > .item.search input {
  506. width: 350px;
  507. }
  508. .header > .item.title .logo {
  509. filter: grayscale(100%) brightness(2.5);
  510. }
  511. .header > .item.title a:hover .logo {
  512. filter: grayscale(85%) brightness(2.5);
  513. }
  514. /*=== Body */
  515. .aside {
  516. background-color: var(--accent-bg);
  517. border-top-right-radius: 12px;
  518. }
  519. /*=== Aside main page */
  520. .aside.aside_feed {
  521. padding: 10px 0;
  522. text-align: center;
  523. }
  524. .aside.nav-list .nav-section .item.active a,
  525. .aside.nav-list .nav-section .item.active .as-link {
  526. color: var(--highlight);
  527. font-weight: bold;
  528. }
  529. .aside.nav-list .nav-section .item a:hover,
  530. .aside.nav-list .nav-section .item .as-link:hover {
  531. background-color: var(--main-background);
  532. color: var(--text-default);
  533. transition: .2s;
  534. }
  535. .aside.aside_feed .tree {
  536. margin: 10px 0 50px;
  537. }
  538. .aside_feed .category .title:not([data-unread="0"]) {
  539. width: calc(100% - 35px - 20px);
  540. }
  541. .aside_feed .tree-folder-items.active {
  542. padding-bottom: 1rem;
  543. background-color: var(--main-background);
  544. }
  545. .aside.aside_feed .nav-form input,
  546. .aside.aside_feed .nav-form select {
  547. width: 140px;
  548. }
  549. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  550. right: -20px;
  551. }
  552. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  553. right: 33px;
  554. }
  555. .aside_feed .tree-folder-title button.dropdown-toggle {
  556. margin: -0.5rem 0 -0.5rem -0.75rem;
  557. padding: 0.5rem 0 0.5rem 0.75rem;
  558. }
  559. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  560. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  561. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  562. border-radius: 3px;
  563. }
  564. .aside .toggle_aside,
  565. .dropdown-menu .toggle_aside,
  566. #slider .toggle_aside,
  567. .dropdown-header-close a {
  568. background: var(--accent-bg);
  569. border: 1px solid var(--accent-border);
  570. box-sizing: border-box;
  571. transition: 0.2s;
  572. }
  573. .aside .toggle_aside:hover,
  574. #slider .toggle_aside:hover,
  575. .dropdown-menu .toggle_aside:hover {
  576. background-color: var(--main-background) !important;
  577. border-color: var(--highlight) !important;
  578. }
  579. .item.feed.error > .item-title {
  580. color: var(--red);
  581. }
  582. .item.feed.active {
  583. background-color: var(--accent-bg);
  584. }
  585. .item.feed.active a {
  586. color: var(--highlight);
  587. }
  588. .item.feed.active .item-title {
  589. font-weight: bold;
  590. }
  591. li.item.active {
  592. background-color: var(--main-background);
  593. }
  594. .item.feed:hover {
  595. background-color: var(--accent-bg);
  596. transition: .3s;
  597. }
  598. .feed .item-title:not([data-unread="0"]) {
  599. font-weight: normal;
  600. }
  601. /*=== New article notification */
  602. #new-article {
  603. font-size: 0.9em;
  604. text-align: center;
  605. }
  606. #new-article > a {
  607. margin: 1rem auto;
  608. width: 90%;
  609. color: var(--purple);
  610. border: 2px solid var(--purple);
  611. border-radius: 6px;
  612. font-weight: bold;
  613. transition: 0.2s background-color, .2s color;
  614. }
  615. #new-article > a:hover {
  616. background-color: var(--purple);
  617. color: var(--main-background);
  618. text-decoration: none;
  619. }
  620. /*=== Transition indication, e.g. day */
  621. .transition {
  622. padding: 0 10px;
  623. font-weight: bold;
  624. line-height: 3em;
  625. }
  626. .transition .name {
  627. padding: 0 10px 0 0;
  628. font-size: 1.8em;
  629. opacity: 0.3;
  630. font-style: italic;
  631. text-align: right;
  632. }
  633. /*=== Feed article header and footer */
  634. .flux_header {
  635. position: relative;
  636. font-size: 0.8rem;
  637. cursor: pointer;
  638. }
  639. .flux_header .title {
  640. font-size: 0.8rem;
  641. }
  642. .flux .website .favicon {
  643. padding: 0.25rem;
  644. }
  645. .flux .content .tags .icon {
  646. padding: 0.25rem;
  647. }
  648. .flux .bottom {
  649. font-size: 0.8rem;
  650. text-align: center;
  651. }
  652. .flux_header:hover {
  653. background-color: var(--accent-bg);
  654. transition: .3s;
  655. }
  656. .flux.current {
  657. background: var(--accent-bg);
  658. border-left: 1px solid var(--highlight);
  659. }
  660. .flux.current > .flux_header {
  661. background: linear-gradient(to right, transparent 0, transparent 1px, var(--accent-bg) 1px);
  662. margin-left: -1px; /* Compensate increased border-left-width */
  663. }
  664. .flux:not(.current):hover .item .title {
  665. background: var(--accent-bg);
  666. transition: .3s;
  667. }
  668. .flux .flux_header .item .title {
  669. color: var(--text-default);
  670. }
  671. .flux .flux_header .item .title .summary {
  672. color: var(--text-accent);
  673. font-size: 0.8rem;
  674. font-style: italic;
  675. opacity: 0.8;
  676. }
  677. .flux .flux_header .item .title .author {
  678. color: var(--text-accent);
  679. opacity: 0.8;
  680. }
  681. /*=== Feed article content */
  682. .flux_content .content header h1.title {
  683. margin: 1.5rem 0px;
  684. }
  685. .flux_content .content header h1.title a {
  686. color: var(--highlight);
  687. }
  688. .content > footer .subtitle {
  689. border-color: var(--border-elements);
  690. }
  691. .content > header .dropdown-menu .dropdown-header,
  692. .content > footer .dropdown-menu .dropdown-header {
  693. color: var(--text-default);
  694. }
  695. .content hr {
  696. margin: 30px 10px;
  697. height: 1px;
  698. }
  699. .content pre {
  700. border: 1px solid var(--accent);
  701. border-radius: 6px;
  702. }
  703. .content pre code {
  704. border: none;
  705. }
  706. .content blockquote {
  707. margin: 0;
  708. padding: 5px 20px;
  709. display: block;
  710. }
  711. .content blockquote p {
  712. margin: 0;
  713. }
  714. #load_more.loading {
  715. background-color: var(--accent);
  716. }
  717. #load_more.loading:hover {
  718. background-color: var(--highlight);
  719. }
  720. /*=== Notification and actualize notification */
  721. .notification {
  722. background: var(--dropdown-bg);
  723. color: var(--text-default);
  724. font-size: 0.9rem;
  725. border-radius: 6px;
  726. border-color: var(--border-elements);
  727. z-index: 9999;
  728. font-weight: bold;
  729. box-shadow: 0px 0px 10px var(--frss-box-shadow-color-transparent);
  730. }
  731. .notification.bad {
  732. background-color: var(--red);
  733. color: var(--nord0-polarnight);
  734. }
  735. .notification.bad .icon {
  736. filter: brightness(60%);
  737. }
  738. .notification .close {
  739. padding: 1.25rem;
  740. line-height: 1;
  741. }
  742. .notification .close:hover {
  743. background-color: var(--border-elements);
  744. }
  745. .notification .close:hover .icon {
  746. filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
  747. }
  748. /*=== Popup */
  749. #popup-content {
  750. background-color: var(--accent-bg);
  751. }
  752. #popup-txt {
  753. display: none;
  754. height: 100%;
  755. }
  756. /*=== Navigation menu (for articles) */
  757. #nav_entries {
  758. background: var(--accent-bg);
  759. }
  760. #nav_entries .item a:hover {
  761. background-color: var(--main-background);
  762. }
  763. #bigMarkAsRead.big {
  764. text-decoration: none;
  765. }
  766. #bigMarkAsRead:hover {
  767. background-color: var(--accent-bg);
  768. transition: .3s;
  769. }
  770. #bigMarkAsRead:hover .bigTick {
  771. color: var(--text-default);
  772. }
  773. .bigTick {
  774. color: var(--accent);
  775. font-size: 4em;
  776. }
  777. /*=== Statistiques */
  778. .stat > table td,
  779. .stat > table th {
  780. text-align: center;
  781. }
  782. .stat {
  783. margin: 10px 0 20px;
  784. }
  785. /*=== Slider */
  786. #slider {
  787. background: var(--accent-bg);
  788. }
  789. /*=== DIVERS */
  790. /*===========*/
  791. .category .title.error::before {
  792. color: var(--red);
  793. }
  794. .nav_menu {
  795. padding: 5px 0;
  796. text-align: center;
  797. }
  798. .nav_menu #nav_menu_toggle_aside {
  799. position: static;
  800. }
  801. .nav_menu .btn {
  802. margin: .125rem;
  803. }
  804. .nav_menu .group {
  805. margin-right: 1rem;
  806. margin-left: .125rem;
  807. }
  808. .theme-preview-list,
  809. .theme-preview-list .properties {
  810. border-color: var(--border-elements);
  811. }
  812. .theme-preview-list:hover,
  813. .theme-preview-list:hover .properties {
  814. border-color: var(--highlight);
  815. }
  816. .theme-preview-list .nav label {
  817. color: var(--accent);
  818. }
  819. .theme-preview-list .nav label:hover {
  820. color: var(--highlight)
  821. }
  822. /*=== PRINTER */
  823. /*============*/
  824. @media print {
  825. .header, .aside,
  826. .nav_menu, .transition,
  827. .flux_header,
  828. .flux_content .bottom,
  829. .pagination,
  830. #nav_entries {
  831. display: none;
  832. }
  833. html, body {
  834. background: #fff;
  835. color: #000;
  836. font-family: Serif;
  837. }
  838. #global,
  839. .flux_content {
  840. display: block !important;
  841. }
  842. .flux_content .content {
  843. width: 100% !important;
  844. }
  845. }
  846. /*=== PREVIEW */
  847. /*===========*/
  848. .preview_controls {
  849. background-color: var(--light-bg);
  850. border-color: var(--border-elements);
  851. }
  852. .preview_controls label {
  853. display: inline;
  854. }
  855. .preview_controls label input[type="radio"] {
  856. margin-top: -4px;
  857. }
  858. .preview_controls label + label {
  859. margin-left: 1rem;
  860. }
  861. .preview_background {
  862. background-color: transparent;
  863. }
  864. .drag-drop-marker {
  865. border: 2px dashed var(--highlight);
  866. }
  867. /*BEGINS BASE.CSS*/
  868. /*=== GENERAL */
  869. /*============*/
  870. /*=== Links */
  871. a, button.as-link {
  872. outline: none;
  873. }
  874. /*=== Forms */
  875. option,
  876. optgroup {
  877. padding-left: 0.5rem;
  878. }
  879. optgroup::before {
  880. padding-top: 1rem;
  881. padding-bottom: 0.5rem;
  882. color: var(--accent);
  883. font-style: normal;
  884. }
  885. /*=== COMPONENTS */
  886. /*===============*/
  887. /*=== Forms */
  888. .form-group.form-actions .btn {
  889. margin-right: 1rem;
  890. }
  891. /*=== Navigation */
  892. .nav-list {
  893. font-size: 0.9rem;
  894. }
  895. .nav-list .item,
  896. .nav-list .item.nav-header {
  897. min-height: 2.5em;
  898. line-height: 2.5;
  899. }
  900. .nav-list .item > a,
  901. .nav-list .item > .as-link {
  902. padding: 0 1rem;
  903. }
  904. .nav-list a:hover {
  905. text-decoration: none;
  906. }
  907. .nav-list .nav-header {
  908. padding: 0 1rem;
  909. font-weight: bold;
  910. }
  911. .nav-list .nav-form {
  912. padding: 3px;
  913. text-align: center;
  914. }
  915. /*=== Dropdown */
  916. .dropdown-menu::after {
  917. top: -5px;
  918. border: none;
  919. }
  920. .dropdown-menu > .item > a,
  921. .dropdown-menu > .item > span,
  922. .dropdown-menu > .item > .as-link,
  923. .dropdown-menu > .item > ul > .item > a,
  924. .dropdown-menu > .item > ul > .item > span,
  925. .dropdown-menu > .item > ul > .item > .as-link {
  926. color: var(--text-accent) !important;
  927. }
  928. /*=== STRUCTURE */
  929. /*===============*/
  930. /*=== Header */
  931. /*=== Body */
  932. /*=== Aside main page (categories) */
  933. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  934. margin: 10px 0;
  935. padding: 0 0.5rem;
  936. font-size: 0.9rem;
  937. }
  938. .aside .category .title:not([data-unread="0"])::after,
  939. .aside .feed .item-title:not([data-unread="0"])::after {
  940. margin: calc(var(--frss-padding-top-bottom)) 0 0 0;
  941. text-align: right;
  942. right: 0.25rem;
  943. }
  944. .aside .feed.active .item-title:not([data-unread="0"])::after {
  945. color: var(--main-background);
  946. border: none;
  947. background-color: var(--highlight);
  948. }
  949. .aside .feed.active:hover .item-title:not([data-unread="0"])::after {
  950. background-color: var(--text-default);
  951. }
  952. /*=== Aside main page (feeds) */
  953. .aside_feed .tree-folder-items .dropdown-menu::after {
  954. left: 2px;
  955. }
  956. /*=== Prompt (centered) */
  957. .prompt input {
  958. margin: 5px auto;
  959. width: 100%;
  960. }
  961. /*=== Navigation menu (for articles) */
  962. #stream-footer {
  963. border-top: 0;
  964. }
  965. /*=== READER VIEW */
  966. /*================*/
  967. #stream.reader .flux {
  968. background-color: var(--main-background);
  969. border: none;
  970. }
  971. #stream.reader .flux .flux_content {
  972. background-color: var(--accent-bg);
  973. border: none;
  974. border-radius: 12px;
  975. }
  976. /*=== GLOBAL VIEW */
  977. /*================*/
  978. .box.category .box-title .title {
  979. font-weight: normal;
  980. text-decoration: none;
  981. text-align: left;
  982. }
  983. .box.category .title:not([data-unread="0"])::after {
  984. background: none;
  985. border: 0;
  986. position: absolute;
  987. top: 5px; right: 10px;
  988. font-weight: bold;
  989. box-shadow: none;
  990. text-shadow: none;
  991. }
  992. #panel {
  993. background-color: var(--main-background);
  994. }
  995. /*=== MOBILE */
  996. /*===========*/
  997. @media (max-width: 840px) {
  998. .aside.visible + .close-aside,
  999. .configure .dropdown-target:target ~ .dropdown-close {
  1000. backdrop-filter: grayscale(60%) blur(1px);
  1001. }
  1002. .aside {
  1003. left: 0;
  1004. }
  1005. .nav.aside {
  1006. border-radius: 0;
  1007. }
  1008. .configure .dropdown .dropdown-menu {
  1009. max-width: 300px;
  1010. }
  1011. .flux .website .favicon {
  1012. position: relative;
  1013. }
  1014. #overlay {
  1015. background-color: var(--accent-bg);
  1016. }
  1017. #slider.active {
  1018. background-color: var(--main-background);
  1019. }
  1020. #close-slider img {
  1021. display: initial;
  1022. }
  1023. #close-slider.active {
  1024. background: var(--main-background);
  1025. display: block;
  1026. width: 100%;
  1027. height: 50px;
  1028. z-index: 10;
  1029. text-align: center;
  1030. line-height: 50px;
  1031. border-bottom: 1px solid #ddd;
  1032. }
  1033. .stat.half {
  1034. grid-column: 1 / span 2;
  1035. }
  1036. .nav_menu .btn {
  1037. margin-bottom: .5rem;
  1038. }
  1039. .nav_menu .stick #mark-read-menu .dropdown-toggle.btn {
  1040. border-left: 1px solid var(--border-elements);
  1041. border-top-left-radius: 6px;
  1042. border-bottom-left-radius: 6px;
  1043. }
  1044. .nav_menu .search input {
  1045. max-width: 97%;
  1046. width: 90px;
  1047. }
  1048. .nav_menu .search input:focus {
  1049. width: 400px;
  1050. }
  1051. .dropdown .dropdown-menu .item .stick.search {
  1052. width: 100%;
  1053. }
  1054. .post {
  1055. padding: 1rem;
  1056. }
  1057. .transition .name {
  1058. font-size: 1.1rem;
  1059. }
  1060. .pagination {
  1061. margin: 0 0 3.5em;
  1062. }
  1063. .notification {
  1064. top: 1%;
  1065. left: 2%;
  1066. right: 2%;
  1067. }
  1068. .notification .close {
  1069. display: block;
  1070. left: 0;
  1071. }
  1072. .notification .close:hover {
  1073. opacity: 0.5;
  1074. }
  1075. .notification .close .icon {
  1076. display: none;
  1077. }
  1078. .alert {
  1079. width: 85%;
  1080. }
  1081. .dropdown-menu {
  1082. margin: 0;
  1083. }
  1084. .dropdown .dropdown-menu {
  1085. border-radius: 6px;
  1086. }
  1087. #overlay .close {
  1088. background: var(--accent-bg);
  1089. border: 1px solid var(--accent-border);
  1090. box-sizing: border-box;
  1091. transition: 0.2s;
  1092. }
  1093. #overlay .close:hover {
  1094. background-color: var(--main-background) !important;
  1095. border-color: var(--highlight) !important;
  1096. }
  1097. .header .configure .dropdown .dropdown-menu {
  1098. border-radius: 0;
  1099. }
  1100. .form-group .group-name {
  1101. font-weight: bold;
  1102. padding: 0 0 0.25rem 0;
  1103. }
  1104. .form-group .group-name::after {
  1105. content: ':';
  1106. }
  1107. .form-group {
  1108. margin-top: 2rem;
  1109. margin-bottom: 2rem;
  1110. }
  1111. }