frss.css 36 KB

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