frss.css 41 KB

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