template.rtl.css 19 KB

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