frss.css 40 KB

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