template.css 31 KB

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