frss.css 36 KB

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