frss.css 37 KB

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