template.css 30 KB

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