frss.rtl.css 34 KB

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