frss.rtl.css 34 KB

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