template.css 17 KB

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