nord.rtl.css 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381
  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. --bg: var(--nordX-background);
  28. --accent-bg: var(--nord0-polarnight);
  29. --dropdown-bg: var(--nord2-polarnight);
  30. --border-elements: var(--nord3-polarnight);
  31. --text: var(--nord6-snowstorm);
  32. --text-light: var(--nord4-snowstorm);
  33. --highlight: var(--nord8-frost);
  34. --accent: var(--nord9-frost);
  35. --accent-light: var(--nord11-aurora);
  36. --code: var(--nord13-aurora);
  37. --alert: var(--nord14-aurora);
  38. --alert-bg: var(--nord2-polarnight);
  39. --code-bg: var(--nord0-polarnight);
  40. --frss-background-color-transparent: #2e34407f;
  41. --frss-scrollbar-handle: #0002;
  42. --frss-scrollbar-handle-hover: var(--nord1-polarnight);
  43. --frss-scrollbar-track: transparent;
  44. --frss-scrollbar-track-hover: transparent;
  45. }
  46. /*=== GENERAL */
  47. /*============*/
  48. @font-face {
  49. /* src: local('Open Sans'), local('OpenSans'),
  50. url('../fonts/OpenSans.woff2') format('woff2'),
  51. url('../fonts/OpenSans.woff') format('woff');*/
  52. }
  53. html, body {
  54. background: var(--bg);
  55. color: var(--text);
  56. font-family: var(--sans-font);
  57. }
  58. /*=== Links */
  59. a {
  60. color: var(--accent);
  61. }
  62. a:hover {
  63. color: var(--highlight);
  64. }
  65. kbd {
  66. color: var(--code);
  67. border-color: var(--border-elements);
  68. background-color: var(--accent-bg);
  69. }
  70. legend {
  71. margin: 20px 0 5px;
  72. padding: 5px 0;
  73. font-size: 1.4em;
  74. }
  75. label {
  76. min-height: 25px;
  77. padding: 5px 0;
  78. cursor: pointer;
  79. }
  80. input, select, textarea {
  81. padding: 5px;
  82. color: var(--text);
  83. border: 1px solid var(--border-elements);
  84. border-radius: 6px;
  85. background-color: transparent;
  86. min-height: 25px;
  87. line-height: 25px;
  88. vertical-align: middle;
  89. }
  90. input:invalid,
  91. select:invalid,
  92. textarea:invalid {
  93. border-color: var(--nord11-aurora);
  94. }
  95. select {
  96. padding-top: 10px;
  97. padding-bottom: 9px;
  98. }
  99. input:hover,
  100. select:hover,
  101. textarea:hover {
  102. border-color: var(--accent);
  103. }
  104. input:focus,
  105. select:focus,
  106. textarea:focus {
  107. background-color: var(--bg);
  108. border-color: var(--highlight);
  109. outline: none;
  110. }
  111. input:disabled, select:disabled {
  112. border-color: var(--border-elements);
  113. color: var(--text-light);
  114. }
  115. button.as-link,
  116. button.as-link:hover,
  117. button.as-link:active {
  118. background: transparent;
  119. }
  120. button.as-link[disabled] {
  121. color: var(--text-light);
  122. font-style: italic;
  123. }
  124. /*=== Tables */
  125. form td,
  126. form th {
  127. font-weight: normal;
  128. }
  129. .table-wrapper {
  130. overflow-x: auto;
  131. }
  132. table {
  133. max-width: 100%;
  134. border-collapse: collapse;
  135. }
  136. table tr {
  137. border-bottom: 1px solid var(--border-elements);
  138. }
  139. table th, table td {
  140. padding: 10px 20px;
  141. }
  142. .form-group.form-actions {
  143. padding: 5px 0;
  144. }
  145. .form-group .group-name {
  146. padding: 10px 0;
  147. }
  148. .form-group .group-controls {
  149. padding: 5px 0;
  150. min-height: 25px;
  151. }
  152. /*=== Buttons */
  153. .btn {
  154. margin: .3rem 0 0.3rem .6rem;
  155. padding: 5px 10px;
  156. background: var(--accent-bg);
  157. color: var(--accent);
  158. font-size: 0.9rem;
  159. border: 1px solid var(--border-elements);
  160. border-radius: 5px;
  161. text-decoration: none;
  162. transition: .2s;
  163. min-height: 25px;
  164. min-width: 15px;
  165. vertical-align: middle;
  166. line-height: 25px;
  167. }
  168. .btn.active {
  169. background-color: var(--bg);
  170. border: 1px solid var(--accent);
  171. }
  172. div:target ~ .btn {
  173. background-color: var(--highlight);
  174. border: 1px solid var(--highlight);
  175. }
  176. div:target ~ .btn .icon {
  177. filter: brightness(30%);
  178. }
  179. .btn:hover {
  180. color: var(--highlight);
  181. border: 1px solid var(--highlight);
  182. text-decoration: none;
  183. }
  184. a:hover .icon,
  185. .btn:hover .icon {
  186. filter: invert(86%) sepia(8%) saturate(1976%) hue-rotate(159deg) brightness(180%) contrast(100%);
  187. transition: .2s filter;
  188. }
  189. .btn-important, #nav_menu_read_all .read_all, #actualize {
  190. font-weight: bold !important;
  191. background-color: var(--accent) !important;
  192. color: var(--bg) !important;
  193. }
  194. .btn-important:hover, #nav_menu_read_all .read_all:hover, #actualize:hover {
  195. background-color: var(--highlight) !important;
  196. }
  197. #btn-add.btn-important .icon, #actualize .icon {
  198. filter: brightness(0);
  199. }
  200. .btn-attention {
  201. color: var(--accent-light) !important;
  202. border: 1px solid var(--accent-light) !important;
  203. }
  204. .btn-attention:hover {
  205. background: var(--accent-light);
  206. transition: 0.2s background;
  207. color: var(--bg) !important;
  208. }
  209. .btn:hover,
  210. svg:hover {
  211. cursor: pointer;
  212. }
  213. .stick input,
  214. .stick .btn {
  215. border-radius: 0;
  216. }
  217. .stick input:first-child,
  218. .stick .btn:first-child {
  219. border-top-right-radius: 6px;
  220. border-bottom-right-radius: 6px;
  221. border-left-width: 0;
  222. }
  223. .dropdown-menu .stick input {
  224. background-color: var(--nord1-polarnight);
  225. border-color: var(--nord0-polarnight);
  226. }
  227. .dropdown-menu .stick input:focus {
  228. background-color: var(--nord0-polarnight);
  229. }
  230. .dropdown-menu .stick .btn {
  231. border-color: var(--nord0-polarnight);
  232. }
  233. .stick input:hover,
  234. .stick:hover input,
  235. .stick:hover .btn {
  236. border-color: var(--accent) !important
  237. }
  238. .stick .btn:hover,
  239. .stick input:focus,
  240. .stick input:focus ~ .btn {
  241. border-color: var(--highlight) !important
  242. }
  243. .nav_menu .stick input,
  244. .nav_menu .stick .btn {
  245. border-radius: 6px;
  246. border-left-width: 1px;
  247. }
  248. .stick .btn:last-child {
  249. margin-left: 0;
  250. border-top-left-radius: 6px;
  251. border-bottom-left-radius: 6px;
  252. }
  253. .stick .btn {
  254. margin-top: 0;
  255. margin-bottom: 0;
  256. }
  257. .stick.configure-feeds .btn {
  258. margin-left: 0;
  259. }
  260. .header .stick,
  261. .header .btn {
  262. margin: 0
  263. }
  264. /*=== Navigation */
  265. .dropdown-menu {
  266. margin: 5px 0 0;
  267. padding: 0.5rem 0 0.25rem 0;
  268. background: var(--dropdown-bg);
  269. font-size: 0.8rem;
  270. border: none;
  271. border-radius: 6px;
  272. text-align: right;
  273. }
  274. .dropdown-header,
  275. .dropdown-section .dropdown-section-title {
  276. padding: 0.5rem 0.75rem;
  277. font-weight: bold;
  278. text-align: right;
  279. }
  280. .aside .toggle_aside,
  281. #overlay .close,
  282. .dropdown-menu .toggle_aside,
  283. #slider .toggle_aside,
  284. .dropdown-header-close a {
  285. background: var(--accent-bg);
  286. border: 1px solid var(--nord0-polarnight);
  287. box-sizing: border-box;
  288. transition: 0.2s;
  289. }
  290. .aside .toggle_aside:hover,
  291. #slider .toggle_aside:hover,
  292. #overlay .close:hover,
  293. .dropdown-menu .toggle_aside:hover {
  294. background-color: var(--bg) !important;
  295. border-color: var(--highlight) !important;
  296. }
  297. .dropdown-menu .item > a,
  298. .dropdown-menu .item > span,
  299. .dropdown-menu .item > .as-link {
  300. padding: 0 22px;
  301. line-height: 2.5em;
  302. font-size: inherit;
  303. min-width: 200px;
  304. }
  305. .dropdown-menu .dropdown-section .item > a,
  306. .dropdown-menu .dropdown-section .item > span,
  307. .dropdown-menu .dropdown-section .item > .as-link {
  308. padding-right: 2rem;
  309. }
  310. .dropdown-menu .dropdown-section .item:last-child {
  311. margin-bottom: 0.5rem;
  312. }
  313. .dropdown-menu .item > a:hover,
  314. .dropdown-menu .item > button:hover:not([disabled]),
  315. .dropdown-menu .item > label:hover:not(.noHover) {
  316. background-color: var(--nord1-polarnight);
  317. color: var(--text);
  318. transition: .2s;
  319. }
  320. .dropdown-menu > .item[aria-checked="true"] > a::before {
  321. font-weight: bold;
  322. margin: 0 -14px 0 0;
  323. }
  324. .dropdown-menu .input select,
  325. .dropdown-menu .input input {
  326. margin: 0 auto 5px;
  327. padding: 2px 5px;
  328. }
  329. .dropdown-menu > .item:hover > a {
  330. text-decoration: none;
  331. }
  332. .dropdown-close {
  333. display: inline;
  334. }
  335. .dropdown-close a {
  336. background: none;
  337. display: block;
  338. font-size: 0;
  339. position: fixed;
  340. top: 0; bottom: 0;
  341. right: 0; left: 0;
  342. z-index: -11;
  343. cursor: default;
  344. }
  345. .dropdown-close a:hover {
  346. background: none;
  347. }
  348. .dropdown div.dropdown-close {
  349. display: none;
  350. }
  351. .dropdown-target:target ~ div.dropdown-close {
  352. display: block;
  353. z-index: 999;
  354. position: relative;
  355. }
  356. .dropdown-target:target ~ .dropdown-toggle::after {
  357. background-color: var(--dropdown-bg);
  358. border: none;
  359. left: 13px;
  360. bottom: -14px;
  361. }
  362. .dropdown-menu-scrollable .dropdown-close {
  363. display: none;
  364. }
  365. .item ~ .dropdown-header,
  366. .dropdown-section ~ .dropdown-section,
  367. .item.separator {
  368. border-top-color: var(--nord0-polarnight);
  369. }
  370. /*=== Alerts */
  371. .alert {
  372. color: var(--text-light);
  373. font-size: 0.9em;
  374. border: 1px solid var(--nord3-polarnight);
  375. border-radius: 6px;
  376. background-color: var(--nord1-polarnight);
  377. }
  378. .alert-success {
  379. border-color: var(--nord14-aurora);
  380. }
  381. .alert-head {
  382. font-size: 1.15em;
  383. }
  384. .alert > a {
  385. text-decoration: underline;
  386. }
  387. .alert-warn {
  388. border-color: var(--nord13-aurora);
  389. }
  390. .alert-error {
  391. border-color: var(--nord11-aurora);
  392. }
  393. /*=== Icons */
  394. .icon {
  395. filter: invert(74%) sepia(29%) saturate(411%) hue-rotate(171deg) brightness(130%) contrast(85%);
  396. }
  397. img.favicon {
  398. background: var(--text-light);
  399. border-radius: 4px;
  400. }
  401. /*=== Pagination */
  402. .pagination {
  403. padding: 0.5rem;
  404. background-color: var(--accent-bg);
  405. }
  406. .pagination .item a {
  407. border-radius: 6px;
  408. }
  409. .pagination .item.active a {
  410. color: var(--highlight);
  411. font-weight: bold;
  412. }
  413. .pagination .item a:hover {
  414. background-color: var(--bg);
  415. color: var(--text);
  416. transition: .2s;
  417. }
  418. /*=== Boxes */
  419. .box {
  420. background-color: var(--accent-bg);
  421. border-radius: 10px;
  422. }
  423. .box .box-title {
  424. margin: 0;
  425. padding: 5px 10px;
  426. }
  427. .box .box-title,
  428. .box .box-content {
  429. padding: 1rem 1rem .25rem 1rem;
  430. }
  431. .box .box-content {
  432. padding-bottom: 1.5rem;
  433. list-style: none;
  434. max-height: 260px;
  435. }
  436. .box .box-title .configure {
  437. padding-left: .5rem;
  438. }
  439. .box .box-title h2 {
  440. color: var(--accent);
  441. font-size: 1rem;
  442. }
  443. .box .box-title .configure:not([data-cat-position=""])::after {
  444. top: .5rem;
  445. }
  446. .box .box-content .item {
  447. padding: 0;
  448. font-size: 0.9rem;
  449. }
  450. /*=== Draggable */
  451. .drag-hover {
  452. margin: 0 0 5px;
  453. }
  454. [draggable=true] {
  455. cursor: grab;
  456. }
  457. /*=== Tree */
  458. .tree {
  459. margin: 10px 0;
  460. }
  461. .tree-folder-title .title {
  462. background: inherit;
  463. }
  464. .tree-folder.category {
  465. border-bottom: 1px solid var(--bg);
  466. }
  467. .tree-folder.category.active .tree-folder-title,
  468. .tree-folder.category .tree-folder-title:hover,
  469. .tree-folder.category:hover .tree-folder-title {
  470. background: var(--nord1-polarnight);
  471. }
  472. .tree-folder .tree-folder-title:hover a,
  473. .tree-folder.category.active .tree-folder-title:hover a,
  474. .tree-folder .tree-folder-items .item.feed:hover a {
  475. color: var(--text);
  476. }
  477. .tree-folder.category.active .tree-folder-title a {
  478. color: var(--highlight);
  479. }
  480. .tree-folder-items > .item {
  481. color: var(--text);
  482. font-size: 0.8rem;
  483. }
  484. .tree-folder-items > .item > a {
  485. text-decoration: none;
  486. }
  487. .tree-folder-title {
  488. position: relative;
  489. padding: 0.25rem 0.75rem;
  490. font-size: 1rem;
  491. }
  492. .tree-folder-title .title:hover {
  493. text-decoration: none;
  494. }
  495. .tree-folder.active .tree-folder-title {
  496. font-weight: bold;
  497. }
  498. /*=== STRUCTURE */
  499. /*===============*/
  500. /*=== Header */
  501. .header > .item {
  502. vertical-align: middle;
  503. text-align: center;
  504. }
  505. .header > .item.title h1 {
  506. margin: 0.5em 0;
  507. }
  508. .header > .item.title h1 a {
  509. text-decoration: none;
  510. }
  511. .header > .item.search input {
  512. width: 350px;
  513. }
  514. .header > .item.title .logo {
  515. filter: grayscale(100%) brightness(2.5);
  516. }
  517. .header > .item.title a:hover .logo {
  518. filter: grayscale(85%) brightness(2.5);
  519. }
  520. /*=== Body */
  521. .aside {
  522. background-color: var(--accent-bg);
  523. border-radius: 12px;
  524. }
  525. /*=== Aside main page */
  526. .aside.aside_feed {
  527. padding: 10px 0;
  528. text-align: center;
  529. }
  530. .aside.nav-list .nav-section .item.active a {
  531. color: var(--highlight);
  532. }
  533. .aside.nav-list .nav-section .item a:hover {
  534. background-color: var(--bg);
  535. color: var(--text);
  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: 2rem;
  546. background-color: var(--bg);
  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. left: -20px;
  554. }
  555. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  556. left: 33px;
  557. }
  558. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  559. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  560. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  561. border-radius: 3px;
  562. }
  563. .item.feed.error > .item-title {
  564. color: var(--accent-light);
  565. }
  566. .item.feed.active {
  567. background-color: var(--accent-bg);
  568. }
  569. .item.feed.active a {
  570. color: var(--highlight);
  571. }
  572. .item.feed.active .item-title {
  573. font-weight: bold;
  574. }
  575. li.item.active {
  576. background-color: var(--bg);
  577. }
  578. .item.feed:hover {
  579. background-color: var(--accent-bg);
  580. transition: .3s;
  581. }
  582. .feed .item-title:not([data-unread="0"]) {
  583. font-weight: normal;
  584. }
  585. /*=== New article notification */
  586. #new-article {
  587. font-size: 0.9em;
  588. text-align: center;
  589. }
  590. #new-article > a {
  591. margin: 1rem auto;
  592. width: 90%;
  593. color: var(--nord15-aurora);
  594. border: 2px solid var(--nord15-aurora);
  595. border-radius: 6px;
  596. line-height: 3em;
  597. font-weight: bold;
  598. transition: 0.2s background-color, .2s color;
  599. }
  600. #new-article > a:hover {
  601. background-color: var(--nord15-aurora);
  602. color: var(--bg);
  603. text-decoration: none;
  604. }
  605. /*=== Day indication */
  606. .day {
  607. padding: 0 10px;
  608. font-weight: bold;
  609. line-height: 3em;
  610. }
  611. .day .name {
  612. padding: 0 0 0 10px;
  613. font-size: 1.8em;
  614. opacity: 0.3;
  615. font-style: italic;
  616. text-align: left;
  617. }
  618. .name {
  619. display: none;
  620. }
  621. /*=== Feed article header and footer */
  622. .flux_header {
  623. position: relative;
  624. font-size: 0.8rem;
  625. cursor: pointer;
  626. }
  627. .flux_header .title {
  628. font-size: 0.8rem;
  629. }
  630. .flux .website .favicon {
  631. padding: 0.25rem;
  632. position: absolute;
  633. }
  634. .flux .tags .icon {
  635. padding: 0.25rem;
  636. }
  637. .flux .website span {
  638. margin-right: 2rem;
  639. }
  640. .flux .item.date {
  641. width: 155px;
  642. text-align: left;
  643. overflow: hidden;
  644. font-size: 0.7rem;
  645. }
  646. .flux .bottom {
  647. font-size: 0.8rem;
  648. text-align: center;
  649. }
  650. .flux_header:hover {
  651. background-color: var(--accent-bg);
  652. transition: .3s;
  653. }
  654. .flux.current {
  655. background: var(--accent-bg);
  656. }
  657. .flux:not(.current):hover .item.title {
  658. background: var(--accent-bg);
  659. transition: .3s;
  660. }
  661. .flux .item.title a {
  662. color: var(--text);
  663. }
  664. .flux .item.title .summary {
  665. color: var(--text-light);
  666. opacity: 0.8;
  667. }
  668. .flux .item.title .author {
  669. color: var(--text-light);
  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(--nord8-frost);
  678. }
  679. .hide_posts > .flux:not(.active) > .flux_content {
  680. display: none;
  681. }
  682. .content > footer .subtitle {
  683. border-color: var(--nord2-polarnight);
  684. }
  685. .content > header .dropdown-menu .dropdown-header,
  686. .content > footer .dropdown-menu .dropdown-header {
  687. color: var(--text);
  688. }
  689. .content hr {
  690. margin: 30px 10px;
  691. height: 1px;
  692. }
  693. .content pre {
  694. margin: 10px auto;
  695. padding: 10px 20px;
  696. overflow: auto;
  697. font-size: 0.9rem;
  698. border: 1px solid var(--accent);
  699. border-radius: 6px;
  700. }
  701. .content code {
  702. padding: 2px 5px;
  703. }
  704. .content blockquote {
  705. margin: 0;
  706. padding: 5px 20px;
  707. display: block;
  708. }
  709. .content blockquote p {
  710. margin: 0;
  711. }
  712. /*=== Notification and actualize notification */
  713. .notification {
  714. padding: 0 5px 0 0;
  715. background: var(--nord3-polarnight);
  716. color: var(--text);
  717. font-size: 0.9em;
  718. border-radius: 6px;
  719. border-color: var(--nord1-polarnight);
  720. z-index: 10;
  721. text-align: center;
  722. font-weight: bold;
  723. line-height: 3em;
  724. vertical-align: middle;
  725. }
  726. .notification.bad {
  727. background-color: var(--nord11-aurora);
  728. color: var(--nord0-polarnight);
  729. }
  730. .notification.bad .icon {
  731. filter: brightness(60%);
  732. }
  733. .notification.closed {
  734. opacity: 0;
  735. visibility: hidden;
  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(--bg);
  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);
  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(--accent-light);
  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 .stick {
  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(--nord1-polarnight);
  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. padding: 0 .5em;
  871. }
  872. /*=== COMPONENTS */
  873. /*===============*/
  874. /*=== Forms */
  875. .form-group.form-actions .btn {
  876. margin-left: 1rem;
  877. }
  878. /*=== Navigation */
  879. .nav-list {
  880. font-size: 0.9rem;
  881. }
  882. .nav-list .item,
  883. .nav-list .item.nav-header {
  884. min-height: 2.5em;
  885. line-height: 2.5;
  886. }
  887. .nav-list .item > a {
  888. padding: 0 1rem;
  889. }
  890. .nav-list a:hover {
  891. text-decoration: none;
  892. }
  893. .nav-list .nav-header {
  894. padding: 1rem 1rem 0 1rem;
  895. font-weight: bold;
  896. }
  897. .nav-list .nav-form {
  898. padding: 3px;
  899. text-align: center;
  900. }
  901. /*=== Dropdown */
  902. .dropdown-menu::after {
  903. top: -5px;
  904. border: none;
  905. }
  906. .dropdown-menu > .item > a,
  907. .dropdown-menu > .item > span,
  908. .dropdown-menu > .item > .as-link,
  909. .dropdown-menu > .item > ul > .item > a,
  910. .dropdown-menu > .item > ul > .item > span,
  911. .dropdown-menu > .item > ul > .item > .as-link {
  912. color: var(--text-light);
  913. }
  914. /*=== STRUCTURE */
  915. /*===============*/
  916. /*=== Header */
  917. /*=== Body */
  918. /*=== Aside main page (categories) */
  919. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  920. margin: 10px 0;
  921. padding: 0 0.5rem;
  922. font-size: 0.9rem;
  923. }
  924. .aside .category .title:not([data-unread="0"])::after,
  925. .aside .feed .item-title:not([data-unread="0"])::after {
  926. margin: calc(var(--frss-padding-top-bottom)) 0 0 0;
  927. text-align: left;
  928. left: 0.25rem;
  929. }
  930. .aside .feed.active .item-title:not([data-unread="0"])::after {
  931. color: var(--bg);
  932. border: none;
  933. background-color: var(--highlight);
  934. }
  935. .aside .feed.active:hover .item-title:not([data-unread="0"])::after {
  936. background-color: var(--text);
  937. }
  938. /*=== Aside main page (feeds) */
  939. .aside_feed .tree-folder-items .dropdown-menu::after {
  940. right: 2px;
  941. }
  942. /*=== Prompt (centered) */
  943. .prompt input {
  944. margin: 5px auto;
  945. width: 100%;
  946. }
  947. /*=== Navigation menu (for articles) */
  948. #stream-footer {
  949. border-top: 0;
  950. }
  951. /*=== READER VIEW */
  952. /*================*/
  953. #stream.reader .flux {
  954. background-color: var(--bg);
  955. border: none;
  956. }
  957. #stream.reader .flux .content {
  958. background-color: var(--accent-bg);
  959. border: none;
  960. border-radius: 12px;
  961. }
  962. #stream.reader .flux .author {
  963. margin: 0 0 10px;
  964. font-size: 90%;
  965. }
  966. /*=== GLOBAL VIEW */
  967. /*================*/
  968. .box.category .box-title .title {
  969. font-weight: normal;
  970. text-decoration: none;
  971. text-align: right;
  972. }
  973. .box.category .title:not([data-unread="0"])::after {
  974. background: none;
  975. border: 0;
  976. position: absolute;
  977. top: 5px; left: 10px;
  978. font-weight: bold;
  979. box-shadow: none;
  980. text-shadow: none;
  981. }
  982. #panel {
  983. background-color: var(--bg);
  984. }
  985. /*=== MOBILE */
  986. /*===========*/
  987. @media (max-width: 840px) {
  988. .aside:target + .close-aside,
  989. .configure .dropdown-target:target ~ .dropdown-close {
  990. backdrop-filter: grayscale(60%) blur(1px);
  991. display: block;
  992. font-size: 0;
  993. position: fixed;
  994. top: 0;
  995. bottom: 0;
  996. right: 0;
  997. left: 0;
  998. cursor: pointer;
  999. z-index: 99;
  1000. }
  1001. .nav_mobile {
  1002. display: block;
  1003. }
  1004. .aside {
  1005. position: fixed;
  1006. top: 0; bottom: 0;
  1007. right: 0;
  1008. width: 0;
  1009. overflow: hidden;
  1010. z-index: 100;
  1011. transition: width 200ms linear;
  1012. }
  1013. .aside.aside_feed {
  1014. padding: 0;
  1015. }
  1016. .nav.aside {
  1017. max-width: 300px;
  1018. border-radius: 0;
  1019. }
  1020. .configure .dropdown .dropdown-menu {
  1021. max-width: 300px;
  1022. }
  1023. .aside:target,
  1024. .reader .aside:target {
  1025. width: 90%;
  1026. height: 100vh;
  1027. }
  1028. .aside_feed .configure-feeds {
  1029. margin-top: 10px;
  1030. }
  1031. .flux_header .item.website {
  1032. width: 40px;
  1033. }
  1034. .flux:not(.current):hover .item.title {
  1035. position: relative;
  1036. width: auto;
  1037. white-space: nowrap;
  1038. }
  1039. .flux .website .favicon {
  1040. position: relative;
  1041. }
  1042. #overlay {
  1043. background-color: var(--accent-bg);
  1044. }
  1045. .notification {
  1046. top: 0;
  1047. right: 0;
  1048. left: 0;
  1049. }
  1050. #nav_entries {
  1051. width: 100%;
  1052. }
  1053. #slider.active {
  1054. background-color: var(--bg);
  1055. }
  1056. #close-slider img {
  1057. display: initial;
  1058. }
  1059. #close-slider.active {
  1060. background: var(--bg);
  1061. display: block;
  1062. width: 100%;
  1063. height: 50px;
  1064. z-index: 10;
  1065. text-align: center;
  1066. line-height: 50px;
  1067. border-bottom: 1px solid #ddd;
  1068. }
  1069. .stat.half {
  1070. grid-column: 1 / span 2;
  1071. }
  1072. .nav_menu .btn {
  1073. margin-bottom: .5rem;
  1074. }
  1075. .nav_menu .search {
  1076. display: inline-block;
  1077. max-width: 97%;
  1078. }
  1079. .nav_menu .search input {
  1080. max-width: 97%;
  1081. width: 90px;
  1082. }
  1083. .nav_menu .search input:focus {
  1084. width: 400px;
  1085. }
  1086. .post {
  1087. padding: 1rem;
  1088. }
  1089. .day .name {
  1090. font-size: 1.1rem;
  1091. }
  1092. .pagination {
  1093. margin: 0 0 3.5em;
  1094. }
  1095. .notification a.close {
  1096. display: block;
  1097. right: 0;
  1098. }
  1099. .notification a.close:hover {
  1100. opacity: 0.5;
  1101. }
  1102. .notification a.close .icon {
  1103. display: none;
  1104. }
  1105. .dropdown-menu {
  1106. margin: 0;
  1107. }
  1108. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1109. margin-top: 7px;
  1110. }
  1111. .dropdown .dropdown-menu {
  1112. border-radius: 6px;
  1113. }
  1114. }