frss.css 49 KB

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