frss.rtl.css 35 KB

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