frss.rtl.css 38 KB

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