frss.css 40 KB

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