nord.rtl.css 23 KB

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