frss.css 35 KB

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