frss.css 38 KB

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