frss.css 34 KB

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