frss.css 35 KB

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