template.css 21 KB

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