frss.rtl.css 36 KB

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