frss.css 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884
  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. }
  801. .pagination .item:not(:has(a)) {
  802. text-align: center;
  803. }
  804. .pagination-wrapper {
  805. overflow-x: auto;
  806. }
  807. .pagination .item {
  808. display: table-cell;
  809. width: 3em;
  810. }
  811. .pagination .item.active {
  812. min-width: 3em;
  813. font-weight: bold;
  814. font-style: normal;
  815. }
  816. .pagination .item a {
  817. display: block;
  818. text-decoration: none;
  819. }
  820. .pagination .pager-previous,
  821. .pagination .pager-next {
  822. width: 6em;
  823. }
  824. .pagination .pager-first,
  825. .pagination .pager-last {
  826. width: 7.5em;
  827. }
  828. /*=== Boxes */
  829. .box {
  830. margin: 1.25rem 1.25rem 1.25rem 0;
  831. display: inline-block;
  832. max-width: 95%;
  833. width: 30rem;
  834. vertical-align: top;
  835. }
  836. .box.double-width,
  837. .box:target {
  838. width: 61.25rem;
  839. }
  840. .box .target-hidden {
  841. display: initial;
  842. }
  843. .box:target .target-hidden {
  844. display: none;
  845. }
  846. .box .target-visible {
  847. display: none;
  848. }
  849. .box:target .target-visible {
  850. display: initial;
  851. }
  852. .box.visible-semi {
  853. border-style: dashed;
  854. opacity: 0.5;
  855. }
  856. .box .box-title {
  857. position: relative;
  858. padding: 0.25rem 1rem;
  859. }
  860. .box .box-title .icon {
  861. margin-bottom: 0.25rem;
  862. }
  863. .box .box-title h2 {
  864. display: inline;
  865. font-size: 1.2rem;
  866. font-weight: bold;
  867. }
  868. .box .box-title form {
  869. margin: 0;
  870. }
  871. .box .box-content {
  872. padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  873. display: block;
  874. min-height: 2.5em;
  875. max-height: 260px;
  876. overflow: auto;
  877. }
  878. .box .box-content table {
  879. width: calc(100% - 1.25rem);
  880. }
  881. .box.double-height .box-content {
  882. max-height: 520px;
  883. }
  884. .box:target .box-content {
  885. max-height: fit-content;
  886. }
  887. .box .box-content .feed.item {
  888. font-size: 0.9rem;
  889. line-height: 1.5;
  890. text-indent: -3rem;
  891. }
  892. .box .box-content .item.feed {
  893. padding: var(--frss-padding-top-bottom) 0 calc(var(--frss-padding-top-bottom) / 2) 2rem;
  894. display: block;
  895. }
  896. .box .box-content .item.feed.emptyCategory {
  897. padding: 0.5rem 1rem 0.5rem 0;
  898. }
  899. .box .box-content .item.feed .favicon {
  900. margin-right: 0.25rem;
  901. }
  902. .box .box-content .item.feed .icon {
  903. margin-left: 0.25rem;
  904. margin-right: 0.5rem;
  905. }
  906. .box .box-content .item.feed.moved {
  907. font-style: italic;
  908. }
  909. .box .box-content .item.feed.moved .favicon {
  910. opacity: 0.4;
  911. }
  912. .box .box-content .item.disabled {
  913. text-align: center;
  914. font-style: italic;
  915. }
  916. .box .box-content-centered {
  917. padding: 30px 5px;
  918. text-align: center;
  919. }
  920. .box .box-content-centered .btn {
  921. margin: 20px 0 0;
  922. }
  923. /*=== Draggable */
  924. [draggable=true]:hover {
  925. cursor: move;
  926. }
  927. .dragging {
  928. background-color: var(--frss-dragdrop-color)
  929. }
  930. .dragging .icon {
  931. visibility: hidden;
  932. }
  933. .drag-disallowed {
  934. opacity: 0.5;
  935. }
  936. .drag-active .drop-zone:not(.drag-disallowed) {
  937. background: repeating-linear-gradient(45deg, transparent, transparent 40px, var(--frss-dragdrop-color-transparent) 40px, var(--frss-dragdrop-color-transparent) 60px);
  938. }
  939. .drag-active .drag-hover.drop-zone {
  940. background-color: var(--frss-dragdrop-color-transparent);
  941. transition: background 0.5s;
  942. }
  943. li.drag-hover {
  944. margin: 0 0 5px;
  945. border-bottom: 2px solid var(--frss-border-color);
  946. }
  947. .drag-drop {
  948. animation-name: droppedKeyframe;
  949. animation-duration: 0.7s;
  950. }
  951. @keyframes droppedKeyframe {
  952. 0% {
  953. background-color: var(--frss-dragdrop-color-transparent);
  954. }
  955. 50% {
  956. background-color: var(--frss-dragdrop-color);
  957. }
  958. 100% {
  959. background-color: none;
  960. }
  961. }
  962. /*=== Scrollbar */
  963. @supports (scrollbar-width: thin) {
  964. .scrollbar-thin {
  965. scrollbar-color: var(--frss-scrollbar-handle) var(--frss-scrollbar-track);
  966. scrollbar-width: thin;
  967. }
  968. .scrollbar-thin:hover {
  969. scrollbar-color: var(--frss-scrollbar-handle-hover) var(--frss-scrollbar-track-hover);
  970. }
  971. }
  972. @supports not (scrollbar-width: thin) {
  973. .scrollbar-thin::-webkit-scrollbar {
  974. background-color: var(--frss-scrollbar-track);
  975. width: 8px;
  976. }
  977. .scrollbar-thin:hover::-webkit-scrollbar {
  978. background-color: var(--frss-scrollbar-track-hover);
  979. }
  980. .scrollbar-thin::-webkit-scrollbar-thumb {
  981. background-color: var(--frss-scrollbar-handle);
  982. display: unset;
  983. border-radius: 5px;
  984. }
  985. .scrollbar-thin:hover::-webkit-scrollbar-thumb {
  986. background-color: var(--frss-scrollbar-handle-hover);
  987. }
  988. }
  989. /*=== Tree */
  990. .tree {
  991. margin: 0;
  992. max-height: 99vh;
  993. list-style: none;
  994. text-align: left;
  995. overflow-x: hidden;
  996. }
  997. .tree-folder-items {
  998. padding: 0;
  999. list-style: none;
  1000. transition: max-height .3s linear;
  1001. }
  1002. .tree-folder-title {
  1003. display: block;
  1004. padding-top: var(--frss-padding-top-bottom);
  1005. padding-bottom: var(--frss-padding-top-bottom);
  1006. }
  1007. .tree-folder-title .title {
  1008. display: inline-block;
  1009. width: 100%;
  1010. vertical-align: middle;
  1011. overflow: hidden;
  1012. white-space: nowrap;
  1013. text-overflow: ellipsis;
  1014. }
  1015. .tree-folder-items > .item {
  1016. display: block;
  1017. white-space: nowrap;
  1018. }
  1019. .tree-folder-items > .item > .item-title {
  1020. display: inline-block;
  1021. vertical-align: middle;
  1022. width: calc(100% - 2.5rem);
  1023. overflow: hidden;
  1024. white-space: nowrap;
  1025. text-overflow: ellipsis;
  1026. }
  1027. .tree-folder-items .item.feed {
  1028. position: relative;
  1029. }
  1030. .tree-bottom {
  1031. visibility: hidden;
  1032. margin-bottom: 18em;
  1033. }
  1034. /*=== STRUCTURE */
  1035. /*===============*/
  1036. /*=== Header */
  1037. .header {
  1038. display: table;
  1039. width: 100%;
  1040. height: calc(2.5rem + 2 * var(--frss-padding-top-bottom));
  1041. table-layout: fixed;
  1042. }
  1043. .header > .item {
  1044. padding-top: var(--frss-padding-top-bottom);
  1045. padding-bottom: var(--frss-padding-top-bottom);
  1046. display: table-cell;
  1047. }
  1048. .header > .item.title {
  1049. width: 300px;
  1050. text-align: center;
  1051. white-space: nowrap;
  1052. }
  1053. .header > .item.title h1 {
  1054. display: inline-block;
  1055. }
  1056. .header > .item.title a {
  1057. padding: 0.25rem 1rem;
  1058. display: inline-block;
  1059. }
  1060. .header > .item.title .logo {
  1061. display: inline-block;
  1062. height: 2rem;
  1063. vertical-align: middle;
  1064. }
  1065. .header > .item.title a:hover .logo {
  1066. filter: brightness(1.4);
  1067. transition: filter 0.1s linear;
  1068. }
  1069. .header > .item.configure {
  1070. width: 100px;
  1071. }
  1072. input[type="search"] {
  1073. -webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */
  1074. }
  1075. /*=== Body */
  1076. #global {
  1077. background: inherit;
  1078. display: table;
  1079. width: 100%;
  1080. height: calc(100vh - (calc(2.5rem + 2 * var(--frss-padding-top-bottom) + 1px)));
  1081. table-layout: fixed;
  1082. }
  1083. #stream:not(.alert-warn) {
  1084. background: inherit;
  1085. }
  1086. .aside {
  1087. display: table-cell;
  1088. width: 300px;
  1089. vertical-align: top;
  1090. }
  1091. .aside + .close-aside {
  1092. display: none;
  1093. }
  1094. /*=== Aside main page */
  1095. .aside_feed .category .title {
  1096. width: calc(100% - 35px);
  1097. }
  1098. .aside_feed .category .title:not([data-unread="0"]) {
  1099. width: calc(100% - 75px);
  1100. }
  1101. .aside_feed .tree-folder.category .tree-folder-title .title.error .icon {
  1102. margin: 0 0.5rem;
  1103. padding: 0;
  1104. }
  1105. .aside_feed .tree-folder-title button.dropdown-toggle {
  1106. padding: 0;
  1107. border: 0;
  1108. background-color: transparent;
  1109. cursor: pointer;
  1110. }
  1111. .aside_feed .tree-folder-title .icon {
  1112. margin: 0 0.25rem 0 0;
  1113. }
  1114. .aside_feed .tree-folder-items .feed .favicon {
  1115. padding: 0;
  1116. }
  1117. .aside_feed .tree-folder-items:not(.active) {
  1118. margin: 0;
  1119. padding: 0;
  1120. max-height: 0;
  1121. border: none;
  1122. overflow: hidden;
  1123. }
  1124. .aside_feed .tree-folder-items .dropdown-menu {
  1125. left: 0;
  1126. margin-left: 0.75rem
  1127. }
  1128. .aside_feed .tree-folder-items .dropdown {
  1129. vertical-align: baseline;
  1130. margin-right: 0.25rem;
  1131. }
  1132. .aside_feed .tree-folder-items .dropdown .dropdown-toggle {
  1133. padding: var(--frss-padding-top-bottom) 0.25rem var(--frss-padding-top-bottom) 0.75rem;
  1134. display: inline-block;
  1135. text-align: right;
  1136. opacity: 0.4;
  1137. }
  1138. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  1139. visibility: hidden;
  1140. cursor: pointer;
  1141. }
  1142. .aside_feed .tree-folder-items .item .dropdown-toggle:hover {
  1143. opacity: 1;
  1144. }
  1145. .aside_feed .tree-folder-items .item .no-dropdown-toggle {
  1146. display: inline-block;
  1147. width: 2.25rem;
  1148. }
  1149. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  1150. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  1151. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  1152. visibility: visible;
  1153. }
  1154. .aside .toggle_aside:hover,
  1155. #slider .toggle_aside:hover,
  1156. #overlay .close:hover,
  1157. .dropdown-menu .toggle_aside:hover {
  1158. background-color: var(--frss-darken-background-hover-transparent);
  1159. }
  1160. /*=== New article notification */
  1161. #new-article > a {
  1162. padding: calc(0.25rem + var(--frss-padding-top-bottom)) 1rem;
  1163. display: block;
  1164. }
  1165. /*=== Transition indication, e.g. day */
  1166. .transition {
  1167. background: inherit;
  1168. }
  1169. .transition a, .transition a:hover {
  1170. color: inherit;
  1171. }
  1172. .transition .name {
  1173. position: absolute;
  1174. right: 0;
  1175. width: 50%;
  1176. overflow: hidden;
  1177. white-space: nowrap;
  1178. text-overflow: ellipsis;
  1179. }
  1180. .transition-next {
  1181. margin-left: .5em;
  1182. opacity: 0.5;
  1183. }
  1184. /*=== Feed article header and footer */
  1185. .flux_header {
  1186. background: inherit;
  1187. position: relative;
  1188. }
  1189. .flux .flux_header > .item {
  1190. white-space: nowrap;
  1191. }
  1192. .flux .flux_header .item .item-element {
  1193. padding: var(--frss-padding-top-bottom) 0;
  1194. line-height: 1.5rem;
  1195. }
  1196. .flux .flux_header .item.manage .item-element,
  1197. .flux .flux_header .item.website .item-element,
  1198. .flux .flux_header .item.share .dropdown-toggle,
  1199. .flux .flux_header .item.link .item-element {
  1200. padding-left: var(--frss-padding-flux-items);
  1201. padding-right: var(--frss-padding-flux-items);
  1202. }
  1203. .flux .item.manage,
  1204. .flux .flux_header > .item.labels,
  1205. .flux .flux_header > .item.share,
  1206. .flux .item.link {
  1207. width: calc(1rem + 2 * var(--frss-padding-flux-items));
  1208. }
  1209. .flux .item.website {
  1210. width: 200px;
  1211. }
  1212. .flux .websiteicon .item.website {
  1213. width: calc(2 * var(--frss-padding-flux-items) + 16px);
  1214. }
  1215. .flux .websitename .item.website {
  1216. width: 150px;
  1217. }
  1218. .website a:hover .favicon,
  1219. a.website:hover .favicon {
  1220. filter: grayscale(100%);
  1221. }
  1222. .flux.not_read .item .title,
  1223. .flux.current .item .title {
  1224. font-weight: bold;
  1225. }
  1226. .flux:not(.current):hover .flux_header .item .title:has(~ .date) {
  1227. padding-right: 0.5rem;
  1228. z-index: 2;
  1229. }
  1230. .flux:not(.current):hover .item .title {
  1231. background-color: inherit;
  1232. }
  1233. .flux .item:has(.multiline) {
  1234. vertical-align: top;
  1235. }
  1236. .flux .flux_header .item.thumbnail {
  1237. line-height: 0;
  1238. padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items);
  1239. height: 80px;
  1240. }
  1241. .flux .flux_header .item.thumbnail .item-element {
  1242. padding: 0;
  1243. }
  1244. .flux .flux_header .item.thumbnail.small {
  1245. height: 40px;
  1246. }
  1247. .flux .flux_header .item.thumbnail.portrait {
  1248. width: 60px;
  1249. }
  1250. .flux .flux_header .item.thumbnail.square {
  1251. width: 80px;
  1252. }
  1253. .flux .flux_header .item.thumbnail.landscape {
  1254. width: 128px;
  1255. }
  1256. .flux .flux_header .item.thumbnail.portrait.small {
  1257. width: 30px;
  1258. }
  1259. .flux .flux_header .item.thumbnail.square.small {
  1260. width: 40px;
  1261. }
  1262. .flux .flux_header .item.thumbnail.landscape.small {
  1263. width: 64px;
  1264. }
  1265. .flux .flux_header .item.thumbnail img {
  1266. background: repeating-linear-gradient( -45deg, var(--frss-noThumbnailImage-background-color), var(--frss-noThumbnailImage-background-color) 5px, transparent 5px, transparent 10px );
  1267. display: inline-block;
  1268. width: 100%;
  1269. height: 100%;
  1270. overflow: hidden;
  1271. object-fit: cover;
  1272. }
  1273. .flux .flux_header .item.titleAuthorSummaryDate {
  1274. position: relative;
  1275. overflow: hidden;
  1276. }
  1277. .flux .flux_header .item .title {
  1278. display: inline-block;
  1279. max-width: 100%;
  1280. min-width: calc(100% - 155px);
  1281. color: var(--frss-font-color-dark);
  1282. position: absolute;
  1283. top: 0;
  1284. overflow: hidden;
  1285. text-overflow: ellipsis;
  1286. box-sizing: border-box;
  1287. text-decoration: none;
  1288. }
  1289. .flux .flux_header .item .title:has(~.date) {
  1290. padding-right: 155px;
  1291. }
  1292. .flux .flux_header .item .summary {
  1293. display: -webkit-box;
  1294. color: var(--frss-font-color-grey-dark);
  1295. font-size: 0.9rem;
  1296. font-weight: normal;
  1297. overflow: hidden;
  1298. text-overflow: ellipsis;
  1299. -webkit-line-clamp: 2;
  1300. -webkit-box-orient: vertical;
  1301. white-space: break-spaces;
  1302. margin-top: 2.25rem;
  1303. margin-bottom: 0.5rem;
  1304. }
  1305. .flux .flux_header .item .summary:has(~.date) {
  1306. max-width: 90%;
  1307. }
  1308. .flux .flux_header .item .title .author {
  1309. padding-left: 1rem;
  1310. color: var(--frss-font-color-grey-dark);
  1311. font-weight: normal;
  1312. }
  1313. .flux .flux_header .item .date {
  1314. position: absolute;
  1315. right: 0;
  1316. top: 0;
  1317. width: 155px;
  1318. text-align: right;
  1319. overflow: hidden;
  1320. z-index: 1;
  1321. }
  1322. .flux .flux_header .item > a {
  1323. display: block;
  1324. white-space: nowrap;
  1325. text-overflow: ellipsis;
  1326. overflow: hidden;
  1327. }
  1328. .flux .flux_header .date,
  1329. .flux .flux_content .bottom .date {
  1330. font-size: 0.7rem;
  1331. }
  1332. .item.query > a {
  1333. display: list-item;
  1334. list-style-position: inside;
  1335. list-style-type: decimal;
  1336. }
  1337. .flux_content .bottom .dropdown-toggle .icon {
  1338. margin-right: 0.25rem;
  1339. }
  1340. /*=== Feed article content */
  1341. .hide_posts > .flux:not(.active) > .flux_content {
  1342. display: none;
  1343. }
  1344. .content {
  1345. min-height: 20rem;
  1346. margin: auto;
  1347. line-height: 1.5;
  1348. overflow-wrap: break-word;
  1349. }
  1350. .content .text {
  1351. overflow-x: auto;
  1352. }
  1353. .content .text div {
  1354. overflow-x: auto;
  1355. }
  1356. .content header,
  1357. .content .text,
  1358. .content footer {
  1359. padding: 0 3rem;
  1360. }
  1361. .content header {
  1362. padding-top: calc(2 * var(--frss-padding-top-bottom));
  1363. padding-bottom: calc(var(--frss-padding-top-bottom));
  1364. }
  1365. .content footer {
  1366. padding-bottom: calc(2 * var(--frss-padding-top-bottom));
  1367. }
  1368. .content_large {
  1369. max-width: 1100px;
  1370. }
  1371. .content_medium {
  1372. max-width: 900px;
  1373. }
  1374. .content_thin {
  1375. max-width: 650px;
  1376. }
  1377. .content .article-header-topline {
  1378. margin-bottom: 0.75rem;
  1379. }
  1380. .content > header,
  1381. .content > footer {
  1382. color: var(--frss-font-color-grey-light);
  1383. font-size: 0.9rem;
  1384. }
  1385. .content > footer {
  1386. padding-top: 1rem;
  1387. clear: both;
  1388. }
  1389. .content > footer .subtitle {
  1390. padding: 2rem 0 1rem;
  1391. border-top: 2px solid var(--frss-border-color);
  1392. }
  1393. .content > header .tags,
  1394. .content > footer .tags {
  1395. display: flex;
  1396. line-height: 1;
  1397. }
  1398. .content > header .tags .icon,
  1399. .content > header .website .favicon,
  1400. .content > footer .tags .icon {
  1401. margin: 0 0.5rem 0 0;
  1402. line-height: 1.5;
  1403. }
  1404. .content > header .tags .list-tags,
  1405. .content > footer .tags .list-tags {
  1406. margin: 0;
  1407. padding: 0;
  1408. display: inline-block;
  1409. list-style: none;
  1410. }
  1411. .content > header .tags .list-tags .item.tag,
  1412. .content > footer .tags .list-tags .item.tag {
  1413. padding: 0 0.75rem 0 0;
  1414. display: inline-block;
  1415. line-height: 1.5;
  1416. }
  1417. .content > header .tags .list-tags .item.tag a.link-tag,
  1418. .content > footer .tags .list-tags .item.tag a.link-tag {
  1419. display: inline;
  1420. }
  1421. .content > header h1 {
  1422. margin: 0.5rem 0;
  1423. }
  1424. .content .text ul,
  1425. .content .text ol,
  1426. .content .text dd {
  1427. margin: 0 0 0 1rem;
  1428. padding: 0 0 0.25rem 1rem;
  1429. }
  1430. .content .article-header-topline.horizontal-list .item.manage,
  1431. .content .subtitle.horizontal-list .item.manage {
  1432. text-align: left;
  1433. width: 2rem;
  1434. }
  1435. .content .article-header-topline.horizontal-list .item.manage a,
  1436. .content .subtitle.horizontal-list .item.manage a {
  1437. padding: 0.5rem 0.25rem;
  1438. }
  1439. .content .article-header-topline.horizontal-list .item,
  1440. .content .subtitle.horizontal-list .item {
  1441. vertical-align: top;
  1442. }
  1443. .content .article-header-topline.horizontal-list .item .website,
  1444. .content .subtitle.horizontal-list .item .website {
  1445. display: inline-block;
  1446. max-width: 100%;
  1447. overflow: hidden;
  1448. text-overflow: ellipsis;
  1449. white-space: nowrap;
  1450. vertical-align: top;
  1451. }
  1452. .content .subtitle.horizontal-list .item .author {
  1453. display: inline-block;
  1454. }
  1455. .content .subtitle.horizontal-list .item.date {
  1456. padding: 0.25rem;
  1457. width: 155px;
  1458. text-align: right;
  1459. }
  1460. .content .article-header-topline.horizontal-list .item.link,
  1461. .content .subtitle.horizontal-list .item.link {
  1462. text-align: right;
  1463. }
  1464. .content .article-header-topline.horizontal-list .item.link a,
  1465. .content .subtitle.horizontal-list .item.link a {
  1466. padding: 0.25rem 0.5rem;
  1467. }
  1468. .content pre {
  1469. margin: 10px auto;
  1470. padding: 10px 20px;
  1471. overflow: auto;
  1472. font-size: 0.9rem;
  1473. }
  1474. .content code {
  1475. padding: 2px 5px;
  1476. border: 1px solid var(--frss-border-color);
  1477. }
  1478. .subtitle > div {
  1479. display: inline;
  1480. }
  1481. .subtitle:not(.horizontal-list) > div:not(:first-of-type)::before {
  1482. content: ' · ';
  1483. }
  1484. /*=== Notification and actualize notification */
  1485. .notification {
  1486. padding: 1rem 3.5rem 1rem 1rem;
  1487. position: absolute;
  1488. top: 1rem;
  1489. left: 25%; right: 25%;
  1490. z-index: 9999;
  1491. background-color: var(--frss-background-color);
  1492. font-weight: bold;
  1493. font-size: 0.9rem;
  1494. border: 1px solid var(--frss-border-color);
  1495. opacity: 1;
  1496. text-align: center;
  1497. line-height: 2;
  1498. vertical-align: middle;
  1499. visibility: visible;
  1500. transition: visibility 0s, opacity .3s linear;
  1501. }
  1502. .notification.closed {
  1503. opacity: 0;
  1504. visibility: hidden;
  1505. }
  1506. .notification .close {
  1507. padding: 0 1rem;
  1508. position: absolute;
  1509. top: 0; bottom: 0;
  1510. right: 0;
  1511. display: inline-block;
  1512. line-height: 3;
  1513. border: 0;
  1514. background-color: transparent;
  1515. cursor: pointer;
  1516. }
  1517. #actualizeProgress {
  1518. position: fixed;
  1519. }
  1520. #actualizeProgress progress {
  1521. max-width: 100%;
  1522. vertical-align: middle;
  1523. }
  1524. #actualizeProgress .progress {
  1525. vertical-align: middle;
  1526. }
  1527. /*=== Popup */
  1528. #popup {
  1529. display: none;
  1530. position: fixed;
  1531. z-index: 200;
  1532. left: 0;
  1533. top: 0;
  1534. width: 100%;
  1535. height: 100%;
  1536. overflow: auto;
  1537. background-color: var(--frss-modal-background-color-transparent);
  1538. }
  1539. #popup-content {
  1540. margin: 5rem auto;
  1541. display: table;
  1542. width: 80%;
  1543. height: 80%;
  1544. overflow: hidden;
  1545. background-color: var(--frss-background-color);
  1546. border-radius: .25rem;
  1547. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1548. }
  1549. .popup-row {
  1550. display: table-row;
  1551. width: 100%;
  1552. }
  1553. #popup-close {
  1554. float: right;
  1555. width: 27px;
  1556. height: 22px;
  1557. padding-top: 5px;
  1558. }
  1559. #popup-close:hover,
  1560. #popup-close:focus {
  1561. color: var(--frss-font-color-dark);
  1562. text-decoration: none;
  1563. cursor: pointer;
  1564. }
  1565. #popup-iframe-container {
  1566. display: none;
  1567. height: 100%;
  1568. }
  1569. #popup-iframe-sub {
  1570. padding: 10px;
  1571. height: 100%;
  1572. }
  1573. #popup-iframe {
  1574. width: 100%;
  1575. height: 100%;
  1576. }
  1577. /*=== Navigation menu (for articles) */
  1578. #nav_entries {
  1579. display: table;
  1580. position: fixed;
  1581. bottom: 0; left: 0;
  1582. width: 300px;
  1583. table-layout: fixed;
  1584. padding-bottom: env(safe-area-inset-bottom);
  1585. z-index: 50;
  1586. }
  1587. .aside:not(.visible) ~ #nav_entries {
  1588. display: none;
  1589. }
  1590. #nav_entries button {
  1591. background-color: transparent;
  1592. display: table-cell;
  1593. width: 33.3%;
  1594. height: 3rem;
  1595. border: 0;
  1596. cursor: pointer;
  1597. }
  1598. #nav_entries button:hover {
  1599. background-color: var(--frss-darken-background-hover-transparent);
  1600. }
  1601. /*=== "Load" parts */
  1602. #first_load {
  1603. margin: 130px auto -170px auto;
  1604. height: 40px;
  1605. }
  1606. #load_more {
  1607. min-height: 40px;
  1608. }
  1609. #load_more.loading,
  1610. #load_more.loading:hover {
  1611. padding: 10px 20px;
  1612. background: var(--frss-loading-image) center center no-repeat var(--frss-background-color);
  1613. font-size: 0;
  1614. }
  1615. .loading {
  1616. background: var(--frss-loading-image) center center no-repeat;
  1617. font-size: 0;
  1618. }
  1619. #bigMarkAsRead.big {
  1620. margin: 0 0 100% 0;
  1621. margin: 0 0 100vh 0;
  1622. padding: 1em 0 50px 0;
  1623. display: block;
  1624. width: 100%;
  1625. text-align: center;
  1626. font-size: 1.25rem;
  1627. }
  1628. #bigMarkAsRead.big .bigTick {
  1629. font-size: 4rem;
  1630. }
  1631. #bigMarkAsRead.small .bigTick {
  1632. font-size: 2rem;
  1633. }
  1634. /*=== Statistiques */
  1635. .box .box-title .btn {
  1636. position: absolute;
  1637. right: 1rem;
  1638. line-height: 1;
  1639. min-height: 1rem;
  1640. padding: 0.25rem;
  1641. text-align: center;
  1642. }
  1643. /*=== GLOBAL VIEW */
  1644. /*================*/
  1645. #stream.global {
  1646. text-align: center;
  1647. }
  1648. #stream.global .box {
  1649. text-align: left;
  1650. }
  1651. #global #panel {
  1652. bottom: 99vh;
  1653. display: block;
  1654. transition: visibility .3s, bottom .3s;
  1655. visibility: hidden;
  1656. }
  1657. #global #panel.visible {
  1658. bottom: 2%;
  1659. visibility: visible;
  1660. }
  1661. /*=== Panel */
  1662. #overlay {
  1663. position: fixed;
  1664. top: 0; bottom: 0;
  1665. left: 0; right: 0;
  1666. background-color: var(--frss-modal-background-color-transparent);
  1667. opacity: 0;
  1668. transition: visibility .3s, opacity .3s;
  1669. visibility: hidden;
  1670. }
  1671. #overlay.visible {
  1672. opacity: 1;
  1673. visibility: visible;
  1674. }
  1675. #panel {
  1676. background-color: var(--frss-background-color);
  1677. display: none;
  1678. position: fixed;
  1679. top: 2%; bottom: 2%;
  1680. left: 3%; right: 3%;
  1681. overflow: auto;
  1682. }
  1683. #overlay .close {
  1684. position: fixed;
  1685. top: 0; bottom: 0;
  1686. left: 0; right: 0;
  1687. display: block;
  1688. }
  1689. /*=== Slider */
  1690. html.slider-active {
  1691. overflow: hidden;
  1692. }
  1693. #slider {
  1694. background-color: var(--frss-background-color);
  1695. width: 0;
  1696. position: fixed;
  1697. top: 0; bottom: 0;
  1698. right: 0;
  1699. overflow: auto;
  1700. z-index: 100;
  1701. }
  1702. #slider.active:target {
  1703. width: 750px;
  1704. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1705. }
  1706. #slider.sliding {
  1707. transition: width 200ms linear;
  1708. }
  1709. #close-slider {
  1710. position: fixed;
  1711. top: 0; bottom: 0;
  1712. left: 100%; right: 0;
  1713. cursor: pointer;
  1714. }
  1715. #slider.active:target + #close-slider {
  1716. background-color: var(--frss-modal-background-color-transparent);
  1717. font-size: 0;
  1718. left: 0;
  1719. z-index: 99;
  1720. }
  1721. #close-slider img {
  1722. display: none;
  1723. }
  1724. #slider.active:target + #close-slider img {
  1725. padding: 0.5rem;
  1726. display: inline-block;
  1727. position: absolute;
  1728. top: 0.5rem;
  1729. left: 0.5rem;
  1730. filter: grayscale(100%) brightness(2.5);
  1731. }
  1732. #slider-content .loader {
  1733. height: 90vh;
  1734. background-image: url('loader.gif');
  1735. background-repeat: no-repeat;
  1736. background-position: center;
  1737. }
  1738. /*=== Configuration pages */
  1739. .post {
  1740. padding: 1rem 2rem;
  1741. font-size: 0.9em;
  1742. }
  1743. .post form {
  1744. margin: 1rem 0;
  1745. }
  1746. .post.content.centered {
  1747. max-width: 550px;
  1748. }
  1749. /*=== SLIDESHOW Theme Preview */
  1750. /*==============*/
  1751. .theme-preview-list {
  1752. margin: 0.5rem 0;
  1753. padding: 0;
  1754. display: block;
  1755. max-width: 640px;
  1756. height: 320px;
  1757. border: 1px solid var(--frss-border-color);
  1758. position: relative;
  1759. min-width: 260px;
  1760. }
  1761. .theme-preview-list .preview-container {
  1762. display: block;
  1763. }
  1764. .theme-preview-list .preview {
  1765. display: block;
  1766. width: 100%;
  1767. height: 100%;
  1768. top: 0;
  1769. opacity: 0;
  1770. position: absolute;
  1771. }
  1772. .theme-preview-list .preview img {
  1773. width: 100%;
  1774. height: 100%;
  1775. }
  1776. .theme-preview-list .properties {
  1777. padding: 5px;
  1778. background-color: var(--frss-background-color-transparent);
  1779. display: none;
  1780. border-top: 1px solid var(--frss-border-color);
  1781. bottom: 0;
  1782. left: 0; right: 0;
  1783. position: absolute;
  1784. z-index: 10;
  1785. backdrop-filter: blur(3px);
  1786. }
  1787. .preview-container.picked .preview {
  1788. opacity: 1;
  1789. transform: scale(1);
  1790. transition: opacity .5s ease-in-out;
  1791. }
  1792. .preview-container.picked .properties {
  1793. display: block;
  1794. }
  1795. /*=== DIVERS */
  1796. /*===========*/
  1797. .log-level {
  1798. text-align: center;
  1799. }
  1800. .log-item.log-error {
  1801. background-color: var(--frss-background-color-error-transparent);
  1802. }
  1803. .item.share.error a::after,
  1804. .theme-preview-list .properties .error::before {
  1805. content: " ⚠ ";
  1806. color: var(--frss-font-color-error);
  1807. }
  1808. .item.share button {
  1809. position: relative;
  1810. }
  1811. .item.share button::after {
  1812. content: "";
  1813. background: var(--frss-background-color-transparent);
  1814. display: inline-block;
  1815. position: absolute;
  1816. padding-top: 1rem;
  1817. opacity: 0;
  1818. transition: all 0.6s;
  1819. left: 0px;
  1820. width: 100%;
  1821. height: 1rem;
  1822. }
  1823. .item.share button:active::after {
  1824. opacity: 1;
  1825. width: 0;
  1826. transition: 0s
  1827. }
  1828. .item.share button.ok::before {
  1829. content: "✓";
  1830. position: absolute;
  1831. left: 0.5rem;
  1832. animation-duration: 10s;
  1833. animation-fill-mode: both;
  1834. animation-name: easeOut;
  1835. }
  1836. .item.share button.error::before {
  1837. content: "❌";
  1838. position: absolute;
  1839. left: 0.25rem;
  1840. }
  1841. .item.share button.error {
  1842. text-decoration: line-through;
  1843. }
  1844. @keyframes easeOut {
  1845. 0% {opacity: 1;}
  1846. 80% {opacity: 1;}
  1847. 100% {opacity: 0;}
  1848. }
  1849. .deprecated {
  1850. font-weight: bold;
  1851. }
  1852. .feed.item.error.active .item-title::before {
  1853. color: var(--frss-font-color-light);
  1854. }
  1855. .feed[data-priority="20"] .item-title,
  1856. .flux[data-priority="20"] .website > a {
  1857. text-decoration: underline double;
  1858. }
  1859. .aside .feed .item-title {
  1860. padding: var(--frss-padding-top-bottom) 3.5rem var(--frss-padding-top-bottom) 0;
  1861. }
  1862. .aside .category .tree-folder-title .title:not([data-unread="0"])::after,
  1863. .aside .feed .item-title:not([data-unread="0"])::after {
  1864. margin: var(--frss-padding-top-bottom) 0 0 0;
  1865. padding: 0.25rem 0.5rem;
  1866. min-width: 2rem;
  1867. display: block;
  1868. content: attr(data-unread);
  1869. position: absolute;
  1870. top: 0;
  1871. right: 0.75rem;
  1872. text-align: center;
  1873. font-size: 0.9rem;
  1874. border-radius: 0.75rem;
  1875. line-height: 1;
  1876. font-weight: initial;
  1877. }
  1878. .aside .category .title:not([data-unread="0"])::after {
  1879. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1880. }
  1881. .global .box.category .title:not([data-unread="0"])::after {
  1882. margin: 0.5rem 0 0 0;
  1883. padding: 5px 10px;
  1884. min-width: 20px;
  1885. display: block;
  1886. content: attr(data-unread);
  1887. position: absolute;
  1888. top: 0;
  1889. right: 10px;
  1890. text-align: center;
  1891. font-size: 0.75rem;
  1892. border-radius: 12px;
  1893. line-height: 1;
  1894. font-weight: initial;
  1895. }
  1896. .box .box-title .configure:not([data-cat-position=""])::after {
  1897. margin: 0.5rem 0px 0px;
  1898. padding: 5px 10px;
  1899. min-width: 20px;
  1900. display: block;
  1901. content: attr(data-cat-position);
  1902. position: absolute;
  1903. top: 0px;
  1904. right: 10px;
  1905. text-align: center;
  1906. font-size: 0.75rem;
  1907. border-radius: 12px;
  1908. line-height: 1;
  1909. font-weight: initial;
  1910. }
  1911. .feed .item-title:not([data-unread="0"])::after {
  1912. margin: 1em 0 0 0;
  1913. }
  1914. #stream.global .feed {
  1915. position: relative;
  1916. }
  1917. #stream.global .feed .item-title:not([data-unread="0"])::after {
  1918. margin: 0.5rem 0px 0px;
  1919. padding: 5px 10px;
  1920. min-width: 20px;
  1921. display: block;
  1922. content: attr(data-unread);
  1923. position: absolute;
  1924. top: 0px;
  1925. right: 0px;
  1926. text-align: center;
  1927. font-size: 0.75rem;
  1928. border-radius: 12px;
  1929. line-height: 1;
  1930. font-weight: initial;
  1931. text-indent: 0;
  1932. }
  1933. .feed.active .item-title:not([data-unread="0"])::after {
  1934. color: var(--frss-font-color-light);
  1935. border: 1px solid var(--frss-border-color);
  1936. font-weight: bold;
  1937. }
  1938. .feed .item-title:not([data-unread="0"]) {
  1939. font-weight: bold;
  1940. width: calc(100% - 6rem);
  1941. }
  1942. .state_unread .category:not(.active)[data-unread="0"],
  1943. .state_unread .feed:not(.active)[data-unread="0"] {
  1944. display: none;
  1945. }
  1946. .nav_menu {
  1947. padding-top: var(--frss-padding-top-bottom);
  1948. padding-bottom: var(--frss-padding-top-bottom);
  1949. padding-left: 3rem;
  1950. padding-right: 0.5rem;
  1951. background: inherit;
  1952. text-align: center;
  1953. position: relative;
  1954. .stick {
  1955. max-width: 500px;
  1956. }
  1957. select {
  1958. max-width: 300px;
  1959. width: 60%;
  1960. }
  1961. #nav_menu_toggle_aside {
  1962. position: absolute;
  1963. left: 0.5rem;
  1964. }
  1965. }
  1966. .nav_mobile {
  1967. display: none;
  1968. }
  1969. .nav-login,
  1970. .aside .toggle_aside,
  1971. #slider .toggle_aside,
  1972. .configure .dropdown-header-close {
  1973. display: none;
  1974. }
  1975. .enclosure [download] {
  1976. font-size: 3rem;
  1977. margin-left: .8em;
  1978. }
  1979. .default-user {
  1980. font-style: italic;
  1981. }
  1982. /*=== READER */
  1983. /*===========*/
  1984. .reader .aside {
  1985. display: none;
  1986. }
  1987. .reader .aside.visible {
  1988. display: table-cell;
  1989. width: 300px;
  1990. }
  1991. .reader .flux {
  1992. padding: 1rem 0 2rem;
  1993. }
  1994. .reader .flux .flux_content {
  1995. padding: 3rem 0;
  1996. background-color: var(--frss-background-color);
  1997. border: 1px solid var(--frss-border-color);
  1998. }
  1999. .reader .flux_content {
  2000. margin: auto;
  2001. }
  2002. .reader .content ~ footer {
  2003. padding: 0 3rem;
  2004. }
  2005. #loglist-wrapper {
  2006. overflow-x: auto;
  2007. }
  2008. .envInfo summary {
  2009. margin-top: 0.5rem;
  2010. padding-left: 0.25rem;
  2011. font-weight: bold;
  2012. cursor: pointer;
  2013. }
  2014. .envInfo dl {
  2015. margin: 1rem 2rem 2rem 1.5rem;
  2016. padding: 2rem 4rem 2rem 2rem;
  2017. border: 1px solid var(--frss-border-color);
  2018. }
  2019. .envInfo dt::after {
  2020. content: ":";
  2021. }
  2022. .envInfo dd {
  2023. margin-bottom: 0.5rem;
  2024. padding-left: 2rem;
  2025. font-family: monospace;
  2026. }
  2027. /*=== MOBILE */
  2028. /*===========*/
  2029. @media (max-width: 840px) {
  2030. :root {
  2031. --frss-padding-flux-items: 0.5rem;
  2032. }
  2033. .flux_header .item.website span,
  2034. .item .date,
  2035. .dropdown-menu > .no-mobile,
  2036. .no-mobile,
  2037. .aside_feed .tree-folder-items .item .no-dropdown-toggle {
  2038. display: none;
  2039. }
  2040. .only-mobile {
  2041. display: unset !important;
  2042. }
  2043. .header > .item {
  2044. padding: 5px;
  2045. }
  2046. .header > .item.title {
  2047. width: 75%;
  2048. text-align: left;
  2049. }
  2050. .header > .item.title .logo {
  2051. height: 24px;
  2052. }
  2053. header .item.search form {
  2054. display: none;
  2055. }
  2056. .aside.visible {
  2057. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  2058. }
  2059. .aside .toggle_aside,
  2060. #overlay .close,
  2061. .dropdown-menu .toggle_aside,
  2062. #slider .toggle_aside {
  2063. padding: 1rem 0;
  2064. display: block;
  2065. width: 100%;
  2066. border-bottom: 1px solid var(--frss-border-color);
  2067. text-align: center;
  2068. }
  2069. .aside:not(.aside_feed) {
  2070. overflow-y: auto;
  2071. }
  2072. nav.configure > .dropdown li.item.dropdown-section:last-child,
  2073. nav#aside_feed > ul li.item.nav-section:last-child {
  2074. margin-bottom: 6rem;
  2075. }
  2076. #dropdown-search-wrapper .dropdown-menu span {
  2077. text-wrap: wrap;
  2078. }
  2079. .form-advanced-title {
  2080. text-align: left;
  2081. }
  2082. .aside .feed .item-title {
  2083. padding-left: 0.75rem;
  2084. padding-right: 4rem;
  2085. display: block;
  2086. width: 100%;
  2087. box-sizing: border-box;
  2088. }
  2089. .aside .feed .item-title[data-unread="0"] {
  2090. padding-right: 1rem;
  2091. }
  2092. .flux .flux_header .item .title:has(~.date) {
  2093. padding-right: 1rem;
  2094. }
  2095. #overlay .close {
  2096. position: relative;
  2097. }
  2098. .form-group {
  2099. margin-bottom: 10px;
  2100. }
  2101. .form-group .group-name {
  2102. float: none;
  2103. width: auto;
  2104. text-align: left;
  2105. }
  2106. .form-group .group-controls {
  2107. margin-left: 0;
  2108. }
  2109. .favicon-controls {
  2110. display: flex;
  2111. flex-wrap: wrap;
  2112. margin-top: 0.8rem;
  2113. gap: 0.2em;
  2114. }
  2115. .dropdown {
  2116. position: inherit;
  2117. }
  2118. .dropdown .dropdown-header,
  2119. .dropdown .dropdown-section {
  2120. line-height: 2;
  2121. }
  2122. .dropdown .dropdown-menu {
  2123. left: 0.5rem !important;
  2124. right: 0.5rem !important;
  2125. position: absolute;
  2126. }
  2127. .dropdown .dropdown-menu .item {
  2128. margin: 2px 0;
  2129. }
  2130. .dropdown .dropdown-menu .item .stick .btn {
  2131. margin: 0;
  2132. }
  2133. .dropdown .dropdown-menu .item form {
  2134. display: block;
  2135. text-align: center;
  2136. }
  2137. .dropdown .dropdown-menu .item .stick.search {
  2138. width: calc(100% - 20px);
  2139. }
  2140. .dropdown .dropdown-menu .item .stick.search input {
  2141. width: 95%;
  2142. }
  2143. .dropdown .dropdown-menu .item button.as-link,
  2144. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  2145. width: 100%;
  2146. }
  2147. .dropdown-target:target ~ .dropdown-toggle {
  2148. position: relative;
  2149. overflow: visible;
  2150. }
  2151. .dropdown-target:target ~ .dropdown-toggle::after {
  2152. background-color: var(--frss-background-color);
  2153. width: 10px;
  2154. height: 10px;
  2155. content: "";
  2156. position: absolute;
  2157. right: 8px;
  2158. bottom: -17px;
  2159. transform: rotate(45deg);
  2160. z-index: 9999;
  2161. cursor: default;
  2162. }
  2163. .horizontal-list.bottom .dropdown-target:target ~ .dropdown-toggle::after {
  2164. top: 31px;
  2165. left: 10px;
  2166. }
  2167. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  2168. margin-top: 10px;
  2169. }
  2170. .configure .dropdown .dropdown-menu {
  2171. width: 90%;
  2172. height: 100vh;
  2173. top: 0;
  2174. right: 0 !important;
  2175. bottom: 0;
  2176. left: auto !important;
  2177. position: fixed;
  2178. padding-top: 0;
  2179. margin-top: 0;
  2180. overflow: auto;
  2181. box-shadow: -3px 0 3px var(--frss-box-shadow-color-transparent);
  2182. }
  2183. #nav_menu_read_all .dropdown-target ~ .dropdown-toggle .icon {
  2184. display: none;
  2185. }
  2186. #nav_menu_read_all .dropdown-target ~ .dropdown-toggle::before {
  2187. content: '✓';
  2188. }
  2189. #nav_menu_read_all .read_all.btn {
  2190. display: none;
  2191. }
  2192. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  2193. content: none;
  2194. }
  2195. .dropdown-target:target ~ .dropdown-menu {
  2196. display: table-cell;
  2197. z-index: 1000;
  2198. }
  2199. .dropdown-menu::after {
  2200. display: none;
  2201. }
  2202. .configure .dropdown-header-close,
  2203. .nav-login {
  2204. display: block;
  2205. }
  2206. .nav_menu {
  2207. padding-left: 0.5rem;
  2208. .toggle_aside {
  2209. display: inline-block;
  2210. }
  2211. #nav_menu_toggle_aside {
  2212. position: unset;
  2213. }
  2214. }
  2215. .aside.visible + .close-aside,
  2216. .configure .dropdown-target:target ~ .dropdown-close {
  2217. background-color: var(--frss-modal-background-color-transparent);
  2218. display: block;
  2219. font-size: 0;
  2220. position: fixed;
  2221. top: 0;
  2222. bottom: 0;
  2223. left: 0;
  2224. right: 0;
  2225. cursor: default;
  2226. z-index: 99;
  2227. }
  2228. .nav_menu.nav_mobile {
  2229. display: block;
  2230. }
  2231. .nav_mobile {
  2232. display: initial;
  2233. }
  2234. .aside {
  2235. position: fixed;
  2236. top: 0; bottom: 0;
  2237. left: -1px;
  2238. width: 0;
  2239. overflow: hidden;
  2240. z-index: 100;
  2241. }
  2242. .aside.visible,
  2243. .reader .aside.visible {
  2244. width: 90%;
  2245. height: 100vh;
  2246. }
  2247. .aside_feed .configure-feeds {
  2248. margin-top: 10px;
  2249. }
  2250. .aside_feed .tree-folder-items .feed .favicon {
  2251. margin: 0 0.5rem 0 0;
  2252. padding: 0;
  2253. }
  2254. .flux_header .item.website {
  2255. width: 40px;
  2256. }
  2257. .flux:not(.current):hover .item.title {
  2258. position: relative;
  2259. width: auto;
  2260. white-space: nowrap;
  2261. top: 0;
  2262. }
  2263. .content header,
  2264. .content .text,
  2265. .content footer {
  2266. padding: 1rem;
  2267. }
  2268. table {
  2269. font-size: 0.9rem;
  2270. }
  2271. th, td {
  2272. padding: 0.25rem;
  2273. }
  2274. .notification {
  2275. padding: 0.75rem;
  2276. top: 0;
  2277. left: 0;
  2278. right: 0;
  2279. }
  2280. #nav_entries {
  2281. display: table !important;
  2282. width: 100%;
  2283. }
  2284. #panel {
  2285. top: 0; bottom: 0;
  2286. left: 0; right: 0;
  2287. position: relative;
  2288. height: calc(100vh - 3.5rem);
  2289. }
  2290. #slider.active:target {
  2291. width: 100%;
  2292. }
  2293. #close-slider img {
  2294. display: initial;
  2295. }
  2296. #slider.active:target #close-slider img {
  2297. display: initial;
  2298. position: initial;
  2299. filter: initial;
  2300. }
  2301. #slider.active:target + #close-slider {
  2302. display: none;
  2303. }
  2304. }
  2305. /*=== PRINTER */
  2306. /*============*/
  2307. @media print {
  2308. /* This hides the headers and footers in the printed document on Chrome */
  2309. /* Supported since Chrome 131: https://developer.chrome.com/release-notes/131#page_margin_boxes */
  2310. @page {
  2311. /* Firefox and Safari do not support those yet */
  2312. /* See: https://developer.mozilla.org/en-US/docs/Web/CSS/@page#browser_compatibility */
  2313. @top-left { content: ''; }
  2314. @top-right { content: ''; }
  2315. @bottom-left { content: ''; }
  2316. @bottom-right { content: ''; }
  2317. }
  2318. .header, .aside,
  2319. .nav_menu, .transition,
  2320. .flux_header,
  2321. .flux_content .bottom,
  2322. .pagination,
  2323. #stream-footer,
  2324. #nav_entries,
  2325. .dropdown-toggle {
  2326. display: none;
  2327. }
  2328. html, body {
  2329. background-color: var(--frss-background-color);
  2330. font-family: Serif;
  2331. }
  2332. #global,
  2333. .flux_content {
  2334. display: block !important;
  2335. }
  2336. .flux_content .content {
  2337. width: 100% !important;
  2338. }
  2339. .flux_content .content a {
  2340. color: var(--frss-font-color-dark);
  2341. }
  2342. .flux_content .content a::after {
  2343. content: " [" attr(href) "] ";
  2344. font-style: italic;
  2345. }
  2346. }
  2347. /*=== PREVIEW */
  2348. /*===========*/
  2349. .preview_controls {
  2350. margin-left: auto;
  2351. margin-right: auto;
  2352. padding: 1rem;
  2353. max-width: 1000px;
  2354. text-align: center;
  2355. background-color: var(--frss-background-color-middle);
  2356. border: 1px solid var(--frss-border-color);
  2357. border-radius: .25rem;
  2358. }
  2359. .preview_controls label {
  2360. display: inline;
  2361. }
  2362. .preview_controls label input[type="radio"] {
  2363. margin-top: -4px;
  2364. }
  2365. .preview_controls label + label {
  2366. margin-left: 1rem;
  2367. }
  2368. .drag-drop-marker {
  2369. margin: -1px;
  2370. }