frss.css 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883
  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: flex;
  1580. position: fixed;
  1581. bottom: 0; left: 0;
  1582. width: 300px;
  1583. padding-bottom: env(safe-area-inset-bottom);
  1584. z-index: 50;
  1585. }
  1586. .aside:not(.visible) ~ #nav_entries {
  1587. display: none;
  1588. }
  1589. #nav_entries button {
  1590. background-color: transparent;
  1591. flex: 1;
  1592. height: 3rem;
  1593. border: 0;
  1594. cursor: pointer;
  1595. }
  1596. #nav_entries button:hover {
  1597. background-color: var(--frss-darken-background-hover-transparent);
  1598. }
  1599. /*=== "Load" parts */
  1600. #first_load {
  1601. margin: 130px auto -170px auto;
  1602. height: 40px;
  1603. }
  1604. #load_more {
  1605. min-height: 40px;
  1606. }
  1607. #load_more.loading,
  1608. #load_more.loading:hover {
  1609. padding: 10px 20px;
  1610. background: var(--frss-loading-image) center center no-repeat var(--frss-background-color);
  1611. font-size: 0;
  1612. }
  1613. .loading {
  1614. background: var(--frss-loading-image) center center no-repeat;
  1615. font-size: 0;
  1616. }
  1617. #bigMarkAsRead.big {
  1618. margin: 0 0 100% 0;
  1619. margin: 0 0 100vh 0;
  1620. padding: 1em 0 50px 0;
  1621. display: block;
  1622. width: 100%;
  1623. text-align: center;
  1624. font-size: 1.25rem;
  1625. }
  1626. #bigMarkAsRead.big .bigTick {
  1627. font-size: 4rem;
  1628. }
  1629. #bigMarkAsRead.small .bigTick {
  1630. font-size: 2rem;
  1631. }
  1632. /*=== Statistiques */
  1633. .box .box-title .btn {
  1634. position: absolute;
  1635. right: 1rem;
  1636. line-height: 1;
  1637. min-height: 1rem;
  1638. padding: 0.25rem;
  1639. text-align: center;
  1640. }
  1641. /*=== GLOBAL VIEW */
  1642. /*================*/
  1643. #stream.global {
  1644. text-align: center;
  1645. }
  1646. #stream.global .box {
  1647. text-align: left;
  1648. }
  1649. #global #panel {
  1650. bottom: 99vh;
  1651. display: block;
  1652. transition: visibility .3s, bottom .3s;
  1653. visibility: hidden;
  1654. }
  1655. #global #panel.visible {
  1656. bottom: 2%;
  1657. visibility: visible;
  1658. }
  1659. /*=== Panel */
  1660. #overlay {
  1661. position: fixed;
  1662. top: 0; bottom: 0;
  1663. left: 0; right: 0;
  1664. background-color: var(--frss-modal-background-color-transparent);
  1665. opacity: 0;
  1666. transition: visibility .3s, opacity .3s;
  1667. visibility: hidden;
  1668. }
  1669. #overlay.visible {
  1670. opacity: 1;
  1671. visibility: visible;
  1672. }
  1673. #panel {
  1674. background-color: var(--frss-background-color);
  1675. display: none;
  1676. position: fixed;
  1677. top: 2%; bottom: 2%;
  1678. left: 3%; right: 3%;
  1679. overflow: auto;
  1680. }
  1681. #overlay .close {
  1682. position: fixed;
  1683. top: 0; bottom: 0;
  1684. left: 0; right: 0;
  1685. display: block;
  1686. }
  1687. /*=== Slider */
  1688. html.slider-active {
  1689. overflow: hidden;
  1690. }
  1691. #slider {
  1692. background-color: var(--frss-background-color);
  1693. width: 0;
  1694. position: fixed;
  1695. top: 0; bottom: 0;
  1696. right: 0;
  1697. overflow: auto;
  1698. z-index: 100;
  1699. }
  1700. #slider.active:target {
  1701. width: 750px;
  1702. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1703. outline: none;
  1704. }
  1705. #slider.sliding {
  1706. transition: width 200ms linear;
  1707. }
  1708. #close-slider {
  1709. position: fixed;
  1710. top: 0; bottom: 0;
  1711. left: 100%; right: 0;
  1712. cursor: pointer;
  1713. }
  1714. #slider.active:target + #close-slider {
  1715. background-color: var(--frss-modal-background-color-transparent);
  1716. font-size: 0;
  1717. left: 0;
  1718. z-index: 99;
  1719. }
  1720. #close-slider img {
  1721. display: none;
  1722. }
  1723. #slider.active:target + #close-slider img {
  1724. padding: 0.5rem;
  1725. display: inline-block;
  1726. position: absolute;
  1727. top: 0.5rem;
  1728. left: 0.5rem;
  1729. filter: grayscale(100%) brightness(2.5);
  1730. }
  1731. #slider-content .loader {
  1732. height: 90vh;
  1733. background-image: url('loader.gif');
  1734. background-repeat: no-repeat;
  1735. background-position: center;
  1736. }
  1737. /*=== Configuration pages */
  1738. .post {
  1739. padding: 1rem 2rem;
  1740. font-size: 0.9em;
  1741. }
  1742. .post form {
  1743. margin: 1rem 0;
  1744. }
  1745. .post.content.centered {
  1746. max-width: 550px;
  1747. }
  1748. /*=== SLIDESHOW Theme Preview */
  1749. /*==============*/
  1750. .theme-preview-list {
  1751. margin: 0.5rem 0;
  1752. padding: 0;
  1753. display: block;
  1754. max-width: 640px;
  1755. height: 320px;
  1756. border: 1px solid var(--frss-border-color);
  1757. position: relative;
  1758. min-width: 260px;
  1759. }
  1760. .theme-preview-list .preview-container {
  1761. display: block;
  1762. }
  1763. .theme-preview-list .preview {
  1764. display: block;
  1765. width: 100%;
  1766. height: 100%;
  1767. top: 0;
  1768. opacity: 0;
  1769. position: absolute;
  1770. }
  1771. .theme-preview-list .preview img {
  1772. width: 100%;
  1773. height: 100%;
  1774. }
  1775. .theme-preview-list .properties {
  1776. padding: 5px;
  1777. background-color: var(--frss-background-color-transparent);
  1778. display: none;
  1779. border-top: 1px solid var(--frss-border-color);
  1780. bottom: 0;
  1781. left: 0; right: 0;
  1782. position: absolute;
  1783. z-index: 10;
  1784. backdrop-filter: blur(3px);
  1785. }
  1786. .preview-container.picked .preview {
  1787. opacity: 1;
  1788. transform: scale(1);
  1789. transition: opacity .5s ease-in-out;
  1790. }
  1791. .preview-container.picked .properties {
  1792. display: block;
  1793. }
  1794. /*=== DIVERS */
  1795. /*===========*/
  1796. .log-level {
  1797. text-align: center;
  1798. }
  1799. .log-item.log-error {
  1800. background-color: var(--frss-background-color-error-transparent);
  1801. }
  1802. .item.share.error a::after,
  1803. .theme-preview-list .properties .error::before {
  1804. content: " ⚠ ";
  1805. color: var(--frss-font-color-error);
  1806. }
  1807. .item.share button {
  1808. position: relative;
  1809. }
  1810. .item.share button::after {
  1811. content: "";
  1812. background: var(--frss-background-color-transparent);
  1813. display: inline-block;
  1814. position: absolute;
  1815. padding-top: 1rem;
  1816. opacity: 0;
  1817. transition: all 0.6s;
  1818. left: 0px;
  1819. width: 100%;
  1820. height: 1rem;
  1821. }
  1822. .item.share button:active::after {
  1823. opacity: 1;
  1824. width: 0;
  1825. transition: 0s
  1826. }
  1827. .item.share button.ok::before {
  1828. content: "✓";
  1829. position: absolute;
  1830. left: 0.5rem;
  1831. animation-duration: 10s;
  1832. animation-fill-mode: both;
  1833. animation-name: easeOut;
  1834. }
  1835. .item.share button.error::before {
  1836. content: "❌";
  1837. position: absolute;
  1838. left: 0.25rem;
  1839. }
  1840. .item.share button.error {
  1841. text-decoration: line-through;
  1842. }
  1843. @keyframes easeOut {
  1844. 0% {opacity: 1;}
  1845. 80% {opacity: 1;}
  1846. 100% {opacity: 0;}
  1847. }
  1848. .deprecated {
  1849. font-weight: bold;
  1850. }
  1851. .feed.item.error.active .item-title::before {
  1852. color: var(--frss-font-color-light);
  1853. }
  1854. .feed[data-priority="20"] .item-title,
  1855. .flux[data-priority="20"] .website > a {
  1856. text-decoration: underline double;
  1857. }
  1858. .aside .feed .item-title {
  1859. padding: var(--frss-padding-top-bottom) 3.5rem var(--frss-padding-top-bottom) 0;
  1860. }
  1861. .aside .category .tree-folder-title .title:not([data-unread="0"])::after,
  1862. .aside .feed .item-title:not([data-unread="0"])::after {
  1863. margin: var(--frss-padding-top-bottom) 0 0 0;
  1864. padding: 0.25rem 0.5rem;
  1865. min-width: 2rem;
  1866. display: block;
  1867. content: attr(data-unread);
  1868. position: absolute;
  1869. top: 0;
  1870. right: 0.75rem;
  1871. text-align: center;
  1872. font-size: 0.9rem;
  1873. border-radius: 0.75rem;
  1874. line-height: 1;
  1875. font-weight: initial;
  1876. }
  1877. .aside .category .title:not([data-unread="0"])::after {
  1878. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1879. }
  1880. .global .box.category .title:not([data-unread="0"])::after {
  1881. margin: 0.5rem 0 0 0;
  1882. padding: 5px 10px;
  1883. min-width: 20px;
  1884. display: block;
  1885. content: attr(data-unread);
  1886. position: absolute;
  1887. top: 0;
  1888. right: 10px;
  1889. text-align: center;
  1890. font-size: 0.75rem;
  1891. border-radius: 12px;
  1892. line-height: 1;
  1893. font-weight: initial;
  1894. }
  1895. .box .box-title .configure:not([data-cat-position=""])::after {
  1896. margin: 0.5rem 0px 0px;
  1897. padding: 5px 10px;
  1898. min-width: 20px;
  1899. display: block;
  1900. content: attr(data-cat-position);
  1901. position: absolute;
  1902. top: 0px;
  1903. right: 10px;
  1904. text-align: center;
  1905. font-size: 0.75rem;
  1906. border-radius: 12px;
  1907. line-height: 1;
  1908. font-weight: initial;
  1909. }
  1910. .feed .item-title:not([data-unread="0"])::after {
  1911. margin: 1em 0 0 0;
  1912. }
  1913. #stream.global .feed {
  1914. position: relative;
  1915. }
  1916. #stream.global .feed .item-title:not([data-unread="0"])::after {
  1917. margin: 0.5rem 0px 0px;
  1918. padding: 5px 10px;
  1919. min-width: 20px;
  1920. display: block;
  1921. content: attr(data-unread);
  1922. position: absolute;
  1923. top: 0px;
  1924. right: 0px;
  1925. text-align: center;
  1926. font-size: 0.75rem;
  1927. border-radius: 12px;
  1928. line-height: 1;
  1929. font-weight: initial;
  1930. text-indent: 0;
  1931. }
  1932. .feed.active .item-title:not([data-unread="0"])::after {
  1933. color: var(--frss-font-color-light);
  1934. border: 1px solid var(--frss-border-color);
  1935. font-weight: bold;
  1936. }
  1937. .feed .item-title:not([data-unread="0"]) {
  1938. font-weight: bold;
  1939. width: calc(100% - 6rem);
  1940. }
  1941. .state_unread .category:not(.active)[data-unread="0"],
  1942. .state_unread .feed:not(.active)[data-unread="0"] {
  1943. display: none;
  1944. }
  1945. .nav_menu {
  1946. padding-top: var(--frss-padding-top-bottom);
  1947. padding-bottom: var(--frss-padding-top-bottom);
  1948. padding-left: 3rem;
  1949. padding-right: 0.5rem;
  1950. background: inherit;
  1951. text-align: center;
  1952. position: relative;
  1953. .stick {
  1954. max-width: 500px;
  1955. }
  1956. select {
  1957. max-width: 300px;
  1958. width: 60%;
  1959. }
  1960. #nav_menu_toggle_aside {
  1961. position: absolute;
  1962. left: 0.5rem;
  1963. }
  1964. }
  1965. .nav_mobile {
  1966. display: none;
  1967. }
  1968. .nav-login,
  1969. .aside .toggle_aside,
  1970. #slider .toggle_aside,
  1971. .configure .dropdown-header-close {
  1972. display: none;
  1973. }
  1974. .enclosure [download] {
  1975. font-size: 3rem;
  1976. margin-left: .8em;
  1977. }
  1978. .default-user {
  1979. font-style: italic;
  1980. }
  1981. /*=== READER */
  1982. /*===========*/
  1983. .reader .aside {
  1984. display: none;
  1985. }
  1986. .reader .aside.visible {
  1987. display: table-cell;
  1988. width: 300px;
  1989. }
  1990. .reader .flux {
  1991. padding: 1rem 0 2rem;
  1992. }
  1993. .reader .flux .flux_content {
  1994. padding: 3rem 0;
  1995. background-color: var(--frss-background-color);
  1996. border: 1px solid var(--frss-border-color);
  1997. }
  1998. .reader .flux_content {
  1999. margin: auto;
  2000. }
  2001. .reader .content ~ footer {
  2002. padding: 0 3rem;
  2003. }
  2004. #loglist-wrapper {
  2005. overflow-x: auto;
  2006. }
  2007. .envInfo summary {
  2008. margin-top: 0.5rem;
  2009. padding-left: 0.25rem;
  2010. font-weight: bold;
  2011. cursor: pointer;
  2012. }
  2013. .envInfo dl {
  2014. margin: 1rem 2rem 2rem 1.5rem;
  2015. padding: 2rem 4rem 2rem 2rem;
  2016. border: 1px solid var(--frss-border-color);
  2017. }
  2018. .envInfo dt::after {
  2019. content: ":";
  2020. }
  2021. .envInfo dd {
  2022. margin-bottom: 0.5rem;
  2023. padding-left: 2rem;
  2024. font-family: monospace;
  2025. }
  2026. /*=== MOBILE */
  2027. /*===========*/
  2028. @media (max-width: 840px) {
  2029. :root {
  2030. --frss-padding-flux-items: 0.5rem;
  2031. }
  2032. .flux_header .item.website span,
  2033. .item .date,
  2034. .dropdown-menu > .no-mobile,
  2035. .no-mobile,
  2036. .aside_feed .tree-folder-items .item .no-dropdown-toggle {
  2037. display: none;
  2038. }
  2039. .only-mobile {
  2040. display: unset !important;
  2041. }
  2042. .header > .item {
  2043. padding: 5px;
  2044. }
  2045. .header > .item.title {
  2046. width: 75%;
  2047. text-align: left;
  2048. }
  2049. .header > .item.title .logo {
  2050. height: 24px;
  2051. }
  2052. header .item.search form {
  2053. display: none;
  2054. }
  2055. .aside.visible {
  2056. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  2057. }
  2058. .aside .toggle_aside,
  2059. #overlay .close,
  2060. .dropdown-menu .toggle_aside,
  2061. #slider .toggle_aside {
  2062. padding: 1rem 0;
  2063. display: block;
  2064. width: 100%;
  2065. border-bottom: 1px solid var(--frss-border-color);
  2066. text-align: center;
  2067. }
  2068. .aside:not(.aside_feed) {
  2069. overflow-y: auto;
  2070. }
  2071. nav.configure > .dropdown li.item.dropdown-section:last-child,
  2072. nav#aside_feed > ul li.item.nav-section:last-child {
  2073. margin-bottom: 6rem;
  2074. }
  2075. #dropdown-search-wrapper .dropdown-menu span {
  2076. text-wrap: wrap;
  2077. }
  2078. .form-advanced-title {
  2079. text-align: left;
  2080. }
  2081. .aside .feed .item-title {
  2082. padding-left: 0.75rem;
  2083. padding-right: 4rem;
  2084. display: block;
  2085. width: 100%;
  2086. box-sizing: border-box;
  2087. }
  2088. .aside .feed .item-title[data-unread="0"] {
  2089. padding-right: 1rem;
  2090. }
  2091. .flux .flux_header .item .title:has(~.date) {
  2092. padding-right: 1rem;
  2093. }
  2094. #overlay .close {
  2095. position: relative;
  2096. }
  2097. .form-group {
  2098. margin-bottom: 10px;
  2099. }
  2100. .form-group .group-name {
  2101. float: none;
  2102. width: auto;
  2103. text-align: left;
  2104. }
  2105. .form-group .group-controls {
  2106. margin-left: 0;
  2107. }
  2108. .favicon-controls {
  2109. display: flex;
  2110. flex-wrap: wrap;
  2111. margin-top: 0.8rem;
  2112. gap: 0.2em;
  2113. }
  2114. .dropdown {
  2115. position: inherit;
  2116. }
  2117. .dropdown .dropdown-header,
  2118. .dropdown .dropdown-section {
  2119. line-height: 2;
  2120. }
  2121. .dropdown .dropdown-menu {
  2122. left: 0.5rem !important;
  2123. right: 0.5rem !important;
  2124. position: absolute;
  2125. }
  2126. .dropdown .dropdown-menu .item {
  2127. margin: 2px 0;
  2128. }
  2129. .dropdown .dropdown-menu .item .stick .btn {
  2130. margin: 0;
  2131. }
  2132. .dropdown .dropdown-menu .item form {
  2133. display: block;
  2134. text-align: center;
  2135. }
  2136. .dropdown .dropdown-menu .item .stick.search {
  2137. width: calc(100% - 20px);
  2138. }
  2139. .dropdown .dropdown-menu .item .stick.search input {
  2140. width: 95%;
  2141. }
  2142. .dropdown .dropdown-menu .item button.as-link,
  2143. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  2144. width: 100%;
  2145. }
  2146. .dropdown-target:target ~ .dropdown-toggle {
  2147. position: relative;
  2148. overflow: visible;
  2149. }
  2150. .dropdown-target:target ~ .dropdown-toggle::after {
  2151. background-color: var(--frss-background-color);
  2152. width: 10px;
  2153. height: 10px;
  2154. content: "";
  2155. position: absolute;
  2156. right: 8px;
  2157. bottom: -17px;
  2158. transform: rotate(45deg);
  2159. z-index: 9999;
  2160. cursor: default;
  2161. }
  2162. .horizontal-list.bottom .dropdown-target:target ~ .dropdown-toggle::after {
  2163. top: 31px;
  2164. left: 10px;
  2165. }
  2166. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  2167. margin-top: 10px;
  2168. }
  2169. .configure .dropdown .dropdown-menu {
  2170. width: 90%;
  2171. height: 100vh;
  2172. top: 0;
  2173. right: 0 !important;
  2174. bottom: 0;
  2175. left: auto !important;
  2176. position: fixed;
  2177. padding-top: 0;
  2178. margin-top: 0;
  2179. overflow: auto;
  2180. box-shadow: -3px 0 3px var(--frss-box-shadow-color-transparent);
  2181. }
  2182. #nav_menu_read_all .dropdown-target ~ .dropdown-toggle .icon {
  2183. display: none;
  2184. }
  2185. #nav_menu_read_all .dropdown-target ~ .dropdown-toggle::before {
  2186. content: '✓';
  2187. }
  2188. #nav_menu_read_all .read_all.btn {
  2189. display: none;
  2190. }
  2191. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  2192. content: none;
  2193. }
  2194. .dropdown-target:target ~ .dropdown-menu {
  2195. display: table-cell;
  2196. z-index: 1000;
  2197. }
  2198. .dropdown-menu::after {
  2199. display: none;
  2200. }
  2201. .configure .dropdown-header-close,
  2202. .nav-login {
  2203. display: block;
  2204. }
  2205. .nav_menu {
  2206. padding-left: 0.5rem;
  2207. .toggle_aside {
  2208. display: inline-block;
  2209. }
  2210. #nav_menu_toggle_aside {
  2211. position: unset;
  2212. }
  2213. }
  2214. .aside.visible + .close-aside,
  2215. .configure .dropdown-target:target ~ .dropdown-close {
  2216. background-color: var(--frss-modal-background-color-transparent);
  2217. display: block;
  2218. font-size: 0;
  2219. position: fixed;
  2220. top: 0;
  2221. bottom: 0;
  2222. left: 0;
  2223. right: 0;
  2224. cursor: default;
  2225. z-index: 99;
  2226. }
  2227. .nav_menu.nav_mobile {
  2228. display: block;
  2229. }
  2230. .nav_mobile {
  2231. display: initial;
  2232. }
  2233. .aside {
  2234. position: fixed;
  2235. top: 0; bottom: 0;
  2236. left: -1px;
  2237. width: 0;
  2238. overflow: hidden;
  2239. z-index: 100;
  2240. }
  2241. .aside.visible,
  2242. .reader .aside.visible {
  2243. width: 90%;
  2244. height: 100vh;
  2245. }
  2246. .aside_feed .configure-feeds {
  2247. margin-top: 10px;
  2248. }
  2249. .aside_feed .tree-folder-items .feed .favicon {
  2250. margin: 0 0.5rem 0 0;
  2251. padding: 0;
  2252. }
  2253. .flux_header .item.website {
  2254. width: 40px;
  2255. }
  2256. .flux:not(.current):hover .item.title {
  2257. position: relative;
  2258. width: auto;
  2259. white-space: nowrap;
  2260. top: 0;
  2261. }
  2262. .content header,
  2263. .content .text,
  2264. .content footer {
  2265. padding: 1rem;
  2266. }
  2267. table {
  2268. font-size: 0.9rem;
  2269. }
  2270. th, td {
  2271. padding: 0.25rem;
  2272. }
  2273. .notification {
  2274. padding: 0.75rem;
  2275. top: 0;
  2276. left: 0;
  2277. right: 0;
  2278. }
  2279. #nav_entries {
  2280. display: flex !important;
  2281. width: 100%;
  2282. }
  2283. #panel {
  2284. top: 0; bottom: 0;
  2285. left: 0; right: 0;
  2286. position: relative;
  2287. height: calc(100vh - 3.5rem);
  2288. }
  2289. #slider.active:target {
  2290. width: 100%;
  2291. }
  2292. #close-slider img {
  2293. display: initial;
  2294. }
  2295. #slider.active:target #close-slider img {
  2296. display: initial;
  2297. position: initial;
  2298. filter: initial;
  2299. }
  2300. #slider.active:target + #close-slider {
  2301. display: none;
  2302. }
  2303. }
  2304. /*=== PRINTER */
  2305. /*============*/
  2306. @media print {
  2307. /* This hides the headers and footers in the printed document on Chrome */
  2308. /* Supported since Chrome 131: https://developer.chrome.com/release-notes/131#page_margin_boxes */
  2309. @page {
  2310. /* Firefox and Safari do not support those yet */
  2311. /* See: https://developer.mozilla.org/en-US/docs/Web/CSS/@page#browser_compatibility */
  2312. @top-left { content: ''; }
  2313. @top-right { content: ''; }
  2314. @bottom-left { content: ''; }
  2315. @bottom-right { content: ''; }
  2316. }
  2317. .header, .aside,
  2318. .nav_menu, .transition,
  2319. .flux_header,
  2320. .flux_content .bottom,
  2321. .pagination,
  2322. #stream-footer,
  2323. #nav_entries,
  2324. .dropdown-toggle {
  2325. display: none;
  2326. }
  2327. html, body {
  2328. background-color: var(--frss-background-color);
  2329. font-family: Serif;
  2330. }
  2331. #global,
  2332. .flux_content {
  2333. display: block !important;
  2334. }
  2335. .flux_content .content {
  2336. width: 100% !important;
  2337. }
  2338. .flux_content .content a {
  2339. color: var(--frss-font-color-dark);
  2340. }
  2341. .flux_content .content a::after {
  2342. content: " [" attr(href) "] ";
  2343. font-style: italic;
  2344. }
  2345. }
  2346. /*=== PREVIEW */
  2347. /*===========*/
  2348. .preview_controls {
  2349. margin-left: auto;
  2350. margin-right: auto;
  2351. padding: 1rem;
  2352. max-width: 1000px;
  2353. text-align: center;
  2354. background-color: var(--frss-background-color-middle);
  2355. border: 1px solid var(--frss-border-color);
  2356. border-radius: .25rem;
  2357. }
  2358. .preview_controls label {
  2359. display: inline;
  2360. }
  2361. .preview_controls label input[type="radio"] {
  2362. margin-top: -4px;
  2363. }
  2364. .preview_controls label + label {
  2365. margin-left: 1rem;
  2366. }
  2367. .drag-drop-marker {
  2368. margin: -1px;
  2369. }