nord.rtl.css 24 KB

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