frss.css 40 KB

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