frss.rtl.css 50 KB

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