frss.css 34 KB

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