frss.css 39 KB

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