nord.rtl.css 23 KB

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