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 {
  346. backdrop-filter: grayscale(25%) brightness(0.9);
  347. }
  348. .dropdown-close a:hover {
  349. background: none;
  350. }
  351. .dropdown-target:target ~ .dropdown-toggle::after {
  352. background-color: var(--dropdown-bg);
  353. border: none;
  354. right: 13px;
  355. bottom: -14px;
  356. }
  357. .dropdown-menu-scrollable .dropdown-close {
  358. display: none;
  359. }
  360. .item ~ .dropdown-header,
  361. .dropdown-section ~ .dropdown-section,
  362. .item.separator {
  363. border-top-color: var(--accent-border);
  364. }
  365. /*=== Alerts */
  366. .alert {
  367. color: var(--text-accent);
  368. font-size: 0.9em;
  369. border: 1px solid var(--border-elements);
  370. border-radius: 6px;
  371. background-color: var(--light-bg);
  372. }
  373. .alert-success {
  374. border-color: var(--green);
  375. }
  376. .alert-head {
  377. font-size: 1.15em;
  378. }
  379. .alert > a {
  380. text-decoration: underline;
  381. }
  382. .alert-warn {
  383. border-color: var(--orange);
  384. }
  385. .alert-error {
  386. border-color: var(--red);
  387. }
  388. /*=== Icons */
  389. .icon {
  390. filter: invert(74%) sepia(29%) saturate(411%) hue-rotate(171deg) brightness(130%) contrast(85%);
  391. }
  392. img.favicon {
  393. background: var(--text-accent);
  394. border-radius: 4px;
  395. }
  396. /*=== Pagination */
  397. .pagination {
  398. padding: 0.5rem;
  399. background-color: var(--accent-bg);
  400. }
  401. .pagination .item a {
  402. border-radius: 6px;
  403. }
  404. .pagination .item.active a {
  405. color: var(--highlight);
  406. font-weight: bold;
  407. }
  408. .pagination .item a:hover {
  409. background-color: var(--main-background);
  410. color: var(--text-default);
  411. transition: .2s;
  412. }
  413. /*=== Boxes */
  414. .box {
  415. background-color: var(--accent-bg);
  416. border-radius: 10px;
  417. }
  418. .box .box-content {
  419. padding-bottom: 1.5rem;
  420. list-style: none;
  421. }
  422. .box .box-title {
  423. padding-top: 0.75rem;
  424. padding-bottom: 0.5rem;
  425. border-bottom: 1px solid var(--nordX-background);
  426. }
  427. .box .box-title .configure {
  428. padding-right: .25rem;
  429. }
  430. .box .box-title h2 {
  431. color: var(--accent);
  432. font-size: 1rem;
  433. }
  434. .box .box-title .configure:not([data-cat-position=""])::after {
  435. top: .5rem;
  436. }
  437. .box .box-content .item {
  438. padding: 0;
  439. font-size: 0.9rem;
  440. }
  441. /*=== Draggable */
  442. .drag-hover {
  443. margin: 0 0 5px;
  444. }
  445. [draggable=true] {
  446. cursor: grab;
  447. }
  448. /*=== Tree */
  449. .tree {
  450. margin: 10px 0;
  451. }
  452. .tree-folder-title .title {
  453. background: inherit;
  454. }
  455. .tree-folder-title:hover button.dropdown-toggle .icon {
  456. filter: invert(74%) sepia(29%) saturate(411%) hue-rotate(171deg) brightness(130%) contrast(85%);
  457. }
  458. .tree-folder-title button.dropdown-toggle:hover .icon {
  459. filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
  460. }
  461. .tree-folder.category {
  462. border-bottom: 1px solid var(--main-background);
  463. }
  464. .tree-folder.category.active .tree-folder-title,
  465. .tree-folder.category .tree-folder-title:hover,
  466. .tree-folder.category:hover .tree-folder-title {
  467. background: var(--light-bg);
  468. }
  469. .tree-folder .tree-folder-title:hover a,
  470. .tree-folder.category.active .tree-folder-title:hover a,
  471. .tree-folder .tree-folder-items .item.feed:hover a {
  472. color: var(--text-default);
  473. }
  474. .tree-folder.category.active .tree-folder-title a {
  475. color: var(--highlight);
  476. }
  477. .tree-folder-items > .item {
  478. color: var(--text-default);
  479. font-size: 0.8rem;
  480. }
  481. .tree-folder-items > .item > a {
  482. text-decoration: none;
  483. }
  484. .tree-folder-title {
  485. position: relative;
  486. padding: 0.25rem 0.75rem;
  487. font-size: 1rem;
  488. }
  489. .tree-folder-title .title:hover {
  490. text-decoration: none;
  491. }
  492. .tree-folder.active .tree-folder-title {
  493. font-weight: bold;
  494. }
  495. /*=== STRUCTURE */
  496. /*===============*/
  497. /*=== Header */
  498. .header > .item {
  499. vertical-align: middle;
  500. text-align: center;
  501. }
  502. .header > .item.title h1 {
  503. margin: 0.5em 0;
  504. }
  505. .header > .item.title h1 a {
  506. text-decoration: none;
  507. }
  508. .header > .item.search input {
  509. width: 350px;
  510. }
  511. .header > .item.title .logo {
  512. filter: grayscale(100%) brightness(2.5);
  513. }
  514. .header > .item.title a:hover .logo {
  515. filter: grayscale(85%) brightness(2.5);
  516. }
  517. /*=== Body */
  518. .aside {
  519. background-color: var(--accent-bg);
  520. border-top-right-radius: 12px;
  521. }
  522. /*=== Aside main page */
  523. .aside.aside_feed {
  524. padding: 10px 0;
  525. text-align: center;
  526. }
  527. .aside.nav-list .nav-section .item.active a,
  528. .aside.nav-list .nav-section .item.active .as-link {
  529. color: var(--highlight);
  530. font-weight: bold;
  531. }
  532. .aside.nav-list .nav-section .item a:hover,
  533. .aside.nav-list .nav-section .item .as-link:hover {
  534. background-color: var(--main-background);
  535. color: var(--text-default);
  536. transition: .2s;
  537. }
  538. .aside.aside_feed .tree {
  539. margin: 10px 0 50px;
  540. }
  541. .aside_feed .category .title:not([data-unread="0"]) {
  542. width: calc(100% - 35px - 20px);
  543. }
  544. .aside_feed .tree-folder-items.active {
  545. padding-bottom: 1rem;
  546. background-color: var(--main-background);
  547. }
  548. .aside.aside_feed .nav-form input,
  549. .aside.aside_feed .nav-form select {
  550. width: 140px;
  551. }
  552. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  553. right: -20px;
  554. }
  555. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  556. right: 33px;
  557. }
  558. .aside_feed .tree-folder-title button.dropdown-toggle {
  559. margin: -0.5rem 0 -0.5rem -0.75rem;
  560. padding: 0.5rem 0 0.5rem 0.75rem;
  561. }
  562. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  563. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  564. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  565. border-radius: 3px;
  566. }
  567. .aside .toggle_aside,
  568. .dropdown-menu .toggle_aside,
  569. #slider .toggle_aside,
  570. .dropdown-header-close a {
  571. background: var(--accent-bg);
  572. border: 1px solid var(--accent-border);
  573. box-sizing: border-box;
  574. transition: 0.2s;
  575. }
  576. .aside .toggle_aside:hover,
  577. #slider .toggle_aside:hover,
  578. .dropdown-menu .toggle_aside:hover {
  579. background-color: var(--main-background) !important;
  580. border-color: var(--highlight) !important;
  581. }
  582. .item.feed.error > .item-title {
  583. color: var(--red);
  584. }
  585. .item.feed.active {
  586. background-color: var(--accent-bg);
  587. }
  588. .item.feed.active a {
  589. color: var(--highlight);
  590. }
  591. .item.feed.active .item-title {
  592. font-weight: bold;
  593. }
  594. li.item.active {
  595. background-color: var(--main-background);
  596. }
  597. .item.feed:hover {
  598. background-color: var(--accent-bg);
  599. transition: .3s;
  600. }
  601. .feed .item-title:not([data-unread="0"]) {
  602. font-weight: normal;
  603. }
  604. /*=== New article notification */
  605. #new-article {
  606. font-size: 0.9em;
  607. text-align: center;
  608. }
  609. #new-article > a {
  610. margin: 1rem auto;
  611. width: 90%;
  612. color: var(--purple);
  613. border: 2px solid var(--purple);
  614. border-radius: 6px;
  615. font-weight: bold;
  616. transition: 0.2s background-color, .2s color;
  617. }
  618. #new-article > a:hover {
  619. background-color: var(--purple);
  620. color: var(--main-background);
  621. text-decoration: none;
  622. }
  623. /*=== Transition indication, e.g. day */
  624. .transition {
  625. padding: 0 10px;
  626. font-weight: bold;
  627. line-height: 3em;
  628. }
  629. .transition .name {
  630. padding: 0 10px 0 0;
  631. font-size: 1.8em;
  632. opacity: 0.3;
  633. font-style: italic;
  634. text-align: right;
  635. }
  636. /*=== Feed article header and footer */
  637. .flux_header {
  638. position: relative;
  639. font-size: 0.8rem;
  640. cursor: pointer;
  641. }
  642. .flux_header .title {
  643. font-size: 0.8rem;
  644. }
  645. .flux .website .favicon {
  646. padding: 0.25rem;
  647. }
  648. .flux .content .tags .icon {
  649. padding: 0.25rem;
  650. }
  651. .flux .bottom {
  652. font-size: 0.8rem;
  653. text-align: center;
  654. }
  655. .flux_header:hover {
  656. background-color: var(--accent-bg);
  657. transition: .3s;
  658. }
  659. .flux.current {
  660. background: var(--accent-bg);
  661. border-left: 1px solid var(--highlight);
  662. }
  663. .flux.current > .flux_header {
  664. background: linear-gradient(to right, transparent 0, transparent 1px, var(--accent-bg) 1px);
  665. margin-left: -1px; /* Compensate increased border-left-width */
  666. }
  667. .flux:not(.current):hover .item .title {
  668. background: var(--accent-bg);
  669. transition: .3s;
  670. }
  671. .flux .flux_header .item .title {
  672. color: var(--text-default);
  673. }
  674. .flux .flux_header .item .title .summary {
  675. color: var(--text-accent);
  676. font-size: 0.8rem;
  677. font-style: italic;
  678. opacity: 0.8;
  679. }
  680. .flux .flux_header .item .title .author {
  681. color: var(--text-accent);
  682. opacity: 0.8;
  683. }
  684. /*=== Feed article content */
  685. .flux_content .content header h1.title {
  686. margin: 1.5rem 0px;
  687. }
  688. .flux_content .content header h1.title a {
  689. color: var(--highlight);
  690. }
  691. .content > footer .subtitle {
  692. border-color: var(--border-elements);
  693. }
  694. .content > header .dropdown-menu .dropdown-header,
  695. .content > footer .dropdown-menu .dropdown-header {
  696. color: var(--text-default);
  697. }
  698. .content hr {
  699. margin: 30px 10px;
  700. height: 1px;
  701. }
  702. .content pre {
  703. border: 1px solid var(--accent);
  704. border-radius: 6px;
  705. }
  706. .content pre code {
  707. border: none;
  708. }
  709. .content blockquote {
  710. margin: 0;
  711. padding: 5px 20px;
  712. display: block;
  713. }
  714. .content blockquote p {
  715. margin: 0;
  716. }
  717. #load_more.loading {
  718. background-color: var(--accent);
  719. }
  720. #load_more.loading:hover {
  721. background-color: var(--highlight);
  722. }
  723. /*=== Notification and actualize notification */
  724. .notification {
  725. background: var(--dropdown-bg);
  726. color: var(--text-default);
  727. font-size: 0.9rem;
  728. border-radius: 6px;
  729. border-color: var(--border-elements);
  730. z-index: 9999;
  731. font-weight: bold;
  732. box-shadow: 0px 0px 10px var(--frss-box-shadow-color-transparent);
  733. }
  734. .notification.bad {
  735. background-color: var(--red);
  736. color: var(--nord0-polarnight);
  737. }
  738. .notification.bad .icon {
  739. filter: brightness(60%);
  740. }
  741. .notification .close {
  742. padding: 1.25rem;
  743. line-height: 1;
  744. }
  745. .notification .close:hover {
  746. background-color: var(--border-elements);
  747. }
  748. .notification .close:hover .icon {
  749. filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
  750. }
  751. /*=== Popup */
  752. #popup-content {
  753. background-color: var(--accent-bg);
  754. }
  755. #popup-txt {
  756. display: none;
  757. height: 100%;
  758. }
  759. /*=== Navigation menu (for articles) */
  760. #nav_entries {
  761. background: var(--accent-bg);
  762. }
  763. #nav_entries .item a:hover {
  764. background-color: var(--main-background);
  765. }
  766. #bigMarkAsRead.big {
  767. text-decoration: none;
  768. }
  769. #bigMarkAsRead:hover {
  770. background-color: var(--accent-bg);
  771. transition: .3s;
  772. }
  773. #bigMarkAsRead:hover .bigTick {
  774. color: var(--text-default);
  775. }
  776. .bigTick {
  777. color: var(--accent);
  778. font-size: 4em;
  779. }
  780. /*=== Statistiques */
  781. .stat > table td,
  782. .stat > table th {
  783. text-align: center;
  784. }
  785. .stat {
  786. margin: 10px 0 20px;
  787. }
  788. /*=== Slider */
  789. #slider {
  790. background: var(--accent-bg);
  791. }
  792. /*=== DIVERS */
  793. /*===========*/
  794. .category .title.error::before {
  795. color: var(--red);
  796. }
  797. .nav_menu {
  798. padding: 5px 0;
  799. text-align: center;
  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:target + .close-aside,
  999. .configure .dropdown-target:target ~ .dropdown-close {
  1000. backdrop-filter: grayscale(60%) blur(1px);
  1001. }
  1002. .aside {
  1003. left: 0;
  1004. transition: width 200ms linear;
  1005. }
  1006. .aside.aside_feed {
  1007. padding: 0;
  1008. }
  1009. .nav.aside {
  1010. max-width: 300px;
  1011. border-radius: 0;
  1012. }
  1013. .configure .dropdown .dropdown-menu {
  1014. max-width: 300px;
  1015. }
  1016. .flux .website .favicon {
  1017. position: relative;
  1018. }
  1019. #overlay {
  1020. background-color: var(--accent-bg);
  1021. }
  1022. #slider.active {
  1023. background-color: var(--main-background);
  1024. }
  1025. #close-slider img {
  1026. display: initial;
  1027. }
  1028. #close-slider.active {
  1029. background: var(--main-background);
  1030. display: block;
  1031. width: 100%;
  1032. height: 50px;
  1033. z-index: 10;
  1034. text-align: center;
  1035. line-height: 50px;
  1036. border-bottom: 1px solid #ddd;
  1037. }
  1038. .stat.half {
  1039. grid-column: 1 / span 2;
  1040. }
  1041. .nav_menu .btn {
  1042. margin-bottom: .5rem;
  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. }