frss.css 36 KB

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