template.css 27 KB

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