template.css 34 KB

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