template.css 22 KB

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