frss.css 38 KB

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