template.css 31 KB

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