frss.rtl.css 35 KB

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