4
0

frss.rtl.css 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990
  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 .article-header-topline.horizontal-list .item .website,
  1453. .content .subtitle.horizontal-list .item .website {
  1454. display: inline-block;
  1455. max-width: 100%;
  1456. overflow: hidden;
  1457. text-overflow: ellipsis;
  1458. white-space: nowrap;
  1459. vertical-align: top;
  1460. }
  1461. .content .subtitle.horizontal-list .item .author {
  1462. display: inline-block;
  1463. }
  1464. .content .subtitle.horizontal-list .item.date {
  1465. padding: 0.25rem;
  1466. width: 155px;
  1467. text-align: left;
  1468. }
  1469. .content .article-header-topline.horizontal-list .item.link,
  1470. .content .subtitle.horizontal-list .item.link {
  1471. text-align: left;
  1472. }
  1473. .content .article-header-topline.horizontal-list .item.link a,
  1474. .content .subtitle.horizontal-list .item.link a {
  1475. padding: 0.25rem 0.5rem;
  1476. }
  1477. .content pre {
  1478. margin: 10px auto;
  1479. padding: 10px 20px;
  1480. overflow: auto;
  1481. font-size: 0.9rem;
  1482. }
  1483. .content code {
  1484. padding: 2px 5px;
  1485. border: 1px solid var(--frss-border-color);
  1486. }
  1487. .content pre code {
  1488. padding: 0;
  1489. border: none;
  1490. }
  1491. .subtitle > div {
  1492. display: inline;
  1493. }
  1494. .subtitle:not(.horizontal-list) > div:not(:first-of-type)::before {
  1495. content: ' · ';
  1496. }
  1497. /*=== Notification and actualize notification */
  1498. .notification {
  1499. padding: 1rem 1rem 1rem 3.5rem;
  1500. position: absolute;
  1501. top: 1rem;
  1502. right: 25%; left: 25%;
  1503. z-index: 9999;
  1504. background-color: var(--frss-background-color);
  1505. font-weight: bold;
  1506. font-size: 0.9rem;
  1507. border: 1px solid var(--frss-border-color);
  1508. opacity: 1;
  1509. text-align: center;
  1510. line-height: 2;
  1511. vertical-align: middle;
  1512. visibility: visible;
  1513. transition: visibility 0s, opacity .3s linear;
  1514. }
  1515. .notification.closed {
  1516. opacity: 0;
  1517. visibility: hidden;
  1518. }
  1519. .notification .close {
  1520. padding: 0 1rem;
  1521. position: absolute;
  1522. top: 0; bottom: 0;
  1523. left: 0;
  1524. display: inline-block;
  1525. line-height: 3;
  1526. border: 0;
  1527. background-color: transparent;
  1528. cursor: pointer;
  1529. }
  1530. #actualizeProgress {
  1531. position: fixed;
  1532. }
  1533. #actualizeProgress progress {
  1534. max-width: 100%;
  1535. vertical-align: middle;
  1536. }
  1537. #actualizeProgress .progress {
  1538. vertical-align: middle;
  1539. }
  1540. /*=== Popup */
  1541. #popup {
  1542. display: none;
  1543. position: fixed;
  1544. z-index: 200;
  1545. right: 0;
  1546. top: 0;
  1547. width: 100%;
  1548. height: 100%;
  1549. overflow: auto;
  1550. background-color: var(--frss-modal-background-color-transparent);
  1551. }
  1552. #popup-content {
  1553. margin: 5rem auto;
  1554. display: table;
  1555. width: 80%;
  1556. height: 80%;
  1557. overflow: hidden;
  1558. background-color: var(--frss-background-color);
  1559. border-radius: .25rem;
  1560. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1561. }
  1562. .popup-row {
  1563. display: table-row;
  1564. width: 100%;
  1565. }
  1566. #popup-close {
  1567. float: left;
  1568. width: 27px;
  1569. height: 22px;
  1570. padding-top: 5px;
  1571. }
  1572. #popup-close:hover,
  1573. #popup-close:focus {
  1574. color: var(--frss-font-color-dark);
  1575. text-decoration: none;
  1576. cursor: pointer;
  1577. }
  1578. #popup-iframe-container {
  1579. display: none;
  1580. height: 100%;
  1581. }
  1582. #popup-iframe-sub {
  1583. padding: 10px;
  1584. height: 100%;
  1585. }
  1586. #popup-iframe {
  1587. width: 100%;
  1588. height: 100%;
  1589. }
  1590. /*=== Navigation menu (for articles) */
  1591. #nav_entries {
  1592. display: flex;
  1593. position: fixed;
  1594. bottom: 0; right: 0;
  1595. width: var(--width-aside);
  1596. padding-bottom: env(safe-area-inset-bottom);
  1597. z-index: 50;
  1598. }
  1599. .aside:not(.visible) ~ #nav_entries {
  1600. display: none;
  1601. }
  1602. #nav_entries button {
  1603. background-color: transparent;
  1604. flex: 1;
  1605. height: 3rem;
  1606. border: 0;
  1607. cursor: pointer;
  1608. }
  1609. #nav_entries button:hover {
  1610. background-color: var(--frss-darken-background-hover-transparent);
  1611. }
  1612. /*=== "Load" parts */
  1613. #first_load {
  1614. margin: 130px auto -170px auto;
  1615. height: 40px;
  1616. }
  1617. #load_more {
  1618. min-height: 40px;
  1619. }
  1620. #load_more.loading,
  1621. #load_more.loading:hover {
  1622. position: relative;
  1623. min-width: 40px;
  1624. background: none;
  1625. border-color: transparent;
  1626. font-size: 0;
  1627. }
  1628. #load_more.loading::after,
  1629. #button-update-loading::after,
  1630. .loading::after {
  1631. content: "";
  1632. position: absolute;
  1633. border: 3px solid currentColor;
  1634. border-left-color: transparent;
  1635. border-radius: 50%;
  1636. opacity: 0.7;
  1637. animation: frss-spin 1s linear infinite;
  1638. }
  1639. #load_more.loading::after,
  1640. .loading::after {
  1641. top: calc(50% - 12px);
  1642. right: calc(50% - 12px);
  1643. width: 24px;
  1644. height: 24px;
  1645. }
  1646. #button-update-loading::after {
  1647. top: calc(50% - 0.5rem);
  1648. right: 0.5rem;
  1649. width: 1rem;
  1650. height: 1rem;
  1651. border-width: 2px;
  1652. }
  1653. @keyframes frss-spin {
  1654. to { transform: rotate(-360deg); }
  1655. }
  1656. @media (prefers-reduced-motion: reduce) {
  1657. #load_more.loading::after,
  1658. #button-update-loading::after,
  1659. .loading::after { animation: none; }
  1660. }
  1661. .loading {
  1662. position: relative;
  1663. font-size: 0;
  1664. }
  1665. #bigMarkAsRead.big {
  1666. margin: 0 0 100% 0;
  1667. margin: 0 0 100vh 0;
  1668. padding: 1em 0 50px 0;
  1669. display: block;
  1670. width: 100%;
  1671. text-align: center;
  1672. font-size: 1.25rem;
  1673. }
  1674. #bigMarkAsRead.big .bigTick {
  1675. font-size: 4rem;
  1676. }
  1677. #bigMarkAsRead.small .bigTick {
  1678. font-size: 2rem;
  1679. }
  1680. /*=== Statistiques */
  1681. .box .box-title .btn {
  1682. position: absolute;
  1683. left: 1rem;
  1684. line-height: 1;
  1685. min-height: 1rem;
  1686. padding: 0.25rem;
  1687. text-align: center;
  1688. }
  1689. /*=== GLOBAL VIEW */
  1690. /*================*/
  1691. #stream.global {
  1692. text-align: center;
  1693. }
  1694. #stream.global .box {
  1695. text-align: right;
  1696. }
  1697. #global #panel {
  1698. bottom: 99vh;
  1699. display: block;
  1700. transition: visibility .3s, bottom .3s;
  1701. visibility: hidden;
  1702. }
  1703. #global #panel.visible {
  1704. bottom: 2%;
  1705. visibility: visible;
  1706. }
  1707. /*=== Panel */
  1708. #overlay {
  1709. position: fixed;
  1710. top: 0; bottom: 0;
  1711. right: 0; left: 0;
  1712. background-color: var(--frss-modal-background-color-transparent);
  1713. opacity: 0;
  1714. transition: visibility .3s, opacity .3s;
  1715. visibility: hidden;
  1716. }
  1717. #overlay.visible {
  1718. opacity: 1;
  1719. visibility: visible;
  1720. }
  1721. #panel {
  1722. background-color: var(--frss-background-color);
  1723. display: none;
  1724. position: fixed;
  1725. top: 2%; bottom: 2%;
  1726. right: 3%; left: 3%;
  1727. overflow: auto;
  1728. }
  1729. #overlay .close {
  1730. position: fixed;
  1731. top: 0; bottom: 0;
  1732. right: 0; left: 0;
  1733. display: block;
  1734. }
  1735. /*=== Slider */
  1736. html.slider-active {
  1737. overflow: hidden;
  1738. }
  1739. #slider {
  1740. background-color: var(--frss-background-color);
  1741. width: 0;
  1742. position: fixed;
  1743. top: 0; bottom: 0;
  1744. left: 0;
  1745. overflow: auto;
  1746. z-index: 100;
  1747. }
  1748. #slider.active:target {
  1749. width: 750px;
  1750. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1751. outline: none;
  1752. }
  1753. #slider.sliding {
  1754. transition: width 100ms ease-in;
  1755. }
  1756. #close-slider {
  1757. position: fixed;
  1758. top: 0; bottom: 0;
  1759. right: 100%; left: 0;
  1760. cursor: pointer;
  1761. }
  1762. #slider.active:target + #close-slider {
  1763. background-color: var(--frss-modal-background-color-transparent);
  1764. font-size: 0;
  1765. right: 0;
  1766. z-index: 99;
  1767. }
  1768. #close-slider img {
  1769. display: none;
  1770. }
  1771. #slider.active:target + #close-slider img {
  1772. padding: 0.5rem;
  1773. display: inline-block;
  1774. position: absolute;
  1775. top: 0.5rem;
  1776. right: 0.5rem;
  1777. filter: grayscale(100%) brightness(2.5);
  1778. }
  1779. /*=== Configuration pages */
  1780. .post {
  1781. padding: 1rem 2rem;
  1782. font-size: 0.9em;
  1783. }
  1784. .post form {
  1785. margin: 1rem 0;
  1786. }
  1787. .post.content.centered {
  1788. max-width: 550px;
  1789. }
  1790. /*=== SLIDESHOW Theme Preview */
  1791. /*==============*/
  1792. .theme-preview-list {
  1793. margin: 0.5rem 0;
  1794. padding: 0;
  1795. display: block;
  1796. max-width: 640px;
  1797. height: 320px;
  1798. border: 1px solid var(--frss-border-color);
  1799. position: relative;
  1800. min-width: 260px;
  1801. }
  1802. .theme-preview-list .preview-container {
  1803. display: block;
  1804. }
  1805. .theme-preview-list .preview {
  1806. display: block;
  1807. width: 100%;
  1808. height: 100%;
  1809. top: 0;
  1810. opacity: 0;
  1811. position: absolute;
  1812. }
  1813. .theme-preview-list .preview img {
  1814. width: 100%;
  1815. height: 100%;
  1816. }
  1817. .theme-preview-list .properties {
  1818. padding: 5px;
  1819. background-color: var(--frss-background-color-transparent);
  1820. display: none;
  1821. border-top: 1px solid var(--frss-border-color);
  1822. bottom: 0;
  1823. right: 0; left: 0;
  1824. position: absolute;
  1825. z-index: 10;
  1826. backdrop-filter: blur(3px);
  1827. }
  1828. .preview-container.picked .preview {
  1829. opacity: 1;
  1830. transform: scale(1);
  1831. transition: opacity .5s ease-in-out;
  1832. }
  1833. .preview-container.picked .properties {
  1834. display: block;
  1835. }
  1836. /*=== DIVERS */
  1837. /*===========*/
  1838. .log-level {
  1839. text-align: center;
  1840. }
  1841. .log-item.log-error {
  1842. background-color: var(--frss-background-color-error-transparent);
  1843. }
  1844. .item.share.error a::after,
  1845. .theme-preview-list .properties .error::before {
  1846. content: " ⚠ ";
  1847. color: var(--frss-font-color-error);
  1848. }
  1849. .item.share button {
  1850. position: relative;
  1851. }
  1852. .item.share button::after {
  1853. content: "";
  1854. background: var(--frss-background-color-transparent);
  1855. display: inline-block;
  1856. position: absolute;
  1857. padding-top: 1rem;
  1858. opacity: 0;
  1859. transition: all 0.6s;
  1860. right: 0px;
  1861. width: 100%;
  1862. height: 1rem;
  1863. }
  1864. .item.share button:active::after {
  1865. opacity: 1;
  1866. width: 0;
  1867. transition: 0s
  1868. }
  1869. .item.share button.ok::before {
  1870. content: "✓";
  1871. position: absolute;
  1872. right: 0.5rem;
  1873. animation-duration: 10s;
  1874. animation-fill-mode: both;
  1875. animation-name: easeOut;
  1876. }
  1877. .item.share button.error::before {
  1878. content: "❌";
  1879. position: absolute;
  1880. right: 0.25rem;
  1881. }
  1882. .item.share button.error {
  1883. text-decoration: line-through;
  1884. }
  1885. @keyframes easeOut {
  1886. 0% {opacity: 1;}
  1887. 80% {opacity: 1;}
  1888. 100% {opacity: 0;}
  1889. }
  1890. .deprecated {
  1891. font-weight: bold;
  1892. }
  1893. .feed.item.error.active .item-title::before {
  1894. color: var(--frss-font-color-light);
  1895. }
  1896. .feed[data-priority="20"] .item-title,
  1897. .flux[data-priority="20"] .website > a {
  1898. text-decoration: underline double;
  1899. }
  1900. .aside .feed .item-title {
  1901. padding: var(--frss-padding-top-bottom) 0 var(--frss-padding-top-bottom) 3.5rem;
  1902. }
  1903. .aside .category .tree-folder-title .title:not([data-unread="0"])::after,
  1904. .aside .feed .item-title:not([data-unread="0"])::after {
  1905. margin: var(--frss-padding-top-bottom) 0 0 0;
  1906. padding: 0.25rem 0.5rem;
  1907. min-width: 2rem;
  1908. display: block;
  1909. content: attr(data-unread);
  1910. position: absolute;
  1911. top: 0;
  1912. left: 0.75rem;
  1913. text-align: center;
  1914. font-size: 0.9rem;
  1915. border-radius: 0.75rem;
  1916. line-height: 1;
  1917. font-weight: initial;
  1918. }
  1919. /* Faint dot shown in place of the count badge when [data-unread-hide] is present */
  1920. .aside .category .tree-folder-title .title[data-unread-hide]:not([data-unread="0"])::after,
  1921. .aside .feed .item-title[data-unread-hide]:not([data-unread="0"])::after {
  1922. content: "·";
  1923. opacity: 0.5;
  1924. pointer-events: none;
  1925. }
  1926. .aside .category .title:not([data-unread="0"])::after {
  1927. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1928. }
  1929. .global .box.category .title:not([data-unread="0"])::after {
  1930. margin: 0.5rem 0 0 0;
  1931. padding: 5px 10px;
  1932. min-width: 20px;
  1933. display: block;
  1934. content: attr(data-unread);
  1935. position: absolute;
  1936. top: 0;
  1937. left: 10px;
  1938. text-align: center;
  1939. font-size: 0.75rem;
  1940. border-radius: 12px;
  1941. line-height: 1;
  1942. font-weight: initial;
  1943. }
  1944. .box .box-title .configure:not([data-cat-position=""])::after {
  1945. margin: 0.5rem 0px 0px;
  1946. padding: 5px 10px;
  1947. min-width: 20px;
  1948. display: block;
  1949. content: attr(data-cat-position);
  1950. position: absolute;
  1951. top: 0px;
  1952. left: 10px;
  1953. text-align: center;
  1954. font-size: 0.75rem;
  1955. border-radius: 12px;
  1956. line-height: 1;
  1957. font-weight: initial;
  1958. }
  1959. .feed .item-title:not([data-unread="0"])::after {
  1960. margin: 1em 0 0 0;
  1961. }
  1962. #stream.global .feed {
  1963. position: relative;
  1964. }
  1965. #stream.global .feed .item-title:not([data-unread="0"])::after {
  1966. margin: 0.5rem 0px 0px;
  1967. padding: 5px 10px;
  1968. min-width: 20px;
  1969. display: block;
  1970. content: attr(data-unread);
  1971. position: absolute;
  1972. top: 0px;
  1973. left: 0px;
  1974. text-align: center;
  1975. font-size: 0.75rem;
  1976. border-radius: 12px;
  1977. line-height: 1;
  1978. font-weight: initial;
  1979. text-indent: 0;
  1980. }
  1981. .feed.active .item-title:not([data-unread="0"])::after {
  1982. color: var(--frss-font-color-light);
  1983. border: 1px solid var(--frss-border-color);
  1984. font-weight: bold;
  1985. }
  1986. .feed .item-title:not([data-unread="0"]) {
  1987. font-weight: bold;
  1988. width: calc(100% - 6rem);
  1989. }
  1990. .state_unread .category:not(.active)[data-unread="0"],
  1991. .state_unread .feed:not(.active)[data-unread="0"] {
  1992. display: none;
  1993. }
  1994. .nav_menu {
  1995. padding-top: var(--frss-padding-top-bottom);
  1996. padding-bottom: var(--frss-padding-top-bottom);
  1997. padding-right: 3rem;
  1998. padding-left: 0.5rem;
  1999. background: inherit;
  2000. text-align: center;
  2001. position: relative;
  2002. .stick {
  2003. max-width: 500px;
  2004. }
  2005. select {
  2006. max-width: 300px;
  2007. width: 60%;
  2008. }
  2009. #nav_menu_toggle_aside {
  2010. position: absolute;
  2011. right: 0.5rem;
  2012. }
  2013. }
  2014. .nav_mobile {
  2015. display: none;
  2016. }
  2017. .nav-login,
  2018. .aside .toggle_aside,
  2019. #slider .toggle_aside,
  2020. .configure .dropdown-header-close {
  2021. display: none;
  2022. }
  2023. .enclosure [download] {
  2024. font-size: 3rem;
  2025. margin-right: .8em;
  2026. }
  2027. .default-user {
  2028. font-style: italic;
  2029. }
  2030. .disabled-user {
  2031. opacity: 0.5;
  2032. }
  2033. /*=== READER */
  2034. /*===========*/
  2035. .reader .aside {
  2036. display: none;
  2037. }
  2038. .reader .aside.visible {
  2039. display: table-cell;
  2040. width: var(--width-aside);
  2041. }
  2042. .reader .flux {
  2043. padding: 1rem 0 2rem;
  2044. }
  2045. .reader .flux .flux_content {
  2046. padding: 3rem 0;
  2047. background-color: var(--frss-background-color);
  2048. border: 1px solid var(--frss-border-color);
  2049. }
  2050. .reader .flux_content {
  2051. margin: auto;
  2052. }
  2053. .reader .content ~ footer {
  2054. padding: 0 3rem;
  2055. }
  2056. #loglist-wrapper {
  2057. overflow-x: auto;
  2058. }
  2059. .envInfo summary {
  2060. margin-top: 0.5rem;
  2061. padding-right: 0.25rem;
  2062. font-weight: bold;
  2063. cursor: pointer;
  2064. }
  2065. .envInfo dl {
  2066. margin: 1rem 1.5rem 2rem 2rem;
  2067. padding: 2rem 2rem 2rem 4rem;
  2068. border: 1px solid var(--frss-border-color);
  2069. }
  2070. .envInfo dt::after {
  2071. content: ":";
  2072. }
  2073. .envInfo dd {
  2074. margin-bottom: 0.5rem;
  2075. padding-right: 2rem;
  2076. font-family: monospace;
  2077. }
  2078. /*=== MOBILE */
  2079. /*===========*/
  2080. @media (max-width: 840px) {
  2081. :root {
  2082. --frss-padding-flux-items: 0.5rem;
  2083. }
  2084. .flux_header .item.website span,
  2085. .item .date,
  2086. .dropdown-menu > .no-mobile,
  2087. .no-mobile,
  2088. .aside_feed .tree-folder-items .item .no-dropdown-toggle {
  2089. display: none;
  2090. }
  2091. .only-mobile {
  2092. display: unset !important;
  2093. }
  2094. .header > .item {
  2095. padding: 5px;
  2096. }
  2097. .header > .item.title {
  2098. width: 75%;
  2099. text-align: right;
  2100. }
  2101. .header > .item.title .logo {
  2102. height: 24px;
  2103. }
  2104. header .item.search form {
  2105. display: none;
  2106. }
  2107. /* Material navigation drawer: theme width, capped at viewport minus 56px touch-peek */
  2108. .aside.visible {
  2109. width: min(var(--width-aside), calc(100vw - 56px));
  2110. height: 100vh;
  2111. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  2112. }
  2113. .aside .toggle_aside,
  2114. #overlay .close,
  2115. .dropdown-menu .toggle_aside,
  2116. #slider .toggle_aside {
  2117. padding: 1rem 0;
  2118. display: block;
  2119. width: 100%;
  2120. border-bottom: 1px solid var(--frss-border-color);
  2121. text-align: center;
  2122. }
  2123. .aside:not(.aside_feed) {
  2124. overflow-y: auto;
  2125. }
  2126. nav.configure > .dropdown li.item.dropdown-section:last-child,
  2127. nav#aside_feed > ul li.item.nav-section:last-child {
  2128. margin-bottom: 6rem;
  2129. }
  2130. #dropdown-search-wrapper .dropdown-menu span {
  2131. text-wrap: wrap;
  2132. }
  2133. .form-advanced-title {
  2134. text-align: right;
  2135. }
  2136. .aside .feed .item-title {
  2137. padding-right: 0.75rem;
  2138. padding-left: 4rem;
  2139. display: block;
  2140. width: 100%;
  2141. box-sizing: border-box;
  2142. }
  2143. .aside .feed .item-title[data-unread="0"] {
  2144. padding-left: 1rem;
  2145. }
  2146. .flux .flux_header.has-thumbnail.has-summary {
  2147. display: grid;
  2148. grid-template-columns: auto 1fr auto auto auto;
  2149. grid-template-rows: auto auto;
  2150. grid-template-areas: "website website manage-read manage-bookmark manage-share manage-labels link"
  2151. "thumbnail content content content content content content";
  2152. align-items: start;
  2153. list-style: none;
  2154. }
  2155. .flux .flux_header.has-thumbnail.has-summary li.website .websiteName {
  2156. display: inline;
  2157. }
  2158. /** place all the elements in their respective template areas */
  2159. .flux .flux_header.has-thumbnail.has-summary li.website {
  2160. grid-area: website;
  2161. /** Show feed name */
  2162. width: auto;
  2163. }
  2164. .flux .flux_header.has-thumbnail.has-summary li.thumbnail {
  2165. grid-area: thumbnail;
  2166. }
  2167. .flux .flux_header.has-thumbnail.has-summary li.titleAuthorSummaryDate {
  2168. grid-area: content;
  2169. }
  2170. .flux .flux_header.has-thumbnail.has-summary li.manage:has(.read) {
  2171. grid-area: manage-read;
  2172. }
  2173. .flux .flux_header.has-thumbnail.has-summary li.manage:has(.bookmark) {
  2174. grid-area: manage-bookmark;
  2175. }
  2176. .flux .flux_header.has-thumbnail.has-summary li.link {
  2177. grid-area: link;
  2178. }
  2179. .flux .flux_header.has-thumbnail.has-summary li.labels {
  2180. grid-area: manage-labels
  2181. }
  2182. .flux .flux_header.has-thumbnail.has-summary li.share {
  2183. grid-area: manage-share
  2184. }
  2185. #overlay .close {
  2186. position: relative;
  2187. }
  2188. .form-group {
  2189. margin-bottom: 10px;
  2190. }
  2191. .form-group .group-name {
  2192. float: none;
  2193. width: auto;
  2194. text-align: right;
  2195. }
  2196. .form-group .group-controls {
  2197. margin-right: 0;
  2198. }
  2199. .favicon-controls {
  2200. display: flex;
  2201. flex-wrap: wrap;
  2202. margin-top: 0.8rem;
  2203. gap: 0.2em;
  2204. }
  2205. .dropdown {
  2206. position: inherit;
  2207. }
  2208. .dropdown .dropdown-header,
  2209. .dropdown .dropdown-section {
  2210. line-height: 2;
  2211. }
  2212. .dropdown .dropdown-menu {
  2213. right: 0.5rem !important;
  2214. left: 0.5rem !important;
  2215. position: absolute;
  2216. }
  2217. .dropdown .dropdown-menu .item {
  2218. margin: 2px 0;
  2219. }
  2220. .dropdown .dropdown-menu .item .stick .btn {
  2221. margin: 0;
  2222. }
  2223. .dropdown .dropdown-menu .item form {
  2224. display: block;
  2225. text-align: center;
  2226. }
  2227. .dropdown .dropdown-menu .item .stick.search {
  2228. width: calc(100% - 20px);
  2229. }
  2230. .dropdown .dropdown-menu .item .stick.search input {
  2231. width: 95%;
  2232. }
  2233. .dropdown .dropdown-menu .item button.as-link,
  2234. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  2235. width: 100%;
  2236. }
  2237. .dropdown-target:target ~ .dropdown-toggle {
  2238. position: relative;
  2239. overflow: visible;
  2240. }
  2241. .dropdown-target:target ~ .dropdown-toggle::after {
  2242. background-color: var(--frss-background-color);
  2243. width: 10px;
  2244. height: 10px;
  2245. content: "";
  2246. position: absolute;
  2247. left: 8px;
  2248. bottom: -17px;
  2249. transform: rotate(-45deg);
  2250. z-index: 9999;
  2251. cursor: default;
  2252. }
  2253. .horizontal-list.bottom .dropdown-target:target ~ .dropdown-toggle::after {
  2254. top: 31px;
  2255. right: 10px;
  2256. }
  2257. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  2258. margin-top: 10px;
  2259. }
  2260. .configure .dropdown .dropdown-menu {
  2261. width: 90%;
  2262. height: 100vh;
  2263. top: 0;
  2264. left: 0 !important;
  2265. bottom: 0;
  2266. right: auto !important;
  2267. position: fixed;
  2268. padding-top: 0;
  2269. margin-top: 0;
  2270. overflow: auto;
  2271. box-shadow: 3px 0 3px var(--frss-box-shadow-color-transparent);
  2272. }
  2273. .nav_menu_read_all .dropdown-target ~ .dropdown-toggle .icon {
  2274. display: none;
  2275. }
  2276. .nav_menu_read_all .dropdown-target ~ .dropdown-toggle::before {
  2277. content: '✓';
  2278. }
  2279. .nav_menu_read_all .read_all.btn {
  2280. display: none;
  2281. }
  2282. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  2283. content: none;
  2284. }
  2285. .dropdown-target:target ~ .dropdown-menu {
  2286. display: table-cell;
  2287. z-index: 1000;
  2288. }
  2289. .dropdown-menu::after {
  2290. display: none;
  2291. }
  2292. .configure .dropdown-header-close,
  2293. .nav-login {
  2294. display: block;
  2295. }
  2296. .nav_menu {
  2297. padding-right: 0.5rem;
  2298. .toggle_aside {
  2299. display: inline-block;
  2300. }
  2301. #nav_menu_toggle_aside {
  2302. position: unset;
  2303. }
  2304. }
  2305. .aside.visible + .close-aside,
  2306. .configure .dropdown-target:target ~ .dropdown-close {
  2307. background-color: var(--frss-modal-background-color-transparent);
  2308. display: block;
  2309. font-size: 0;
  2310. position: fixed;
  2311. top: 0;
  2312. bottom: 0;
  2313. right: 0;
  2314. left: 0;
  2315. cursor: default;
  2316. z-index: 99;
  2317. }
  2318. .nav_menu.nav_mobile {
  2319. display: block;
  2320. }
  2321. .nav_mobile {
  2322. display: initial;
  2323. }
  2324. .aside {
  2325. position: fixed;
  2326. top: 0; bottom: 0;
  2327. right: -1px;
  2328. width: 0;
  2329. overflow: hidden;
  2330. z-index: 100;
  2331. transition: width 100ms ease-in;
  2332. }
  2333. .aside.aside_feed {
  2334. padding: 0;
  2335. }
  2336. .aside_feed .configure-feeds {
  2337. margin-top: 10px;
  2338. }
  2339. .aside_feed .tree-folder-items .feed .favicon {
  2340. margin: 0 0 0 0.5rem;
  2341. padding: 0;
  2342. }
  2343. .flux_header .item.website {
  2344. width: 40px;
  2345. }
  2346. .flux:not(.current):hover .item.title {
  2347. position: relative;
  2348. width: auto;
  2349. white-space: nowrap;
  2350. top: 0;
  2351. }
  2352. .content header,
  2353. .content .text,
  2354. .content footer {
  2355. padding: 1rem;
  2356. }
  2357. table {
  2358. font-size: 0.9rem;
  2359. }
  2360. th, td {
  2361. padding: 0.25rem;
  2362. }
  2363. .notification {
  2364. padding: 0.75rem;
  2365. top: 0;
  2366. right: 0;
  2367. left: 0;
  2368. }
  2369. #nav_entries {
  2370. display: flex !important;
  2371. top: auto;
  2372. width: 100%;
  2373. }
  2374. #panel {
  2375. top: 0; bottom: 0;
  2376. right: 0; left: 0;
  2377. position: relative;
  2378. height: calc(100vh - 3.5rem);
  2379. }
  2380. #slider.active:target {
  2381. width: 100%;
  2382. }
  2383. #close-slider img {
  2384. display: initial;
  2385. }
  2386. #slider.active:target #close-slider img {
  2387. display: initial;
  2388. position: initial;
  2389. filter: initial;
  2390. }
  2391. #slider.active:target + #close-slider {
  2392. display: none;
  2393. }
  2394. }
  2395. /*=== PRINTER */
  2396. /*============*/
  2397. @media print {
  2398. /* This hides the headers and footers in the printed document on Chrome */
  2399. /* Supported since Chrome 131: https://developer.chrome.com/release-notes/131#page_margin_boxes */
  2400. @page {
  2401. /* Firefox and Safari do not support those yet */
  2402. /* See: https://developer.mozilla.org/docs/Web/CSS/@page#browser_compatibility */
  2403. @top-left { content: ''; }
  2404. @top-right { content: ''; }
  2405. @bottom-left { content: ''; }
  2406. @bottom-right { content: ''; }
  2407. }
  2408. .header, .aside,
  2409. .nav_menu, .transition,
  2410. .flux_header,
  2411. .flux_content .bottom,
  2412. .pagination,
  2413. #stream-footer,
  2414. #nav_entries,
  2415. .dropdown-toggle {
  2416. display: none;
  2417. }
  2418. html, body {
  2419. background-color: var(--frss-background-color);
  2420. font-family: Serif;
  2421. }
  2422. #global,
  2423. .flux_content {
  2424. display: block !important;
  2425. }
  2426. .flux_content .content {
  2427. width: 100% !important;
  2428. }
  2429. .flux_content .content a {
  2430. color: var(--frss-font-color-dark);
  2431. }
  2432. .flux_content .content a::after {
  2433. content: " [" attr(href) "] ";
  2434. font-style: italic;
  2435. }
  2436. }
  2437. /*=== PREVIEW */
  2438. /*===========*/
  2439. .preview_controls {
  2440. margin-right: auto;
  2441. margin-left: auto;
  2442. padding: 1rem;
  2443. max-width: 1000px;
  2444. text-align: center;
  2445. background-color: var(--frss-background-color-middle);
  2446. border: 1px solid var(--frss-border-color);
  2447. border-radius: .25rem;
  2448. }
  2449. .preview_controls label {
  2450. display: inline;
  2451. }
  2452. .preview_controls label input[type="radio"] {
  2453. margin-top: -4px;
  2454. }
  2455. .preview_controls label + label {
  2456. margin-right: 1rem;
  2457. }
  2458. .drag-drop-marker {
  2459. margin: -1px;
  2460. }