frss.css 41 KB

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