frss.css 37 KB

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