frss.rtl.css 36 KB

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