frss.css 34 KB

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