template.css 19 KB

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