frss.css 50 KB

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