frss.css 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. :root {
  5. --frss-font-color-dark: #000;
  6. --frss-font-color-grey-dark: #666;
  7. --frss-font-color-grey-light: #aaa;
  8. --frss-font-color-light: #fff;
  9. --frss-background-color-error-transparent: #ff000040;
  10. --frss-font-color-error: #f00;
  11. --frss-background-color: #fff;
  12. --frss-background-color-transparent: #ffffff7f;
  13. --frss-background-color-middle: #eee;
  14. --frss-background-color-dark: #ccc;
  15. --frss-border-color: #999;
  16. --frss-border-color-error: #f00;
  17. --frss-switch-accent-color: #85d885;
  18. --frss-dragdrop-color: #ff0;
  19. --frss-dragdrop-color-transparent: #ff02;
  20. --frss-noThumbnailImage-background-color: #ddd;
  21. --frss-darken-background-hover-transparent: #6662;
  22. --frss-modal-background-color-transparent: #0007;
  23. --frss-box-shadow-color-transparent: #0003;
  24. --frss-scrollbar-handle: #0002;
  25. --frss-scrollbar-handle-hover: #0005;
  26. --frss-scrollbar-track: #0001;
  27. --frss-scrollbar-track-hover: #0001;
  28. --frss-loading-image: url("loader.gif");
  29. --frss-padding-flux-items: 0.75rem;
  30. --frss-padding-top-bottom: 0.5rem;
  31. line-height: 1.5;
  32. }
  33. @font-face {
  34. font-family: 'OpenSans';
  35. font-style: normal;
  36. font-weight: 400;
  37. src: local('Open Sans'), local('OpenSans'),
  38. url('../fonts/OpenSans.woff2') format('woff2'),
  39. url('../fonts/OpenSans.woff') format('woff');
  40. }
  41. html, body {
  42. margin: 0;
  43. padding: 0;
  44. background-color: var(--frss-background-color);
  45. height: 100%;
  46. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  47. font-size: 100%;
  48. }
  49. main.prompt {
  50. margin: 3rem auto 0;
  51. padding: 2rem;
  52. max-width: 400px;
  53. min-width: 300px;
  54. width: 33%;
  55. text-align: center;
  56. }
  57. main.prompt .link-registration {
  58. padding: 1rem 0 0;
  59. margin-bottom: 3rem;
  60. }
  61. footer.main-footer {
  62. margin: 0 2rem 2rem;
  63. padding: 1rem;
  64. text-align: center;
  65. }
  66. /*=== Links */
  67. a {
  68. text-decoration: none;
  69. }
  70. a:hover {
  71. text-decoration: underline;
  72. }
  73. /*=== Lists */
  74. ul, ol, dd {
  75. margin: 0;
  76. padding: 0;
  77. }
  78. ul.listInColumns {
  79. column-count: 5;
  80. column-width: 250px;
  81. max-width: 1700px;
  82. }
  83. ul.listInColumns li {
  84. white-space: nowrap;
  85. text-overflow: ellipsis;
  86. overflow: hidden;
  87. }
  88. #tagsList {
  89. list-style: none;
  90. }
  91. /*=== Titles */
  92. h1 {
  93. margin: 1rem 0 0.5rem;
  94. font-size: 1.6rem;
  95. line-height: 1.5;
  96. }
  97. h2 {
  98. margin: 0.5rem 0 0.25rem;
  99. font-size: 1.4rem;
  100. line-height: 1.5;
  101. }
  102. .api > h2 {
  103. text-align: center;
  104. }
  105. h2 .icon,
  106. legend .icon {
  107. height: 0.8em;
  108. vertical-align: baseline;
  109. }
  110. h3 {
  111. margin: 0.5rem 0 0.25rem;
  112. font-size: 1.2rem;
  113. line-height: 1.5;
  114. }
  115. h4,
  116. h5,
  117. h6 {
  118. font-size: 1em;
  119. }
  120. .title_hidden {
  121. display: none;
  122. }
  123. .only-mobile {
  124. display: none !important;
  125. }
  126. /*=== Paragraphs */
  127. p {
  128. margin: 1rem 0 0.5rem;
  129. }
  130. p.help, .prompt p.help {
  131. margin: 0.25rem 0 0.5rem;
  132. text-align: left;
  133. }
  134. p.help .icon {
  135. filter: brightness(2);
  136. }
  137. kbd {
  138. background-color: var(--frss-background-color-middle);
  139. padding: 0 0.5rem 0 0.5rem;
  140. display: inline-block;
  141. color: var(--frss-font-color-grey-dark);
  142. font-size: 0.9rem;
  143. border: 1px solid var(--frss-border-color);
  144. border-radius: 3px;
  145. white-space: pre-wrap;
  146. overflow-wrap: anywhere;
  147. }
  148. /*=== Images */
  149. img {
  150. max-width: 100%;
  151. height: auto;
  152. }
  153. img.favicon {
  154. margin: 0 0.25rem 0 0;
  155. width: 1rem;
  156. height: 1rem;
  157. vertical-align: middle;
  158. }
  159. .content.thin figure,
  160. .content.medium figure {
  161. margin: 8px 0px;
  162. }
  163. .content figure figcaption {
  164. font-style: italic;
  165. }
  166. .feed.mute::before {
  167. content: '🔇';
  168. }
  169. /*=== Videos */
  170. audio, iframe, embed, object, video {
  171. max-width: 100%;
  172. }
  173. audio {
  174. width: 100%;
  175. }
  176. /*=== Forms */
  177. fieldset {
  178. margin: 0;
  179. padding: 0;
  180. border: 0;
  181. }
  182. legend {
  183. display: block;
  184. width: 100%;
  185. clear: both;
  186. }
  187. label {
  188. display: block;
  189. }
  190. input:not(.w50,.w100) {
  191. max-width: 90%;
  192. width: 300px;
  193. }
  194. input[type=number] {
  195. width: 6em;
  196. }
  197. textarea,
  198. input[type="file"],
  199. input.long {
  200. width: 300px;
  201. }
  202. input, select, textarea {
  203. display: inline-block;
  204. max-width: 100%;
  205. font-size: 0.8rem;
  206. box-sizing: border-box;
  207. }
  208. select {
  209. min-width: 6em;
  210. }
  211. input.w50,
  212. select.w50,
  213. textarea.w50 {
  214. min-width: 50%;
  215. box-sizing: border-box;
  216. }
  217. input.w100,
  218. select.w100,
  219. textarea.w100 {
  220. width: 100%;
  221. box-sizing: border-box;
  222. }
  223. .stick.w50 {
  224. width: 50%;
  225. }
  226. .stick.w100 {
  227. width: 100%;
  228. }
  229. .stick.w50 input,
  230. .stick.w100 input {
  231. width: 100%;
  232. }
  233. .stick.w100 input + .btn {
  234. width: 29px;
  235. padding-left: 3px;
  236. padding-right: 3px;
  237. text-align: center;
  238. }
  239. textarea[rows="2"] {
  240. height: 4em;
  241. }
  242. textarea:invalid {
  243. border: 2px dashed var(--frss-border-color-error);
  244. }
  245. .prompt textarea,
  246. .prompt input,
  247. .prompt select,
  248. .prompt .stick {
  249. margin: 5px auto;
  250. width: 100%;
  251. box-sizing: border-box;
  252. }
  253. input:disabled,
  254. select:disabled {
  255. background-color: transparent;
  256. min-width: 75px;
  257. color: var(--frss-font-color-grey-light);
  258. font-style: italic;
  259. border: 1px dashed var(--frss-border-color);
  260. }
  261. input[type="radio"],
  262. input[type="checkbox"] {
  263. min-width: auto;
  264. width: 15px !important;
  265. min-height: 15px !important;
  266. }
  267. .dropdown-menu label > input[type="text"] {
  268. width: 150px;
  269. width: calc(99% - 5em);
  270. }
  271. .dropdown-menu .item > a:hover,
  272. .dropdown-menu .item > button:hover {
  273. text-decoration: none;
  274. }
  275. .dropdown-menu input[type="checkbox"] {
  276. margin-left: 1em;
  277. margin-right: .5em;
  278. }
  279. .dropdown-menu .item .checkboxNewTag {
  280. display: none;
  281. }
  282. .dropdown-menu .item.addItem {
  283. padding: 0 0.5em;
  284. }
  285. .dropdown-menu .item.addItem .stick {
  286. width: 100%
  287. }
  288. .dropdown-menu .item.addItem .stick input[type=text] {
  289. width: 100%;
  290. }
  291. button.as-link,
  292. button.as-link:hover,
  293. button.as-link:active {
  294. background: transparent;
  295. color: inherit;
  296. border: none;
  297. cursor: pointer;
  298. text-align: left;
  299. }
  300. button.as-link[disabled] {
  301. color: var(--frss-font-color-grey-light) !important;
  302. }
  303. /*=== Tables */
  304. .table-wrapper {
  305. overflow-x: auto;
  306. }
  307. table {
  308. margin: 0.5rem 0;
  309. max-width: 100%;
  310. }
  311. th, td {
  312. padding: 0.5rem;
  313. }
  314. th.numeric,
  315. td.numeric {
  316. text-align: center;
  317. }
  318. /*=== COMPONENTS */
  319. /*===============*/
  320. [aria-hidden="true"] {
  321. display: none !important;
  322. }
  323. /* prompt: login + register form + alert message banner */
  324. .prompt {
  325. text-align: center;
  326. }
  327. .prompt form {
  328. margin-top: 2rem;
  329. text-align: left;
  330. }
  331. .prompt label,
  332. .prompt .help {
  333. text-align: left;
  334. }
  335. .prompt input,
  336. .prompt select,
  337. .prompt .stick {
  338. width: 100%;
  339. box-sizing: border-box;
  340. }
  341. .prompt p {
  342. margin: 20px 0;
  343. }
  344. /*=== Forms */
  345. .form-group::after {
  346. content: "";
  347. display: block;
  348. clear: both;
  349. }
  350. .form-group.form-actions {
  351. min-width: 250px;
  352. }
  353. .form-group .group-name {
  354. display: block;
  355. float: left;
  356. width: 200px;
  357. text-align: right;
  358. }
  359. .form-group .group-controls {
  360. min-width: 200px;
  361. margin: 0 0 0 220px;
  362. overflow-x: auto;
  363. }
  364. .form-group .group-controls .control {
  365. display: block;
  366. }
  367. .form-advanced-title {
  368. padding: 15px 0;
  369. width: 200px;
  370. font-weight: bold;
  371. text-align: right;
  372. cursor: pointer;
  373. }
  374. @supports (position: sticky) {
  375. #mark-read-aside {
  376. position: sticky;
  377. top: 0;
  378. }
  379. }
  380. /*=== Buttons */
  381. .stick,
  382. .group {
  383. display: inline-flex;
  384. max-width: 100%;
  385. white-space: nowrap;
  386. vertical-align: middle;
  387. }
  388. .stick > input {
  389. margin-top: 0;
  390. margin-bottom: 0;
  391. }
  392. .stick > input.long {
  393. flex-shrink: 1;
  394. }
  395. .stick > .btn,
  396. .group > .btn {
  397. flex-shrink: 0;
  398. }
  399. #nav_menu_read_all form {
  400. display: inline-flex;
  401. }
  402. .btn {
  403. display: inline-block;
  404. cursor: pointer;
  405. overflow: hidden;
  406. }
  407. .btn-important {
  408. font-weight: bold;
  409. }
  410. .btn-state1.hide {
  411. display: none;
  412. }
  413. .btn-state2 {
  414. display: none;
  415. }
  416. .btn-state2.show {
  417. display: inline-block;
  418. }
  419. #button-update-loading {
  420. background: var(--frss-loading-image) 0.5rem center no-repeat;
  421. background-size: 1rem;
  422. padding-left: 2rem;
  423. }
  424. /*=== switch */
  425. .switch {
  426. margin: 0 0.5em;
  427. padding: revert;
  428. position: relative;
  429. width: 3.5em;
  430. height: 1.75em;
  431. border: 0;
  432. border-radius: 1em;
  433. background-color: var(--frss-background-color-dark);
  434. cursor: pointer;
  435. box-sizing: content-box;
  436. background-repeat: no-repeat;
  437. background-position: center center;
  438. background-image: url('../icons/disabled.svg');
  439. transition: background-position 0.5s;
  440. }
  441. .switch:not([disabled]):hover {
  442. background-image: url('../icons/enabled.svg');
  443. background-repeat: no-repeat;
  444. background-position: right 7px center;
  445. }
  446. .switch.active {
  447. background-color: var(--frss-switch-accent-color);
  448. background-repeat: no-repeat;
  449. background-position: center center;
  450. background-image: url('../icons/enabled.svg');
  451. }
  452. .switch.active:not([disabled]):hover {
  453. background-position: left 7px center;
  454. background-repeat: no-repeat;
  455. background-image: url('../icons/disabled.svg');
  456. }
  457. @supports selector(.switch::before) {
  458. .switch {
  459. background-image: none;
  460. }
  461. .switch.active {
  462. background-image: none;
  463. }
  464. }
  465. /* ::before = circle */
  466. .switch::before {
  467. content: "";
  468. position: absolute;
  469. left: 5px;
  470. right: unset;
  471. top: 0.2em;
  472. width: 1.5em;
  473. height: 1.5em;
  474. background-color: var(--frss-background-color);
  475. background-image: url('../icons/disabled.svg');
  476. background-repeat: no-repeat;
  477. background-position: center center;
  478. border-radius: 50%;
  479. transition: left 0.6s, right 0.6s;
  480. }
  481. .switch:not([disabled]):hover::before {
  482. background-color: var(--frss-background-color-middle);
  483. }
  484. .switch.active::before {
  485. background-image: url('../icons/enabled.svg');
  486. background-position: center center;
  487. left: unset;
  488. right: 5px;
  489. }
  490. .switch.active:not([disabled]):hover::before {
  491. right: 8px;
  492. }
  493. /* ::after = background */
  494. .switch::after {
  495. content: "";
  496. position: absolute;
  497. top: 50%;
  498. right: 8px;
  499. width: 12px;
  500. height: 12px;
  501. transform: translateY(-50%);
  502. }
  503. .switch.active::after {
  504. width: 14px;
  505. height: 14px;
  506. left: 8px;
  507. }
  508. .btn:focus-visible,
  509. input[type="checkbox"]:focus-visible {
  510. outline: 2px solid var(--frss-border-color);
  511. }
  512. /*=== Navigation */
  513. .nav-list {
  514. padding-bottom: 3rem;
  515. }
  516. .nav-list .nav-header,
  517. .nav-list .item {
  518. display: block;
  519. }
  520. .nav-list .item,
  521. .nav-list .item > a,
  522. .nav-list .item > span {
  523. display: block;
  524. overflow: hidden;
  525. white-space: nowrap;
  526. text-overflow: ellipsis;
  527. }
  528. /*=== Horizontal-list */
  529. .horizontal-list {
  530. margin: 0;
  531. padding: 0;
  532. display: table;
  533. table-layout: fixed;
  534. width: 100%;
  535. }
  536. .horizontal-list .item {
  537. display: table-cell;
  538. vertical-align: middle;
  539. }
  540. .horizontal-list .item .item-element {
  541. padding: var(--frss-padding-top-bottom) 0;
  542. }
  543. .horizontal-list .item .item-element.dropdown .dropdown-toggle,
  544. .horizontal-list .item .item-element.dropdown .dropdown-toggle-close {
  545. padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items);
  546. }
  547. /*=== manage-list */
  548. .manage-list {
  549. list-style: none;
  550. }
  551. .manage-list li {
  552. line-height: 2;
  553. }
  554. .manage-list li * {
  555. vertical-align: middle;
  556. }
  557. .manage-list .disabled {
  558. font-style: italic;
  559. }
  560. /*=== Dropdown */
  561. .dropdown {
  562. position: relative;
  563. display: inline-block;
  564. vertical-align: middle;
  565. }
  566. .dropdown-target {
  567. display: none;
  568. }
  569. .dropdown-menu {
  570. margin: 0;
  571. background-color: var(--frss-background-color);
  572. display: none;
  573. border: 1px solid var(--frss-border-color);
  574. min-width: 200px;
  575. position: absolute;
  576. right: 0;
  577. }
  578. .dropdown-menu::after {
  579. background-color: inherit;
  580. width: 10px;
  581. height: 10px;
  582. border-width: 1px 0 0 1px;
  583. border-style: solid;
  584. border-color: var(--frss-border-color);
  585. content: "";
  586. position: absolute;
  587. top: -6px;
  588. right: 13px;
  589. z-index: -10;
  590. transform: rotate(45deg);
  591. }
  592. .dropdown-menu-scrollable {
  593. max-height: min(75vh, 50em);
  594. overflow-x: hidden;
  595. overflow-y: auto;
  596. }
  597. .dropdown-header {
  598. display: block;
  599. }
  600. .dropdown-menu .item {
  601. display: block;
  602. }
  603. .dropdown-menu .item > a,
  604. .dropdown-menu .item > .as-link,
  605. .dropdown-menu .item > span {
  606. display: block;
  607. width: 100%;
  608. white-space: nowrap;
  609. box-sizing: border-box;
  610. }
  611. .dropdown-menu > .item[aria-checked="true"] > a::before {
  612. content: '✓';
  613. }
  614. .dropdown-menu .input {
  615. display: block;
  616. }
  617. .dropdown-menu .input select,
  618. .dropdown-menu .input input {
  619. display: block;
  620. max-width: 95%;
  621. }
  622. .dropdown-target:target ~ .dropdown-menu {
  623. display: block;
  624. z-index: 1000;
  625. }
  626. .dropdown-menu + .dropdown-close {
  627. display: none;
  628. }
  629. .dropdown-target:target ~ .dropdown-close {
  630. display: block;
  631. font-size: 0;
  632. position: fixed;
  633. top: 0; bottom: 0;
  634. left: 0; right: 0;
  635. z-index: 999;
  636. cursor: default;
  637. }
  638. .item ~ .dropdown-header,
  639. .dropdown-section ~ .dropdown-section,
  640. .item.separator {
  641. margin-top: 5px;
  642. padding-top: 5px;
  643. border-top-width: 1px;
  644. border-top-style: solid;
  645. }
  646. /*=== Alerts */
  647. .alert {
  648. margin: 1rem auto;
  649. padding: 0.75rem 1rem;
  650. display: block;
  651. width: 90%;
  652. }
  653. .alert-warn {
  654. background: inherit;
  655. }
  656. .group-controls .alert {
  657. width: 100%
  658. }
  659. .group-controls .next-step {
  660. display: inline-block;
  661. padding-top: 6px;
  662. padding-bottom: 6px;
  663. }
  664. .alert-head {
  665. margin: 0;
  666. font-weight: bold;
  667. }
  668. .alert ul {
  669. margin: 5px 20px;
  670. }
  671. .alert.hide {
  672. display: none;
  673. }
  674. /*=== Icons */
  675. .icon {
  676. display: inline-block;
  677. max-width: none;
  678. height: 1rem;
  679. vertical-align: middle;
  680. line-height: 1;
  681. }
  682. /* === stream-footer **/
  683. #stream-footer {
  684. margin: 0 0 5em;
  685. padding: 1em 0;
  686. width: 100%;
  687. border-top: 1px solid var(--frss-border-color);
  688. text-align: center;
  689. }
  690. /*=== Pagination */
  691. .nav-pagination {
  692. margin: 2em auto;
  693. }
  694. .pagination {
  695. margin: 0 auto;
  696. padding: 0;
  697. display: table;
  698. table-layout: fixed;
  699. text-align: center;
  700. }
  701. .pagination .item {
  702. display: table-cell;
  703. width: 3em;
  704. font-style: italic;
  705. }
  706. .pagination .item.active {
  707. min-width: 3em;
  708. font-weight: bold;
  709. font-style: normal;
  710. }
  711. .pagination .item a {
  712. display: block;
  713. text-decoration: none;
  714. }
  715. .pagination .pager-previous,
  716. .pagination .pager-next {
  717. width: 6em;
  718. }
  719. .pagination .pager-first,
  720. .pagination .pager-last {
  721. width: 7.5em;
  722. }
  723. /*=== Boxes */
  724. .box {
  725. margin: 20px 20px 20px 0;
  726. display: inline-block;
  727. max-width: 95%;
  728. width: 20rem;
  729. vertical-align: top;
  730. }
  731. .box.visible-semi {
  732. border-style: dashed;
  733. opacity: 0.5;
  734. }
  735. .box .box-title {
  736. position: relative;
  737. }
  738. .box .box-title h2 {
  739. display: inline;
  740. font-size: 1.2rem;
  741. font-weight: bold;
  742. }
  743. .box .box-title form {
  744. margin: 0;
  745. }
  746. .box .box-content {
  747. padding: 8px 8px 8px 16px;
  748. display: block;
  749. min-height: 2.5em;
  750. max-height: 260px;
  751. overflow: auto;
  752. }
  753. .box .box-content .item.feed {
  754. display: block;
  755. padding-top: var(--frss-padding-top-bottom);
  756. }
  757. .box .box-content .item.feed.moved {
  758. font-style: italic;
  759. }
  760. .box .box-content .item.feed.moved .favicon {
  761. opacity: 0.4;
  762. }
  763. .box .box-content .item.disabled {
  764. text-align: center;
  765. font-style: italic;
  766. }
  767. .box .box-content-centered {
  768. padding: 30px 5px;
  769. text-align: center;
  770. }
  771. .box .box-content-centered .btn {
  772. margin: 20px 0 0;
  773. }
  774. /*=== Draggable */
  775. [draggable=true]:hover {
  776. cursor: move;
  777. }
  778. .dragging {
  779. background-color: var(--frss-dragdrop-color)
  780. }
  781. .dragging .icon {
  782. visibility: hidden;
  783. }
  784. .drag-disallowed {
  785. opacity: 0.5;
  786. }
  787. .drag-active .drop-zone:not(.drag-disallowed) {
  788. background: repeating-linear-gradient(45deg, transparent, transparent 40px, var(--frss-dragdrop-color-transparent) 40px, var(--frss-dragdrop-color-transparent) 60px);
  789. }
  790. .drag-active .drag-hover.drop-zone {
  791. background-color: var(--frss-dragdrop-color-transparent);
  792. transition: background 0.5s;
  793. }
  794. li.drag-hover {
  795. margin: 0 0 5px;
  796. border-bottom: 2px solid var(--frss-border-color);
  797. }
  798. .drag-drop {
  799. animation-name: droppedKeyframe;
  800. animation-duration: 0.7s;
  801. }
  802. @keyframes droppedKeyframe {
  803. 0% {
  804. background-color: var(--frss-dragdrop-color-transparent);
  805. }
  806. 50% {
  807. background-color: var(--frss-dragdrop-color);
  808. }
  809. 100% {
  810. background-color: none;
  811. }
  812. }
  813. /*=== Scrollbar */
  814. @supports (scrollbar-width: thin) {
  815. .scrollbar-thin {
  816. scrollbar-color: var(--frss-scrollbar-handle) var(--frss-scrollbar-track);
  817. scrollbar-width: thin;
  818. }
  819. .scrollbar-thin:hover {
  820. scrollbar-color: var(--frss-scrollbar-handle-hover) var(--frss-scrollbar-track-hover);
  821. }
  822. }
  823. @supports not (scrollbar-width: thin) {
  824. .scrollbar-thin::-webkit-scrollbar {
  825. background-color: var(--frss-scrollbar-track);
  826. width: 8px;
  827. }
  828. .scrollbar-thin:hover::-webkit-scrollbar {
  829. background-color: var(--frss-scrollbar-track-hover);
  830. }
  831. .scrollbar-thin::-webkit-scrollbar-thumb {
  832. background-color: var(--frss-scrollbar-handle);
  833. display: unset;
  834. border-radius: 5px;
  835. }
  836. .scrollbar-thin:hover::-webkit-scrollbar-thumb {
  837. background-color: var(--frss-scrollbar-handle-hover);
  838. }
  839. }
  840. /*=== Tree */
  841. .tree {
  842. margin: 0;
  843. max-height: 99vh;
  844. list-style: none;
  845. text-align: left;
  846. overflow-x: hidden;
  847. }
  848. .tree-folder-items {
  849. padding: 0;
  850. list-style: none;
  851. transition: max-height .3s linear;
  852. }
  853. .tree-folder-title {
  854. padding-top: var(--frss-padding-top-bottom);
  855. padding-bottom: var(--frss-padding-top-bottom);
  856. }
  857. .tree-folder-title .title {
  858. display: inline-block;
  859. width: 100%;
  860. vertical-align: middle;
  861. overflow: hidden;
  862. white-space: nowrap;
  863. text-overflow: ellipsis;
  864. }
  865. .tree-folder-items > .item {
  866. display: block;
  867. white-space: nowrap;
  868. }
  869. .tree-folder-items > .item > a {
  870. display: inline-block;
  871. vertical-align: middle;
  872. width: calc(100% - 32px);
  873. overflow: hidden;
  874. white-space: nowrap;
  875. text-overflow: ellipsis;
  876. }
  877. .tree-folder-items .item.feed {
  878. position: relative;
  879. }
  880. .tree-bottom {
  881. visibility: hidden;
  882. margin-bottom: 18em;
  883. }
  884. /*=== STRUCTURE */
  885. /*===============*/
  886. /*=== Header */
  887. .header {
  888. display: table;
  889. width: 100%;
  890. height: calc(2.5rem + 2 * var(--frss-padding-top-bottom));
  891. table-layout: fixed;
  892. }
  893. .header > .item {
  894. padding-top: var(--frss-padding-top-bottom);
  895. padding-bottom: var(--frss-padding-top-bottom);
  896. display: table-cell;
  897. }
  898. .header > .item.title {
  899. width: 300px;
  900. text-align: center;
  901. white-space: nowrap;
  902. }
  903. .header > .item.title h1 {
  904. display: inline-block;
  905. }
  906. .header > .item.title a {
  907. padding: 0.25rem 1rem;
  908. display: inline-block;
  909. }
  910. .header > .item.title .logo {
  911. display: inline-block;
  912. height: 2rem;
  913. vertical-align: middle;
  914. }
  915. .header > .item.title a:hover .logo {
  916. filter: brightness(1.4);
  917. transition: filter 0.1s linear;
  918. }
  919. .header > .item.configure {
  920. width: 100px;
  921. }
  922. input[type="search"] {
  923. -webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */
  924. }
  925. /*=== Body */
  926. #global {
  927. background: inherit;
  928. display: table;
  929. width: 100%;
  930. height: calc(100vh - (calc(2.5rem + 2 * var(--frss-padding-top-bottom) + 1px)));
  931. table-layout: fixed;
  932. }
  933. #stream:not(.alert-warn) {
  934. background: inherit;
  935. }
  936. .aside {
  937. display: table-cell;
  938. width: 300px;
  939. vertical-align: top;
  940. }
  941. .aside + .close-aside {
  942. display: none;
  943. }
  944. /*=== Aside main page */
  945. .aside_feed .category .title {
  946. width: calc(100% - 35px);
  947. }
  948. .aside_feed .category .title:not([data-unread="0"]) {
  949. width: calc(100% - 75px);
  950. }
  951. .aside_feed .tree-folder.category .tree-folder-title .title.error .icon {
  952. margin: 0 0.5rem;
  953. padding: 0;
  954. }
  955. .aside_feed .tree-folder-title .icon,
  956. .aside_feed .tree-folder-items .feed .icon {
  957. margin: 0 0.5rem 0 0;
  958. }
  959. .aside_feed .tree-folder-items .feed .favicon {
  960. padding: 0;
  961. }
  962. .aside_feed .tree-folder-items .item.feed {
  963. padding: var(--frss-padding-top-bottom) 0.75rem;
  964. }
  965. .aside_feed .tree-folder-items:not(.active) {
  966. margin: 0;
  967. padding: 0;
  968. max-height: 0;
  969. border: none;
  970. overflow: hidden;
  971. }
  972. .aside_feed .tree-folder-items .dropdown {
  973. vertical-align: top;
  974. }
  975. .aside_feed .tree-folder-items .dropdown-menu {
  976. left: 0;
  977. }
  978. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  979. visibility: hidden;
  980. cursor: pointer;
  981. }
  982. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  983. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  984. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  985. visibility: visible;
  986. }
  987. .aside .toggle_aside:hover,
  988. #slider .toggle_aside:hover,
  989. #overlay .close:hover,
  990. .dropdown-menu .toggle_aside:hover {
  991. background-color: var(--frss-darken-background-hover-transparent);
  992. }
  993. /*=== New article notification */
  994. #new-article {
  995. display: none;
  996. }
  997. #new-article > a {
  998. padding: calc(0.25rem + var(--frss-padding-top-bottom)) 1rem;
  999. display: block;
  1000. }
  1001. /*=== Day indication */
  1002. .day {
  1003. background: inherit;
  1004. }
  1005. .day .name {
  1006. position: absolute;
  1007. right: 0;
  1008. width: 50%;
  1009. overflow: hidden;
  1010. white-space: nowrap;
  1011. text-overflow: ellipsis;
  1012. }
  1013. /*=== Feed article header and footer */
  1014. .flux_header {
  1015. background: inherit;
  1016. position: relative;
  1017. }
  1018. .flux .flux_header .item {
  1019. white-space: nowrap;
  1020. }
  1021. .flux .flux_header .item .item-element {
  1022. padding: var(--frss-padding-top-bottom) 0;
  1023. line-height: 1.5rem;
  1024. }
  1025. .flux .flux_header .item.manage .item-element,
  1026. .flux .flux_header .item.website .item-element,
  1027. .flux .flux_header .item.link .item-element {
  1028. padding-left: var(--frss-padding-flux-items);
  1029. padding-right: var(--frss-padding-flux-items);
  1030. }
  1031. .flux .item.manage,
  1032. .flux .item.link {
  1033. width: calc(1rem + 2 * var(--frss-padding-flux-items));
  1034. }
  1035. .flux .item.website {
  1036. width: 200px;
  1037. }
  1038. .flux .websiteicon .item.website {
  1039. width: calc(2 * var(--frss-padding-flux-items) + 16px);
  1040. }
  1041. .flux .websitename .item.website {
  1042. width: 150px;
  1043. }
  1044. .website a:hover .favicon,
  1045. a.website:hover .favicon {
  1046. filter: grayscale(100%);
  1047. }
  1048. .flux.not_read .item .title,
  1049. .flux.current .item .title {
  1050. font-weight: bold;
  1051. }
  1052. .flux:not(.current):hover .flux_header .item .title:has(~ .date) {
  1053. padding-right: 0.5rem;
  1054. z-index: 2;
  1055. }
  1056. .flux:not(.current):hover .item .title {
  1057. background-color: inherit;
  1058. }
  1059. .flux .item:has(.multiline) {
  1060. vertical-align: top;
  1061. }
  1062. .flux .flux_header .item .title a {
  1063. color: var(--frss-font-color-dark);
  1064. text-decoration: none;
  1065. }
  1066. .flux .flux_header .item.thumbnail {
  1067. line-height: 0;
  1068. padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items);
  1069. height: 80px;
  1070. }
  1071. .flux .flux_header .item.thumbnail .item-element {
  1072. padding: 0;
  1073. }
  1074. .flux .flux_header .item.thumbnail.small {
  1075. height: 40px;
  1076. }
  1077. .flux .flux_header .item.thumbnail.portrait {
  1078. width: 60px;
  1079. }
  1080. .flux .flux_header .item.thumbnail.square {
  1081. width: 80px;
  1082. }
  1083. .flux .flux_header .item.thumbnail.landscape {
  1084. width: 128px;
  1085. }
  1086. .flux .flux_header .item.thumbnail.portrait.small {
  1087. width: 30px;
  1088. }
  1089. .flux .flux_header .item.thumbnail.square.small {
  1090. width: 40px;
  1091. }
  1092. .flux .flux_header .item.thumbnail.landscape.small {
  1093. width: 64px;
  1094. }
  1095. .flux .flux_header .item.thumbnail img {
  1096. background: repeating-linear-gradient( -45deg, var(--frss-noThumbnailImage-background-color), var(--frss-noThumbnailImage-background-color) 5px, transparent 5px, transparent 10px );
  1097. display: inline-block;
  1098. width: 100%;
  1099. height: 100%;
  1100. overflow: hidden;
  1101. object-fit: cover;
  1102. }
  1103. .flux .flux_header .item.titleAuthorSummaryDate {
  1104. position: relative;
  1105. overflow: hidden;
  1106. }
  1107. .flux .flux_header .item .title {
  1108. position: absolute;
  1109. top: 0;
  1110. overflow: hidden;
  1111. text-overflow: ellipsis;
  1112. display: inline-block;
  1113. box-sizing: border-box;
  1114. max-width: 100%;
  1115. }
  1116. .flux .flux_header .item .title:has(~.date) {
  1117. padding-right: 155px;
  1118. }
  1119. .flux .flux_header .item .summary {
  1120. display: -webkit-box;
  1121. color: var(--frss-font-color-grey-dark);
  1122. font-size: 0.9rem;
  1123. font-weight: normal;
  1124. overflow: hidden;
  1125. text-overflow: ellipsis;
  1126. -webkit-line-clamp: 2;
  1127. -webkit-box-orient: vertical;
  1128. white-space: break-spaces;
  1129. margin-top: 2.25rem;
  1130. margin-bottom: 0.5rem;
  1131. }
  1132. .flux .flux_header .item .summary:has(~.date) {
  1133. max-width: 90%;
  1134. }
  1135. .flux .flux_header .item .title .author {
  1136. padding-left: 1rem;
  1137. color: var(--frss-font-color-grey-dark);
  1138. font-weight: normal;
  1139. }
  1140. .flux .flux_header .item .date {
  1141. position: absolute;
  1142. right: 0;
  1143. top: 0;
  1144. width: 155px;
  1145. text-align: right;
  1146. overflow: hidden;
  1147. z-index: 1;
  1148. }
  1149. .flux .flux_header .item > a {
  1150. display: block;
  1151. white-space: nowrap;
  1152. text-overflow: ellipsis;
  1153. overflow: hidden;
  1154. }
  1155. .flux .flux_header .date,
  1156. .flux .flux_content .bottom .date {
  1157. font-size: 0.7rem;
  1158. }
  1159. .item.query > a {
  1160. display: list-item;
  1161. list-style-position: inside;
  1162. list-style-type: decimal;
  1163. }
  1164. .flux_content .bottom .dropdown-toggle .icon {
  1165. margin-right: 0.25rem;
  1166. }
  1167. /*=== Feed article content */
  1168. .hide_posts > .flux:not(.active) > .flux_content {
  1169. display: none;
  1170. }
  1171. .content {
  1172. min-height: 20rem;
  1173. margin: auto;
  1174. line-height: 1.5;
  1175. word-wrap: break-word;
  1176. }
  1177. .content .text {
  1178. overflow-x: auto;
  1179. }
  1180. .content .text div {
  1181. overflow-x: auto;
  1182. }
  1183. .content header,
  1184. .content .text,
  1185. .content footer {
  1186. padding: 0 3rem;
  1187. }
  1188. .content header {
  1189. padding-top: calc(2 * var(--frss-padding-top-bottom));
  1190. padding-bottom: calc(var(--frss-padding-top-bottom));
  1191. }
  1192. .content footer {
  1193. padding-bottom: calc(2 * var(--frss-padding-top-bottom));
  1194. }
  1195. .content.large {
  1196. max-width: 1100px;
  1197. }
  1198. .content.medium {
  1199. max-width: 900px;
  1200. }
  1201. .content.thin {
  1202. max-width: 650px;
  1203. }
  1204. .content .article-header-topline {
  1205. margin-bottom: 0.75rem;
  1206. }
  1207. .content > header,
  1208. .content > footer {
  1209. color: var(--frss-font-color-grey-light);
  1210. font-size: 0.9rem;
  1211. }
  1212. .content > footer {
  1213. padding-top: 1rem;
  1214. clear: both;
  1215. }
  1216. .content > footer .subtitle {
  1217. padding: 2rem 0 1rem;
  1218. border-top: 2px solid var(--frss-border-color);
  1219. }
  1220. .content > header .tags,
  1221. .content > footer .tags {
  1222. display: flex;
  1223. line-height: 1;
  1224. }
  1225. .content > header .tags .icon,
  1226. .content > header .website .favicon,
  1227. .content > footer .tags .icon {
  1228. margin: 0 0.5rem 0 0;
  1229. line-height: 1.5;
  1230. }
  1231. .content > header .tags .list-tags,
  1232. .content > footer .tags .list-tags {
  1233. margin: 0;
  1234. padding: 0;
  1235. display: inline-block;
  1236. list-style: none;
  1237. }
  1238. .content > header .tags .list-tags .item.tag,
  1239. .content > footer .tags .list-tags .item.tag {
  1240. padding: 0 0.75rem 0 0;
  1241. display: inline-block;
  1242. line-height: 1.5;
  1243. }
  1244. .content > header .tags .list-tags .item.tag a.link-tag,
  1245. .content > footer .tags .list-tags .item.tag a.link-tag {
  1246. display: inline;
  1247. }
  1248. .content > header h1 {
  1249. margin: 0.5rem 0;
  1250. }
  1251. .content .text ul,
  1252. .content .text ol,
  1253. .content .text dd {
  1254. margin: 0 0 0 1rem;
  1255. padding: 0 0 0.25rem 1rem;
  1256. }
  1257. .content pre {
  1258. overflow: auto;
  1259. }
  1260. .subtitle > div {
  1261. display: inline;
  1262. }
  1263. .subtitle > div:not(:first-of-type)::before {
  1264. content: ' · ';
  1265. }
  1266. /*=== Notification and actualize notification */
  1267. .notification {
  1268. padding: 1rem 3.5rem 1rem 1rem;
  1269. position: absolute;
  1270. top: 1rem;
  1271. left: 25%; right: 25%;
  1272. z-index: 9999;
  1273. background-color: var(--frss-background-color);
  1274. font-weight: bold;
  1275. font-size: 0.9rem;
  1276. border: 1px solid var(--frss-border-color);
  1277. opacity: 1;
  1278. text-align: center;
  1279. line-height: 2;
  1280. vertical-align: middle;
  1281. visibility: visible;
  1282. transition: visibility 0s, opacity .3s linear;
  1283. }
  1284. .notification.closed {
  1285. opacity: 0;
  1286. visibility: hidden;
  1287. }
  1288. .notification a.close {
  1289. padding: 0 1rem;
  1290. position: absolute;
  1291. top: 0; bottom: 0;
  1292. right: 0;
  1293. display: inline-block;
  1294. line-height: 3;
  1295. }
  1296. .notification a.close:hover {
  1297. background-color: var(--frss-darken-background-hover-transparent);
  1298. }
  1299. .notification a.close:hover .icon {
  1300. filter: brightness(2);
  1301. }
  1302. #actualizeProgress {
  1303. position: fixed;
  1304. }
  1305. #actualizeProgress progress {
  1306. max-width: 100%;
  1307. vertical-align: middle;
  1308. }
  1309. #actualizeProgress .progress {
  1310. vertical-align: middle;
  1311. }
  1312. /*=== Popup */
  1313. #popup {
  1314. display: none;
  1315. position: fixed;
  1316. z-index: 200;
  1317. left: 0;
  1318. top: 0;
  1319. width: 100%;
  1320. height: 100%;
  1321. overflow: auto;
  1322. background-color: var(--frss-modal-background-color-transparent);
  1323. }
  1324. #popup-content {
  1325. margin: 5rem auto;
  1326. display: table;
  1327. width: 80%;
  1328. height: 80%;
  1329. overflow: hidden;
  1330. background-color: var(--frss-background-color);
  1331. border-radius: .25rem;
  1332. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1333. }
  1334. .popup-row {
  1335. display: table-row;
  1336. width: 100%;
  1337. }
  1338. #popup-close {
  1339. float: right;
  1340. width: 27px;
  1341. height: 22px;
  1342. padding-top: 5px;
  1343. }
  1344. #popup-close:hover,
  1345. #popup-close:focus {
  1346. color: var(--frss-font-color-dark);
  1347. text-decoration: none;
  1348. cursor: pointer;
  1349. }
  1350. #popup-iframe-container {
  1351. display: none;
  1352. height: 100%;
  1353. }
  1354. #popup-iframe-sub {
  1355. padding: 10px;
  1356. height: 100%;
  1357. }
  1358. #popup-iframe {
  1359. width: 100%;
  1360. height: 100%;
  1361. }
  1362. /*=== Navigation menu (for articles) */
  1363. #nav_entries {
  1364. display: table;
  1365. position: fixed;
  1366. bottom: 0; left: 0;
  1367. width: 300px;
  1368. table-layout: fixed;
  1369. padding-bottom: env(safe-area-inset-bottom);
  1370. }
  1371. #nav_entries .item {
  1372. display: table-cell;
  1373. width: 30%;
  1374. }
  1375. #nav_entries a {
  1376. display: block;
  1377. }
  1378. /*=== "Load" parts */
  1379. #first_load {
  1380. margin: 130px auto -170px auto;
  1381. height: 40px;
  1382. }
  1383. #load_more {
  1384. min-height: 40px;
  1385. }
  1386. #load_more.loading,
  1387. #load_more.loading:hover {
  1388. padding: 10px 20px;
  1389. background: var(--frss-loading-image) center center no-repeat var(--frss-background-color);
  1390. font-size: 0;
  1391. }
  1392. .loading {
  1393. background: var(--frss-loading-image) center center no-repeat;
  1394. font-size: 0;
  1395. }
  1396. #bigMarkAsRead {
  1397. margin: 0 0 100% 0;
  1398. margin: 0 0 100vh 0;
  1399. padding: 1em 0 50px 0;
  1400. display: block;
  1401. width: 100%;
  1402. text-align: center;
  1403. font-size: 1.25rem;
  1404. }
  1405. .bigTick {
  1406. font-size: 4rem;
  1407. }
  1408. /*=== Statistiques */
  1409. .stat-grid {
  1410. display: grid;
  1411. grid-template-columns: 1fr 1fr;
  1412. grid-gap: 20px;
  1413. }
  1414. .stat {
  1415. grid-column: 1 / span 2;
  1416. }
  1417. .stat.half {
  1418. grid-column: auto;
  1419. }
  1420. .stat > table {
  1421. width: 100%;
  1422. }
  1423. .statGraph {
  1424. height: 300px;
  1425. }
  1426. /*=== GLOBAL VIEW */
  1427. /*================*/
  1428. #stream.global {
  1429. text-align: center;
  1430. }
  1431. #stream.global .box {
  1432. text-align: left;
  1433. }
  1434. #global #panel {
  1435. bottom: 99vh;
  1436. display: block;
  1437. transition: visibility .3s, bottom .3s;
  1438. visibility: hidden;
  1439. }
  1440. #global #panel.visible {
  1441. bottom: 2%;
  1442. visibility: visible;
  1443. }
  1444. /*=== Panel */
  1445. #overlay {
  1446. position: fixed;
  1447. top: 0; bottom: 0;
  1448. left: 0; right: 0;
  1449. background-color: var(--frss-modal-background-color-transparent);
  1450. opacity: 0;
  1451. transition: visibility .3s, opacity .3s;
  1452. visibility: hidden;
  1453. }
  1454. #overlay.visible {
  1455. opacity: 1;
  1456. visibility: visible;
  1457. }
  1458. #panel {
  1459. background-color: var(--frss-background-color);
  1460. display: none;
  1461. position: fixed;
  1462. top: 2%; bottom: 2%;
  1463. left: 3%; right: 3%;
  1464. overflow: auto;
  1465. }
  1466. #overlay .close {
  1467. position: fixed;
  1468. top: 0; bottom: 0;
  1469. left: 0; right: 0;
  1470. display: block;
  1471. }
  1472. /*=== Slider */
  1473. html.slider-active {
  1474. overflow: hidden;
  1475. }
  1476. #slider {
  1477. background-color: var(--frss-background-color);
  1478. width: 0;
  1479. position: fixed;
  1480. top: 0; bottom: 0;
  1481. right: 0;
  1482. overflow: auto;
  1483. z-index: 100;
  1484. }
  1485. #slider.active:target {
  1486. width: 750px;
  1487. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1488. }
  1489. #slider.sliding {
  1490. transition: width 200ms linear;
  1491. }
  1492. #close-slider {
  1493. position: fixed;
  1494. top: 0; bottom: 0;
  1495. left: 100%; right: 0;
  1496. cursor: pointer;
  1497. }
  1498. #slider.active:target + #close-slider {
  1499. background-color: var(--frss-modal-background-color-transparent);
  1500. font-size: 0;
  1501. left: 0;
  1502. z-index: 99;
  1503. }
  1504. #close-slider img {
  1505. display: none;
  1506. }
  1507. #slider.active:target + #close-slider img {
  1508. padding: 0.5rem;
  1509. display: inline-block;
  1510. position: absolute;
  1511. top: 0.5rem;
  1512. left: 0.5rem;
  1513. filter: grayscale(100%) brightness(2.5);
  1514. }
  1515. #slider-content .loader {
  1516. height: 90vh;
  1517. background-image: url('loader.gif');
  1518. background-repeat: no-repeat;
  1519. background-position: center;
  1520. }
  1521. /*=== Configuration pages */
  1522. .post {
  1523. padding: 1rem 2rem;
  1524. font-size: 0.9em;
  1525. }
  1526. .post form {
  1527. margin: 1rem 0;
  1528. }
  1529. .post.content.centered {
  1530. max-width: 550px;
  1531. }
  1532. /*=== SLIDESHOW Theme Preview */
  1533. /*==============*/
  1534. .theme-preview-list {
  1535. padding: 0;
  1536. display: block;
  1537. max-width: 640px;
  1538. height: 320px;
  1539. border: 1px solid var(--frss-border-color);
  1540. position: relative;
  1541. min-width: 260px;
  1542. margin-bottom: 30px;
  1543. }
  1544. .theme-preview-list input {
  1545. display: none;
  1546. }
  1547. .theme-preview-list .preview-container {
  1548. display: block;
  1549. }
  1550. .theme-preview-list .preview {
  1551. display: block;
  1552. width: 100%;
  1553. height: 100%;
  1554. top: 0;
  1555. opacity: 0;
  1556. position: absolute;
  1557. transform: scale(0);
  1558. transition: all .7s ease-in-out;
  1559. }
  1560. .theme-preview-list .preview img {
  1561. width: 100%;
  1562. height: 100%;
  1563. }
  1564. .theme-preview-list .nav label {
  1565. padding: 0;
  1566. display: none;
  1567. width: 65px;
  1568. height: 100%;
  1569. color: var(--frss-font-color-light);
  1570. font-family: "Varela Round", sans-serif;
  1571. font-size: 9rem;
  1572. position: absolute;
  1573. opacity: 0;
  1574. z-index: 9;
  1575. cursor: pointer;
  1576. transition: opacity .2s;
  1577. text-align: center;
  1578. line-height: 2;
  1579. background-color: var(--frss-background-color-transparent);
  1580. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  1581. }
  1582. .theme-preview-list .properties {
  1583. padding: 5px;
  1584. background-color: var(--frss-background-color-transparent);
  1585. display: none;
  1586. border-top: 1px solid var(--frss-border-color);
  1587. bottom: 0;
  1588. left: 0; right: 0;
  1589. position: absolute;
  1590. z-index: 10;
  1591. backdrop-filter: blur(3px);
  1592. }
  1593. .theme-preview-list .properties .page-number {
  1594. right: 5px;
  1595. top: 0;
  1596. position: absolute;
  1597. }
  1598. .theme-preview-list .preview + .nav label {
  1599. opacity: 0.5;
  1600. }
  1601. .theme-preview-list .nav label:hover {
  1602. opacity: 1;
  1603. }
  1604. .theme-preview-list .nav .next {
  1605. right: 0;
  1606. }
  1607. .theme-preview-list input:checked + .preview-container .preview {
  1608. opacity: 1;
  1609. transform: scale(1);
  1610. transition: opacity 1s ease-in-out;
  1611. }
  1612. .theme-preview-list input:checked + .preview-container .nav label {
  1613. display: block;
  1614. }
  1615. .theme-preview-list input:checked + .preview-container .properties {
  1616. display: block;
  1617. }
  1618. /*=== DIVERS */
  1619. /*===========*/
  1620. .log-level {
  1621. text-align: center;
  1622. }
  1623. .log-item.log-error {
  1624. background-color: var(--frss-background-color-error-transparent);
  1625. }
  1626. .item.share.error a::after,
  1627. .category .title.error::before,
  1628. .item.feed.error .item-title::before,
  1629. .theme-preview-list .properties .error::before {
  1630. content: " ⚠ ";
  1631. color: var(--frss-font-color-error);
  1632. }
  1633. .item.share button {
  1634. position: relative;
  1635. }
  1636. .item.share button::after {
  1637. content: "";
  1638. background: var(--frss-background-color-transparent);
  1639. display: inline-block;
  1640. position: absolute;
  1641. padding-top: 1rem;
  1642. opacity: 0;
  1643. transition: all 0.6s;
  1644. left: 0px;
  1645. width: 100%;
  1646. height: 1rem;
  1647. }
  1648. .item.share button:active::after {
  1649. opacity: 1;
  1650. width: 0;
  1651. transition: 0s
  1652. }
  1653. .item.share button.ok::before {
  1654. content: "✓";
  1655. position: absolute;
  1656. left: 0.5rem;
  1657. animation-duration: 10s;
  1658. animation-fill-mode: both;
  1659. animation-name: easeOut;
  1660. }
  1661. .item.share button.error::before {
  1662. content: "❌";
  1663. position: absolute;
  1664. left: 0.25rem;
  1665. }
  1666. .item.share button.error {
  1667. text-decoration: line-through;
  1668. }
  1669. @keyframes easeOut {
  1670. 0% {opacity: 1;}
  1671. 80% {opacity: 1;}
  1672. 100% {opacity: 0;}
  1673. }
  1674. .deprecated {
  1675. font-weight: bold;
  1676. }
  1677. .feed.item.error.active .item-title::before {
  1678. color: var(--frss-font-color-light);
  1679. }
  1680. .feed[data-priority="20"] .item-title,
  1681. .flux[data-priority="20"] .website > a {
  1682. text-decoration: underline double;
  1683. }
  1684. .aside .category .title:not([data-unread="0"])::after,
  1685. .aside .feed .item-title:not([data-unread="0"])::after {
  1686. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1687. padding: 0.25rem 0.5rem;
  1688. min-width: 2rem;
  1689. display: block;
  1690. content: attr(data-unread);
  1691. position: absolute;
  1692. top: 0;
  1693. right: 0.75rem;
  1694. text-align: center;
  1695. font-size: 0.9rem;
  1696. border-radius: 0.75rem;
  1697. line-height: 1;
  1698. font-weight: initial;
  1699. }
  1700. .global .box.category .title:not([data-unread="0"])::after {
  1701. margin: 0.5rem 0 0 0;
  1702. padding: 5px 10px;
  1703. min-width: 20px;
  1704. display: block;
  1705. content: attr(data-unread);
  1706. position: absolute;
  1707. top: 0;
  1708. right: 10px;
  1709. text-align: center;
  1710. font-size: 0.75rem;
  1711. border-radius: 12px;
  1712. line-height: 1;
  1713. font-weight: initial;
  1714. }
  1715. .box .box-title .configure:not([data-cat-position=""])::after {
  1716. margin: 0.5rem 0px 0px;
  1717. padding: 5px 10px;
  1718. min-width: 20px;
  1719. display: block;
  1720. content: attr(data-cat-position);
  1721. position: absolute;
  1722. top: 0px;
  1723. right: 10px;
  1724. text-align: center;
  1725. font-size: 0.75rem;
  1726. border-radius: 12px;
  1727. line-height: 1;
  1728. font-weight: initial;
  1729. }
  1730. .feed .item-title:not([data-unread="0"])::after {
  1731. margin: 1em 0 0 0;
  1732. }
  1733. #stream.global .feed {
  1734. position: relative;
  1735. }
  1736. #stream.global .feed .item-title:not([data-unread="0"])::after {
  1737. margin: 0.5rem 0px 0px;
  1738. padding: 5px 10px;
  1739. min-width: 20px;
  1740. display: block;
  1741. content: attr(data-unread);
  1742. position: absolute;
  1743. top: 0px;
  1744. right: 0px;
  1745. text-align: center;
  1746. font-size: 0.75rem;
  1747. border-radius: 12px;
  1748. line-height: 1;
  1749. font-weight: initial;
  1750. }
  1751. .feed.active .item-title:not([data-unread="0"])::after {
  1752. color: var(--frss-font-color-light);
  1753. border: 1px solid var(--frss-border-color);
  1754. font-weight: bold;
  1755. }
  1756. .feed .item-title:not([data-unread="0"]) {
  1757. font-weight: bold;
  1758. width: calc(100% - 5.5rem);
  1759. }
  1760. .state_unread .category:not(.active)[data-unread="0"],
  1761. .state_unread .feed:not(.active)[data-unread="0"] {
  1762. display: none;
  1763. }
  1764. .nav_menu {
  1765. padding-top: var(--frss-padding-top-bottom);
  1766. padding-bottom: var(--frss-padding-top-bottom);
  1767. background: inherit;
  1768. text-align: center;
  1769. }
  1770. .nav_mobile {
  1771. display: none;
  1772. }
  1773. .nav-login,
  1774. .aside .toggle_aside,
  1775. #slider .toggle_aside,
  1776. .nav_menu .toggle_aside,
  1777. .configure .dropdown-header-close {
  1778. display: none;
  1779. }
  1780. .enclosure [download] {
  1781. font-size: 3rem;
  1782. margin-left: .8em;
  1783. }
  1784. .default-user {
  1785. font-style: italic;
  1786. }
  1787. /*=== READER */
  1788. /*===========*/
  1789. .reader .nav_menu .toggle_aside {
  1790. display: inline-block;
  1791. }
  1792. .reader .aside .toggle_aside {
  1793. display: block;
  1794. width: 100%;
  1795. }
  1796. .reader .aside {
  1797. display: none;
  1798. width: 0;
  1799. }
  1800. .reader .aside:target {
  1801. display: table-cell;
  1802. width: 300px;
  1803. }
  1804. .reader .aside .stick {
  1805. display: none;
  1806. }
  1807. .reader .flux {
  1808. padding: 1rem 0 2rem;
  1809. }
  1810. .reader .flux .content {
  1811. padding: 3rem 0;
  1812. background-color: var(--frss-background-color);
  1813. border: 1px solid var(--frss-border-color);
  1814. }
  1815. #loglist-wrapper {
  1816. overflow-x: auto;
  1817. }
  1818. /*=== MOBILE */
  1819. /*===========*/
  1820. @media (max-width: 840px) {
  1821. :root {
  1822. --frss-padding-flux-items: 0.5rem;
  1823. }
  1824. .flux_header .item.website span,
  1825. .item .date, .day .date,
  1826. .dropdown-menu > .no-mobile,
  1827. .no-mobile {
  1828. display: none;
  1829. }
  1830. .only-mobile {
  1831. display: unset !important;
  1832. }
  1833. .header > .item {
  1834. padding: 5px;
  1835. }
  1836. .header > .item.title {
  1837. width: 75%;
  1838. text-align: left;
  1839. }
  1840. .header > .item.title .logo {
  1841. height: 24px;
  1842. }
  1843. header .item.search form {
  1844. display: none;
  1845. }
  1846. .aside:target {
  1847. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1848. }
  1849. .aside .toggle_aside,
  1850. #overlay .close,
  1851. .dropdown-menu .toggle_aside,
  1852. #slider .toggle_aside {
  1853. padding: 1rem 0;
  1854. display: block;
  1855. width: 100%;
  1856. border-bottom: 1px solid var(--frss-border-color);
  1857. text-align: center;
  1858. }
  1859. .flux .flux_header .item .title:has(~.date) {
  1860. padding-right: 1rem;
  1861. }
  1862. #overlay .close {
  1863. position: relative;
  1864. }
  1865. .form-group {
  1866. margin-bottom: 10px;
  1867. }
  1868. .form-group .group-name {
  1869. float: none;
  1870. width: auto;
  1871. text-align: left;
  1872. }
  1873. .form-group .group-controls {
  1874. margin-left: 0;
  1875. }
  1876. .dropdown {
  1877. position: inherit;
  1878. }
  1879. .dropdown .dropdown-header,
  1880. .dropdown .dropdown-section {
  1881. line-height: 2;
  1882. }
  1883. .dropdown .dropdown-menu {
  1884. width: 94%;
  1885. border-radius: 0;
  1886. left: 3%;
  1887. right: 3%;
  1888. position: absolute;
  1889. }
  1890. .dropdown .dropdown-menu .item {
  1891. margin: 2px 0;
  1892. }
  1893. .dropdown .dropdown-menu .item .stick .btn {
  1894. margin: 0;
  1895. }
  1896. .dropdown .dropdown-menu .item form {
  1897. display: block;
  1898. text-align: center;
  1899. }
  1900. .dropdown .dropdown-menu .item .stick.search {
  1901. width: calc(100% - 20px);
  1902. }
  1903. .dropdown .dropdown-menu .item .stick.search input {
  1904. width: 95%;
  1905. }
  1906. .dropdown .dropdown-menu .item button.as-link,
  1907. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  1908. width: 100%;
  1909. }
  1910. .dropdown-target:target ~ .dropdown-toggle {
  1911. position: relative;
  1912. overflow: visible;
  1913. }
  1914. .dropdown-target:target ~ .dropdown-toggle::after {
  1915. background-color: var(--frss-background-color);
  1916. width: 10px;
  1917. height: 10px;
  1918. content: "";
  1919. position: absolute;
  1920. right: 8px;
  1921. bottom: -17px;
  1922. transform: rotate(45deg);
  1923. z-index: 9999;
  1924. cursor: default;
  1925. }
  1926. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1927. margin-top: 10px;
  1928. }
  1929. .configure .dropdown .dropdown-menu {
  1930. width: 90%;
  1931. height: 100vh;
  1932. top: 0;
  1933. right: 0;
  1934. bottom: 0;
  1935. left: auto;
  1936. position: fixed;
  1937. padding-top: 0;
  1938. margin-top: 0;
  1939. overflow: auto;
  1940. box-shadow: -3px 0 3px var(--frss-box-shadow-color-transparent);
  1941. }
  1942. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  1943. content: none;
  1944. }
  1945. .dropdown-target:target ~ .dropdown-menu {
  1946. display: table-cell;
  1947. z-index: 1000;
  1948. }
  1949. .dropdown-menu::after {
  1950. display: none;
  1951. }
  1952. .configure .dropdown-header-close,
  1953. .nav-login {
  1954. display: block;
  1955. }
  1956. .nav_menu .toggle_aside {
  1957. display: inline-block;
  1958. }
  1959. .aside:target + .close-aside,
  1960. .configure .dropdown-target:target ~ .dropdown-close {
  1961. background-color: var(--frss-modal-background-color-transparent);
  1962. display: block;
  1963. font-size: 0;
  1964. position: fixed;
  1965. top: 0;
  1966. bottom: 0;
  1967. left: 0;
  1968. right: 0;
  1969. cursor: default;
  1970. z-index: 99;
  1971. }
  1972. .nav_mobile {
  1973. display: block;
  1974. }
  1975. .aside {
  1976. position: fixed;
  1977. top: 0; bottom: 0;
  1978. left: -1px;
  1979. width: 0;
  1980. overflow: hidden;
  1981. z-index: 100;
  1982. }
  1983. .aside:target,
  1984. .reader .aside:target {
  1985. width: 90%;
  1986. height: 100vh;
  1987. }
  1988. .aside_feed .configure-feeds {
  1989. margin-top: 10px;
  1990. }
  1991. .aside_feed .tree-folder-items .feed .favicon {
  1992. margin: 0 0.5rem 0 0;
  1993. padding: 0;
  1994. }
  1995. .flux_header .item.website {
  1996. width: 40px;
  1997. }
  1998. .flux:not(.current):hover .item.title {
  1999. position: relative;
  2000. width: auto;
  2001. white-space: nowrap;
  2002. top: 0;
  2003. }
  2004. .content header,
  2005. .content .text,
  2006. .content footer {
  2007. padding: 1rem;
  2008. }
  2009. table {
  2010. font-size: 0.9rem;
  2011. }
  2012. th, td {
  2013. padding: 0.25rem;
  2014. }
  2015. .notification {
  2016. padding: 0.75rem;
  2017. top: 0;
  2018. left: 0;
  2019. right: 0;
  2020. }
  2021. #nav_entries {
  2022. width: 100%;
  2023. }
  2024. #panel {
  2025. top: 0; bottom: 0;
  2026. left: 0; right: 0;
  2027. position: relative;
  2028. height: calc(100vh - 3.5rem);
  2029. }
  2030. #slider.active:target {
  2031. width: 100%;
  2032. }
  2033. #close-slider img {
  2034. display: initial;
  2035. }
  2036. #slider.active:target #close-slider img {
  2037. display: initial;
  2038. position: initial;
  2039. filter: initial;
  2040. }
  2041. #slider.active:target + #close-slider {
  2042. display: none;
  2043. }
  2044. .stat.half {
  2045. grid-column: 1 / span 2;
  2046. }
  2047. }
  2048. /*=== PRINTER */
  2049. /*============*/
  2050. @media print {
  2051. .header, .aside,
  2052. .nav_menu, .day,
  2053. .flux_header,
  2054. .flux_content .bottom,
  2055. .pagination,
  2056. #stream-footer,
  2057. #nav_entries {
  2058. display: none;
  2059. }
  2060. html, body {
  2061. background-color: var(--frss-background-color);
  2062. font-family: Serif;
  2063. }
  2064. #global,
  2065. .flux_content {
  2066. display: block !important;
  2067. }
  2068. .flux_content .content {
  2069. width: 100% !important;
  2070. }
  2071. .flux_content .content a {
  2072. color: var(--frss-font-color-dark);
  2073. }
  2074. .flux_content .content a::after {
  2075. content: " [" attr(href) "] ";
  2076. font-style: italic;
  2077. }
  2078. }
  2079. /*=== PREVIEW */
  2080. /*===========*/
  2081. .preview_controls {
  2082. margin-left: auto;
  2083. margin-right: auto;
  2084. padding: 1rem;
  2085. max-width: 1000px;
  2086. text-align: center;
  2087. background-color: var(--frss-background-color-middle);
  2088. border: 1px solid var(--frss-border-color);
  2089. border-radius: .25rem;
  2090. }
  2091. .preview_controls label {
  2092. display: inline;
  2093. }
  2094. .preview_controls label input[type="radio"] {
  2095. margin-top: -4px;
  2096. }
  2097. .preview_controls label + label {
  2098. margin-left: 1rem;
  2099. }
  2100. .drag-drop-marker {
  2101. margin: -1px;
  2102. }