frss.css 39 KB

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