frss.css 47 KB

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