nord.rtl.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371
  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.category {
  460. border-bottom: 1px solid var(--main-background);
  461. }
  462. .tree-folder.category.active .tree-folder-title,
  463. .tree-folder.category .tree-folder-title:hover,
  464. .tree-folder.category:hover .tree-folder-title {
  465. background: var(--light-bg);
  466. }
  467. .tree-folder .tree-folder-title:hover a,
  468. .tree-folder.category.active .tree-folder-title:hover a,
  469. .tree-folder .tree-folder-items .item.feed:hover a {
  470. color: var(--text-default);
  471. }
  472. .tree-folder.category.active .tree-folder-title a {
  473. color: var(--highlight);
  474. }
  475. .tree-folder-items > .item {
  476. color: var(--text-default);
  477. font-size: 0.8rem;
  478. }
  479. .tree-folder-items > .item > a {
  480. text-decoration: none;
  481. }
  482. .tree-folder-title {
  483. position: relative;
  484. padding: 0.25rem 0.75rem;
  485. font-size: 1rem;
  486. }
  487. .tree-folder-title .title:hover {
  488. text-decoration: none;
  489. }
  490. .tree-folder.active .tree-folder-title {
  491. font-weight: bold;
  492. }
  493. /*=== STRUCTURE */
  494. /*===============*/
  495. /*=== Header */
  496. .header > .item {
  497. vertical-align: middle;
  498. text-align: center;
  499. }
  500. .header > .item.title h1 {
  501. margin: 0.5em 0;
  502. }
  503. .header > .item.title h1 a {
  504. text-decoration: none;
  505. }
  506. .header > .item.search input {
  507. width: 350px;
  508. }
  509. .header > .item.title .logo {
  510. filter: grayscale(100%) brightness(2.5);
  511. }
  512. .header > .item.title a:hover .logo {
  513. filter: grayscale(85%) brightness(2.5);
  514. }
  515. /*=== Body */
  516. .aside {
  517. background-color: var(--accent-bg);
  518. border-top-left-radius: 12px;
  519. }
  520. /*=== Aside main page */
  521. .aside.aside_feed {
  522. padding: 10px 0;
  523. text-align: center;
  524. }
  525. .aside.nav-list .nav-section .item.active a {
  526. color: var(--highlight);
  527. font-weight: bold;
  528. }
  529. .aside.nav-list .nav-section .item a:hover {
  530. background-color: var(--main-background);
  531. color: var(--text-default);
  532. transition: .2s;
  533. }
  534. .aside.aside_feed .tree {
  535. margin: 10px 0 50px;
  536. }
  537. .aside_feed .category .title:not([data-unread="0"]) {
  538. width: calc(100% - 35px - 20px);
  539. }
  540. .aside_feed .tree-folder-items.active {
  541. padding-bottom: 1rem;
  542. background-color: var(--main-background);
  543. }
  544. .aside.aside_feed .nav-form input,
  545. .aside.aside_feed .nav-form select {
  546. width: 140px;
  547. }
  548. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  549. left: -20px;
  550. }
  551. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  552. left: 33px;
  553. }
  554. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  555. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  556. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  557. border-radius: 3px;
  558. }
  559. .aside .toggle_aside,
  560. .dropdown-menu .toggle_aside,
  561. #slider .toggle_aside,
  562. .dropdown-header-close a {
  563. background: var(--accent-bg);
  564. border: 1px solid var(--accent-border);
  565. box-sizing: border-box;
  566. transition: 0.2s;
  567. }
  568. .aside .toggle_aside:hover,
  569. #slider .toggle_aside:hover,
  570. .dropdown-menu .toggle_aside:hover {
  571. background-color: var(--main-background) !important;
  572. border-color: var(--highlight) !important;
  573. }
  574. .item.feed.error > .item-title {
  575. color: var(--red);
  576. }
  577. .item.feed.active {
  578. background-color: var(--accent-bg);
  579. }
  580. .item.feed.active a {
  581. color: var(--highlight);
  582. }
  583. .item.feed.active .item-title {
  584. font-weight: bold;
  585. }
  586. li.item.active {
  587. background-color: var(--main-background);
  588. }
  589. .item.feed:hover {
  590. background-color: var(--accent-bg);
  591. transition: .3s;
  592. }
  593. .feed .item-title:not([data-unread="0"]) {
  594. font-weight: normal;
  595. }
  596. /*=== New article notification */
  597. #new-article {
  598. font-size: 0.9em;
  599. text-align: center;
  600. }
  601. #new-article > a {
  602. margin: 1rem auto;
  603. width: 90%;
  604. color: var(--purple);
  605. border: 2px solid var(--purple);
  606. border-radius: 6px;
  607. font-weight: bold;
  608. transition: 0.2s background-color, .2s color;
  609. }
  610. #new-article > a:hover {
  611. background-color: var(--purple);
  612. color: var(--main-background);
  613. text-decoration: none;
  614. }
  615. /*=== Day indication */
  616. .day {
  617. padding: 0 10px;
  618. font-weight: bold;
  619. line-height: 3em;
  620. }
  621. .day .name {
  622. padding: 0 0 0 10px;
  623. font-size: 1.8em;
  624. opacity: 0.3;
  625. font-style: italic;
  626. text-align: left;
  627. }
  628. .name {
  629. display: none;
  630. }
  631. /*=== Feed article header and footer */
  632. .flux_header {
  633. position: relative;
  634. font-size: 0.8rem;
  635. cursor: pointer;
  636. }
  637. .flux_header .title {
  638. font-size: 0.8rem;
  639. }
  640. .flux .website .favicon {
  641. padding: 0.25rem;
  642. }
  643. .flux .tags .icon {
  644. padding: 0.25rem;
  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 .flux_header .item .title {
  662. color: var(--text-default);
  663. }
  664. .flux .flux_header .item .title .summary {
  665. color: var(--text-accent);
  666. font-size: 0.8rem;
  667. font-style: italic;
  668. opacity: 0.8;
  669. }
  670. .flux .flux_header .item .title .author {
  671. color: var(--text-accent);
  672. opacity: 0.8;
  673. }
  674. /*=== Feed article content */
  675. .flux_content .content header h1.title {
  676. margin: 1.5rem 0px;
  677. }
  678. .flux_content .content header h1.title a {
  679. color: var(--highlight);
  680. }
  681. .content > footer .subtitle {
  682. border-color: var(--border-elements);
  683. }
  684. .content > header .dropdown-menu .dropdown-header,
  685. .content > footer .dropdown-menu .dropdown-header {
  686. color: var(--text-default);
  687. }
  688. .content hr {
  689. margin: 30px 10px;
  690. height: 1px;
  691. }
  692. .content pre {
  693. margin: 10px auto;
  694. padding: 10px 20px;
  695. overflow: auto;
  696. font-size: 0.9rem;
  697. border: 1px solid var(--accent);
  698. border-radius: 6px;
  699. }
  700. .content code {
  701. padding: 2px 5px;
  702. }
  703. .content blockquote {
  704. margin: 0;
  705. padding: 5px 20px;
  706. display: block;
  707. }
  708. .content blockquote p {
  709. margin: 0;
  710. }
  711. #load_more.loading {
  712. background-color: var(--accent);
  713. }
  714. #load_more.loading:hover {
  715. background-color: var(--highlight);
  716. }
  717. /*=== Notification and actualize notification */
  718. .notification {
  719. background: var(--dropdown-bg);
  720. color: var(--text-default);
  721. font-size: 0.9rem;
  722. border-radius: 6px;
  723. border-color: var(--border-elements);
  724. z-index: 9999;
  725. font-weight: bold;
  726. box-shadow: 0px 0px 10px var(--frss-box-shadow-color-transparent);
  727. }
  728. .notification.bad {
  729. background-color: var(--red);
  730. color: var(--nord0-polarnight);
  731. }
  732. .notification.bad .icon {
  733. filter: brightness(60%);
  734. }
  735. .notification a.close {
  736. padding: 1.25rem;
  737. line-height: 1;
  738. }
  739. /*=== Popup */
  740. #popup-content {
  741. background-color: var(--accent-bg);
  742. }
  743. #popup-txt {
  744. display: none;
  745. height: 100%;
  746. }
  747. /*=== Navigation menu (for articles) */
  748. #nav_entries {
  749. background: var(--accent-bg);
  750. }
  751. #nav_entries .item a:hover {
  752. background-color: var(--main-background);
  753. }
  754. #bigMarkAsRead {
  755. text-decoration: none;
  756. }
  757. #bigMarkAsRead:hover {
  758. background-color: var(--accent-bg);
  759. transition: .3s;
  760. }
  761. #bigMarkAsRead:hover .bigTick {
  762. color: var(--text-default);
  763. }
  764. .bigTick {
  765. color: var(--accent);
  766. font-size: 4em;
  767. }
  768. /*=== Statistiques */
  769. .stat > table td,
  770. .stat > table th {
  771. text-align: center;
  772. }
  773. .stat {
  774. margin: 10px 0 20px;
  775. }
  776. /*=== Slider */
  777. #slider {
  778. background: var(--accent-bg);
  779. }
  780. /*=== DIVERS */
  781. /*===========*/
  782. .category .title.error::before {
  783. color: var(--red);
  784. }
  785. .nav_menu {
  786. padding: 5px 0;
  787. text-align: center;
  788. }
  789. .header .configure .btn.dropdown-toggle,
  790. .nav_menu .btn {
  791. margin: .125rem;
  792. }
  793. .nav_menu .group {
  794. margin-left: 1rem;
  795. margin-right: .125rem;
  796. }
  797. .theme-preview-list,
  798. .theme-preview-list .properties {
  799. border-color: var(--border-elements);
  800. }
  801. .theme-preview-list:hover,
  802. .theme-preview-list:hover .properties {
  803. border-color: var(--highlight);
  804. }
  805. .theme-preview-list .nav label {
  806. color: var(--accent);
  807. }
  808. .theme-preview-list .nav label:hover {
  809. color: var(--highlight)
  810. }
  811. /*=== PRINTER */
  812. /*============*/
  813. @media print {
  814. .header, .aside,
  815. .nav_menu, .day,
  816. .flux_header,
  817. .flux_content .bottom,
  818. .pagination,
  819. #nav_entries {
  820. display: none;
  821. }
  822. html, body {
  823. background: #fff;
  824. color: #000;
  825. font-family: Serif;
  826. }
  827. #global,
  828. .flux_content {
  829. display: block !important;
  830. }
  831. .flux_content .content {
  832. width: 100% !important;
  833. }
  834. }
  835. /*=== PREVIEW */
  836. /*===========*/
  837. .preview_controls {
  838. background-color: var(--light-bg);
  839. border-color: var(--border-elements);
  840. }
  841. .preview_controls label {
  842. display: inline;
  843. }
  844. .preview_controls label input[type="radio"] {
  845. margin-top: -4px;
  846. }
  847. .preview_controls label + label {
  848. margin-right: 1rem;
  849. }
  850. .preview_background {
  851. background-color: transparent;
  852. }
  853. .drag-drop-marker {
  854. border: 2px dashed var(--highlight);
  855. }
  856. /*BEGINS BASE.CSS*/
  857. /*=== GENERAL */
  858. /*============*/
  859. /*=== Links */
  860. a, button.as-link {
  861. outline: none;
  862. }
  863. /*=== Forms */
  864. textarea {
  865. width: 360px;
  866. height: 100px;
  867. }
  868. option,
  869. optgroup {
  870. padding-right: 0.5rem;
  871. }
  872. optgroup::before {
  873. padding-top: 1rem;
  874. padding-bottom: 0.5rem;
  875. color: var(--accent);
  876. font-style: normal;
  877. }
  878. /*=== COMPONENTS */
  879. /*===============*/
  880. /*=== Forms */
  881. .form-group.form-actions .btn {
  882. margin-left: 1rem;
  883. }
  884. /*=== Navigation */
  885. .nav-list {
  886. font-size: 0.9rem;
  887. }
  888. .nav-list .item,
  889. .nav-list .item.nav-header {
  890. min-height: 2.5em;
  891. line-height: 2.5;
  892. }
  893. .nav-list .item > a {
  894. padding: 0 1rem;
  895. }
  896. .nav-list a:hover {
  897. text-decoration: none;
  898. }
  899. .nav-list .nav-header {
  900. padding: 0 1rem;
  901. font-weight: bold;
  902. }
  903. .nav-list .nav-form {
  904. padding: 3px;
  905. text-align: center;
  906. }
  907. /*=== Dropdown */
  908. .dropdown-menu::after {
  909. top: -5px;
  910. border: none;
  911. }
  912. .dropdown-menu > .item > a,
  913. .dropdown-menu > .item > span,
  914. .dropdown-menu > .item > .as-link,
  915. .dropdown-menu > .item > ul > .item > a,
  916. .dropdown-menu > .item > ul > .item > span,
  917. .dropdown-menu > .item > ul > .item > .as-link {
  918. color: var(--text-accent) !important;
  919. }
  920. /*=== STRUCTURE */
  921. /*===============*/
  922. /*=== Header */
  923. /*=== Body */
  924. /*=== Aside main page (categories) */
  925. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  926. margin: 10px 0;
  927. padding: 0 0.5rem;
  928. font-size: 0.9rem;
  929. }
  930. .aside .category .title:not([data-unread="0"])::after,
  931. .aside .feed .item-title:not([data-unread="0"])::after {
  932. margin: calc(var(--frss-padding-top-bottom)) 0 0 0;
  933. text-align: left;
  934. left: 0.25rem;
  935. }
  936. .aside .feed.active .item-title:not([data-unread="0"])::after {
  937. color: var(--main-background);
  938. border: none;
  939. background-color: var(--highlight);
  940. }
  941. .aside .feed.active:hover .item-title:not([data-unread="0"])::after {
  942. background-color: var(--text-default);
  943. }
  944. /*=== Aside main page (feeds) */
  945. .aside_feed .tree-folder-items .dropdown-menu::after {
  946. right: 2px;
  947. }
  948. /*=== Prompt (centered) */
  949. .prompt input {
  950. margin: 5px auto;
  951. width: 100%;
  952. }
  953. /*=== Navigation menu (for articles) */
  954. #stream-footer {
  955. border-top: 0;
  956. }
  957. /*=== READER VIEW */
  958. /*================*/
  959. #stream.reader .flux {
  960. background-color: var(--main-background);
  961. border: none;
  962. }
  963. #stream.reader .flux .content {
  964. background-color: var(--accent-bg);
  965. border: none;
  966. border-radius: 12px;
  967. }
  968. /*=== GLOBAL VIEW */
  969. /*================*/
  970. .box.category .box-title .title {
  971. font-weight: normal;
  972. text-decoration: none;
  973. text-align: right;
  974. }
  975. .box.category .title:not([data-unread="0"])::after {
  976. background: none;
  977. border: 0;
  978. position: absolute;
  979. top: 5px; left: 10px;
  980. font-weight: bold;
  981. box-shadow: none;
  982. text-shadow: none;
  983. }
  984. #panel {
  985. background-color: var(--main-background);
  986. }
  987. /*=== MOBILE */
  988. /*===========*/
  989. @media (max-width: 840px) {
  990. .aside:target + .close-aside,
  991. .configure .dropdown-target:target ~ .dropdown-close {
  992. backdrop-filter: grayscale(60%) blur(1px);
  993. }
  994. .aside {
  995. right: 0;
  996. transition: width 200ms linear;
  997. }
  998. .aside.aside_feed {
  999. padding: 0;
  1000. }
  1001. .nav.aside {
  1002. max-width: 300px;
  1003. border-radius: 0;
  1004. }
  1005. .configure .dropdown .dropdown-menu {
  1006. max-width: 300px;
  1007. }
  1008. .flux .website .favicon {
  1009. position: relative;
  1010. }
  1011. #overlay {
  1012. background-color: var(--accent-bg);
  1013. }
  1014. #slider.active {
  1015. background-color: var(--main-background);
  1016. }
  1017. #close-slider img {
  1018. display: initial;
  1019. }
  1020. #close-slider.active {
  1021. background: var(--main-background);
  1022. display: block;
  1023. width: 100%;
  1024. height: 50px;
  1025. z-index: 10;
  1026. text-align: center;
  1027. line-height: 50px;
  1028. border-bottom: 1px solid #ddd;
  1029. }
  1030. .stat.half {
  1031. grid-column: 1 / span 2;
  1032. }
  1033. .nav_menu .btn {
  1034. margin-bottom: .5rem;
  1035. }
  1036. .nav_menu .search input {
  1037. max-width: 97%;
  1038. width: 90px;
  1039. }
  1040. .nav_menu .search input:focus {
  1041. width: 400px;
  1042. }
  1043. .dropdown .dropdown-menu .item .stick.search {
  1044. width: 100%;
  1045. }
  1046. .post {
  1047. padding: 1rem;
  1048. }
  1049. .day .name {
  1050. font-size: 1.1rem;
  1051. }
  1052. .pagination {
  1053. margin: 0 0 3.5em;
  1054. }
  1055. .notification {
  1056. top: 1%;
  1057. right: 2%;
  1058. left: 2%;
  1059. }
  1060. .notification a.close {
  1061. display: block;
  1062. right: 0;
  1063. }
  1064. .notification a.close:hover {
  1065. opacity: 0.5;
  1066. }
  1067. .notification a.close .icon {
  1068. display: none;
  1069. }
  1070. .alert {
  1071. width: 85%;
  1072. }
  1073. .dropdown-menu {
  1074. margin: 0;
  1075. }
  1076. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1077. margin-top: 7px;
  1078. }
  1079. .dropdown .dropdown-menu {
  1080. border-radius: 6px;
  1081. }
  1082. #overlay .close {
  1083. background: var(--accent-bg);
  1084. border: 1px solid var(--accent-border);
  1085. box-sizing: border-box;
  1086. transition: 0.2s;
  1087. }
  1088. #overlay .close:hover {
  1089. background-color: var(--main-background) !important;
  1090. border-color: var(--highlight) !important;
  1091. }
  1092. .header .configure .dropdown .dropdown-menu {
  1093. border-radius: 0;
  1094. }
  1095. .form-group .group-name {
  1096. font-weight: bold;
  1097. padding: 0 0 0.25rem 0;
  1098. }
  1099. .form-group .group-name::after {
  1100. content: ':';
  1101. }
  1102. .form-group {
  1103. margin-top: 2rem;
  1104. margin-bottom: 2rem;
  1105. }
  1106. }