frss.rtl.css 40 KB

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