frss.rtl.css 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983
  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: right;
  163. }
  164. .help .icon {
  165. filter: brightness(2);
  166. }
  167. .help > ul {
  168. padding-right: 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 0 0.25rem;
  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-right: 3px;
  295. padding-left: 3px;
  296. text-align: center;
  297. }
  298. textarea[rows="2"] {
  299. height: 4em;
  300. }
  301. textarea: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-right: 1em;
  336. margin-left: 0.5rem;
  337. width: 1rem;
  338. }
  339. .dropdown-menu .item .checkboxNewTag {
  340. display: none;
  341. }
  342. .dropdown-menu .item label:not(.noHover) {
  343. padding-right: 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: right;
  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: right;
  396. }
  397. .prompt label,
  398. .prompt .help {
  399. text-align: right;
  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: right;
  426. width: 200px;
  427. text-align: left;
  428. }
  429. .form-group .group-controls {
  430. min-width: 200px;
  431. margin: 0 220px 0 0;
  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: left;
  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. right: -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-left: 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-right: 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: left 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: right 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. right: 5px;
  561. left: 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: right 0.6s, left 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. right: unset;
  579. left: 5px;
  580. }
  581. .switch.active:not([disabled]):hover::before {
  582. left: 8px;
  583. }
  584. /* ::after = background */
  585. .switch::after {
  586. content: "";
  587. position: absolute;
  588. top: 50%;
  589. left: 8px;
  590. width: 12px;
  591. height: 12px;
  592. transform: translateY(-50%);
  593. }
  594. .switch.active::after {
  595. width: 14px;
  596. height: 14px;
  597. right: 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. left: 0;
  673. scroll-margin-top: 2rem;
  674. scroll-margin-bottom: 2rem;
  675. }
  676. .horizontal-list.bottom .dropdown-menu {
  677. right: 0.5rem;
  678. left: auto;
  679. }
  680. .dropdown-menu::after {
  681. background-color: inherit;
  682. width: 10px;
  683. height: 10px;
  684. border-width: 1px 1px 0 0;
  685. border-style: solid;
  686. border-color: var(--frss-border-color);
  687. content: "";
  688. position: absolute;
  689. top: -6px;
  690. left: 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. right: 0.5rem;
  700. left: 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. right: 0; left: 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 0 1.25rem 1.25rem;
  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 1.75rem 0.5rem 0.5rem;
  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) 2rem calc(var(--frss-padding-top-bottom) / 2) 0;
  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 0 0.5rem 1rem;
  908. }
  909. .box .box-content .item.feed .favicon {
  910. margin-left: 0.25rem;
  911. }
  912. .box .box-content .item.feed .icon {
  913. margin-right: 0.25rem;
  914. margin-left: 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: right;
  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 0 0.25rem;
  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. right: 0;
  1139. margin-right: 0.75rem
  1140. }
  1141. .aside_feed .tree-folder-items .dropdown {
  1142. vertical-align: baseline;
  1143. margin-left: 0.25rem;
  1144. }
  1145. .aside_feed .tree-folder-items .dropdown .dropdown-toggle {
  1146. padding: var(--frss-padding-top-bottom) 0.75rem var(--frss-padding-top-bottom) 0.25rem;
  1147. display: inline-block;
  1148. text-align: left;
  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. left: 0;
  1188. width: 50%;
  1189. overflow: hidden;
  1190. white-space: nowrap;
  1191. text-overflow: ellipsis;
  1192. }
  1193. .transition-next {
  1194. margin-right: .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-right: var(--frss-padding-flux-items);
  1214. padding-left: 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 .flux_header.has-date .item .title {
  1240. padding-left: 0.5rem;
  1241. z-index: 2;
  1242. }
  1243. .flux:not(.current):hover .item .title {
  1244. background-color: inherit;
  1245. }
  1246. .flux .flux_header .item.thumbnail {
  1247. line-height: 0;
  1248. padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items);
  1249. height: 80px;
  1250. }
  1251. .flux .flux_header .item.thumbnail .item-element {
  1252. padding: 0;
  1253. }
  1254. .flux .flux_header .item.thumbnail.small {
  1255. height: 40px;
  1256. }
  1257. .flux .flux_header .item.thumbnail.portrait {
  1258. width: 60px;
  1259. }
  1260. .flux .flux_header .item.thumbnail.square {
  1261. width: 80px;
  1262. }
  1263. .flux .flux_header .item.thumbnail.landscape {
  1264. width: 128px;
  1265. }
  1266. .flux .flux_header .item.thumbnail.portrait.small {
  1267. width: 30px;
  1268. }
  1269. .flux .flux_header .item.thumbnail.square.small {
  1270. width: 40px;
  1271. }
  1272. .flux .flux_header .item.thumbnail.landscape.small {
  1273. width: 64px;
  1274. }
  1275. .flux .flux_header .item.thumbnail img {
  1276. background: repeating-linear-gradient( 45deg, var(--frss-noThumbnailImage-background-color), var(--frss-noThumbnailImage-background-color) 5px, transparent 5px, transparent 10px );
  1277. display: inline-block;
  1278. width: 100%;
  1279. height: 100%;
  1280. overflow: hidden;
  1281. object-fit: cover;
  1282. }
  1283. .flux .flux_header .item.titleAuthorSummaryDate {
  1284. overflow: hidden;
  1285. flex: 1;
  1286. min-width: 0;
  1287. align-self: stretch;
  1288. display: grid;
  1289. grid-template-columns: minmax(0, 1fr) auto;
  1290. grid-template-areas: "title date"
  1291. "summary .";
  1292. align-content: center;
  1293. }
  1294. .flux .flux_header .item .title {
  1295. grid-area: title;
  1296. color: var(--frss-font-color-dark);
  1297. overflow: hidden;
  1298. text-overflow: ellipsis;
  1299. box-sizing: border-box;
  1300. text-decoration: none;
  1301. }
  1302. .flux .flux_header .item .summary {
  1303. grid-area: summary;
  1304. display: -webkit-box;
  1305. color: var(--frss-font-color-grey-dark);
  1306. font-size: 0.9rem;
  1307. font-weight: normal;
  1308. overflow: hidden;
  1309. text-overflow: ellipsis;
  1310. -webkit-line-clamp: 2;
  1311. -webkit-box-orient: vertical;
  1312. white-space: break-spaces;
  1313. margin-bottom: 0.5rem;
  1314. }
  1315. .flux .flux_header .item .title .author {
  1316. padding-right: 1rem;
  1317. color: var(--frss-font-color-grey-dark);
  1318. font-weight: normal;
  1319. }
  1320. .flux .flux_header .item .date {
  1321. grid-area: date;
  1322. text-align: left;
  1323. overflow: hidden;
  1324. }
  1325. .flux .flux_header .item > a {
  1326. display: block;
  1327. white-space: nowrap;
  1328. text-overflow: ellipsis;
  1329. overflow: hidden;
  1330. }
  1331. .flux .flux_header .date,
  1332. .flux .flux_content .bottom .date {
  1333. font-size: 0.7rem;
  1334. }
  1335. .item.query > a {
  1336. display: list-item;
  1337. list-style-position: inside;
  1338. list-style-type: decimal;
  1339. }
  1340. .flux_content .bottom .dropdown-toggle .icon {
  1341. margin-left: 0.25rem;
  1342. }
  1343. /*=== Feed article content */
  1344. .hide_posts > .flux:not(.active) > .flux_content {
  1345. display: none;
  1346. }
  1347. .content {
  1348. min-height: 20rem;
  1349. margin: auto;
  1350. line-height: 1.5;
  1351. overflow-wrap: break-word;
  1352. }
  1353. .content .text {
  1354. overflow-x: auto;
  1355. }
  1356. .content .text div {
  1357. overflow-x: auto;
  1358. }
  1359. .content header,
  1360. .content .text,
  1361. .content footer {
  1362. padding: 0 3rem;
  1363. }
  1364. .content header {
  1365. padding-top: calc(2 * var(--frss-padding-top-bottom));
  1366. padding-bottom: calc(var(--frss-padding-top-bottom));
  1367. }
  1368. .content footer {
  1369. padding-bottom: calc(2 * var(--frss-padding-top-bottom));
  1370. }
  1371. .content_large {
  1372. max-width: 1100px;
  1373. }
  1374. .content_medium {
  1375. max-width: 900px;
  1376. }
  1377. .content_thin {
  1378. max-width: 650px;
  1379. }
  1380. .content .article-header-topline {
  1381. margin-bottom: 0.75rem;
  1382. }
  1383. .content > header,
  1384. .content > footer {
  1385. color: var(--frss-font-color-grey-light);
  1386. font-size: 0.9rem;
  1387. }
  1388. .content > footer {
  1389. padding-top: 1rem;
  1390. clear: both;
  1391. }
  1392. .content > footer .subtitle {
  1393. padding: 2rem 0 1rem;
  1394. border-top: 2px solid var(--frss-border-color);
  1395. }
  1396. .content > header .tags,
  1397. .content > footer .tags {
  1398. display: flex;
  1399. line-height: 1;
  1400. }
  1401. .content > header .tags .icon,
  1402. .content > header .website .favicon,
  1403. .content > footer .tags .icon {
  1404. margin: 0 0 0 0.5rem;
  1405. line-height: 1.5;
  1406. }
  1407. .content > header .tags .list-tags,
  1408. .content > footer .tags .list-tags {
  1409. margin: 0;
  1410. padding: 0;
  1411. display: inline-block;
  1412. list-style: none;
  1413. }
  1414. .content > header .tags .list-tags .item.tag,
  1415. .content > footer .tags .list-tags .item.tag {
  1416. padding: 0 0 0 0.75rem;
  1417. display: inline-block;
  1418. line-height: 1.5;
  1419. }
  1420. .content > header .tags .list-tags .item.tag a.link-tag,
  1421. .content > footer .tags .list-tags .item.tag a.link-tag {
  1422. display: inline;
  1423. }
  1424. .content > header h1 {
  1425. margin: 0.5rem 0;
  1426. }
  1427. .content .text ul,
  1428. .content .text ol,
  1429. .content .text dd {
  1430. margin: 0 1rem 0 0;
  1431. padding: 0 1rem 0.25rem 0;
  1432. }
  1433. .content .article-header-topline.horizontal-list .item.manage,
  1434. .content .subtitle.horizontal-list .item.manage {
  1435. text-align: right;
  1436. width: 2rem;
  1437. }
  1438. .content .article-header-topline.horizontal-list .item.manage a,
  1439. .content .subtitle.horizontal-list .item.manage a {
  1440. padding: 0.5rem 0.25rem;
  1441. }
  1442. .content .article-header-topline.horizontal-list .item,
  1443. .content .subtitle.horizontal-list .item {
  1444. align-self: flex-start;
  1445. }
  1446. .content .article-header-topline.horizontal-list .item .website,
  1447. .content .subtitle.horizontal-list .item .website {
  1448. display: inline-block;
  1449. max-width: 100%;
  1450. overflow: hidden;
  1451. text-overflow: ellipsis;
  1452. white-space: nowrap;
  1453. vertical-align: top;
  1454. }
  1455. .content .subtitle.horizontal-list .item .author {
  1456. display: inline-block;
  1457. }
  1458. .content .subtitle.horizontal-list .item.date {
  1459. padding: 0.25rem;
  1460. width: 155px;
  1461. text-align: left;
  1462. }
  1463. .content .article-header-topline.horizontal-list .item.link,
  1464. .content .subtitle.horizontal-list .item.link {
  1465. text-align: left;
  1466. }
  1467. .content .article-header-topline.horizontal-list .item.link a,
  1468. .content .subtitle.horizontal-list .item.link a {
  1469. padding: 0.25rem 0.5rem;
  1470. }
  1471. .content pre {
  1472. margin: 10px auto;
  1473. padding: 10px 20px;
  1474. overflow: auto;
  1475. font-size: 0.9rem;
  1476. }
  1477. .content code {
  1478. padding: 2px 5px;
  1479. border: 1px solid var(--frss-border-color);
  1480. }
  1481. .content pre code {
  1482. padding: 0;
  1483. border: none;
  1484. }
  1485. .subtitle > div {
  1486. display: inline;
  1487. }
  1488. .subtitle:not(.horizontal-list) > div:not(:first-of-type)::before {
  1489. content: ' · ';
  1490. }
  1491. /*=== Notification and actualize notification */
  1492. .notification {
  1493. padding: 1rem 1rem 1rem 3.5rem;
  1494. position: absolute;
  1495. top: 1rem;
  1496. right: 25%; left: 25%;
  1497. z-index: 9999;
  1498. background-color: var(--frss-background-color);
  1499. font-weight: bold;
  1500. font-size: 0.9rem;
  1501. border: 1px solid var(--frss-border-color);
  1502. opacity: 1;
  1503. text-align: center;
  1504. line-height: 2;
  1505. vertical-align: middle;
  1506. visibility: visible;
  1507. transition: visibility 0s, opacity .3s linear;
  1508. }
  1509. .notification.closed {
  1510. opacity: 0;
  1511. visibility: hidden;
  1512. }
  1513. .notification .close {
  1514. padding: 0 1rem;
  1515. position: absolute;
  1516. top: 0; bottom: 0;
  1517. left: 0;
  1518. display: inline-block;
  1519. line-height: 3;
  1520. border: 0;
  1521. background-color: transparent;
  1522. cursor: pointer;
  1523. }
  1524. #actualizeProgress {
  1525. position: fixed;
  1526. }
  1527. #actualizeProgress progress {
  1528. max-width: 100%;
  1529. vertical-align: middle;
  1530. }
  1531. #actualizeProgress .progress {
  1532. vertical-align: middle;
  1533. }
  1534. /*=== Popup */
  1535. #popup {
  1536. display: none;
  1537. position: fixed;
  1538. z-index: 200;
  1539. right: 0;
  1540. top: 0;
  1541. width: 100%;
  1542. height: 100%;
  1543. overflow: auto;
  1544. background-color: var(--frss-modal-background-color-transparent);
  1545. }
  1546. #popup-content {
  1547. margin: 5rem auto;
  1548. display: table;
  1549. width: 80%;
  1550. height: 80%;
  1551. overflow: hidden;
  1552. background-color: var(--frss-background-color);
  1553. border-radius: .25rem;
  1554. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1555. }
  1556. .popup-row {
  1557. display: table-row;
  1558. width: 100%;
  1559. }
  1560. #popup-close {
  1561. float: left;
  1562. width: 27px;
  1563. height: 22px;
  1564. padding-top: 5px;
  1565. }
  1566. #popup-close:hover,
  1567. #popup-close:focus {
  1568. color: var(--frss-font-color-dark);
  1569. text-decoration: none;
  1570. cursor: pointer;
  1571. }
  1572. #popup-iframe-container {
  1573. display: none;
  1574. height: 100%;
  1575. }
  1576. #popup-iframe-sub {
  1577. padding: 10px;
  1578. height: 100%;
  1579. }
  1580. #popup-iframe {
  1581. width: 100%;
  1582. height: 100%;
  1583. }
  1584. /*=== Navigation menu (for articles) */
  1585. #nav_entries {
  1586. display: flex;
  1587. position: fixed;
  1588. bottom: 0; right: 0;
  1589. width: var(--width-aside);
  1590. padding-bottom: env(safe-area-inset-bottom);
  1591. z-index: 50;
  1592. }
  1593. .aside:not(.visible) ~ #nav_entries {
  1594. display: none;
  1595. }
  1596. #nav_entries button {
  1597. background-color: transparent;
  1598. flex: 1;
  1599. height: 3rem;
  1600. border: 0;
  1601. cursor: pointer;
  1602. }
  1603. #nav_entries button:hover {
  1604. background-color: var(--frss-darken-background-hover-transparent);
  1605. }
  1606. /*=== "Load" parts */
  1607. #first_load {
  1608. margin: 130px auto -170px auto;
  1609. height: 40px;
  1610. }
  1611. #load_more {
  1612. min-height: 40px;
  1613. }
  1614. #load_more.loading,
  1615. #load_more.loading:hover {
  1616. position: relative;
  1617. min-width: 40px;
  1618. background: none;
  1619. border-color: transparent;
  1620. font-size: 0;
  1621. }
  1622. #load_more.loading::after,
  1623. #button-update-loading::after,
  1624. .loading::after {
  1625. content: "";
  1626. position: absolute;
  1627. border: 3px solid currentColor;
  1628. border-left-color: transparent;
  1629. border-radius: 50%;
  1630. opacity: 0.7;
  1631. animation: frss-spin 1s linear infinite;
  1632. }
  1633. #load_more.loading::after,
  1634. .loading::after {
  1635. top: calc(50% - 12px);
  1636. right: calc(50% - 12px);
  1637. width: 24px;
  1638. height: 24px;
  1639. }
  1640. #button-update-loading::after {
  1641. top: calc(50% - 0.5rem);
  1642. right: 0.5rem;
  1643. width: 1rem;
  1644. height: 1rem;
  1645. border-width: 2px;
  1646. }
  1647. @keyframes frss-spin {
  1648. to { transform: rotate(-360deg); }
  1649. }
  1650. @media (prefers-reduced-motion: reduce) {
  1651. #load_more.loading::after,
  1652. #button-update-loading::after,
  1653. .loading::after { animation: none; }
  1654. }
  1655. .loading {
  1656. position: relative;
  1657. font-size: 0;
  1658. }
  1659. #bigMarkAsRead.big {
  1660. margin: 0 0 100% 0;
  1661. margin: 0 0 100vh 0;
  1662. padding: 1em 0 50px 0;
  1663. display: block;
  1664. width: 100%;
  1665. text-align: center;
  1666. font-size: 1.25rem;
  1667. }
  1668. #bigMarkAsRead.big .bigTick {
  1669. font-size: 4rem;
  1670. }
  1671. #bigMarkAsRead.small .bigTick {
  1672. font-size: 2rem;
  1673. }
  1674. /*=== Statistiques */
  1675. .box .box-title .btn {
  1676. position: absolute;
  1677. left: 1rem;
  1678. line-height: 1;
  1679. min-height: 1rem;
  1680. padding: 0.25rem;
  1681. text-align: center;
  1682. }
  1683. /*=== GLOBAL VIEW */
  1684. /*================*/
  1685. #stream.global {
  1686. text-align: center;
  1687. }
  1688. #stream.global .box {
  1689. text-align: right;
  1690. }
  1691. #global #panel {
  1692. bottom: 99vh;
  1693. display: block;
  1694. transition: visibility .3s, bottom .3s;
  1695. visibility: hidden;
  1696. }
  1697. #global #panel.visible {
  1698. bottom: 2%;
  1699. visibility: visible;
  1700. }
  1701. /*=== Panel */
  1702. #overlay {
  1703. position: fixed;
  1704. top: 0; bottom: 0;
  1705. right: 0; left: 0;
  1706. background-color: var(--frss-modal-background-color-transparent);
  1707. opacity: 0;
  1708. transition: visibility .3s, opacity .3s;
  1709. visibility: hidden;
  1710. }
  1711. #overlay.visible {
  1712. opacity: 1;
  1713. visibility: visible;
  1714. }
  1715. #panel {
  1716. background-color: var(--frss-background-color);
  1717. display: none;
  1718. position: fixed;
  1719. top: 2%; bottom: 2%;
  1720. right: 3%; left: 3%;
  1721. overflow: auto;
  1722. }
  1723. #overlay .close {
  1724. position: fixed;
  1725. top: 0; bottom: 0;
  1726. right: 0; left: 0;
  1727. display: block;
  1728. }
  1729. /*=== Slider */
  1730. html.slider-active {
  1731. overflow: hidden;
  1732. }
  1733. #slider {
  1734. background-color: var(--frss-background-color);
  1735. width: 0;
  1736. position: fixed;
  1737. top: 0; bottom: 0;
  1738. left: 0;
  1739. overflow: auto;
  1740. z-index: 100;
  1741. }
  1742. #slider.active:target {
  1743. width: 750px;
  1744. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1745. outline: none;
  1746. }
  1747. #slider.sliding {
  1748. transition: width 100ms ease-in;
  1749. }
  1750. #close-slider {
  1751. position: fixed;
  1752. top: 0; bottom: 0;
  1753. right: 100%; left: 0;
  1754. cursor: pointer;
  1755. }
  1756. #slider.active:target + #close-slider {
  1757. background-color: var(--frss-modal-background-color-transparent);
  1758. font-size: 0;
  1759. right: 0;
  1760. z-index: 99;
  1761. }
  1762. #close-slider img {
  1763. display: none;
  1764. }
  1765. #slider.active:target + #close-slider img {
  1766. padding: 0.5rem;
  1767. display: inline-block;
  1768. position: absolute;
  1769. top: 0.5rem;
  1770. right: 0.5rem;
  1771. filter: grayscale(100%) brightness(2.5);
  1772. }
  1773. /*=== Configuration pages */
  1774. .post {
  1775. padding: 1rem 2rem;
  1776. font-size: 0.9em;
  1777. }
  1778. .post form {
  1779. margin: 1rem 0;
  1780. }
  1781. .post.content.centered {
  1782. max-width: 550px;
  1783. }
  1784. /*=== SLIDESHOW Theme Preview */
  1785. /*==============*/
  1786. .theme-preview-list {
  1787. margin: 0.5rem 0;
  1788. padding: 0;
  1789. display: block;
  1790. max-width: 640px;
  1791. height: 320px;
  1792. border: 1px solid var(--frss-border-color);
  1793. position: relative;
  1794. min-width: 260px;
  1795. }
  1796. .theme-preview-list .preview-container {
  1797. display: block;
  1798. }
  1799. .theme-preview-list .preview {
  1800. display: block;
  1801. width: 100%;
  1802. height: 100%;
  1803. top: 0;
  1804. opacity: 0;
  1805. position: absolute;
  1806. }
  1807. .theme-preview-list .preview img {
  1808. width: 100%;
  1809. height: 100%;
  1810. }
  1811. .theme-preview-list .properties {
  1812. padding: 5px;
  1813. background-color: var(--frss-background-color-transparent);
  1814. display: none;
  1815. border-top: 1px solid var(--frss-border-color);
  1816. bottom: 0;
  1817. right: 0; left: 0;
  1818. position: absolute;
  1819. z-index: 10;
  1820. backdrop-filter: blur(3px);
  1821. }
  1822. .preview-container.picked .preview {
  1823. opacity: 1;
  1824. transform: scale(1);
  1825. transition: opacity .5s ease-in-out;
  1826. }
  1827. .preview-container.picked .properties {
  1828. display: block;
  1829. }
  1830. /*=== DIVERS */
  1831. /*===========*/
  1832. .log-level {
  1833. text-align: center;
  1834. }
  1835. .log-item.log-error {
  1836. background-color: var(--frss-background-color-error-transparent);
  1837. }
  1838. .item.share.error a::after,
  1839. .theme-preview-list .properties .error::before {
  1840. content: " ⚠ ";
  1841. color: var(--frss-font-color-error);
  1842. }
  1843. .item.share button {
  1844. position: relative;
  1845. }
  1846. .item.share button::after {
  1847. content: "";
  1848. background: var(--frss-background-color-transparent);
  1849. display: inline-block;
  1850. position: absolute;
  1851. padding-top: 1rem;
  1852. opacity: 0;
  1853. transition: all 0.6s;
  1854. right: 0px;
  1855. width: 100%;
  1856. height: 1rem;
  1857. }
  1858. .item.share button:active::after {
  1859. opacity: 1;
  1860. width: 0;
  1861. transition: 0s
  1862. }
  1863. .item.share button.ok::before {
  1864. content: "✓";
  1865. position: absolute;
  1866. right: 0.5rem;
  1867. animation-duration: 10s;
  1868. animation-fill-mode: both;
  1869. animation-name: easeOut;
  1870. }
  1871. .item.share button.error::before {
  1872. content: "❌";
  1873. position: absolute;
  1874. right: 0.25rem;
  1875. }
  1876. .item.share button.error {
  1877. text-decoration: line-through;
  1878. }
  1879. @keyframes easeOut {
  1880. 0% {opacity: 1;}
  1881. 80% {opacity: 1;}
  1882. 100% {opacity: 0;}
  1883. }
  1884. .deprecated {
  1885. font-weight: bold;
  1886. }
  1887. .feed.item.error.active .item-title::before {
  1888. color: var(--frss-font-color-light);
  1889. }
  1890. .feed[data-priority="20"] .item-title,
  1891. .flux[data-priority="20"] .website > a {
  1892. text-decoration: underline double;
  1893. }
  1894. .aside .feed .item-title {
  1895. padding: var(--frss-padding-top-bottom) 0 var(--frss-padding-top-bottom) 3.5rem;
  1896. }
  1897. .aside .category .tree-folder-title .title:not([data-unread="0"])::after,
  1898. .aside .feed .item-title:not([data-unread="0"])::after {
  1899. margin: var(--frss-padding-top-bottom) 0 0 0;
  1900. padding: 0.25rem 0.5rem;
  1901. min-width: 2rem;
  1902. display: block;
  1903. content: attr(data-unread);
  1904. position: absolute;
  1905. top: 0;
  1906. left: 0.75rem;
  1907. text-align: center;
  1908. font-size: 0.9rem;
  1909. border-radius: 0.75rem;
  1910. line-height: 1;
  1911. font-weight: initial;
  1912. }
  1913. /* Faint dot shown in place of the count badge when [data-unread-hide] is present */
  1914. .aside .category .tree-folder-title .title[data-unread-hide]:not([data-unread="0"])::after,
  1915. .aside .feed .item-title[data-unread-hide]:not([data-unread="0"])::after {
  1916. content: "·";
  1917. opacity: 0.5;
  1918. pointer-events: none;
  1919. }
  1920. .aside .category .title:not([data-unread="0"])::after {
  1921. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1922. }
  1923. .global .box.category .title:not([data-unread="0"])::after {
  1924. margin: 0.5rem 0 0 0;
  1925. padding: 5px 10px;
  1926. min-width: 20px;
  1927. display: block;
  1928. content: attr(data-unread);
  1929. position: absolute;
  1930. top: 0;
  1931. left: 10px;
  1932. text-align: center;
  1933. font-size: 0.75rem;
  1934. border-radius: 12px;
  1935. line-height: 1;
  1936. font-weight: initial;
  1937. }
  1938. .box .box-title .configure:not([data-cat-position=""])::after {
  1939. margin: 0.5rem 0px 0px;
  1940. padding: 5px 10px;
  1941. min-width: 20px;
  1942. display: block;
  1943. content: attr(data-cat-position);
  1944. position: absolute;
  1945. top: 0px;
  1946. left: 10px;
  1947. text-align: center;
  1948. font-size: 0.75rem;
  1949. border-radius: 12px;
  1950. line-height: 1;
  1951. font-weight: initial;
  1952. }
  1953. .feed .item-title:not([data-unread="0"])::after {
  1954. margin: 1em 0 0 0;
  1955. }
  1956. #stream.global .feed {
  1957. position: relative;
  1958. }
  1959. #stream.global .feed .item-title:not([data-unread="0"])::after {
  1960. margin: 0.5rem 0px 0px;
  1961. padding: 5px 10px;
  1962. min-width: 20px;
  1963. display: block;
  1964. content: attr(data-unread);
  1965. position: absolute;
  1966. top: 0px;
  1967. left: 0px;
  1968. text-align: center;
  1969. font-size: 0.75rem;
  1970. border-radius: 12px;
  1971. line-height: 1;
  1972. font-weight: initial;
  1973. text-indent: 0;
  1974. }
  1975. .feed.active .item-title:not([data-unread="0"])::after {
  1976. color: var(--frss-font-color-light);
  1977. border: 1px solid var(--frss-border-color);
  1978. font-weight: bold;
  1979. }
  1980. .feed .item-title:not([data-unread="0"]) {
  1981. font-weight: bold;
  1982. width: calc(100% - 6rem);
  1983. }
  1984. .state_unread .category:not(.active)[data-unread="0"],
  1985. .state_unread .feed:not(.active)[data-unread="0"] {
  1986. display: none;
  1987. }
  1988. .nav_menu {
  1989. padding-top: var(--frss-padding-top-bottom);
  1990. padding-bottom: var(--frss-padding-top-bottom);
  1991. padding-right: 3rem;
  1992. padding-left: 0.5rem;
  1993. background: inherit;
  1994. text-align: center;
  1995. position: relative;
  1996. .stick {
  1997. max-width: 500px;
  1998. }
  1999. select {
  2000. max-width: 300px;
  2001. width: 60%;
  2002. }
  2003. #nav_menu_toggle_aside {
  2004. position: absolute;
  2005. right: 0.5rem;
  2006. }
  2007. }
  2008. .nav_mobile {
  2009. display: none;
  2010. }
  2011. .nav-login,
  2012. .aside .toggle_aside,
  2013. #slider .toggle_aside,
  2014. .configure .dropdown-header-close {
  2015. display: none;
  2016. }
  2017. .enclosure [download] {
  2018. font-size: 3rem;
  2019. margin-right: .8em;
  2020. }
  2021. .default-user {
  2022. font-style: italic;
  2023. }
  2024. .disabled-user {
  2025. opacity: 0.5;
  2026. }
  2027. /*=== READER */
  2028. /*===========*/
  2029. .reader .aside {
  2030. display: none;
  2031. }
  2032. .reader .aside.visible {
  2033. display: table-cell;
  2034. width: var(--width-aside);
  2035. }
  2036. .reader .flux {
  2037. padding: 1rem 0 2rem;
  2038. }
  2039. .reader .flux .flux_content {
  2040. padding: 3rem 0;
  2041. background-color: var(--frss-background-color);
  2042. border: 1px solid var(--frss-border-color);
  2043. }
  2044. .reader .flux_content {
  2045. margin: auto;
  2046. }
  2047. .reader .content ~ footer {
  2048. padding: 0 3rem;
  2049. }
  2050. #loglist-wrapper {
  2051. overflow-x: auto;
  2052. }
  2053. .envInfo summary {
  2054. margin-top: 0.5rem;
  2055. padding-right: 0.25rem;
  2056. font-weight: bold;
  2057. cursor: pointer;
  2058. }
  2059. .envInfo dl {
  2060. margin: 1rem 1.5rem 2rem 2rem;
  2061. padding: 2rem 2rem 2rem 4rem;
  2062. border: 1px solid var(--frss-border-color);
  2063. }
  2064. .envInfo dt::after {
  2065. content: ":";
  2066. }
  2067. .envInfo dd {
  2068. margin-bottom: 0.5rem;
  2069. padding-right: 2rem;
  2070. font-family: monospace;
  2071. }
  2072. /*=== MOBILE */
  2073. /*===========*/
  2074. @media (max-width: 840px) {
  2075. :root {
  2076. --frss-padding-flux-items: 0.5rem;
  2077. }
  2078. .flux_header .item.website span,
  2079. .item .date,
  2080. .dropdown-menu > .no-mobile,
  2081. .no-mobile,
  2082. .aside_feed .tree-folder-items .item .no-dropdown-toggle {
  2083. display: none;
  2084. }
  2085. .only-mobile {
  2086. display: unset !important;
  2087. }
  2088. .header > .item {
  2089. padding: 5px;
  2090. }
  2091. .header > .item.title {
  2092. width: 75%;
  2093. text-align: right;
  2094. }
  2095. .header > .item.title .logo {
  2096. height: 24px;
  2097. }
  2098. header .item.search form {
  2099. display: none;
  2100. }
  2101. /* Material navigation drawer: theme width, capped at viewport minus 56px touch-peek */
  2102. .aside.visible {
  2103. width: min(var(--width-aside), calc(100vw - 56px));
  2104. height: 100vh;
  2105. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  2106. }
  2107. .aside .toggle_aside,
  2108. #overlay .close,
  2109. .dropdown-menu .toggle_aside,
  2110. #slider .toggle_aside {
  2111. padding: 1rem 0;
  2112. display: block;
  2113. width: 100%;
  2114. border-bottom: 1px solid var(--frss-border-color);
  2115. text-align: center;
  2116. }
  2117. .aside:not(.aside_feed) {
  2118. overflow-y: auto;
  2119. }
  2120. nav.configure > .dropdown li.item.dropdown-section:last-child,
  2121. nav#aside_feed > ul li.item.nav-section:last-child {
  2122. margin-bottom: 6rem;
  2123. }
  2124. #dropdown-search-wrapper .dropdown-menu span {
  2125. text-wrap: wrap;
  2126. }
  2127. .form-advanced-title {
  2128. text-align: right;
  2129. }
  2130. .aside .feed .item-title {
  2131. padding-right: 0.75rem;
  2132. padding-left: 4rem;
  2133. display: block;
  2134. width: 100%;
  2135. box-sizing: border-box;
  2136. }
  2137. .aside .feed .item-title[data-unread="0"] {
  2138. padding-left: 1rem;
  2139. }
  2140. .flux .flux_header.has-thumbnail.has-summary {
  2141. display: grid;
  2142. grid-template-columns: auto 1fr auto auto auto;
  2143. grid-template-rows: auto auto;
  2144. grid-template-areas: "website website manage-read manage-bookmark manage-share manage-labels link"
  2145. "thumbnail content content content content content content";
  2146. align-items: start;
  2147. list-style: none;
  2148. }
  2149. .flux .flux_header.has-thumbnail.has-summary li.website .websiteName {
  2150. display: inline;
  2151. }
  2152. /** place all the elements in their respective template areas */
  2153. .flux .flux_header.has-thumbnail.has-summary li.website {
  2154. grid-area: website;
  2155. /** Show feed name */
  2156. width: auto;
  2157. }
  2158. .flux .flux_header.has-thumbnail.has-summary li.thumbnail {
  2159. grid-area: thumbnail;
  2160. }
  2161. .flux .flux_header.has-thumbnail.has-summary li.titleAuthorSummaryDate {
  2162. grid-area: content;
  2163. }
  2164. .flux .flux_header.has-thumbnail.has-summary li.manage:has(.read) {
  2165. grid-area: manage-read;
  2166. }
  2167. .flux .flux_header.has-thumbnail.has-summary li.manage:has(.bookmark) {
  2168. grid-area: manage-bookmark;
  2169. }
  2170. .flux .flux_header.has-thumbnail.has-summary li.link {
  2171. grid-area: link;
  2172. }
  2173. .flux .flux_header.has-thumbnail.has-summary li.labels {
  2174. grid-area: manage-labels
  2175. }
  2176. .flux .flux_header.has-thumbnail.has-summary li.share {
  2177. grid-area: manage-share
  2178. }
  2179. #overlay .close {
  2180. position: relative;
  2181. }
  2182. .form-group {
  2183. margin-bottom: 10px;
  2184. }
  2185. .form-group .group-name {
  2186. float: none;
  2187. width: auto;
  2188. text-align: right;
  2189. }
  2190. .form-group .group-controls {
  2191. margin-right: 0;
  2192. }
  2193. .favicon-controls {
  2194. display: flex;
  2195. flex-wrap: wrap;
  2196. margin-top: 0.8rem;
  2197. gap: 0.2em;
  2198. }
  2199. .dropdown {
  2200. position: inherit;
  2201. }
  2202. .dropdown .dropdown-header,
  2203. .dropdown .dropdown-section {
  2204. line-height: 2;
  2205. }
  2206. .dropdown .dropdown-menu {
  2207. right: 0.5rem !important;
  2208. left: 0.5rem !important;
  2209. position: absolute;
  2210. }
  2211. .dropdown .dropdown-menu .item {
  2212. margin: 2px 0;
  2213. }
  2214. .dropdown .dropdown-menu .item .stick .btn {
  2215. margin: 0;
  2216. }
  2217. .dropdown .dropdown-menu .item form {
  2218. display: block;
  2219. text-align: center;
  2220. }
  2221. .dropdown .dropdown-menu .item .stick.search {
  2222. width: calc(100% - 20px);
  2223. }
  2224. .dropdown .dropdown-menu .item .stick.search input {
  2225. width: 95%;
  2226. }
  2227. .dropdown .dropdown-menu .item button.as-link,
  2228. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  2229. width: 100%;
  2230. }
  2231. .dropdown-target:target ~ .dropdown-toggle {
  2232. position: relative;
  2233. overflow: visible;
  2234. }
  2235. .dropdown-target:target ~ .dropdown-toggle::after {
  2236. background-color: var(--frss-background-color);
  2237. width: 10px;
  2238. height: 10px;
  2239. content: "";
  2240. position: absolute;
  2241. left: 8px;
  2242. bottom: -17px;
  2243. transform: rotate(-45deg);
  2244. z-index: 9999;
  2245. cursor: default;
  2246. }
  2247. .horizontal-list.bottom .dropdown-target:target ~ .dropdown-toggle::after {
  2248. top: 31px;
  2249. right: 10px;
  2250. }
  2251. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  2252. margin-top: 10px;
  2253. }
  2254. .configure .dropdown .dropdown-menu {
  2255. width: 90%;
  2256. height: 100vh;
  2257. top: 0;
  2258. left: 0 !important;
  2259. bottom: 0;
  2260. right: auto !important;
  2261. position: fixed;
  2262. padding-top: 0;
  2263. margin-top: 0;
  2264. overflow: auto;
  2265. box-shadow: 3px 0 3px var(--frss-box-shadow-color-transparent);
  2266. }
  2267. #nav_menu_read_all .dropdown-target ~ .dropdown-toggle .icon {
  2268. display: none;
  2269. }
  2270. #nav_menu_read_all .dropdown-target ~ .dropdown-toggle::before {
  2271. content: '✓';
  2272. }
  2273. #nav_menu_read_all .read_all.btn {
  2274. display: none;
  2275. }
  2276. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  2277. content: none;
  2278. }
  2279. .dropdown-target:target ~ .dropdown-menu {
  2280. display: table-cell;
  2281. z-index: 1000;
  2282. }
  2283. .dropdown-menu::after {
  2284. display: none;
  2285. }
  2286. .configure .dropdown-header-close,
  2287. .nav-login {
  2288. display: block;
  2289. }
  2290. .nav_menu {
  2291. padding-right: 0.5rem;
  2292. .toggle_aside {
  2293. display: inline-block;
  2294. }
  2295. #nav_menu_toggle_aside {
  2296. position: unset;
  2297. }
  2298. }
  2299. .aside.visible + .close-aside,
  2300. .configure .dropdown-target:target ~ .dropdown-close {
  2301. background-color: var(--frss-modal-background-color-transparent);
  2302. display: block;
  2303. font-size: 0;
  2304. position: fixed;
  2305. top: 0;
  2306. bottom: 0;
  2307. right: 0;
  2308. left: 0;
  2309. cursor: default;
  2310. z-index: 99;
  2311. }
  2312. .nav_menu.nav_mobile {
  2313. display: block;
  2314. }
  2315. .nav_mobile {
  2316. display: initial;
  2317. }
  2318. .aside {
  2319. position: fixed;
  2320. top: 0; bottom: 0;
  2321. right: -1px;
  2322. width: 0;
  2323. overflow: hidden;
  2324. z-index: 100;
  2325. transition: width 100ms ease-in;
  2326. }
  2327. .aside.aside_feed {
  2328. padding: 0;
  2329. }
  2330. .aside_feed .configure-feeds {
  2331. margin-top: 10px;
  2332. }
  2333. .aside_feed .tree-folder-items .feed .favicon {
  2334. margin: 0 0 0 0.5rem;
  2335. padding: 0;
  2336. }
  2337. .flux_header .item.website {
  2338. width: 40px;
  2339. }
  2340. .flux:not(.current):hover .item.title {
  2341. position: relative;
  2342. width: auto;
  2343. white-space: nowrap;
  2344. top: 0;
  2345. }
  2346. .content header,
  2347. .content .text,
  2348. .content footer {
  2349. padding: 1rem;
  2350. }
  2351. table {
  2352. font-size: 0.9rem;
  2353. }
  2354. th, td {
  2355. padding: 0.25rem;
  2356. }
  2357. .notification {
  2358. padding: 0.75rem;
  2359. top: 0;
  2360. right: 0;
  2361. left: 0;
  2362. }
  2363. #nav_entries {
  2364. display: flex !important;
  2365. top: auto;
  2366. width: 100%;
  2367. }
  2368. #panel {
  2369. top: 0; bottom: 0;
  2370. right: 0; left: 0;
  2371. position: relative;
  2372. height: calc(100vh - 3.5rem);
  2373. }
  2374. #slider.active:target {
  2375. width: 100%;
  2376. }
  2377. #close-slider img {
  2378. display: initial;
  2379. }
  2380. #slider.active:target #close-slider img {
  2381. display: initial;
  2382. position: initial;
  2383. filter: initial;
  2384. }
  2385. #slider.active:target + #close-slider {
  2386. display: none;
  2387. }
  2388. }
  2389. /*=== PRINTER */
  2390. /*============*/
  2391. @media print {
  2392. /* This hides the headers and footers in the printed document on Chrome */
  2393. /* Supported since Chrome 131: https://developer.chrome.com/release-notes/131#page_margin_boxes */
  2394. @page {
  2395. /* Firefox and Safari do not support those yet */
  2396. /* See: https://developer.mozilla.org/en-US/docs/Web/CSS/@page#browser_compatibility */
  2397. @top-left { content: ''; }
  2398. @top-right { content: ''; }
  2399. @bottom-left { content: ''; }
  2400. @bottom-right { content: ''; }
  2401. }
  2402. .header, .aside,
  2403. .nav_menu, .transition,
  2404. .flux_header,
  2405. .flux_content .bottom,
  2406. .pagination,
  2407. #stream-footer,
  2408. #nav_entries,
  2409. .dropdown-toggle {
  2410. display: none;
  2411. }
  2412. html, body {
  2413. background-color: var(--frss-background-color);
  2414. font-family: Serif;
  2415. }
  2416. #global,
  2417. .flux_content {
  2418. display: block !important;
  2419. }
  2420. .flux_content .content {
  2421. width: 100% !important;
  2422. }
  2423. .flux_content .content a {
  2424. color: var(--frss-font-color-dark);
  2425. }
  2426. .flux_content .content a::after {
  2427. content: " [" attr(href) "] ";
  2428. font-style: italic;
  2429. }
  2430. }
  2431. /*=== PREVIEW */
  2432. /*===========*/
  2433. .preview_controls {
  2434. margin-right: auto;
  2435. margin-left: auto;
  2436. padding: 1rem;
  2437. max-width: 1000px;
  2438. text-align: center;
  2439. background-color: var(--frss-background-color-middle);
  2440. border: 1px solid var(--frss-border-color);
  2441. border-radius: .25rem;
  2442. }
  2443. .preview_controls label {
  2444. display: inline;
  2445. }
  2446. .preview_controls label input[type="radio"] {
  2447. margin-top: -4px;
  2448. }
  2449. .preview_controls label + label {
  2450. margin-right: 1rem;
  2451. }
  2452. .drag-drop-marker {
  2453. margin: -1px;
  2454. }