frss.rtl.css 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362
  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: right;
  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 0 0.25rem;
  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-right: 3px;
  203. padding-left: 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-right: 1em;
  244. margin-left: .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: right;
  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: right;
  298. }
  299. .prompt label,
  300. .prompt .help {
  301. text-align: right;
  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: right;
  324. width: 200px;
  325. text-align: left;
  326. }
  327. .form-group .group-controls {
  328. min-width: 250px;
  329. margin: 0 220px 0 0;
  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: left;
  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: left 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: right 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. right: 5px;
  423. left: 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: right 0.6s, left 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. right: unset;
  441. left: 5px;
  442. }
  443. .switch.active:not([disabled]):hover::before {
  444. left: 8px;
  445. }
  446. /* ::after = background */
  447. .switch::after {
  448. content: "";
  449. position: absolute;
  450. top: 50%;
  451. left: 8px;
  452. width: 12px;
  453. height: 12px;
  454. transform: translateY(-50%);
  455. }
  456. .switch.active::after {
  457. width: 14px;
  458. height: 14px;
  459. right: 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. left: 0;
  526. }
  527. .dropdown-menu::after {
  528. background-color: inherit;
  529. width: 10px;
  530. height: 10px;
  531. border-width: 1px 1px 0 0;
  532. border-style: solid;
  533. border-color: var(--frss-border-color);
  534. content: "";
  535. position: absolute;
  536. top: -6px;
  537. left: 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. right: 0; left: 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 0 20px 20px;
  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 16px 8px 8px;
  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: right;
  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. right: 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. left: 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-right: var(--frss-padding-flux-items);
  971. padding-left: 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-right: 1rem;
  1050. color: var(--frss-font-color-grey-dark);
  1051. font-weight: normal;
  1052. }
  1053. .flux .item.date {
  1054. width: 155px;
  1055. text-align: left;
  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-left: 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. line-height: 1.5;
  1080. word-wrap: break-word;
  1081. }
  1082. .content .text {
  1083. overflow-x: auto;
  1084. }
  1085. .content .text div {
  1086. overflow-x: auto;
  1087. }
  1088. .content header,
  1089. .content .text,
  1090. .content footer {
  1091. padding: 0 3rem;
  1092. }
  1093. .content header {
  1094. padding-top: calc(2 * var(--frss-padding-top-bottom));
  1095. }
  1096. .content footer {
  1097. padding-bottom: calc(2 * var(--frss-padding-top-bottom));
  1098. }
  1099. .content.large {
  1100. max-width: 1100px;
  1101. }
  1102. .content.medium {
  1103. max-width: 900px;
  1104. }
  1105. .content.thin {
  1106. max-width: 650px;
  1107. }
  1108. .content .article-header-topline {
  1109. margin-bottom: 0.75rem;
  1110. }
  1111. .content > header,
  1112. .content > footer {
  1113. color: var(--frss-font-color-grey-light);
  1114. font-size: 0.9rem;
  1115. }
  1116. .content > footer {
  1117. padding-top: 1rem;
  1118. clear: both;
  1119. }
  1120. .content > footer .subtitle {
  1121. padding: 2rem 0 1rem;
  1122. border-top: 2px solid var(--frss-border-color);
  1123. }
  1124. .content > header .tags,
  1125. .content > footer .tags {
  1126. display: flex;
  1127. line-height: 1;
  1128. }
  1129. .content > header .tags .icon,
  1130. .content > header .website .favicon,
  1131. .content > footer .tags .icon {
  1132. margin: 0 0 0 0.5rem;
  1133. line-height: 1.5;
  1134. }
  1135. .content > header .tags .list-tags,
  1136. .content > footer .tags .list-tags {
  1137. margin: 0;
  1138. padding: 0;
  1139. display: inline-block;
  1140. list-style: none;
  1141. }
  1142. .content > header .tags .list-tags .item.tag,
  1143. .content > footer .tags .list-tags .item.tag {
  1144. padding: 0 0 0 0.75rem;
  1145. display: inline-block;
  1146. line-height: 1.5;
  1147. }
  1148. .content > header .tags .list-tags .item.tag a.link-tag,
  1149. .content > footer .tags .list-tags .item.tag a.link-tag {
  1150. display: inline;
  1151. }
  1152. .content > header h1 {
  1153. margin: 0.5rem 0;
  1154. }
  1155. .content .text ul,
  1156. .content .text ol,
  1157. .content .text dd {
  1158. margin: 0 1rem 0 0;
  1159. padding: 0 1rem 0.25rem 0;
  1160. }
  1161. .content pre {
  1162. overflow: auto;
  1163. }
  1164. .subtitle > div {
  1165. display: inline;
  1166. }
  1167. .subtitle > div:not(:first-of-type)::before {
  1168. content: ' · ';
  1169. }
  1170. /*=== Notification and actualize notification */
  1171. .notification {
  1172. padding: 0.75rem 0.75rem 0.75rem 3.5rem;
  1173. position: absolute;
  1174. top: 1rem;
  1175. right: 25%; left: 25%;
  1176. z-index: 9999;
  1177. background-color: var(--frss-background-color);
  1178. font-weight: bold;
  1179. font-size: 0.9rem;
  1180. border: 1px solid var(--frss-border-color);
  1181. opacity: 1;
  1182. text-align: center;
  1183. line-height: 2;
  1184. vertical-align: middle;
  1185. visibility: visible;
  1186. transition: visibility 0s, opacity .3s linear;
  1187. }
  1188. .notification.closed {
  1189. opacity: 0;
  1190. visibility: hidden;
  1191. }
  1192. .notification a.close {
  1193. padding: 0 1rem;
  1194. position: absolute;
  1195. top: 0; bottom: 0;
  1196. left: 0;
  1197. display: inline-block;
  1198. line-height: 3;
  1199. }
  1200. .notification a.close:hover {
  1201. background-color: var(--frss-darken-background-hover-transparent);
  1202. }
  1203. .notification a.close:hover .icon {
  1204. filter: brightness(2);
  1205. }
  1206. #actualizeProgress {
  1207. position: fixed;
  1208. }
  1209. #actualizeProgress progress {
  1210. max-width: 100%;
  1211. vertical-align: middle;
  1212. }
  1213. #actualizeProgress .progress {
  1214. vertical-align: middle;
  1215. }
  1216. /*=== Popup */
  1217. #popup {
  1218. display: none;
  1219. position: fixed;
  1220. z-index: 200;
  1221. right: 0;
  1222. top: 0;
  1223. width: 100%;
  1224. height: 100%;
  1225. overflow: auto;
  1226. background-color: var(--frss-modal-background-color-transparent);
  1227. }
  1228. #popup-content {
  1229. margin: 5rem auto;
  1230. display: table;
  1231. width: 80%;
  1232. height: 80%;
  1233. overflow: hidden;
  1234. background-color: var(--frss-background-color);
  1235. border-radius: .25rem;
  1236. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1237. }
  1238. .popup-row {
  1239. display: table-row;
  1240. width: 100%;
  1241. }
  1242. #popup-close {
  1243. float: left;
  1244. width: 27px;
  1245. height: 22px;
  1246. padding-top: 5px;
  1247. }
  1248. #popup-close:hover,
  1249. #popup-close:focus {
  1250. color: var(--frss-font-color-dark);
  1251. text-decoration: none;
  1252. cursor: pointer;
  1253. }
  1254. #popup-iframe-container {
  1255. display: none;
  1256. height: 100%;
  1257. }
  1258. #popup-iframe-sub {
  1259. padding: 10px;
  1260. height: 100%;
  1261. }
  1262. #popup-iframe {
  1263. width: 100%;
  1264. height: 100%;
  1265. }
  1266. /*=== Navigation menu (for articles) */
  1267. #nav_entries {
  1268. display: table;
  1269. position: fixed;
  1270. bottom: 0; right: 0;
  1271. width: 300px;
  1272. table-layout: fixed;
  1273. padding-bottom: env(safe-area-inset-bottom);
  1274. }
  1275. #nav_entries .item {
  1276. display: table-cell;
  1277. width: 30%;
  1278. }
  1279. #nav_entries a {
  1280. display: block;
  1281. }
  1282. /*=== "Load" parts */
  1283. #first_load {
  1284. margin: 130px auto -170px auto;
  1285. height: 40px;
  1286. }
  1287. #load_more {
  1288. min-height: 40px;
  1289. }
  1290. #load_more.loading,
  1291. #load_more.loading:hover {
  1292. padding: 10px 20px;
  1293. background: var(--frss-loading-image) center center no-repeat var(--frss-background-color);
  1294. font-size: 0;
  1295. }
  1296. .loading {
  1297. background: var(--frss-loading-image) center center no-repeat;
  1298. font-size: 0;
  1299. }
  1300. #bigMarkAsRead {
  1301. margin: 0 0 100% 0;
  1302. margin: 0 0 100vh 0;
  1303. padding: 1em 0 50px 0;
  1304. display: block;
  1305. width: 100%;
  1306. text-align: center;
  1307. font-size: 1.25rem;
  1308. }
  1309. .bigTick {
  1310. font-size: 4rem;
  1311. }
  1312. /*=== Statistiques */
  1313. .stat-grid {
  1314. display: grid;
  1315. grid-template-columns: 1fr 1fr;
  1316. grid-gap: 20px;
  1317. }
  1318. .stat {
  1319. grid-column: 1 / span 2;
  1320. }
  1321. .stat.half {
  1322. grid-column: auto;
  1323. }
  1324. .stat > table {
  1325. width: 100%;
  1326. }
  1327. .statGraph {
  1328. height: 300px;
  1329. }
  1330. /*=== GLOBAL VIEW */
  1331. /*================*/
  1332. #stream.global {
  1333. text-align: center;
  1334. }
  1335. #stream.global .box {
  1336. text-align: right;
  1337. }
  1338. #global > #panel {
  1339. bottom: 99vh;
  1340. display: block;
  1341. transition: visibility .3s, bottom .3s;
  1342. visibility: hidden;
  1343. }
  1344. #global > #panel.visible {
  1345. bottom: 2%;
  1346. visibility: visible;
  1347. }
  1348. /*=== Panel */
  1349. #overlay {
  1350. position: fixed;
  1351. top: 0; bottom: 0;
  1352. right: 0; left: 0;
  1353. background-color: var(--frss-modal-background-color-transparent);
  1354. opacity: 0;
  1355. transition: visibility .3s, opacity .3s;
  1356. visibility: hidden;
  1357. }
  1358. #overlay.visible {
  1359. opacity: 1;
  1360. visibility: visible;
  1361. }
  1362. #panel {
  1363. background-color: var(--frss-background-color);
  1364. display: none;
  1365. position: fixed;
  1366. top: 2%; bottom: 2%;
  1367. right: 3%; left: 3%;
  1368. overflow: auto;
  1369. }
  1370. #overlay .close {
  1371. position: fixed;
  1372. top: 0; bottom: 0;
  1373. right: 0; left: 0;
  1374. display: block;
  1375. }
  1376. #overlay .close img {
  1377. display: none;
  1378. }
  1379. /*=== Slider */
  1380. html.slider-active {
  1381. overflow: hidden;
  1382. }
  1383. #slider {
  1384. background-color: var(--frss-background-color);
  1385. width: 0;
  1386. position: fixed;
  1387. top: 0; bottom: 0;
  1388. left: 0;
  1389. overflow: auto;
  1390. z-index: 100;
  1391. }
  1392. #slider.active:target {
  1393. width: 750px;
  1394. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1395. }
  1396. #slider.sliding {
  1397. transition: width 200ms linear;
  1398. }
  1399. #close-slider {
  1400. position: fixed;
  1401. top: 0; bottom: 0;
  1402. right: 100%; left: 0;
  1403. cursor: pointer;
  1404. }
  1405. #slider.active:target + #close-slider {
  1406. background-color: var(--frss-modal-background-color-transparent);
  1407. font-size: 0;
  1408. right: 0;
  1409. z-index: 99;
  1410. }
  1411. #close-slider img {
  1412. display: none;
  1413. }
  1414. #slider.active:target + #close-slider img {
  1415. padding: 0.5rem;
  1416. display: inline-block;
  1417. position: absolute;
  1418. top: 0.5rem;
  1419. right: 0.5rem;
  1420. filter: grayscale(100%) brightness(2.5);
  1421. }
  1422. #slider-content .loader {
  1423. height: 90vh;
  1424. background-image: url('loader.gif');
  1425. background-repeat: no-repeat;
  1426. background-position: center;
  1427. }
  1428. /*=== SLIDESHOW */
  1429. /*==============*/
  1430. .slides {
  1431. padding: 0;
  1432. display: block;
  1433. max-width: 640px;
  1434. height: 320px;
  1435. border: 1px solid var(--frss-border-color);
  1436. position: relative;
  1437. min-width: 260px;
  1438. margin-bottom: 30px;
  1439. }
  1440. .slides input {
  1441. display: none;
  1442. }
  1443. .slide-container {
  1444. display: block;
  1445. }
  1446. .slide {
  1447. display: block;
  1448. width: 100%;
  1449. height: 100%;
  1450. top: 0;
  1451. opacity: 0;
  1452. position: absolute;
  1453. transform: scale(0);
  1454. transition: all .7s ease-in-out;
  1455. }
  1456. .slide img {
  1457. width: 100%;
  1458. height: 100%;
  1459. }
  1460. .nav label {
  1461. padding: 0;
  1462. display: none;
  1463. width: 65px;
  1464. height: 100%;
  1465. color: var(--frss-font-color-light);
  1466. font-family: "Varela Round", sans-serif;
  1467. font-size: 9rem;
  1468. position: absolute;
  1469. opacity: 0;
  1470. z-index: 9;
  1471. cursor: pointer;
  1472. transition: opacity .2s;
  1473. text-align: center;
  1474. line-height: 2;
  1475. background-color: var(--frss-background-color-transparent);
  1476. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  1477. }
  1478. .properties {
  1479. padding: 5px;
  1480. background-color: var(--frss-background-color-transparent);
  1481. display: none;
  1482. border-top: 1px solid var(--frss-border-color);
  1483. bottom: 0;
  1484. right: 0; left: 0;
  1485. position: absolute;
  1486. z-index: 10;
  1487. backdrop-filter: blur(3px);
  1488. }
  1489. .properties .page-number {
  1490. left: 5px;
  1491. top: 0;
  1492. position: absolute;
  1493. }
  1494. .slide:hover + .nav label {
  1495. opacity: 0.5;
  1496. }
  1497. .nav label:hover {
  1498. opacity: 1;
  1499. }
  1500. .nav .next {
  1501. left: 0;
  1502. }
  1503. input:checked + .slide-container .slide {
  1504. opacity: 1;
  1505. transform: scale(1);
  1506. transition: opacity 1s ease-in-out;
  1507. }
  1508. input:checked + .slide-container .nav label {
  1509. display: block;
  1510. }
  1511. input:checked + .slide-container .properties {
  1512. display: block;
  1513. }
  1514. /*=== DIVERS */
  1515. /*===========*/
  1516. .log-level {
  1517. text-align: center;
  1518. }
  1519. .log-item.log-error {
  1520. background-color: var(--frss-background-color-error-transparent);
  1521. }
  1522. .item.share.error a::after,
  1523. .category .title.error::before,
  1524. .item.feed.error .item-title::before,
  1525. .properties .error::before {
  1526. content: " ⚠ ";
  1527. color: var(--frss-font-color-error);
  1528. }
  1529. .deprecated {
  1530. font-weight: bold;
  1531. }
  1532. .feed.item.error.active .item-title::before {
  1533. color: var(--frss-font-color-light);
  1534. }
  1535. .aside .category .title:not([data-unread="0"])::after,
  1536. .aside .feed .item-title:not([data-unread="0"])::after {
  1537. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1538. padding: 0.25rem 0.5rem;
  1539. min-width: 2rem;
  1540. display: block;
  1541. content: attr(data-unread);
  1542. position: absolute;
  1543. top: 0;
  1544. left: 0.75rem;
  1545. text-align: center;
  1546. font-size: 0.9rem;
  1547. border-radius: 0.75rem;
  1548. line-height: 1;
  1549. font-weight: initial;
  1550. }
  1551. .global .box.category .title:not([data-unread="0"])::after {
  1552. margin: 0.5rem 0 0 0;
  1553. padding: 5px 10px;
  1554. min-width: 20px;
  1555. display: block;
  1556. content: attr(data-unread);
  1557. position: absolute;
  1558. top: 0;
  1559. left: 10px;
  1560. text-align: center;
  1561. font-size: 0.75rem;
  1562. border-radius: 12px;
  1563. line-height: 1;
  1564. font-weight: initial;
  1565. }
  1566. .box .box-title .configure:not([data-cat-position=""])::after {
  1567. margin: 0.5rem 0px 0px;
  1568. padding: 5px 10px;
  1569. min-width: 20px;
  1570. display: block;
  1571. content: attr(data-cat-position);
  1572. position: absolute;
  1573. top: 0px;
  1574. left: 10px;
  1575. text-align: center;
  1576. font-size: 0.75rem;
  1577. border-radius: 12px;
  1578. line-height: 1;
  1579. font-weight: initial;
  1580. }
  1581. .feed .item-title:not([data-unread="0"])::after {
  1582. margin: 1em 0 0 0;
  1583. }
  1584. #stream.global .feed {
  1585. position: relative;
  1586. }
  1587. #stream.global .feed .item-title:not([data-unread="0"])::after {
  1588. margin: 0.5rem 0px 0px;
  1589. padding: 5px 10px;
  1590. min-width: 20px;
  1591. display: block;
  1592. content: attr(data-unread);
  1593. position: absolute;
  1594. top: 0px;
  1595. left: 0px;
  1596. text-align: center;
  1597. font-size: 0.75rem;
  1598. border-radius: 12px;
  1599. line-height: 1;
  1600. font-weight: initial;
  1601. }
  1602. .feed.active .item-title:not([data-unread="0"])::after {
  1603. color: var(--frss-font-color-light);
  1604. border: 1px solid var(--frss-border-color);
  1605. font-weight: bold;
  1606. }
  1607. .feed .item-title:not([data-unread="0"]) {
  1608. font-weight: bold;
  1609. width: calc(100% - 5.5rem);
  1610. }
  1611. .state_unread .category:not(.active)[data-unread="0"],
  1612. .state_unread .feed:not(.active)[data-unread="0"] {
  1613. display: none;
  1614. }
  1615. .nav_menu {
  1616. padding-top: var(--frss-padding-top-bottom);
  1617. padding-bottom: var(--frss-padding-top-bottom);
  1618. background: inherit;
  1619. text-align: center;
  1620. }
  1621. .nav_mobile {
  1622. display: none;
  1623. }
  1624. .nav-login,
  1625. .aside .toggle_aside,
  1626. #slider .toggle_aside,
  1627. .nav_menu .toggle_aside,
  1628. .configure .dropdown-header-close {
  1629. display: none;
  1630. }
  1631. .enclosure [download] {
  1632. font-size: 3rem;
  1633. margin-right: .8em;
  1634. }
  1635. .enclosure-description {
  1636. white-space: pre-line;
  1637. }
  1638. .default-user {
  1639. font-style: italic;
  1640. }
  1641. /*=== READER */
  1642. /*===========*/
  1643. .reader .nav_menu .toggle_aside {
  1644. display: inline-block;
  1645. }
  1646. .reader .aside .toggle_aside {
  1647. display: block;
  1648. width: 100%;
  1649. }
  1650. .reader .aside {
  1651. display: none;
  1652. width: 0;
  1653. }
  1654. .reader .aside:target {
  1655. display: table-cell;
  1656. width: 300px;
  1657. }
  1658. .reader .aside .stick {
  1659. display: none;
  1660. }
  1661. .reader .flux {
  1662. padding: 1rem 0 2rem;
  1663. }
  1664. .reader .flux .content {
  1665. padding: 3rem 0;
  1666. background-color: var(--frss-background-color);
  1667. border: 1px solid var(--frss-border-color);
  1668. }
  1669. #loglist-wrapper {
  1670. overflow-x: auto;
  1671. }
  1672. /*=== MOBILE */
  1673. /*===========*/
  1674. @media (max-width: 840px) {
  1675. :root {
  1676. --frss-padding-flux-items: 0.5rem;
  1677. }
  1678. .flux_header .item.website span,
  1679. .item.date, .day .date,
  1680. .dropdown-menu > .no-mobile,
  1681. .no-mobile {
  1682. display: none;
  1683. }
  1684. .only-mobile {
  1685. display: unset !important;
  1686. }
  1687. .header > .item {
  1688. padding: 5px;
  1689. }
  1690. .header > .item.title {
  1691. width: 75%;
  1692. text-align: right;
  1693. }
  1694. .header > .item.title .logo {
  1695. height: 24px;
  1696. }
  1697. header .item.search form {
  1698. display: none;
  1699. }
  1700. .aside:target {
  1701. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1702. }
  1703. .aside .toggle_aside,
  1704. #panel .close,
  1705. .dropdown-menu .toggle_aside,
  1706. #slider .toggle_aside {
  1707. padding: 1rem 0;
  1708. display: block;
  1709. width: 100%;
  1710. border-bottom: 1px solid var(--frss-border-color);
  1711. text-align: center;
  1712. }
  1713. .form-group {
  1714. margin-bottom: 10px;
  1715. }
  1716. .form-group .group-name {
  1717. float: none;
  1718. width: auto;
  1719. text-align: right;
  1720. }
  1721. .form-group .group-controls {
  1722. margin-right: 0;
  1723. }
  1724. .dropdown {
  1725. position: inherit;
  1726. }
  1727. .dropdown .dropdown-header,
  1728. .dropdown .dropdown-section {
  1729. line-height: 2;
  1730. }
  1731. .dropdown .dropdown-menu {
  1732. width: 94%;
  1733. border-radius: 0;
  1734. right: 3%;
  1735. left: 3%;
  1736. position: absolute;
  1737. }
  1738. .dropdown .dropdown-menu .item {
  1739. margin: 2px 0;
  1740. }
  1741. .dropdown .dropdown-menu .item .stick .btn {
  1742. margin: 0;
  1743. }
  1744. .dropdown .dropdown-menu .item form {
  1745. display: block;
  1746. text-align: center;
  1747. }
  1748. .dropdown .dropdown-menu .item .stick.search {
  1749. width: calc(100% - 20px);
  1750. }
  1751. .dropdown .dropdown-menu .item .stick.search input {
  1752. width: 95%;
  1753. }
  1754. .dropdown .dropdown-menu .item button.as-link,
  1755. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  1756. width: 100%;
  1757. }
  1758. .dropdown-target:target ~ .dropdown-toggle {
  1759. position: relative;
  1760. overflow: visible;
  1761. }
  1762. .dropdown-target:target ~ .dropdown-toggle::after {
  1763. background-color: var(--frss-background-color);
  1764. width: 10px;
  1765. height: 10px;
  1766. content: "";
  1767. position: absolute;
  1768. left: 8px;
  1769. bottom: -17px;
  1770. transform: rotate(-45deg);
  1771. z-index: 9999;
  1772. cursor: default;
  1773. }
  1774. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1775. margin-top: 10px;
  1776. }
  1777. .configure .dropdown .dropdown-menu {
  1778. width: 90%;
  1779. height: 100vh;
  1780. top: 0;
  1781. left: 0;
  1782. bottom: 0;
  1783. right: auto;
  1784. position: fixed;
  1785. padding-top: 0;
  1786. margin-top: 0;
  1787. overflow: auto;
  1788. box-shadow: 3px 0 3px var(--frss-box-shadow-color-transparent);
  1789. }
  1790. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  1791. content: none;
  1792. }
  1793. .dropdown-target:target ~ .dropdown-menu {
  1794. display: table-cell;
  1795. z-index: 1000;
  1796. }
  1797. .dropdown-menu::after {
  1798. display: none;
  1799. }
  1800. .aside .toggle_aside,
  1801. .configure .dropdown-header-close,
  1802. .nav-login {
  1803. display: block;
  1804. }
  1805. .nav_menu .toggle_aside,
  1806. #panel .close img {
  1807. display: inline-block;
  1808. }
  1809. .aside:target + .close-aside,
  1810. .configure .dropdown-target:target ~ .dropdown-close {
  1811. background-color: var(--frss-modal-background-color-transparent);
  1812. display: block;
  1813. font-size: 0;
  1814. position: fixed;
  1815. top: 0;
  1816. bottom: 0;
  1817. right: 0;
  1818. left: 0;
  1819. cursor: default;
  1820. z-index: 99;
  1821. }
  1822. .nav_mobile {
  1823. display: block;
  1824. }
  1825. .aside {
  1826. position: fixed;
  1827. top: 0; bottom: 0;
  1828. right: -1px;
  1829. width: 0;
  1830. overflow: hidden;
  1831. z-index: 100;
  1832. }
  1833. .aside:target,
  1834. .reader .aside:target {
  1835. width: 90%;
  1836. height: 100vh;
  1837. }
  1838. .aside_feed .configure-feeds {
  1839. margin-top: 10px;
  1840. }
  1841. .flux_header .item.website {
  1842. width: 40px;
  1843. }
  1844. .flux:not(.current):hover .item.title {
  1845. position: relative;
  1846. width: auto;
  1847. white-space: nowrap;
  1848. top: 0;
  1849. }
  1850. .content header,
  1851. .content .text,
  1852. .content footer {
  1853. padding: 1rem;
  1854. }
  1855. table {
  1856. font-size: 0.9rem;
  1857. }
  1858. th, td {
  1859. padding: 0.25rem;
  1860. }
  1861. .notification {
  1862. padding: 0.75rem;
  1863. top: 0;
  1864. right: 0;
  1865. left: 0;
  1866. }
  1867. #nav_entries {
  1868. width: 100%;
  1869. }
  1870. #panel {
  1871. top: 25px; bottom: 30px;
  1872. right: 0; left: 0;
  1873. }
  1874. #panel .close {
  1875. top: 0; left: 0;
  1876. right: auto; bottom: auto;
  1877. display: inline-block;
  1878. width: 30px;
  1879. height: 30px;
  1880. }
  1881. #slider.active:target {
  1882. width: 100%;
  1883. }
  1884. #close-slider img {
  1885. display: initial;
  1886. }
  1887. #slider.active:target #close-slider img {
  1888. display: initial;
  1889. position: initial;
  1890. filter: initial;
  1891. }
  1892. #slider.active:target + #close-slider {
  1893. display: none;
  1894. }
  1895. .stat.half {
  1896. grid-column: 1 / span 2;
  1897. }
  1898. }
  1899. /*=== PRINTER */
  1900. /*============*/
  1901. @media print {
  1902. .header, .aside,
  1903. .nav_menu, .day,
  1904. .flux_header,
  1905. .flux_content .bottom,
  1906. .pagination,
  1907. #stream-footer,
  1908. #nav_entries {
  1909. display: none;
  1910. }
  1911. html, body {
  1912. background-color: var(--frss-background-color);
  1913. font-family: Serif;
  1914. }
  1915. #global,
  1916. .flux_content {
  1917. display: block !important;
  1918. }
  1919. .flux_content .content {
  1920. width: 100% !important;
  1921. }
  1922. .flux_content .content a {
  1923. color: var(--frss-font-color-dark);
  1924. }
  1925. .flux_content .content a::after {
  1926. content: " [" attr(href) "] ";
  1927. font-style: italic;
  1928. }
  1929. }
  1930. /*=== PREVIEW */
  1931. /*===========*/
  1932. .preview_controls {
  1933. margin-right: auto;
  1934. margin-left: auto;
  1935. padding: 1rem;
  1936. max-width: 1000px;
  1937. text-align: center;
  1938. background-color: var(--frss-background-color-middle);
  1939. border: 1px solid var(--frss-border-color);
  1940. border-radius: .25rem;
  1941. }
  1942. .preview_controls label {
  1943. display: inline;
  1944. }
  1945. .preview_controls label input[type="radio"] {
  1946. margin-top: -4px;
  1947. }
  1948. .preview_controls label + label {
  1949. margin-right: 1rem;
  1950. }
  1951. .drag-drop-marker {
  1952. margin: -1px;
  1953. }