template.css 21 KB

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