frss.css 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285
  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. margin: 1rem auto;
  592. padding: 0.75rem 1rem;
  593. display: block;
  594. width: 90%;
  595. }
  596. .alert-warn {
  597. background: inherit;
  598. }
  599. .group-controls .alert {
  600. width: 100%
  601. }
  602. .alert-head {
  603. margin: 0;
  604. font-weight: bold;
  605. }
  606. .alert ul {
  607. margin: 5px 20px;
  608. }
  609. .alert.hide {
  610. display: none;
  611. }
  612. /*=== Icons */
  613. .icon {
  614. display: inline-block;
  615. max-width: none;
  616. height: 1rem;
  617. vertical-align: middle;
  618. line-height: 1;
  619. }
  620. /* === stream-footer **/
  621. #stream-footer {
  622. margin: 0 0 5em;
  623. padding: 1em 0;
  624. width: 100%;
  625. border-top: 1px solid var(--frss-border-color);
  626. text-align: center;
  627. }
  628. /*=== Pagination */
  629. .nav-pagination {
  630. margin: 2em auto;
  631. }
  632. .pagination {
  633. margin: 0 auto;
  634. padding: 0;
  635. display: table;
  636. table-layout: fixed;
  637. text-align: center;
  638. }
  639. .pagination .item {
  640. display: table-cell;
  641. width: 3em;
  642. font-style: italic;
  643. }
  644. .pagination .item.active {
  645. min-width: 3em;
  646. font-weight: bold;
  647. font-style: normal;
  648. }
  649. .pagination .item a {
  650. display: block;
  651. text-decoration: none;
  652. }
  653. .pagination .pager-previous,
  654. .pagination .pager-next {
  655. width: 6em;
  656. }
  657. .pagination .pager-first,
  658. .pagination .pager-last {
  659. width: 7.5em;
  660. }
  661. /*=== Boxes */
  662. .box {
  663. margin: 20px 20px 20px 0;
  664. display: inline-block;
  665. max-width: 95%;
  666. width: 20rem;
  667. vertical-align: top;
  668. }
  669. .box.visible-semi {
  670. border-style: dashed;
  671. opacity: 0.5;
  672. }
  673. .box .box-title {
  674. position: relative;
  675. }
  676. .box .box-title h2 {
  677. display: inline;
  678. font-size: 1.2rem;
  679. font-weight: bold;
  680. }
  681. .box .box-title form {
  682. margin: 0;
  683. }
  684. .box .box-content {
  685. padding: 8px 8px 8px 16px;
  686. display: block;
  687. min-height: 2.5em;
  688. max-height: 260px;
  689. overflow: auto;
  690. }
  691. .box .box-content .item.feed {
  692. display: block;
  693. padding-top: var(--frss-padding-top-bottom);
  694. }
  695. .box .box-content .item.feed.moved {
  696. font-style: italic;
  697. }
  698. .box .box-content .item.feed.moved .favicon {
  699. opacity: 0.4;
  700. }
  701. .box .box-content .item.disabled {
  702. text-align: center;
  703. font-style: italic;
  704. }
  705. .box .box-content-centered {
  706. padding: 30px 5px;
  707. text-align: center;
  708. }
  709. .box .box-content-centered .btn {
  710. margin: 20px 0 0;
  711. }
  712. /*=== Draggable */
  713. [draggable=true]:hover {
  714. cursor: move;
  715. }
  716. .dragging {
  717. background-color: var(--frss-dragdrop-color)
  718. }
  719. .dragging .icon {
  720. visibility: hidden;
  721. }
  722. .drag-disallowed {
  723. opacity: 0.5;
  724. }
  725. .drag-active .drop-zone:not(.drag-disallowed) {
  726. background: repeating-linear-gradient(45deg, transparent, transparent 40px, var(--frss-dragdrop-color-transparent) 40px, var(--frss-dragdrop-color-transparent) 60px);
  727. }
  728. .drag-active .drag-hover.drop-zone {
  729. background-color: var(--frss-dragdrop-color-transparent);
  730. transition: background 0.5s;
  731. }
  732. li.drag-hover {
  733. margin: 0 0 5px;
  734. border-bottom: 2px solid var(--frss-border-color);
  735. }
  736. .drag-drop {
  737. animation-name: droppedKeyframe;
  738. animation-duration: 0.7s;
  739. }
  740. @keyframes droppedKeyframe {
  741. 0% {
  742. background-color: var(--frss-dragdrop-color-transparent);
  743. }
  744. 50% {
  745. background-color: var(--frss-dragdrop-color);
  746. }
  747. 100% {
  748. background-color: none;
  749. }
  750. }
  751. /*=== Scrollbar */
  752. @supports (scrollbar-width: thin) {
  753. #sidebar,
  754. .scrollbar-thin {
  755. scrollbar-color: var(--frss-scrollbar-handle) var(--frss-scrollbar-track);
  756. scrollbar-width: thin;
  757. }
  758. #sidebar:hover,
  759. .scrollbar-thin:hover {
  760. scrollbar-color: var(--frss-scrollbar-handle-hover) var(--frss-scrollbar-track-hover);
  761. }
  762. }
  763. @supports not (scrollbar-width: thin) {
  764. #sidebar::-webkit-scrollbar,
  765. .scrollbar-thin::-webkit-scrollbar {
  766. background-color: var(--frss-scrollbar-track);
  767. width: 8px;
  768. }
  769. #sidebar:hover::-webkit-scrollbar,
  770. .scrollbar-thin:hover::-webkit-scrollbar {
  771. background-color: var(--frss-scrollbar-track-hover);
  772. }
  773. #sidebar::-webkit-scrollbar-thumb,
  774. .scrollbar-thin::-webkit-scrollbar-thumb {
  775. background-color: var(--frss-scrollbar-handle);
  776. display: unset;
  777. border-radius: 5px;
  778. }
  779. #sidebar:hover::-webkit-scrollbar-thumb,
  780. .scrollbar-thin:hover::-webkit-scrollbar-thumb {
  781. background-color: var(--frss-scrollbar-handle-hover);
  782. }
  783. }
  784. /*=== Tree */
  785. .tree {
  786. margin: 0;
  787. max-height: 99vh;
  788. list-style: none;
  789. text-align: left;
  790. overflow-x: hidden;
  791. }
  792. .tree-folder-items {
  793. padding: 0;
  794. list-style: none;
  795. transition: max-height .3s linear;
  796. }
  797. .tree-folder-title {
  798. padding-top: var(--frss-padding-top-bottom);
  799. padding-bottom: var(--frss-padding-top-bottom);
  800. }
  801. .tree-folder-title .title {
  802. display: inline-block;
  803. width: 100%;
  804. vertical-align: middle;
  805. overflow: hidden;
  806. white-space: nowrap;
  807. text-overflow: ellipsis;
  808. }
  809. .tree-folder-items > .item {
  810. display: block;
  811. white-space: nowrap;
  812. }
  813. .tree-folder-items > .item > a {
  814. display: inline-block;
  815. vertical-align: middle;
  816. width: calc(100% - 32px);
  817. overflow: hidden;
  818. white-space: nowrap;
  819. text-overflow: ellipsis;
  820. }
  821. .tree-folder-items .item.feed {
  822. position: relative;
  823. }
  824. .tree-bottom {
  825. visibility: hidden;
  826. margin-bottom: 18em;
  827. }
  828. /*=== STRUCTURE */
  829. /*===============*/
  830. /*=== Header */
  831. .header {
  832. display: table;
  833. width: 100%;
  834. height: calc(2.5rem + 2 * var(--frss-padding-top-bottom));
  835. table-layout: fixed;
  836. }
  837. .header > .item {
  838. padding-top: var(--frss-padding-top-bottom);
  839. padding-bottom: var(--frss-padding-top-bottom);
  840. display: table-cell;
  841. }
  842. .header > .item.title {
  843. width: 300px;
  844. text-align: center;
  845. white-space: nowrap;
  846. }
  847. .header > .item.title h1 {
  848. display: inline-block;
  849. }
  850. .header > .item.title a {
  851. padding: 0.25rem 1rem;
  852. display: inline-block;
  853. }
  854. .header > .item.title .logo {
  855. display: inline-block;
  856. height: 2rem;
  857. vertical-align: middle;
  858. }
  859. .header > .item.title a:hover .logo {
  860. filter: brightness(1.4);
  861. transition: filter 0.1s linear;
  862. }
  863. .header > .item.configure {
  864. width: 100px;
  865. }
  866. input[type="search"] {
  867. -webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */
  868. }
  869. /*=== Body */
  870. #global {
  871. background: inherit;
  872. display: table;
  873. width: 100%;
  874. height: calc(100vh - (calc(2.5rem + 2 * var(--frss-padding-top-bottom) + 1px)));
  875. table-layout: fixed;
  876. }
  877. #stream:not(.alert-warn) {
  878. background: inherit;
  879. }
  880. .aside {
  881. display: table-cell;
  882. width: 300px;
  883. vertical-align: top;
  884. }
  885. .aside + .close-aside {
  886. display: none;
  887. }
  888. /*=== Aside main page */
  889. .aside_feed .category .title {
  890. width: calc(100% - 35px);
  891. }
  892. .aside_feed .category .title:not([data-unread="0"]) {
  893. width: calc(100% - 75px);
  894. }
  895. .aside_feed .tree-folder-title .icon {
  896. padding: 0 0.25rem;
  897. }
  898. .aside_feed .tree-folder-items .item.feed {
  899. padding: var(--frss-padding-top-bottom) 0.75rem;
  900. }
  901. .aside_feed .tree-folder-items:not(.active) {
  902. margin: 0;
  903. padding: 0;
  904. max-height: 0;
  905. border: none;
  906. overflow: hidden;
  907. }
  908. .aside_feed .tree-folder-items .dropdown {
  909. vertical-align: top;
  910. }
  911. .aside_feed .tree-folder-items .dropdown-menu {
  912. left: 0;
  913. }
  914. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  915. visibility: hidden;
  916. cursor: pointer;
  917. }
  918. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  919. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  920. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  921. visibility: visible;
  922. }
  923. .aside .toggle_aside:hover,
  924. #panel .close:hover,
  925. #slider .toggle_aside:hover,
  926. .dropdown-menu .toggle_aside:hover {
  927. background-color: var(--frss-darken-background-hover-transparent);
  928. }
  929. /*=== New article notification */
  930. #new-article {
  931. display: none;
  932. }
  933. #new-article > a {
  934. padding: calc(0.25rem + var(--frss-padding-top-bottom)) 1rem;
  935. display: block;
  936. }
  937. /*=== Day indication */
  938. .day {
  939. background: inherit;
  940. }
  941. .day .name {
  942. position: absolute;
  943. right: 0;
  944. width: 50%;
  945. overflow: hidden;
  946. white-space: nowrap;
  947. text-overflow: ellipsis;
  948. }
  949. /*=== Feed article header and footer */
  950. .flux_header {
  951. background: inherit;
  952. position: relative;
  953. }
  954. .flux .flux_header .item {
  955. white-space: nowrap;
  956. }
  957. .flux .flux_header .item .item-element {
  958. padding: var(--frss-padding-top-bottom) 0;
  959. line-height: 1.5rem;
  960. }
  961. .flux .flux_header .item.manage .item-element,
  962. .flux .flux_header .item.website .item-element,
  963. .flux .flux_header .item.link .item-element {
  964. padding-left: var(--frss-padding-flux-items);
  965. padding-right: var(--frss-padding-flux-items);
  966. }
  967. .flux .item.manage,
  968. .flux .item.link {
  969. width: calc(1rem + 2 * var(--frss-padding-flux-items));
  970. }
  971. .flux .item.website {
  972. width: 200px;
  973. }
  974. .website a:hover .favicon,
  975. a.website:hover .favicon {
  976. filter: grayscale(100%);
  977. }
  978. .flux.not_read .item.title,
  979. .flux.current .item.title {
  980. font-weight: bold;
  981. }
  982. .flux:not(.current):hover .item.title {
  983. background-color: inherit;
  984. max-width: calc(100% - 320px);
  985. position: absolute;
  986. }
  987. .flux:not(.current):hover .item.title.multiline {
  988. position: initial;
  989. }
  990. .flux .item.title a {
  991. color: var(--frss-font-color-dark);
  992. text-decoration: none;
  993. }
  994. .flux .item.thumbnail {
  995. line-height: 0;
  996. padding: 0.75rem;
  997. height: 80px;
  998. }
  999. .flux .item.thumbnail.small {
  1000. height: 40px;
  1001. }
  1002. .flux .item.thumbnail.portrait {
  1003. width: 60px;
  1004. }
  1005. .flux .item.thumbnail.square {
  1006. width: 80px;
  1007. }
  1008. .flux .item.thumbnail.landscape {
  1009. width: 128px;
  1010. }
  1011. .flux .item.thumbnail.portrait.small {
  1012. width: 30px;
  1013. }
  1014. .flux .item.thumbnail.square.small {
  1015. width: 40px;
  1016. }
  1017. .flux .item.thumbnail.landscape.small {
  1018. width: 64px;
  1019. }
  1020. .flux .item.thumbnail img {
  1021. background: repeating-linear-gradient( -45deg, var(--frss-noThumbnailImage-background-color), var(--frss-noThumbnailImage-background-color) 5px, transparent 5px, transparent 10px );
  1022. display: inline-block;
  1023. width: 100%;
  1024. height: 100%;
  1025. overflow: hidden;
  1026. object-fit: cover;
  1027. }
  1028. .flux .item.title .summary {
  1029. display: -webkit-box;
  1030. color: var(--frss-font-color-grey-dark);
  1031. font-size: 0.9rem;
  1032. font-weight: normal;
  1033. overflow: hidden;
  1034. text-overflow: ellipsis;
  1035. -webkit-line-clamp: 2;
  1036. -webkit-box-orient: vertical;
  1037. white-space: break-spaces;
  1038. }
  1039. .flux .item.title .author {
  1040. padding-left: 1rem;
  1041. color: var(--frss-font-color-grey-dark);
  1042. font-weight: normal;
  1043. }
  1044. .flux .item.date {
  1045. width: 155px;
  1046. text-align: right;
  1047. overflow: hidden;
  1048. }
  1049. .flux .item > a {
  1050. display: block;
  1051. white-space: nowrap;
  1052. text-overflow: ellipsis;
  1053. overflow: hidden;
  1054. }
  1055. .item.query > a {
  1056. display: list-item;
  1057. list-style-position: inside;
  1058. list-style-type: decimal;
  1059. }
  1060. .flux_content .bottom .dropdown-toggle .icon {
  1061. margin-right: 0.25rem;
  1062. }
  1063. /*=== Feed article content */
  1064. .hide_posts > .flux:not(.active) > .flux_content {
  1065. display: none;
  1066. }
  1067. .content {
  1068. min-height: 20rem;
  1069. margin: auto;
  1070. padding: 0.75rem;
  1071. line-height: 1.5;
  1072. word-wrap: break-word;
  1073. overflow: auto;
  1074. }
  1075. .content.large {
  1076. max-width: 1000px;
  1077. }
  1078. .content.medium {
  1079. max-width: 800px;
  1080. }
  1081. .content.thin {
  1082. max-width: 550px;
  1083. }
  1084. .content .article-header-topline {
  1085. margin-bottom: 0.75rem;
  1086. }
  1087. .content > header,
  1088. .content > footer {
  1089. color: var(--frss-font-color-grey-light);
  1090. font-size: 0.9rem;
  1091. }
  1092. .content > footer {
  1093. margin: 2rem 0 2rem;
  1094. padding-top: 1rem;
  1095. border-top: 2px solid var(--frss-border-color);
  1096. clear: both;
  1097. }
  1098. .content > footer .subtitle {
  1099. padding-bottom: 1rem;
  1100. }
  1101. .content > header .tags,
  1102. .content > footer .tags {
  1103. display: flex;
  1104. line-height: 1;
  1105. }
  1106. .content > header .tags .icon,
  1107. .content > header .website .favicon,
  1108. .content > footer .tags .icon {
  1109. margin: 0 0.5rem 0 0;
  1110. line-height: 1.5;
  1111. }
  1112. .content > header .tags .list-tags,
  1113. .content > footer .tags .list-tags {
  1114. margin: 0;
  1115. padding: 0;
  1116. display: inline-block;
  1117. list-style: none;
  1118. }
  1119. .content > header .tags .list-tags .item.tag,
  1120. .content > footer .tags .list-tags .item.tag {
  1121. padding: 0 0.75rem 0 0;
  1122. display: inline-block;
  1123. line-height: 1.5;
  1124. }
  1125. .content > header .tags .list-tags .item.tag a.link-tag,
  1126. .content > footer .tags .list-tags .item.tag a.link-tag {
  1127. display: inline;
  1128. }
  1129. .content > header h1 {
  1130. margin: 0.5rem 0;
  1131. }
  1132. .content .text ul,
  1133. .content .text ol,
  1134. .content .text dd {
  1135. margin: 0 0 0 1rem;
  1136. padding: 0 0 0.25rem 1rem;
  1137. }
  1138. .content pre {
  1139. overflow: auto;
  1140. }
  1141. .subtitle > div {
  1142. display: inline;
  1143. }
  1144. .subtitle > div:not(:first-of-type)::before {
  1145. content: ' · ';
  1146. }
  1147. /*=== Notification and actualize notification */
  1148. .notification {
  1149. padding: 0.75rem 3.5rem 0.75rem 0.75rem;
  1150. position: absolute;
  1151. top: 1rem;
  1152. left: 25%; right: 25%;
  1153. z-index: 9999;
  1154. background-color: var(--frss-background-color);
  1155. font-weight: bold;
  1156. font-size: 0.9rem;
  1157. border: 1px solid var(--frss-border-color);
  1158. opacity: 1;
  1159. text-align: center;
  1160. line-height: 2;
  1161. vertical-align: middle;
  1162. visibility: visible;
  1163. transition: visibility 0s, opacity .3s linear;
  1164. }
  1165. .notification.closed {
  1166. opacity: 0;
  1167. visibility: hidden;
  1168. }
  1169. .notification a.close {
  1170. padding: 0 1rem;
  1171. position: absolute;
  1172. top: 0; bottom: 0;
  1173. right: 0;
  1174. display: inline-block;
  1175. line-height: 3;
  1176. }
  1177. .notification a.close:hover {
  1178. background-color: var(--frss-darken-background-hover-transparent);
  1179. }
  1180. .notification a.close:hover .icon {
  1181. filter: brightness(2);
  1182. }
  1183. #actualizeProgress {
  1184. position: fixed;
  1185. }
  1186. #actualizeProgress progress {
  1187. max-width: 100%;
  1188. vertical-align: middle;
  1189. }
  1190. #actualizeProgress .progress {
  1191. vertical-align: middle;
  1192. }
  1193. /*=== Popup */
  1194. #popup {
  1195. display: none;
  1196. position: fixed;
  1197. z-index: 200;
  1198. left: 0;
  1199. top: 0;
  1200. width: 100%;
  1201. height: 100%;
  1202. overflow: auto;
  1203. background-color: var(--frss-modal-background-color-transparent);
  1204. }
  1205. #popup-content {
  1206. margin: 5rem auto;
  1207. display: table;
  1208. width: 80%;
  1209. height: 80%;
  1210. overflow: hidden;
  1211. background-color: var(--frss-background-color);
  1212. border-radius: .25rem;
  1213. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1214. }
  1215. .popup-row {
  1216. display: table-row;
  1217. width: 100%;
  1218. }
  1219. #popup-close {
  1220. float: right;
  1221. width: 27px;
  1222. height: 22px;
  1223. padding-top: 5px;
  1224. }
  1225. #popup-close:hover,
  1226. #popup-close:focus {
  1227. color: var(--frss-font-color-dark);
  1228. text-decoration: none;
  1229. cursor: pointer;
  1230. }
  1231. #popup-iframe-container {
  1232. display: none;
  1233. height: 100%;
  1234. }
  1235. #popup-iframe-sub {
  1236. padding: 10px;
  1237. height: 100%;
  1238. }
  1239. #popup-iframe {
  1240. width: 100%;
  1241. height: 100%;
  1242. }
  1243. /*=== Navigation menu (for articles) */
  1244. #nav_entries {
  1245. display: table;
  1246. position: fixed;
  1247. bottom: 0; left: 0;
  1248. width: 300px;
  1249. table-layout: fixed;
  1250. padding-bottom: env(safe-area-inset-bottom);
  1251. }
  1252. #nav_entries .item {
  1253. display: table-cell;
  1254. width: 30%;
  1255. }
  1256. #nav_entries a {
  1257. display: block;
  1258. }
  1259. /*=== "Load" parts */
  1260. #first_load {
  1261. margin: 130px auto -170px auto;
  1262. height: 40px;
  1263. }
  1264. #load_more {
  1265. min-height: 40px;
  1266. }
  1267. #load_more.loading,
  1268. #load_more.loading:hover {
  1269. padding: 10px 20px;
  1270. background: var(--frss-loading-image) center center no-repeat var(--frss-background-color);
  1271. font-size: 0;
  1272. }
  1273. .loading {
  1274. background: var(--frss-loading-image) center center no-repeat;
  1275. font-size: 0;
  1276. }
  1277. #bigMarkAsRead {
  1278. margin: 0 0 100% 0;
  1279. margin: 0 0 100vh 0;
  1280. padding: 1em 0 50px 0;
  1281. display: block;
  1282. width: 100%;
  1283. text-align: center;
  1284. font-size: 1.25rem;
  1285. }
  1286. .bigTick {
  1287. font-size: 4rem;
  1288. }
  1289. /*=== Statistiques */
  1290. .stat-grid {
  1291. display: grid;
  1292. grid-template-columns: 1fr 1fr;
  1293. grid-gap: 20px;
  1294. }
  1295. .stat {
  1296. grid-column: 1 / span 2;
  1297. }
  1298. .stat.half {
  1299. grid-column: auto;
  1300. }
  1301. .stat > table {
  1302. width: 100%;
  1303. }
  1304. .statGraph {
  1305. height: 300px;
  1306. }
  1307. /*=== GLOBAL VIEW */
  1308. /*================*/
  1309. #stream.global {
  1310. text-align: center;
  1311. }
  1312. #stream.global .box {
  1313. text-align: left;
  1314. }
  1315. #global > #panel {
  1316. bottom: 99vh;
  1317. display: block;
  1318. transition: visibility .3s, bottom .3s;
  1319. visibility: hidden;
  1320. }
  1321. #global > #panel.visible {
  1322. bottom: 2%;
  1323. visibility: visible;
  1324. }
  1325. /*=== Panel */
  1326. #overlay {
  1327. position: fixed;
  1328. top: 0; bottom: 0;
  1329. left: 0; right: 0;
  1330. background-color: var(--frss-modal-background-color-transparent);
  1331. opacity: 0;
  1332. transition: visibility .3s, opacity .3s;
  1333. visibility: hidden;
  1334. }
  1335. #overlay.visible {
  1336. opacity: 1;
  1337. visibility: visible;
  1338. }
  1339. #panel {
  1340. background-color: var(--frss-background-color);
  1341. display: none;
  1342. position: fixed;
  1343. top: 2%; bottom: 2%;
  1344. left: 3%; right: 3%;
  1345. overflow: auto;
  1346. }
  1347. #overlay .close {
  1348. position: fixed;
  1349. top: 0; bottom: 0;
  1350. left: 0; right: 0;
  1351. display: block;
  1352. }
  1353. #overlay .close img {
  1354. display: none;
  1355. }
  1356. /*=== Slider */
  1357. html.slider-active {
  1358. overflow: hidden;
  1359. }
  1360. #slider {
  1361. background-color: var(--frss-background-color);
  1362. width: 0;
  1363. position: fixed;
  1364. top: 0; bottom: 0;
  1365. right: 0;
  1366. overflow: auto;
  1367. z-index: 100;
  1368. }
  1369. #slider.active:target {
  1370. width: 750px;
  1371. box-shadow: -3px 3px 5px var(--frss-box-shadow-color-transparent);
  1372. }
  1373. #slider.sliding {
  1374. transition: width 200ms linear;
  1375. }
  1376. #close-slider {
  1377. position: fixed;
  1378. top: 0; bottom: 0;
  1379. left: 100%; right: 0;
  1380. cursor: pointer;
  1381. }
  1382. #slider.active:target + #close-slider {
  1383. background-color: var(--frss-modal-background-color-transparent);
  1384. font-size: 0;
  1385. left: 0;
  1386. z-index: 99;
  1387. }
  1388. #close-slider img {
  1389. display: none;
  1390. }
  1391. #slider.active:target + #close-slider img {
  1392. padding: 0.5rem;
  1393. display: inline-block;
  1394. position: absolute;
  1395. top: 0.5rem;
  1396. left: 0.5rem;
  1397. filter: grayscale(100%) brightness(2.5);
  1398. }
  1399. #slider-content .loader {
  1400. height: 90vh;
  1401. background-image: url('loader.gif');
  1402. background-repeat: no-repeat;
  1403. background-position: center;
  1404. }
  1405. /*=== SLIDESHOW */
  1406. /*==============*/
  1407. .slides {
  1408. padding: 0;
  1409. display: block;
  1410. max-width: 640px;
  1411. height: 320px;
  1412. border: 1px solid var(--frss-border-color);
  1413. position: relative;
  1414. min-width: 260px;
  1415. margin-bottom: 30px;
  1416. }
  1417. .slides input {
  1418. display: none;
  1419. }
  1420. .slide-container {
  1421. display: block;
  1422. }
  1423. .slide {
  1424. display: block;
  1425. width: 100%;
  1426. height: 100%;
  1427. top: 0;
  1428. opacity: 0;
  1429. position: absolute;
  1430. transform: scale(0);
  1431. transition: all .7s ease-in-out;
  1432. }
  1433. .slide img {
  1434. width: 100%;
  1435. height: 100%;
  1436. }
  1437. .nav label {
  1438. padding: 0;
  1439. display: none;
  1440. width: 65px;
  1441. height: 100%;
  1442. color: var(--frss-font-color-light);
  1443. font-family: "Varela Round", sans-serif;
  1444. font-size: 9rem;
  1445. position: absolute;
  1446. opacity: 0;
  1447. z-index: 9;
  1448. cursor: pointer;
  1449. transition: opacity .2s;
  1450. text-align: center;
  1451. line-height: 2;
  1452. background-color: var(--frss-background-color-transparent);
  1453. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  1454. }
  1455. .properties {
  1456. padding: 5px;
  1457. background-color: var(--frss-background-color-transparent);
  1458. display: none;
  1459. border-top: 1px solid var(--frss-border-color);
  1460. bottom: 0;
  1461. left: 0; right: 0;
  1462. position: absolute;
  1463. z-index: 10;
  1464. backdrop-filter: blur(3px);
  1465. }
  1466. .properties .page-number {
  1467. right: 5px;
  1468. top: 0;
  1469. position: absolute;
  1470. }
  1471. .slide:hover + .nav label {
  1472. opacity: 0.5;
  1473. }
  1474. .nav label:hover {
  1475. opacity: 1;
  1476. }
  1477. .nav .next {
  1478. right: 0;
  1479. }
  1480. input:checked + .slide-container .slide {
  1481. opacity: 1;
  1482. transform: scale(1);
  1483. transition: opacity 1s ease-in-out;
  1484. }
  1485. input:checked + .slide-container .nav label {
  1486. display: block;
  1487. }
  1488. input:checked + .slide-container .properties {
  1489. display: block;
  1490. }
  1491. /*=== DIVERS */
  1492. /*===========*/
  1493. .log-level {
  1494. text-align: center;
  1495. }
  1496. .log-item.log-error {
  1497. background-color: var(--frss-background-color-error-transparent);
  1498. }
  1499. .item.share.error a::after,
  1500. .category .title.error::before,
  1501. .item.feed.error .item-title::before {
  1502. content: " ⚠ ";
  1503. color: var(--frss-font-color-error);
  1504. }
  1505. .feed.item.error.active .item-title::before {
  1506. color: var(--frss-font-color-light);
  1507. }
  1508. .aside .category .title:not([data-unread="0"])::after,
  1509. .aside .feed .item-title:not([data-unread="0"])::after {
  1510. margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0;
  1511. padding: 0.25rem 0.5rem;
  1512. min-width: 2rem;
  1513. display: block;
  1514. content: attr(data-unread);
  1515. position: absolute;
  1516. top: 0;
  1517. right: 0.75rem;
  1518. text-align: center;
  1519. font-size: 0.9rem;
  1520. border-radius: 0.75rem;
  1521. line-height: 1;
  1522. font-weight: initial;
  1523. }
  1524. .global .box.category .title:not([data-unread="0"])::after {
  1525. margin: 0.5rem 0 0 0;
  1526. padding: 5px 10px;
  1527. min-width: 20px;
  1528. display: block;
  1529. content: attr(data-unread);
  1530. position: absolute;
  1531. top: 0;
  1532. right: 10px;
  1533. text-align: center;
  1534. font-size: 0.75rem;
  1535. border-radius: 12px;
  1536. line-height: 1;
  1537. font-weight: initial;
  1538. }
  1539. .box .box-title .configure:not([data-cat-position=""])::after {
  1540. margin: 0.5rem 0px 0px;
  1541. padding: 5px 10px;
  1542. min-width: 20px;
  1543. display: block;
  1544. content: attr(data-cat-position);
  1545. position: absolute;
  1546. top: 0px;
  1547. right: 10px;
  1548. text-align: center;
  1549. font-size: 0.75rem;
  1550. border-radius: 12px;
  1551. line-height: 1;
  1552. font-weight: initial;
  1553. }
  1554. .feed .item-title:not([data-unread="0"])::after {
  1555. margin: 1em 0 0 0;
  1556. }
  1557. .feed.active .item-title:not([data-unread="0"])::after {
  1558. color: var(--frss-font-color-light);
  1559. border: 1px solid var(--frss-border-color);
  1560. font-weight: bold;
  1561. }
  1562. .feed .item-title:not([data-unread="0"]) {
  1563. font-weight: bold;
  1564. width: calc(100% - 5.5rem);
  1565. }
  1566. .state_unread .category:not(.active)[data-unread="0"],
  1567. .state_unread .feed:not(.active)[data-unread="0"] {
  1568. display: none;
  1569. }
  1570. .nav_menu {
  1571. padding-top: var(--frss-padding-top-bottom);
  1572. padding-bottom: var(--frss-padding-top-bottom);
  1573. background: inherit;
  1574. text-align: center;
  1575. }
  1576. .nav_mobile {
  1577. display: none;
  1578. }
  1579. .nav-login,
  1580. .nav_menu .search,
  1581. .aside .toggle_aside,
  1582. #slider .toggle_aside,
  1583. .nav_menu .toggle_aside,
  1584. .configure .dropdown-header-close {
  1585. display: none;
  1586. }
  1587. .enclosure [download] {
  1588. font-size: 3rem;
  1589. margin-left: .8em;
  1590. }
  1591. .enclosure-description {
  1592. white-space: pre-line;
  1593. }
  1594. .default-user {
  1595. font-style: italic;
  1596. }
  1597. /*=== READER */
  1598. /*===========*/
  1599. .reader .nav_menu .toggle_aside {
  1600. display: inline-block;
  1601. }
  1602. .reader .aside .toggle_aside {
  1603. display: block;
  1604. width: 100%;
  1605. }
  1606. .reader .aside {
  1607. display: none;
  1608. width: 0;
  1609. }
  1610. .reader .aside:target {
  1611. display: table-cell;
  1612. width: 300px;
  1613. }
  1614. .reader .aside .stick {
  1615. display: none;
  1616. }
  1617. .reader .flux {
  1618. padding: 1rem 0 2rem;
  1619. }
  1620. .reader .flux .content {
  1621. padding: 3rem;
  1622. background-color: var(--frss-background-color);
  1623. border: 1px solid var(--frss-border-color);
  1624. }
  1625. #loglist-wrapper {
  1626. overflow-x: auto;
  1627. }
  1628. /*=== MOBILE */
  1629. /*===========*/
  1630. @media (max-width: 840px) {
  1631. :root {
  1632. --frss-padding-flux-items: 0.5rem;
  1633. }
  1634. .flux_header .item.website span,
  1635. .item.date, .day .date,
  1636. .dropdown-menu > .no-mobile,
  1637. .no-mobile {
  1638. display: none;
  1639. }
  1640. .header > .item {
  1641. padding: 5px;
  1642. }
  1643. .header > .item.title {
  1644. width: 75%;
  1645. text-align: left;
  1646. }
  1647. .header > .item.title .logo {
  1648. height: 24px;
  1649. }
  1650. header .item.search form {
  1651. display: none;
  1652. }
  1653. .aside:target {
  1654. box-shadow: 3px 3px 5px var(--frss-box-shadow-color-transparent);
  1655. }
  1656. .aside .toggle_aside,
  1657. #panel .close,
  1658. .dropdown-menu .toggle_aside,
  1659. #slider .toggle_aside {
  1660. padding: 1rem 0;
  1661. display: block;
  1662. width: 100%;
  1663. border-bottom: 1px solid var(--frss-border-color);
  1664. text-align: center;
  1665. }
  1666. .form-group {
  1667. margin-bottom: 10px;
  1668. }
  1669. .form-group .group-name {
  1670. float: none;
  1671. width: auto;
  1672. text-align: left;
  1673. }
  1674. .form-group .group-controls {
  1675. margin-left: 0;
  1676. }
  1677. .dropdown {
  1678. position: inherit;
  1679. }
  1680. .dropdown .dropdown-header,
  1681. .dropdown .dropdown-section {
  1682. line-height: 2;
  1683. }
  1684. .dropdown .dropdown-menu {
  1685. width: 94%;
  1686. border-radius: 0;
  1687. left: 3%;
  1688. right: 3%;
  1689. position: absolute;
  1690. }
  1691. .dropdown .dropdown-menu .item {
  1692. margin: 2px 0;
  1693. }
  1694. .dropdown .dropdown-menu .item button.as-link,
  1695. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  1696. width: 100%;
  1697. }
  1698. .dropdown-target:target ~ .dropdown-toggle {
  1699. position: relative;
  1700. overflow: visible;
  1701. }
  1702. .dropdown-target:target ~ .dropdown-toggle::after {
  1703. background-color: var(--frss-background-color);
  1704. width: 10px;
  1705. height: 10px;
  1706. content: "";
  1707. position: absolute;
  1708. right: 8px;
  1709. bottom: -17px;
  1710. transform: rotate(45deg);
  1711. z-index: 9999;
  1712. cursor: default;
  1713. }
  1714. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1715. margin-top: 0;
  1716. }
  1717. .configure .dropdown .dropdown-menu {
  1718. width: 90%;
  1719. height: 100vh;
  1720. top: 0;
  1721. right: 0;
  1722. bottom: 0;
  1723. left: auto;
  1724. position: fixed;
  1725. padding-top: 0;
  1726. margin-top: 0;
  1727. overflow: auto;
  1728. box-shadow: -3px 0 3px var(--frss-box-shadow-color-transparent);
  1729. }
  1730. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  1731. content: none;
  1732. }
  1733. .dropdown-target:target ~ .dropdown-menu {
  1734. display: table-cell;
  1735. z-index: 1000;
  1736. }
  1737. .dropdown-menu::after {
  1738. display: none;
  1739. }
  1740. .aside .toggle_aside,
  1741. .configure .dropdown-header-close,
  1742. .nav-login {
  1743. display: block;
  1744. }
  1745. .nav_menu .toggle_aside,
  1746. .nav_menu .search,
  1747. #panel .close img {
  1748. display: inline-block;
  1749. }
  1750. .aside:target + .close-aside,
  1751. .configure .dropdown-target:target ~ .dropdown-close {
  1752. background-color: var(--frss-modal-background-color-transparent);
  1753. display: block;
  1754. font-size: 0;
  1755. position: fixed;
  1756. top: 0;
  1757. bottom: 0;
  1758. left: 0;
  1759. right: 0;
  1760. cursor: default;
  1761. z-index: 99;
  1762. }
  1763. .nav_mobile {
  1764. display: block;
  1765. }
  1766. .aside {
  1767. position: fixed;
  1768. top: 0; bottom: 0;
  1769. left: -1px;
  1770. width: 0;
  1771. overflow: hidden;
  1772. z-index: 100;
  1773. }
  1774. .aside:target,
  1775. .reader .aside:target {
  1776. width: 90%;
  1777. height: 100vh;
  1778. }
  1779. .aside_feed .configure-feeds {
  1780. margin-top: 10px;
  1781. }
  1782. .flux_header .item.website {
  1783. width: 40px;
  1784. }
  1785. .flux:not(.current):hover .item.title {
  1786. position: relative;
  1787. width: auto;
  1788. white-space: nowrap;
  1789. top: 0;
  1790. }
  1791. .reader .flux .content {
  1792. padding: 1rem;
  1793. }
  1794. table {
  1795. font-size: 0.9rem;
  1796. }
  1797. th, td {
  1798. padding: 0.25rem;
  1799. }
  1800. .notification {
  1801. padding: 0.75rem;
  1802. top: 0;
  1803. left: 0;
  1804. right: 0;
  1805. }
  1806. #nav_entries {
  1807. width: 100%;
  1808. }
  1809. #panel {
  1810. top: 25px; bottom: 30px;
  1811. left: 0; right: 0;
  1812. }
  1813. #panel .close {
  1814. top: 0; right: 0;
  1815. left: auto; bottom: auto;
  1816. display: inline-block;
  1817. width: 30px;
  1818. height: 30px;
  1819. }
  1820. #slider.active:target {
  1821. width: 100%;
  1822. }
  1823. #close-slider img {
  1824. display: initial;
  1825. }
  1826. #slider.active:target #close-slider img {
  1827. display: initial;
  1828. position: initial;
  1829. filter: initial;
  1830. }
  1831. #slider.active:target + #close-slider {
  1832. display: none;
  1833. }
  1834. .stat.half {
  1835. grid-column: 1 / span 2;
  1836. }
  1837. }
  1838. /*=== PRINTER */
  1839. /*============*/
  1840. @media print {
  1841. .header, .aside,
  1842. .nav_menu, .day,
  1843. .flux_header,
  1844. .flux_content .bottom,
  1845. .pagination,
  1846. #stream-footer,
  1847. #nav_entries {
  1848. display: none;
  1849. }
  1850. html, body {
  1851. background-color: var(--frss-background-color);
  1852. font-family: Serif;
  1853. }
  1854. #global,
  1855. .flux_content {
  1856. display: block !important;
  1857. }
  1858. .flux_content .content {
  1859. width: 100% !important;
  1860. }
  1861. .flux_content .content a {
  1862. color: var(--frss-font-color-dark);
  1863. }
  1864. .flux_content .content a::after {
  1865. content: " [" attr(href) "] ";
  1866. font-style: italic;
  1867. }
  1868. }
  1869. /*=== PREVIEW */
  1870. /*===========*/
  1871. .preview_controls {
  1872. margin-left: auto;
  1873. margin-right: auto;
  1874. padding: 1rem;
  1875. max-width: 1000px;
  1876. text-align: center;
  1877. background-color: var(--frss-background-color-middle);
  1878. border: 1px solid var(--frss-border-color);
  1879. border-radius: .25rem;
  1880. }
  1881. .preview_controls label {
  1882. display: inline;
  1883. }
  1884. .preview_controls label input[type="radio"] {
  1885. margin-top: -4px;
  1886. }
  1887. .preview_controls label + label {
  1888. margin-left: 1rem;
  1889. }
  1890. .drag-drop-marker {
  1891. margin: -1px;
  1892. }