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