frss.css 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. :root {
  5. --frss-font-color-dark: #000;
  6. --frss-font-color-grey-dark: #666;
  7. --frss-font-color-grey-light: #aaa;
  8. --frss-font-color-light: #fff;
  9. --frss-background-color-error-transparent: #ff000040;
  10. --frss-font-color-error: #f00;
  11. --frss-background-color: #fff;
  12. --frss-background-color-transparent: #ffffff7f;
  13. --frss-background-color-middle: #eee;
  14. --frss-background-color-dark: #ccc;
  15. --frss-border-color: #999;
  16. --frss-border-color-error: #f00;
  17. --frss-switch-accent-color: #85d885;
  18. --frss-dragdrop-color: #ff0;
  19. --frss-dragdrop-color-transparent: #ff02;
  20. --frss-noThumbnailImage-background-color: #ddd;
  21. --frss-darken-background-hover-transparent: #6662;
  22. --frss-modal-background-color-transparent: #0007;
  23. --frss-box-shadow-color-transparent: #0003;
  24. --frss-scrollbar-handle: #0002;
  25. --frss-scrollbar-handle-hover: #0005;
  26. --frss-scrollbar-track: #0001;
  27. --frss-scrollbar-track-hover: #0001;
  28. --frss-loading-image: url("loader.gif");
  29. --frss-padding-flux-items: 0.75rem;
  30. --frss-padding-top-bottom: 0.5rem;
  31. line-height: 1.5;
  32. }
  33. @font-face {
  34. font-family: 'OpenSans';
  35. font-style: normal;
  36. font-weight: 400;
  37. src: local('Open Sans'), local('OpenSans'),
  38. url('../fonts/OpenSans.woff2') format('woff2'),
  39. url('../fonts/OpenSans.woff') format('woff');
  40. }
  41. html, body {
  42. margin: 0;
  43. padding: 0;
  44. background-color: var(--frss-background-color);
  45. height: 100%;
  46. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  47. font-size: 100%;
  48. }
  49. main.prompt {
  50. margin: 3rem auto 0;
  51. padding: 2rem;
  52. max-width: 400px;
  53. min-width: 300px;
  54. width: 33%;
  55. text-align: center;
  56. }
  57. main.prompt .link-registration {
  58. padding: 1rem 0 0;
  59. margin-bottom: 3rem;
  60. }
  61. footer.main-footer {
  62. margin: 0 2rem 2rem;
  63. padding: 1rem;
  64. text-align: center;
  65. }
  66. /*=== Links */
  67. a {
  68. text-decoration: none;
  69. }
  70. a:hover {
  71. text-decoration: underline;
  72. }
  73. /*=== Lists */
  74. ul, ol, dd {
  75. margin: 0;
  76. padding: 0;
  77. }
  78. ul.listInColumns {
  79. column-count: 5;
  80. column-width: 250px;
  81. max-width: 1700px;
  82. }
  83. ul.listInColumns li {
  84. white-space: nowrap;
  85. text-overflow: ellipsis;
  86. overflow: hidden;
  87. }
  88. #tagsList {
  89. list-style: none;
  90. }
  91. /*=== Titles */
  92. h1 {
  93. margin: 1rem 0 0.5rem;
  94. font-size: 1.6rem;
  95. line-height: 1.5;
  96. }
  97. h2 {
  98. margin: 0.5rem 0 0.25rem;
  99. font-size: 1.4rem;
  100. line-height: 1.5;
  101. }
  102. .api > h2 {
  103. text-align: center;
  104. }
  105. h2 .icon,
  106. legend .icon {
  107. height: 0.8em;
  108. vertical-align: baseline;
  109. }
  110. h3 {
  111. margin: 0.5rem 0 0.25rem;
  112. font-size: 1.2rem;
  113. line-height: 1.5;
  114. }
  115. h4,
  116. h5,
  117. h6 {
  118. font-size: 1em;
  119. }
  120. .title_hidden {
  121. display: none;
  122. }
  123. .only-mobile {
  124. display: none !important;
  125. }
  126. /*=== Paragraphs */
  127. p {
  128. margin: 1rem 0 0.5rem;
  129. }
  130. p.help, .prompt p.help {
  131. margin: 0.25rem 0 0.5rem;
  132. text-align: left;
  133. }
  134. p.help .icon {
  135. filter: brightness(2);
  136. }
  137. kbd {
  138. background-color: var(--frss-background-color-middle);
  139. padding: 0 0.5rem 0 0.5rem;
  140. display: inline-block;
  141. color: var(--frss-font-color-grey-dark);
  142. font-size: 0.9rem;
  143. border: 1px solid var(--frss-border-color);
  144. border-radius: 3px;
  145. white-space: pre-wrap;
  146. overflow-wrap: anywhere;
  147. }
  148. /*=== Images */
  149. img {
  150. max-width: 100%;
  151. height: auto;
  152. }
  153. img.favicon {
  154. margin: 0 0.25rem 0 0;
  155. width: 1rem;
  156. height: 1rem;
  157. vertical-align: middle;
  158. }
  159. .content.thin figure,
  160. .content.medium figure {
  161. margin: 8px 0px;
  162. }
  163. .content figure figcaption {
  164. font-style: italic;
  165. }
  166. .feed.mute::before {
  167. content: '🔇';
  168. }
  169. /*=== Videos */
  170. audio, iframe, embed, object, video {
  171. max-width: 100%;
  172. }
  173. audio {
  174. width: 100%;
  175. }
  176. /*=== Forms */
  177. fieldset {
  178. margin: 0;
  179. padding: 0;
  180. border: 0;
  181. }
  182. legend {
  183. display: block;
  184. width: 100%;
  185. clear: both;
  186. }
  187. label {
  188. display: block;
  189. }
  190. input:not(.w50,.w100) {
  191. max-width: 90%;
  192. width: 300px;
  193. }
  194. input[type=number] {
  195. width: 6em;
  196. }
  197. textarea,
  198. input[type="file"],
  199. input.long {
  200. width: 300px;
  201. }
  202. input, select, textarea {
  203. display: inline-block;
  204. max-width: 100%;
  205. font-size: 0.8rem;
  206. box-sizing: border-box;
  207. }
  208. select {
  209. min-width: 6em;
  210. }
  211. input.w50,
  212. select.w50,
  213. textarea.w50 {
  214. min-width: 50%;
  215. box-sizing: border-box;
  216. }
  217. input.w100,
  218. select.w100,
  219. textarea.w100 {
  220. width: 100%;
  221. box-sizing: border-box;
  222. }
  223. .stick.w50 {
  224. width: 50%;
  225. }
  226. .stick.w100 {
  227. width: 100%;
  228. }
  229. .stick.w50 input,
  230. .stick.w100 input {
  231. width: 100%;
  232. }
  233. .stick.w100 input + .btn {
  234. width: 29px;
  235. padding-left: 3px;
  236. padding-right: 3px;
  237. text-align: center;
  238. }
  239. textarea[rows="2"] {
  240. height: 4em;
  241. }
  242. textarea:invalid {
  243. border: 2px dashed var(--frss-border-color-error);
  244. }
  245. .prompt textarea,
  246. .prompt input,
  247. .prompt select,
  248. .prompt .stick {
  249. margin: 5px auto;
  250. width: 100%;
  251. box-sizing: border-box;
  252. }
  253. input:disabled,
  254. select:disabled {
  255. background-color: transparent;
  256. min-width: 75px;
  257. color: var(--frss-font-color-grey-light);
  258. font-style: italic;
  259. border: 1px dashed var(--frss-border-color);
  260. }
  261. input[type="radio"],
  262. input[type="checkbox"] {
  263. min-width: auto;
  264. width: 15px !important;
  265. min-height: 15px !important;
  266. }
  267. .dropdown-menu label > input[type="text"] {
  268. width: 150px;
  269. width: calc(99% - 5em);
  270. }
  271. .dropdown-menu .item > a:hover,
  272. .dropdown-menu .item > button:hover {
  273. text-decoration: none;
  274. }
  275. .dropdown-menu input[type="checkbox"] {
  276. margin-left: 1em;
  277. margin-right: .5em;
  278. }
  279. .dropdown-menu .item .checkboxNewTag {
  280. display: none;
  281. }
  282. .dropdown-menu .item.addItem {
  283. padding: 0 0.5em;
  284. }
  285. .dropdown-menu .item.addItem .stick {
  286. width: 100%
  287. }
  288. .dropdown-menu .item.addItem .stick input[type=text] {
  289. width: 100%;
  290. }
  291. button.as-link,
  292. button.as-link:hover,
  293. button.as-link:active {
  294. background: transparent;
  295. color: inherit;
  296. border: none;
  297. cursor: pointer;
  298. text-align: left;
  299. }
  300. button.as-link[disabled] {
  301. color: var(--frss-font-color-grey-light) !important;
  302. }
  303. /*=== Tables */
  304. .table-wrapper {
  305. overflow-x: auto;
  306. }
  307. table {
  308. margin: 0.5rem 0;
  309. max-width: 100%;
  310. }
  311. th, td {
  312. padding: 0.5rem;
  313. }
  314. th.numeric,
  315. td.numeric {
  316. text-align: center;
  317. }
  318. /*=== COMPONENTS */
  319. /*===============*/
  320. [aria-hidden="true"] {
  321. display: none !important;
  322. }
  323. /* prompt: login + register form + alert message banner */
  324. .prompt {
  325. text-align: center;
  326. }
  327. .prompt form {
  328. margin-top: 2rem;
  329. text-align: left;
  330. }
  331. .prompt label,
  332. .prompt .help {
  333. text-align: left;
  334. }
  335. .prompt input,
  336. .prompt select,
  337. .prompt .stick {
  338. width: 100%;
  339. box-sizing: border-box;
  340. }
  341. .prompt p {
  342. margin: 20px 0;
  343. }
  344. /*=== Forms */
  345. .form-group::after {
  346. content: "";
  347. display: block;
  348. clear: both;
  349. }
  350. .form-group.form-actions {
  351. position: sticky;
  352. bottom: 0;
  353. backdrop-filter: blur(2px) grayscale(1);
  354. min-width: 250px;
  355. z-index: 80;
  356. }
  357. .form-group .group-name {
  358. display: block;
  359. float: left;
  360. width: 200px;
  361. text-align: right;
  362. }
  363. .form-group .group-controls {
  364. min-width: 200px;
  365. margin: 0 0 0 220px;
  366. overflow-x: auto;
  367. }
  368. .form-group .group-controls .control {
  369. display: block;
  370. }
  371. .form-advanced-title {
  372. padding: 15px 0;
  373. width: 200px;
  374. font-weight: bold;
  375. text-align: right;
  376. cursor: pointer;
  377. }
  378. @supports (position: sticky) {
  379. #mark-read-aside {
  380. position: sticky;
  381. top: 0;
  382. }
  383. }
  384. /*=== Buttons */
  385. .stick,
  386. .group {
  387. display: inline-flex;
  388. max-width: 100%;
  389. white-space: nowrap;
  390. vertical-align: middle;
  391. }
  392. .stick > input {
  393. margin-top: 0;
  394. margin-bottom: 0;
  395. }
  396. .stick > input.long {
  397. flex-shrink: 1;
  398. }
  399. .stick > .btn,
  400. .group > .btn {
  401. flex-shrink: 0;
  402. }
  403. #nav_menu_read_all form {
  404. display: inline-flex;
  405. }
  406. .btn {
  407. display: inline-block;
  408. cursor: pointer;
  409. overflow: hidden;
  410. }
  411. .btn-important {
  412. font-weight: bold;
  413. }
  414. .btn-state1.hide {
  415. display: none;
  416. }
  417. .btn-state2 {
  418. display: none;
  419. }
  420. .btn-state2.show {
  421. display: inline-block;
  422. }
  423. #button-update-loading {
  424. background: var(--frss-loading-image) 0.5rem center no-repeat;
  425. background-size: 1rem;
  426. padding-left: 2rem;
  427. }
  428. /*=== switch */
  429. .switch {
  430. margin: 0 0.5em;
  431. padding: revert;
  432. position: relative;
  433. width: 3.5em;
  434. height: 1.75em;
  435. border: 0;
  436. border-radius: 1em;
  437. background-color: var(--frss-background-color-dark);
  438. cursor: pointer;
  439. box-sizing: content-box;
  440. background-repeat: no-repeat;
  441. background-position: center center;
  442. background-image: url('../icons/disabled.svg');
  443. transition: background-position 0.5s;
  444. }
  445. .switch:not([disabled]):hover {
  446. background-image: url('../icons/enabled.svg');
  447. background-repeat: no-repeat;
  448. background-position: right 7px center;
  449. }
  450. .switch.active {
  451. background-color: var(--frss-switch-accent-color);
  452. background-repeat: no-repeat;
  453. background-position: center center;
  454. background-image: url('../icons/enabled.svg');
  455. }
  456. .switch.active:not([disabled]):hover {
  457. background-position: left 7px center;
  458. background-repeat: no-repeat;
  459. background-image: url('../icons/disabled.svg');
  460. }
  461. @supports selector(.switch::before) {
  462. .switch {
  463. background-image: none;
  464. }
  465. .switch.active {
  466. background-image: none;
  467. }
  468. }
  469. /* ::before = circle */
  470. .switch::before {
  471. content: "";
  472. position: absolute;
  473. left: 5px;
  474. right: unset;
  475. top: 0.2em;
  476. width: 1.5em;
  477. height: 1.5em;
  478. background-color: var(--frss-background-color);
  479. background-image: url('../icons/disabled.svg');
  480. background-repeat: no-repeat;
  481. background-position: center center;
  482. border-radius: 50%;
  483. transition: left 0.6s, right 0.6s;
  484. }
  485. .switch:not([disabled]):hover::before {
  486. background-color: var(--frss-background-color-middle);
  487. }
  488. .switch.active::before {
  489. background-image: url('../icons/enabled.svg');
  490. background-position: center center;
  491. left: unset;
  492. right: 5px;
  493. }
  494. .switch.active:not([disabled]):hover::before {
  495. right: 8px;
  496. }
  497. /* ::after = background */
  498. .switch::after {
  499. content: "";
  500. position: absolute;
  501. top: 50%;
  502. right: 8px;
  503. width: 12px;
  504. height: 12px;
  505. transform: translateY(-50%);
  506. }
  507. .switch.active::after {
  508. width: 14px;
  509. height: 14px;
  510. left: 8px;
  511. }
  512. .btn:focus-visible,
  513. input[type="checkbox"]:focus-visible {
  514. outline: 2px solid var(--frss-border-color);
  515. }
  516. /*=== Navigation */
  517. .nav-list {
  518. padding-bottom: 3rem;
  519. }
  520. .nav-list .nav-header,
  521. .nav-list .item {
  522. display: block;
  523. }
  524. .nav-list .item,
  525. .nav-list .item > a,
  526. .nav-list .item > span {
  527. display: block;
  528. overflow: hidden;
  529. white-space: nowrap;
  530. text-overflow: ellipsis;
  531. }
  532. .nav-list .item.nav-section > ul {
  533. margin-bottom: 1rem;
  534. }
  535. /*=== Horizontal-list */
  536. .horizontal-list {
  537. margin: 0;
  538. padding: 0;
  539. display: table;
  540. table-layout: fixed;
  541. width: 100%;
  542. }
  543. .horizontal-list .item {
  544. display: table-cell;
  545. vertical-align: middle;
  546. }
  547. .horizontal-list .item .item-element {
  548. padding: var(--frss-padding-top-bottom) 0;
  549. }
  550. .horizontal-list .item .item-element.dropdown .dropdown-toggle,
  551. .horizontal-list .item .item-element.dropdown .dropdown-toggle-close {
  552. padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items);
  553. }
  554. /*=== manage-list */
  555. .manage-list {
  556. list-style: none;
  557. }
  558. .manage-list li {
  559. line-height: 2;
  560. }
  561. .manage-list li * {
  562. vertical-align: middle;
  563. }
  564. .manage-list .disabled {
  565. font-style: italic;
  566. }
  567. /*=== Dropdown */
  568. .dropdown {
  569. position: relative;
  570. display: inline-block;
  571. vertical-align: middle;
  572. }
  573. .dropdown-target {
  574. display: none;
  575. }
  576. .dropdown-menu {
  577. margin: 0;
  578. background-color: var(--frss-background-color);
  579. display: none;
  580. border: 1px solid var(--frss-border-color);
  581. min-width: 200px;
  582. position: absolute;
  583. right: 0;
  584. }
  585. .dropdown-menu::after {
  586. background-color: inherit;
  587. width: 10px;
  588. height: 10px;
  589. border-width: 1px 0 0 1px;
  590. border-style: solid;
  591. border-color: var(--frss-border-color);
  592. content: "";
  593. position: absolute;
  594. top: -6px;
  595. right: 13px;
  596. z-index: -10;
  597. transform: rotate(45deg);
  598. }
  599. .dropdown-menu-scrollable {
  600. max-height: min(75vh, 50em);
  601. overflow-x: hidden;
  602. overflow-y: auto;
  603. }
  604. .dropdown-header {
  605. display: block;
  606. }
  607. .dropdown-menu .item {
  608. display: block;
  609. }
  610. .dropdown-menu .item > a,
  611. .dropdown-menu .item > .as-link,
  612. .dropdown-menu .item > span {
  613. display: block;
  614. width: 100%;
  615. white-space: nowrap;
  616. box-sizing: border-box;
  617. }
  618. .dropdown-menu > .item[aria-checked="true"] > a::before {
  619. content: '✓';
  620. }
  621. .dropdown-menu .input {
  622. display: block;
  623. }
  624. .dropdown-menu .input select,
  625. .dropdown-menu .input input {
  626. display: block;
  627. max-width: 95%;
  628. }
  629. .dropdown-target:target ~ .dropdown-menu {
  630. display: block;
  631. z-index: 1000;
  632. }
  633. .dropdown-menu + .dropdown-close {
  634. display: none;
  635. }
  636. .dropdown-target:target ~ .dropdown-close {
  637. display: block;
  638. font-size: 0;
  639. position: fixed;
  640. top: 0; bottom: 0;
  641. left: 0; right: 0;
  642. z-index: 999;
  643. cursor: default;
  644. }
  645. .item ~ .dropdown-header,
  646. .dropdown-section ~ .dropdown-section,
  647. .item.separator {
  648. margin-top: 5px;
  649. padding-top: 5px;
  650. border-top-width: 1px;
  651. border-top-style: solid;
  652. }
  653. /*=== Alerts */
  654. .alert {
  655. margin: 1rem auto;
  656. padding: 0.75rem 1rem;
  657. display: block;
  658. width: 90%;
  659. }
  660. .alert-warn {
  661. background: inherit;
  662. }
  663. .group-controls .alert {
  664. width: 100%
  665. }
  666. .group-controls .next-step {
  667. display: inline-block;
  668. padding-top: 6px;
  669. padding-bottom: 6px;
  670. }
  671. .alert-head {
  672. margin: 0;
  673. font-weight: bold;
  674. }
  675. .alert ul {
  676. margin: 5px 20px;
  677. }
  678. .alert.hide {
  679. display: none;
  680. }
  681. /*=== Icons */
  682. .icon {
  683. display: inline-block;
  684. max-width: none;
  685. height: 1rem;
  686. vertical-align: middle;
  687. line-height: 1;
  688. }
  689. /* === stream-footer **/
  690. #stream-footer {
  691. margin: 0 0 5em;
  692. padding: 1em 0;
  693. width: 100%;
  694. border-top: 1px solid var(--frss-border-color);
  695. text-align: center;
  696. }
  697. /*=== Pagination */
  698. .nav-pagination {
  699. margin: 2em auto;
  700. }
  701. .pagination {
  702. margin: 0 auto;
  703. padding: 0;
  704. display: table;
  705. table-layout: fixed;
  706. text-align: center;
  707. }
  708. .pagination .item {
  709. display: table-cell;
  710. width: 3em;
  711. font-style: italic;
  712. }
  713. .pagination .item.active {
  714. min-width: 3em;
  715. font-weight: bold;
  716. font-style: normal;
  717. }
  718. .pagination .item a {
  719. display: block;
  720. text-decoration: none;
  721. }
  722. .pagination .pager-previous,
  723. .pagination .pager-next {
  724. width: 6em;
  725. }
  726. .pagination .pager-first,
  727. .pagination .pager-last {
  728. width: 7.5em;
  729. }
  730. /*=== Boxes */
  731. .box {
  732. margin: 20px 20px 20px 0;
  733. display: inline-block;
  734. max-width: 95%;
  735. width: 20rem;
  736. vertical-align: top;
  737. }
  738. .box.visible-semi {
  739. border-style: dashed;
  740. opacity: 0.5;
  741. }
  742. .box .box-title {
  743. position: relative;
  744. }
  745. .box .box-title h2 {
  746. display: inline;
  747. font-size: 1.2rem;
  748. font-weight: bold;
  749. }
  750. .box .box-title form {
  751. margin: 0;
  752. }
  753. .box .box-content {
  754. padding: 8px 8px 8px 16px;
  755. display: block;
  756. min-height: 2.5em;
  757. max-height: 260px;
  758. overflow: auto;
  759. }
  760. .box .box-content .item.feed {
  761. display: block;
  762. padding-top: var(--frss-padding-top-bottom);
  763. }
  764. .box .box-content .item.feed.moved {
  765. font-style: italic;
  766. }
  767. .box .box-content .item.feed.moved .favicon {
  768. opacity: 0.4;
  769. }
  770. .box .box-content .item.disabled {
  771. text-align: center;
  772. font-style: italic;
  773. }
  774. .box .box-content-centered {
  775. padding: 30px 5px;
  776. text-align: center;
  777. }
  778. .box .box-content-centered .btn {
  779. margin: 20px 0 0;
  780. }
  781. /*=== Draggable */
  782. [draggable=true]:hover {
  783. cursor: move;
  784. }
  785. .dragging {
  786. background-color: var(--frss-dragdrop-color)
  787. }
  788. .dragging .icon {
  789. visibility: hidden;
  790. }
  791. .drag-disallowed {
  792. opacity: 0.5;
  793. }
  794. .drag-active .drop-zone:not(.drag-disallowed) {
  795. background: repeating-linear-gradient(45deg, transparent, transparent 40px, var(--frss-dragdrop-color-transparent) 40px, var(--frss-dragdrop-color-transparent) 60px);
  796. }
  797. .drag-active .drag-hover.drop-zone {
  798. background-color: var(--frss-dragdrop-color-transparent);
  799. transition: background 0.5s;
  800. }
  801. li.drag-hover {
  802. margin: 0 0 5px;
  803. border-bottom: 2px solid var(--frss-border-color);
  804. }
  805. .drag-drop {
  806. animation-name: droppedKeyframe;
  807. animation-duration: 0.7s;
  808. }
  809. @keyframes droppedKeyframe {
  810. 0% {
  811. background-color: var(--frss-dragdrop-color-transparent);
  812. }
  813. 50% {
  814. background-color: var(--frss-dragdrop-color);
  815. }
  816. 100% {
  817. background-color: none;
  818. }
  819. }
  820. /*=== Scrollbar */
  821. @supports (scrollbar-width: thin) {
  822. .scrollbar-thin {
  823. scrollbar-color: var(--frss-scrollbar-handle) var(--frss-scrollbar-track);
  824. scrollbar-width: thin;
  825. }
  826. .scrollbar-thin:hover {
  827. scrollbar-color: var(--frss-scrollbar-handle-hover) var(--frss-scrollbar-track-hover);
  828. }
  829. }
  830. @supports not (scrollbar-width: thin) {
  831. .scrollbar-thin::-webkit-scrollbar {
  832. background-color: var(--frss-scrollbar-track);
  833. width: 8px;
  834. }
  835. .scrollbar-thin:hover::-webkit-scrollbar {
  836. background-color: var(--frss-scrollbar-track-hover);
  837. }
  838. .scrollbar-thin::-webkit-scrollbar-thumb {
  839. background-color: var(--frss-scrollbar-handle);
  840. display: unset;
  841. border-radius: 5px;
  842. }
  843. .scrollbar-thin:hover::-webkit-scrollbar-thumb {
  844. background-color: var(--frss-scrollbar-handle-hover);
  845. }
  846. }
  847. /*=== Tree */
  848. .tree {
  849. margin: 0;
  850. max-height: 99vh;
  851. list-style: none;
  852. text-align: left;
  853. overflow-x: hidden;
  854. }
  855. .tree-folder-items {
  856. padding: 0;
  857. list-style: none;
  858. transition: max-height .3s linear;
  859. }
  860. .tree-folder-title {
  861. padding-top: var(--frss-padding-top-bottom);
  862. padding-bottom: var(--frss-padding-top-bottom);
  863. }
  864. .tree-folder-title .title {
  865. display: inline-block;
  866. width: 100%;
  867. vertical-align: middle;
  868. overflow: hidden;
  869. white-space: nowrap;
  870. text-overflow: ellipsis;
  871. }
  872. .tree-folder-items > .item {
  873. display: block;
  874. white-space: nowrap;
  875. }
  876. .tree-folder-items > .item > a {
  877. display: inline-block;
  878. vertical-align: middle;
  879. width: calc(100% - 32px);
  880. overflow: hidden;
  881. white-space: nowrap;
  882. text-overflow: ellipsis;
  883. }
  884. .tree-folder-items .item.feed {
  885. position: relative;
  886. }
  887. .tree-bottom {
  888. visibility: hidden;
  889. margin-bottom: 18em;
  890. }
  891. /*=== STRUCTURE */
  892. /*===============*/
  893. /*=== Header */
  894. .header {
  895. display: table;
  896. width: 100%;
  897. height: calc(2.5rem + 2 * var(--frss-padding-top-bottom));
  898. table-layout: fixed;
  899. }
  900. .header > .item {
  901. padding-top: var(--frss-padding-top-bottom);
  902. padding-bottom: var(--frss-padding-top-bottom);
  903. display: table-cell;
  904. }
  905. .header > .item.title {
  906. width: 300px;
  907. text-align: center;
  908. white-space: nowrap;
  909. }
  910. .header > .item.title h1 {
  911. display: inline-block;
  912. }
  913. .header > .item.title a {
  914. padding: 0.25rem 1rem;
  915. display: inline-block;
  916. }
  917. .header > .item.title .logo {
  918. display: inline-block;
  919. height: 2rem;
  920. vertical-align: middle;
  921. }
  922. .header > .item.title a:hover .logo {
  923. filter: brightness(1.4);
  924. transition: filter 0.1s linear;
  925. }
  926. .header > .item.configure {
  927. width: 100px;
  928. }
  929. input[type="search"] {
  930. -webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */
  931. }
  932. /*=== Body */
  933. #global {
  934. background: inherit;
  935. display: table;
  936. width: 100%;
  937. height: calc(100vh - (calc(2.5rem + 2 * var(--frss-padding-top-bottom) + 1px)));
  938. table-layout: fixed;
  939. }
  940. #stream:not(.alert-warn) {
  941. background: inherit;
  942. }
  943. .aside {
  944. display: table-cell;
  945. width: 300px;
  946. vertical-align: top;
  947. }
  948. .aside + .close-aside {
  949. display: none;
  950. }
  951. /*=== Aside main page */
  952. .aside_feed .category .title {
  953. width: calc(100% - 35px);
  954. }
  955. .aside_feed .category .title:not([data-unread="0"]) {
  956. width: calc(100% - 75px);
  957. }
  958. .aside_feed .tree-folder.category .tree-folder-title .title.error .icon {
  959. margin: 0 0.5rem;
  960. padding: 0;
  961. }
  962. .aside_feed .tree-folder-title .icon,
  963. .aside_feed .tree-folder-items .feed .icon {
  964. margin: 0 0.5rem 0 0;
  965. }
  966. .aside_feed .tree-folder-items .feed .favicon {
  967. padding: 0;
  968. }
  969. .aside_feed .tree-folder-items .item.feed {
  970. padding: var(--frss-padding-top-bottom) 0.75rem;
  971. }
  972. .aside_feed .tree-folder-items:not(.active) {
  973. margin: 0;
  974. padding: 0;
  975. max-height: 0;
  976. border: none;
  977. overflow: hidden;
  978. }
  979. .aside_feed .tree-folder-items .dropdown {
  980. vertical-align: top;
  981. }
  982. .aside_feed .tree-folder-items .dropdown-menu {
  983. left: 0;
  984. }
  985. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  986. visibility: hidden;
  987. cursor: pointer;
  988. }
  989. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  990. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  991. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  992. visibility: visible;
  993. }
  994. .aside .toggle_aside:hover,
  995. #slider .toggle_aside:hover,
  996. #overlay .close:hover,
  997. .dropdown-menu .toggle_aside:hover {
  998. background-color: var(--frss-darken-background-hover-transparent);
  999. }
  1000. /*=== New article notification */
  1001. #new-article {
  1002. display: none;
  1003. }
  1004. #new-article > a {
  1005. padding: calc(0.25rem + var(--frss-padding-top-bottom)) 1rem;
  1006. display: block;
  1007. }
  1008. /*=== Day indication */
  1009. .day {
  1010. background: inherit;
  1011. }
  1012. .day .name {
  1013. position: absolute;
  1014. right: 0;
  1015. width: 50%;
  1016. overflow: hidden;
  1017. white-space: nowrap;
  1018. text-overflow: ellipsis;
  1019. }
  1020. /*=== Feed article header and footer */
  1021. .flux_header {
  1022. background: inherit;
  1023. position: relative;
  1024. }
  1025. .flux .flux_header .item {
  1026. white-space: nowrap;
  1027. }
  1028. .flux .flux_header .item .item-element {
  1029. padding: var(--frss-padding-top-bottom) 0;
  1030. line-height: 1.5rem;
  1031. }
  1032. .flux .flux_header .item.manage .item-element,
  1033. .flux .flux_header .item.website .item-element,
  1034. .flux .flux_header .item.share .dropdown-toggle,
  1035. .flux .flux_header .item.link .item-element {
  1036. padding-left: var(--frss-padding-flux-items);
  1037. padding-right: var(--frss-padding-flux-items);
  1038. }
  1039. .flux .item.manage,
  1040. .flux .flux_header > .item.share,
  1041. .flux .item.link {
  1042. width: calc(1rem + 2 * var(--frss-padding-flux-items));
  1043. }
  1044. .flux .item.website {
  1045. width: 200px;
  1046. }
  1047. .flux .websiteicon .item.website {
  1048. width: calc(2 * var(--frss-padding-flux-items) + 16px);
  1049. }
  1050. .flux .websitename .item.website {
  1051. width: 150px;
  1052. }
  1053. .website a:hover .favicon,
  1054. a.website:hover .favicon {
  1055. filter: grayscale(100%);
  1056. }
  1057. .flux.not_read .item .title,
  1058. .flux.current .item .title {
  1059. font-weight: bold;
  1060. }
  1061. .flux:not(.current):hover .flux_header .item .title:has(~ .date) {
  1062. padding-right: 0.5rem;
  1063. z-index: 2;
  1064. }
  1065. .flux:not(.current):hover .item .title {
  1066. background-color: inherit;
  1067. }
  1068. .flux .item:has(.multiline) {
  1069. vertical-align: top;
  1070. }
  1071. .flux .flux_header .item.thumbnail {
  1072. line-height: 0;
  1073. padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items);
  1074. height: 80px;
  1075. }
  1076. .flux .flux_header .item.thumbnail .item-element {
  1077. padding: 0;
  1078. }
  1079. .flux .flux_header .item.thumbnail.small {
  1080. height: 40px;
  1081. }
  1082. .flux .flux_header .item.thumbnail.portrait {
  1083. width: 60px;
  1084. }
  1085. .flux .flux_header .item.thumbnail.square {
  1086. width: 80px;
  1087. }
  1088. .flux .flux_header .item.thumbnail.landscape {
  1089. width: 128px;
  1090. }
  1091. .flux .flux_header .item.thumbnail.portrait.small {
  1092. width: 30px;
  1093. }
  1094. .flux .flux_header .item.thumbnail.square.small {
  1095. width: 40px;
  1096. }
  1097. .flux .flux_header .item.thumbnail.landscape.small {
  1098. width: 64px;
  1099. }
  1100. .flux .flux_header .item.thumbnail img {
  1101. background: repeating-linear-gradient( -45deg, var(--frss-noThumbnailImage-background-color), var(--frss-noThumbnailImage-background-color) 5px, transparent 5px, transparent 10px );
  1102. display: inline-block;
  1103. width: 100%;
  1104. height: 100%;
  1105. overflow: hidden;
  1106. object-fit: cover;
  1107. }
  1108. .flux .flux_header .item.titleAuthorSummaryDate {
  1109. position: relative;
  1110. overflow: hidden;
  1111. }
  1112. .flux .flux_header .item .title {
  1113. display: inline-block;
  1114. max-width: 100%;
  1115. min-width: calc(100% - 155px);
  1116. color: var(--frss-font-color-dark);
  1117. position: absolute;
  1118. top: 0;
  1119. overflow: hidden;
  1120. text-overflow: ellipsis;
  1121. box-sizing: border-box;
  1122. text-decoration: none;
  1123. }
  1124. .flux .flux_header .item .title:has(~.date) {
  1125. padding-right: 155px;
  1126. }
  1127. .flux .flux_header .item .summary {
  1128. display: -webkit-box;
  1129. color: var(--frss-font-color-grey-dark);
  1130. font-size: 0.9rem;
  1131. font-weight: normal;
  1132. overflow: hidden;
  1133. text-overflow: ellipsis;
  1134. -webkit-line-clamp: 2;
  1135. -webkit-box-orient: vertical;
  1136. white-space: break-spaces;
  1137. margin-top: 2.25rem;
  1138. margin-bottom: 0.5rem;
  1139. }
  1140. .flux .flux_header .item .summary:has(~.date) {
  1141. max-width: 90%;
  1142. }
  1143. .flux .flux_header .item .title .author {
  1144. padding-left: 1rem;
  1145. color: var(--frss-font-color-grey-dark);
  1146. font-weight: normal;
  1147. }
  1148. .flux .flux_header .item .date {
  1149. position: absolute;
  1150. right: 0;
  1151. top: 0;
  1152. width: 155px;
  1153. text-align: right;
  1154. overflow: hidden;
  1155. z-index: 1;
  1156. }
  1157. .flux .flux_header .item > a {
  1158. display: block;
  1159. white-space: nowrap;
  1160. text-overflow: ellipsis;
  1161. overflow: hidden;
  1162. }
  1163. .flux .flux_header .date,
  1164. .flux .flux_content .bottom .date {
  1165. font-size: 0.7rem;
  1166. }
  1167. .item.query > a {
  1168. display: list-item;
  1169. list-style-position: inside;
  1170. list-style-type: decimal;
  1171. }
  1172. .flux_content .bottom .dropdown-toggle .icon {
  1173. margin-right: 0.25rem;
  1174. }
  1175. /*=== Feed article content */
  1176. .hide_posts > .flux:not(.active) > .flux_content {
  1177. display: none;
  1178. }
  1179. .content {
  1180. min-height: 20rem;
  1181. margin: auto;
  1182. line-height: 1.5;
  1183. word-wrap: break-word;
  1184. }
  1185. .content .text {
  1186. overflow-x: auto;
  1187. }
  1188. .content .text div {
  1189. overflow-x: auto;
  1190. }
  1191. .content header,
  1192. .content .text,
  1193. .content footer {
  1194. padding: 0 3rem;
  1195. }
  1196. .content header {
  1197. padding-top: calc(2 * var(--frss-padding-top-bottom));
  1198. padding-bottom: calc(var(--frss-padding-top-bottom));
  1199. }
  1200. .content footer {
  1201. padding-bottom: calc(2 * var(--frss-padding-top-bottom));
  1202. }
  1203. .content.large {
  1204. max-width: 1100px;
  1205. }
  1206. .content.medium {
  1207. max-width: 900px;
  1208. }
  1209. .content.thin {
  1210. max-width: 650px;
  1211. }
  1212. .content .article-header-topline {
  1213. margin-bottom: 0.75rem;
  1214. }
  1215. .content > header,
  1216. .content > footer {
  1217. color: var(--frss-font-color-grey-light);
  1218. font-size: 0.9rem;
  1219. }
  1220. .content > footer {
  1221. padding-top: 1rem;
  1222. clear: both;
  1223. }
  1224. .content > footer .subtitle {
  1225. padding: 2rem 0 1rem;
  1226. border-top: 2px solid var(--frss-border-color);
  1227. }
  1228. .content > header .tags,
  1229. .content > footer .tags {
  1230. display: flex;
  1231. line-height: 1;
  1232. }
  1233. .content > header .tags .icon,
  1234. .content > header .website .favicon,
  1235. .content > footer .tags .icon {
  1236. margin: 0 0.5rem 0 0;
  1237. line-height: 1.5;
  1238. }
  1239. .content > header .tags .list-tags,
  1240. .content > footer .tags .list-tags {
  1241. margin: 0;
  1242. padding: 0;
  1243. display: inline-block;
  1244. list-style: none;
  1245. }
  1246. .content > header .tags .list-tags .item.tag,
  1247. .content > footer .tags .list-tags .item.tag {
  1248. padding: 0 0.75rem 0 0;
  1249. display: inline-block;
  1250. line-height: 1.5;
  1251. }
  1252. .content > header .tags .list-tags .item.tag a.link-tag,
  1253. .content > footer .tags .list-tags .item.tag a.link-tag {
  1254. display: inline;
  1255. }
  1256. .content > header h1 {
  1257. margin: 0.5rem 0;
  1258. }
  1259. .content .text ul,
  1260. .content .text ol,
  1261. .content .text dd {
  1262. margin: 0 0 0 1rem;
  1263. padding: 0 0 0.25rem 1rem;
  1264. }
  1265. .content .article-header-topline.horizontal-list .item.manage,
  1266. .content .subtitle.horizontal-list .item.manage {
  1267. text-align: left;
  1268. width: 2rem;
  1269. }
  1270. .content .article-header-topline.horizontal-list .item.manage a,
  1271. .content .subtitle.horizontal-list .item.manage a {
  1272. padding: 0.5rem 0.25rem;
  1273. }
  1274. .content .article-header-topline.horizontal-list .item,
  1275. .content .subtitle.horizontal-list .item {
  1276. vertical-align: top;
  1277. }
  1278. .content .article-header-topline.horizontal-list .item .website,
  1279. .content .subtitle.horizontal-list .item .website {
  1280. display: inline-block;
  1281. max-width: 100%;
  1282. overflow: hidden;
  1283. text-overflow: ellipsis;
  1284. white-space: nowrap;
  1285. vertical-align: top;
  1286. }
  1287. .content .subtitle.horizontal-list .item .author {
  1288. display: inline-block;
  1289. }
  1290. .content .subtitle.horizontal-list .item.date {
  1291. padding: 0.25rem;
  1292. width: 155px;
  1293. text-align: right;
  1294. }
  1295. .content .article-header-topline.horizontal-list .item.link,
  1296. .content .subtitle.horizontal-list .item.link {
  1297. text-align: right;
  1298. }
  1299. .content .article-header-topline.horizontal-list .item.link a,
  1300. .content .subtitle.horizontal-list .item.link a {
  1301. padding: 0.25rem 0.5rem;
  1302. }
  1303. .content pre {
  1304. overflow: auto;
  1305. }
  1306. .subtitle > div {
  1307. display: inline;
  1308. }
  1309. .subtitle:not(.horizontal-list) > div:not(:first-of-type)::before {
  1310. content: ' · ';
  1311. }
  1312. /*=== Notification and actualize notification */
  1313. .notification {
  1314. padding: 1rem 3.5rem 1rem 1rem;
  1315. position: absolute;
  1316. top: 1rem;
  1317. left: 25%; right: 25%;
  1318. z-index: 9999;
  1319. background-color: var(--frss-background-color);
  1320. font-weight: bold;
  1321. font-size: 0.9rem;
  1322. border: 1px solid var(--frss-border-color);
  1323. opacity: 1;
  1324. text-align: center;
  1325. line-height: 2;
  1326. vertical-align: middle;
  1327. visibility: visible;
  1328. transition: visibility 0s, opacity .3s linear;
  1329. }
  1330. .notification.closed {
  1331. opacity: 0;
  1332. visibility: hidden;
  1333. }
  1334. .notification a.close {
  1335. padding: 0 1rem;
  1336. position: absolute;
  1337. top: 0; bottom: 0;
  1338. right: 0;
  1339. display: inline-block;
  1340. line-height: 3;
  1341. }
  1342. .notification a.close:hover {
  1343. background-color: var(--frss-darken-background-hover-transparent);
  1344. }
  1345. .notification a.close:hover .icon {
  1346. filter: brightness(2);
  1347. }
  1348. #actualizeProgress {
  1349. position: fixed;
  1350. }
  1351. #actualizeProgress progress {
  1352. max-width: 100%;
  1353. vertical-align: middle;
  1354. }
  1355. #actualizeProgress .progress {
  1356. vertical-align: middle;
  1357. }
  1358. /*=== Popup */
  1359. #popup {
  1360. display: none;
  1361. position: fixed;
  1362. z-index: 200;
  1363. left: 0;
  1364. top: 0;
  1365. width: 100%;
  1366. height: 100%;
  1367. overflow: auto;
  1368. background-color: var(--frss-modal-background-color-transparent);
  1369. }
  1370. #popup-content {
  1371. margin: 5rem auto;
  1372. display: table;
  1373. width: 80%;
  1374. height: 80%;
  1375. overflow: hidden;
  1376. background-color: var(--frss-background-color);
  1377. border-radius: .25rem;
  1378. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1379. }
  1380. .popup-row {
  1381. display: table-row;
  1382. width: 100%;
  1383. }
  1384. #popup-close {
  1385. float: right;
  1386. width: 27px;
  1387. height: 22px;
  1388. padding-top: 5px;
  1389. }
  1390. #popup-close:hover,
  1391. #popup-close:focus {
  1392. color: var(--frss-font-color-dark);
  1393. text-decoration: none;
  1394. cursor: pointer;
  1395. }
  1396. #popup-iframe-container {
  1397. display: none;
  1398. height: 100%;
  1399. }
  1400. #popup-iframe-sub {
  1401. padding: 10px;
  1402. height: 100%;
  1403. }
  1404. #popup-iframe {
  1405. width: 100%;
  1406. height: 100%;
  1407. }
  1408. /*=== Navigation menu (for articles) */
  1409. #nav_entries {
  1410. display: table;
  1411. position: fixed;
  1412. bottom: 0; left: 0;
  1413. width: 300px;
  1414. table-layout: fixed;
  1415. padding-bottom: env(safe-area-inset-bottom);
  1416. z-index: 50;
  1417. }
  1418. #nav_entries button {
  1419. background-color: transparent;
  1420. display: table-cell;
  1421. width: 33.3%;
  1422. height: 3rem;
  1423. border: 0;
  1424. cursor: pointer;
  1425. }
  1426. #nav_entries button:hover {
  1427. background-color: var(--frss-darken-background-hover-transparent);
  1428. }
  1429. /*=== "Load" parts */
  1430. #first_load {
  1431. margin: 130px auto -170px auto;
  1432. height: 40px;
  1433. }
  1434. #load_more {
  1435. min-height: 40px;
  1436. }
  1437. #load_more.loading,
  1438. #load_more.loading:hover {
  1439. padding: 10px 20px;
  1440. background: var(--frss-loading-image) center center no-repeat var(--frss-background-color);
  1441. font-size: 0;
  1442. }
  1443. .loading {
  1444. background: var(--frss-loading-image) center center no-repeat;
  1445. font-size: 0;
  1446. }
  1447. #bigMarkAsRead {
  1448. margin: 0 0 100% 0;
  1449. margin: 0 0 100vh 0;
  1450. padding: 1em 0 50px 0;
  1451. display: block;
  1452. width: 100%;
  1453. text-align: center;
  1454. font-size: 1.25rem;
  1455. }
  1456. .bigTick {
  1457. font-size: 4rem;
  1458. }
  1459. /*=== Statistiques */
  1460. .stat-grid {
  1461. display: grid;
  1462. grid-template-columns: 1fr 1fr;
  1463. grid-gap: 20px;
  1464. }
  1465. .stat {
  1466. grid-column: 1 / span 2;
  1467. }
  1468. .stat.half {
  1469. grid-column: auto;
  1470. }
  1471. .stat > table {
  1472. width: 100%;
  1473. }
  1474. .statGraph {
  1475. height: 300px;
  1476. }
  1477. /*=== GLOBAL VIEW */
  1478. /*================*/
  1479. #stream.global {
  1480. text-align: center;
  1481. }
  1482. #stream.global .box {
  1483. text-align: left;
  1484. }
  1485. #global #panel {
  1486. bottom: 99vh;
  1487. display: block;
  1488. transition: visibility .3s, bottom .3s;
  1489. visibility: hidden;
  1490. }
  1491. #global #panel.visible {
  1492. bottom: 2%;
  1493. visibility: visible;
  1494. }
  1495. /*=== Panel */
  1496. #overlay {
  1497. position: fixed;
  1498. top: 0; bottom: 0;
  1499. left: 0; right: 0;
  1500. background-color: var(--frss-modal-background-color-transparent);
  1501. opacity: 0;
  1502. transition: visibility .3s, opacity .3s;
  1503. visibility: hidden;
  1504. }
  1505. #overlay.visible {
  1506. opacity: 1;
  1507. visibility: visible;
  1508. }
  1509. #panel {
  1510. background-color: var(--frss-background-color);
  1511. display: none;
  1512. position: fixed;
  1513. top: 2%; bottom: 2%;
  1514. left: 3%; right: 3%;
  1515. overflow: auto;
  1516. }
  1517. #overlay .close {
  1518. position: fixed;
  1519. top: 0; bottom: 0;
  1520. left: 0; right: 0;
  1521. display: block;
  1522. }
  1523. /*=== Slider */
  1524. html.slider-active {
  1525. overflow: hidden;
  1526. }
  1527. #slider {
  1528. background-color: var(--frss-background-color);
  1529. width: 0;
  1530. position: fixed;
  1531. top: 0; bottom: 0;
  1532. right: 0;
  1533. overflow: auto;
  1534. z-index: 100;
  1535. }
  1536. #slider.active:target {
  1537. width: 750px;
  1538. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1539. }
  1540. #slider.sliding {
  1541. transition: width 200ms linear;
  1542. }
  1543. #close-slider {
  1544. position: fixed;
  1545. top: 0; bottom: 0;
  1546. left: 100%; right: 0;
  1547. cursor: pointer;
  1548. }
  1549. #slider.active:target + #close-slider {
  1550. background-color: var(--frss-modal-background-color-transparent);
  1551. font-size: 0;
  1552. left: 0;
  1553. z-index: 99;
  1554. }
  1555. #close-slider img {
  1556. display: none;
  1557. }
  1558. #slider.active:target + #close-slider img {
  1559. padding: 0.5rem;
  1560. display: inline-block;
  1561. position: absolute;
  1562. top: 0.5rem;
  1563. left: 0.5rem;
  1564. filter: grayscale(100%) brightness(2.5);
  1565. }
  1566. #slider-content .loader {
  1567. height: 90vh;
  1568. background-image: url('loader.gif');
  1569. background-repeat: no-repeat;
  1570. background-position: center;
  1571. }
  1572. /*=== Configuration pages */
  1573. .post {
  1574. padding: 1rem 2rem;
  1575. font-size: 0.9em;
  1576. }
  1577. .post form {
  1578. margin: 1rem 0;
  1579. }
  1580. .post.content.centered {
  1581. max-width: 550px;
  1582. }
  1583. /*=== SLIDESHOW Theme Preview */
  1584. /*==============*/
  1585. .theme-preview-list {
  1586. padding: 0;
  1587. display: block;
  1588. max-width: 640px;
  1589. height: 320px;
  1590. border: 1px solid var(--frss-border-color);
  1591. position: relative;
  1592. min-width: 260px;
  1593. margin-bottom: 30px;
  1594. }
  1595. .theme-preview-list input {
  1596. display: none;
  1597. }
  1598. .theme-preview-list .preview-container {
  1599. display: block;
  1600. }
  1601. .theme-preview-list .preview {
  1602. display: block;
  1603. width: 100%;
  1604. height: 100%;
  1605. top: 0;
  1606. opacity: 0;
  1607. position: absolute;
  1608. transform: scale(0);
  1609. transition: all .7s ease-in-out;
  1610. }
  1611. .theme-preview-list .preview img {
  1612. width: 100%;
  1613. height: 100%;
  1614. }
  1615. .theme-preview-list .nav label {
  1616. padding: 0;
  1617. display: none;
  1618. width: 65px;
  1619. height: 100%;
  1620. color: var(--frss-font-color-light);
  1621. font-family: "Varela Round", sans-serif;
  1622. font-size: 9rem;
  1623. position: absolute;
  1624. opacity: 0;
  1625. z-index: 9;
  1626. cursor: pointer;
  1627. transition: opacity .2s;
  1628. text-align: center;
  1629. line-height: 2;
  1630. background-color: var(--frss-background-color-transparent);
  1631. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  1632. }
  1633. .theme-preview-list .properties {
  1634. padding: 5px;
  1635. background-color: var(--frss-background-color-transparent);
  1636. display: none;
  1637. border-top: 1px solid var(--frss-border-color);
  1638. bottom: 0;
  1639. left: 0; right: 0;
  1640. position: absolute;
  1641. z-index: 10;
  1642. backdrop-filter: blur(3px);
  1643. }
  1644. .theme-preview-list .properties .page-number {
  1645. right: 5px;
  1646. top: 0;
  1647. position: absolute;
  1648. }
  1649. .theme-preview-list .preview + .nav label {
  1650. opacity: 0.5;
  1651. }
  1652. .theme-preview-list .nav label:hover {
  1653. opacity: 1;
  1654. }
  1655. .theme-preview-list .nav .next {
  1656. right: 0;
  1657. }
  1658. .theme-preview-list input:checked + .preview-container .preview {
  1659. opacity: 1;
  1660. transform: scale(1);
  1661. transition: opacity 1s ease-in-out;
  1662. }
  1663. .theme-preview-list input:checked + .preview-container .nav label {
  1664. display: block;
  1665. }
  1666. .theme-preview-list input:checked + .preview-container .properties {
  1667. display: block;
  1668. }
  1669. /*=== DIVERS */
  1670. /*===========*/
  1671. .log-level {
  1672. text-align: center;
  1673. }
  1674. .log-item.log-error {
  1675. background-color: var(--frss-background-color-error-transparent);
  1676. }
  1677. .item.share.error a::after,
  1678. .category .title.error::before,
  1679. .item.feed.error .item-title::before,
  1680. .theme-preview-list .properties .error::before {
  1681. content: " ⚠ ";
  1682. color: var(--frss-font-color-error);
  1683. }
  1684. .item.share button {
  1685. position: relative;
  1686. }
  1687. .item.share button::after {
  1688. content: "";
  1689. background: var(--frss-background-color-transparent);
  1690. display: inline-block;
  1691. position: absolute;
  1692. padding-top: 1rem;
  1693. opacity: 0;
  1694. transition: all 0.6s;
  1695. left: 0px;
  1696. width: 100%;
  1697. height: 1rem;
  1698. }
  1699. .item.share button:active::after {
  1700. opacity: 1;
  1701. width: 0;
  1702. transition: 0s
  1703. }
  1704. .item.share button.ok::before {
  1705. content: "✓";
  1706. position: absolute;
  1707. left: 0.5rem;
  1708. animation-duration: 10s;
  1709. animation-fill-mode: both;
  1710. animation-name: easeOut;
  1711. }
  1712. .item.share button.error::before {
  1713. content: "❌";
  1714. position: absolute;
  1715. left: 0.25rem;
  1716. }
  1717. .item.share button.error {
  1718. text-decoration: line-through;
  1719. }
  1720. @keyframes easeOut {
  1721. 0% {opacity: 1;}
  1722. 80% {opacity: 1;}
  1723. 100% {opacity: 0;}
  1724. }
  1725. .deprecated {
  1726. font-weight: bold;
  1727. }
  1728. .feed.item.error.active .item-title::before {
  1729. color: var(--frss-font-color-light);
  1730. }
  1731. .feed[data-priority="20"] .item-title,
  1732. .flux[data-priority="20"] .website > a {
  1733. text-decoration: underline double;
  1734. }
  1735. .aside .category .title:not([data-unread="0"])::after,
  1736. .aside .feed .item-title:not([data-unread="0"])::after {
  1737. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1738. padding: 0.25rem 0.5rem;
  1739. min-width: 2rem;
  1740. display: block;
  1741. content: attr(data-unread);
  1742. position: absolute;
  1743. top: 0;
  1744. right: 0.75rem;
  1745. text-align: center;
  1746. font-size: 0.9rem;
  1747. border-radius: 0.75rem;
  1748. line-height: 1;
  1749. font-weight: initial;
  1750. }
  1751. .global .box.category .title:not([data-unread="0"])::after {
  1752. margin: 0.5rem 0 0 0;
  1753. padding: 5px 10px;
  1754. min-width: 20px;
  1755. display: block;
  1756. content: attr(data-unread);
  1757. position: absolute;
  1758. top: 0;
  1759. right: 10px;
  1760. text-align: center;
  1761. font-size: 0.75rem;
  1762. border-radius: 12px;
  1763. line-height: 1;
  1764. font-weight: initial;
  1765. }
  1766. .box .box-title .configure:not([data-cat-position=""])::after {
  1767. margin: 0.5rem 0px 0px;
  1768. padding: 5px 10px;
  1769. min-width: 20px;
  1770. display: block;
  1771. content: attr(data-cat-position);
  1772. position: absolute;
  1773. top: 0px;
  1774. right: 10px;
  1775. text-align: center;
  1776. font-size: 0.75rem;
  1777. border-radius: 12px;
  1778. line-height: 1;
  1779. font-weight: initial;
  1780. }
  1781. .feed .item-title:not([data-unread="0"])::after {
  1782. margin: 1em 0 0 0;
  1783. }
  1784. #stream.global .feed {
  1785. position: relative;
  1786. }
  1787. #stream.global .feed .item-title:not([data-unread="0"])::after {
  1788. margin: 0.5rem 0px 0px;
  1789. padding: 5px 10px;
  1790. min-width: 20px;
  1791. display: block;
  1792. content: attr(data-unread);
  1793. position: absolute;
  1794. top: 0px;
  1795. right: 0px;
  1796. text-align: center;
  1797. font-size: 0.75rem;
  1798. border-radius: 12px;
  1799. line-height: 1;
  1800. font-weight: initial;
  1801. }
  1802. .feed.active .item-title:not([data-unread="0"])::after {
  1803. color: var(--frss-font-color-light);
  1804. border: 1px solid var(--frss-border-color);
  1805. font-weight: bold;
  1806. }
  1807. .feed .item-title:not([data-unread="0"]) {
  1808. font-weight: bold;
  1809. width: calc(100% - 5.5rem);
  1810. }
  1811. .state_unread .category:not(.active)[data-unread="0"],
  1812. .state_unread .feed:not(.active)[data-unread="0"] {
  1813. display: none;
  1814. }
  1815. .nav_menu {
  1816. padding-top: var(--frss-padding-top-bottom);
  1817. padding-bottom: var(--frss-padding-top-bottom);
  1818. background: inherit;
  1819. text-align: center;
  1820. }
  1821. .nav_mobile {
  1822. display: none;
  1823. }
  1824. .nav-login,
  1825. .aside .toggle_aside,
  1826. #slider .toggle_aside,
  1827. .nav_menu .toggle_aside,
  1828. .configure .dropdown-header-close {
  1829. display: none;
  1830. }
  1831. .enclosure [download] {
  1832. font-size: 3rem;
  1833. margin-left: .8em;
  1834. }
  1835. .default-user {
  1836. font-style: italic;
  1837. }
  1838. /*=== READER */
  1839. /*===========*/
  1840. .reader .nav_menu .toggle_aside {
  1841. display: inline-block;
  1842. }
  1843. .reader .aside .toggle_aside {
  1844. display: block;
  1845. width: 100%;
  1846. }
  1847. .reader .aside {
  1848. display: none;
  1849. width: 0;
  1850. }
  1851. .reader .aside:target {
  1852. display: table-cell;
  1853. width: 300px;
  1854. }
  1855. .reader .aside .stick {
  1856. display: none;
  1857. }
  1858. .reader .flux {
  1859. padding: 1rem 0 2rem;
  1860. }
  1861. .reader .flux .content {
  1862. padding: 3rem 0;
  1863. background-color: var(--frss-background-color);
  1864. border: 1px solid var(--frss-border-color);
  1865. }
  1866. #loglist-wrapper {
  1867. overflow-x: auto;
  1868. }
  1869. /*=== MOBILE */
  1870. /*===========*/
  1871. @media (max-width: 840px) {
  1872. :root {
  1873. --frss-padding-flux-items: 0.5rem;
  1874. }
  1875. .flux_header .item.website span,
  1876. .item .date, .day .date,
  1877. .dropdown-menu > .no-mobile,
  1878. .no-mobile {
  1879. display: none;
  1880. }
  1881. .only-mobile {
  1882. display: unset !important;
  1883. }
  1884. .header > .item {
  1885. padding: 5px;
  1886. }
  1887. .header > .item.title {
  1888. width: 75%;
  1889. text-align: left;
  1890. }
  1891. .header > .item.title .logo {
  1892. height: 24px;
  1893. }
  1894. header .item.search form {
  1895. display: none;
  1896. }
  1897. .aside:target {
  1898. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1899. }
  1900. .aside .toggle_aside,
  1901. #overlay .close,
  1902. .dropdown-menu .toggle_aside,
  1903. #slider .toggle_aside {
  1904. padding: 1rem 0;
  1905. display: block;
  1906. width: 100%;
  1907. border-bottom: 1px solid var(--frss-border-color);
  1908. text-align: center;
  1909. }
  1910. .flux .flux_header .item .title:has(~.date) {
  1911. padding-right: 1rem;
  1912. }
  1913. #overlay .close {
  1914. position: relative;
  1915. }
  1916. .form-group {
  1917. margin-bottom: 10px;
  1918. }
  1919. .form-group .group-name {
  1920. float: none;
  1921. width: auto;
  1922. text-align: left;
  1923. }
  1924. .form-group .group-controls {
  1925. margin-left: 0;
  1926. }
  1927. .dropdown {
  1928. position: inherit;
  1929. }
  1930. .dropdown .dropdown-header,
  1931. .dropdown .dropdown-section {
  1932. line-height: 2;
  1933. }
  1934. .dropdown .dropdown-menu {
  1935. width: 94%;
  1936. border-radius: 0;
  1937. left: 3%;
  1938. right: 3%;
  1939. position: absolute;
  1940. }
  1941. .dropdown .dropdown-menu .item {
  1942. margin: 2px 0;
  1943. }
  1944. .dropdown .dropdown-menu .item .stick .btn {
  1945. margin: 0;
  1946. }
  1947. .dropdown .dropdown-menu .item form {
  1948. display: block;
  1949. text-align: center;
  1950. }
  1951. .dropdown .dropdown-menu .item .stick.search {
  1952. width: calc(100% - 20px);
  1953. }
  1954. .dropdown .dropdown-menu .item .stick.search input {
  1955. width: 95%;
  1956. }
  1957. .dropdown .dropdown-menu .item button.as-link,
  1958. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  1959. width: 100%;
  1960. }
  1961. .dropdown-target:target ~ .dropdown-toggle {
  1962. position: relative;
  1963. overflow: visible;
  1964. }
  1965. .dropdown-target:target ~ .dropdown-toggle::after {
  1966. background-color: var(--frss-background-color);
  1967. width: 10px;
  1968. height: 10px;
  1969. content: "";
  1970. position: absolute;
  1971. right: 8px;
  1972. bottom: -17px;
  1973. transform: rotate(45deg);
  1974. z-index: 9999;
  1975. cursor: default;
  1976. }
  1977. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1978. margin-top: 10px;
  1979. }
  1980. .configure .dropdown .dropdown-menu {
  1981. width: 90%;
  1982. height: 100vh;
  1983. top: 0;
  1984. right: 0;
  1985. bottom: 0;
  1986. left: auto;
  1987. position: fixed;
  1988. padding-top: 0;
  1989. margin-top: 0;
  1990. overflow: auto;
  1991. box-shadow: -3px 0 3px var(--frss-box-shadow-color-transparent);
  1992. }
  1993. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  1994. content: none;
  1995. }
  1996. .dropdown-target:target ~ .dropdown-menu {
  1997. display: table-cell;
  1998. z-index: 1000;
  1999. }
  2000. .dropdown-menu::after {
  2001. display: none;
  2002. }
  2003. .configure .dropdown-header-close,
  2004. .nav-login {
  2005. display: block;
  2006. }
  2007. .nav_menu .toggle_aside {
  2008. display: inline-block;
  2009. }
  2010. .aside:target + .close-aside,
  2011. .configure .dropdown-target:target ~ .dropdown-close {
  2012. background-color: var(--frss-modal-background-color-transparent);
  2013. display: block;
  2014. font-size: 0;
  2015. position: fixed;
  2016. top: 0;
  2017. bottom: 0;
  2018. left: 0;
  2019. right: 0;
  2020. cursor: default;
  2021. z-index: 99;
  2022. }
  2023. .nav_mobile {
  2024. display: block;
  2025. }
  2026. .aside {
  2027. position: fixed;
  2028. top: 0; bottom: 0;
  2029. left: -1px;
  2030. width: 0;
  2031. overflow: hidden;
  2032. z-index: 100;
  2033. }
  2034. .aside:target,
  2035. .reader .aside:target {
  2036. width: 90%;
  2037. height: 100vh;
  2038. }
  2039. .aside_feed .configure-feeds {
  2040. margin-top: 10px;
  2041. }
  2042. .aside_feed .tree-folder-items .feed .favicon {
  2043. margin: 0 0.5rem 0 0;
  2044. padding: 0;
  2045. }
  2046. .flux_header .item.website {
  2047. width: 40px;
  2048. }
  2049. .flux:not(.current):hover .item.title {
  2050. position: relative;
  2051. width: auto;
  2052. white-space: nowrap;
  2053. top: 0;
  2054. }
  2055. .content header,
  2056. .content .text,
  2057. .content footer {
  2058. padding: 1rem;
  2059. }
  2060. table {
  2061. font-size: 0.9rem;
  2062. }
  2063. th, td {
  2064. padding: 0.25rem;
  2065. }
  2066. .notification {
  2067. padding: 0.75rem;
  2068. top: 0;
  2069. left: 0;
  2070. right: 0;
  2071. }
  2072. #nav_entries {
  2073. width: 100%;
  2074. }
  2075. #panel {
  2076. top: 0; bottom: 0;
  2077. left: 0; right: 0;
  2078. position: relative;
  2079. height: calc(100vh - 3.5rem);
  2080. }
  2081. #slider.active:target {
  2082. width: 100%;
  2083. }
  2084. #close-slider img {
  2085. display: initial;
  2086. }
  2087. #slider.active:target #close-slider img {
  2088. display: initial;
  2089. position: initial;
  2090. filter: initial;
  2091. }
  2092. #slider.active:target + #close-slider {
  2093. display: none;
  2094. }
  2095. .stat.half {
  2096. grid-column: 1 / span 2;
  2097. }
  2098. }
  2099. /*=== PRINTER */
  2100. /*============*/
  2101. @media print {
  2102. .header, .aside,
  2103. .nav_menu, .day,
  2104. .flux_header,
  2105. .flux_content .bottom,
  2106. .pagination,
  2107. #stream-footer,
  2108. #nav_entries {
  2109. display: none;
  2110. }
  2111. html, body {
  2112. background-color: var(--frss-background-color);
  2113. font-family: Serif;
  2114. }
  2115. #global,
  2116. .flux_content {
  2117. display: block !important;
  2118. }
  2119. .flux_content .content {
  2120. width: 100% !important;
  2121. }
  2122. .flux_content .content a {
  2123. color: var(--frss-font-color-dark);
  2124. }
  2125. .flux_content .content a::after {
  2126. content: " [" attr(href) "] ";
  2127. font-style: italic;
  2128. }
  2129. }
  2130. /*=== PREVIEW */
  2131. /*===========*/
  2132. .preview_controls {
  2133. margin-left: auto;
  2134. margin-right: auto;
  2135. padding: 1rem;
  2136. max-width: 1000px;
  2137. text-align: center;
  2138. background-color: var(--frss-background-color-middle);
  2139. border: 1px solid var(--frss-border-color);
  2140. border-radius: .25rem;
  2141. }
  2142. .preview_controls label {
  2143. display: inline;
  2144. }
  2145. .preview_controls label input[type="radio"] {
  2146. margin-top: -4px;
  2147. }
  2148. .preview_controls label + label {
  2149. margin-left: 1rem;
  2150. }
  2151. .drag-drop-marker {
  2152. margin: -1px;
  2153. }