frss.css 39 KB

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