template.rtl.css 19 KB

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