frss.css 40 KB

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