frss.rtl.css 34 KB

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