frss.rtl.css 35 KB

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