template.css 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198
  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. max-width: 100%;
  60. height: auto;
  61. }
  62. img.favicon {
  63. width: 16px;
  64. height: 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. color: inherit;
  115. font-size: 1.1em;
  116. border: none;
  117. cursor: pointer;
  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. margin: 0;
  215. background: #fff;
  216. display: none;
  217. border: 1px solid #aaa;
  218. min-width: 200px;
  219. position: absolute;
  220. right: 0;
  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. display: block;
  260. font-size: 0;
  261. position: fixed;
  262. top: 0; bottom: 0;
  263. left: 0; right: 0;
  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. margin: 0;
  298. padding: 0;
  299. display: table;
  300. width: 100%;
  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. margin: 20px 10px;
  315. display: inline-block;
  316. max-width: 95%;
  317. width: 20rem;
  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. }
  326. .box .box-title form {
  327. margin: 0;
  328. }
  329. .box .box-content {
  330. display: block;
  331. overflow: auto;
  332. }
  333. .box .box-content .item {
  334. display: block;
  335. }
  336. .box .box-content .item.disabled {
  337. text-align: center;
  338. font-style: italic;
  339. }
  340. .box .box-content-centered {
  341. padding: 30px 5px;
  342. text-align: center;
  343. }
  344. .box .box-content-centered .btn {
  345. margin: 20px 0 0;
  346. }
  347. /*=== Draggable */
  348. .drag-hover {
  349. margin: 0 0 5px;
  350. border-bottom: 2px solid #ccc;
  351. }
  352. [draggable=true] {
  353. cursor: grab;
  354. }
  355. /*=== Scrollbar */
  356. @supports (scrollbar-width: thin) {
  357. #sidebar {
  358. overflow-y: auto;
  359. scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
  360. scrollbar-width: thin;
  361. }
  362. #sidebar:hover {
  363. scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
  364. }
  365. }
  366. @supports not (scrollbar-width: thin) {
  367. #sidebar::-webkit-scrollbar {
  368. background: rgba(0, 0, 0, 0.05);
  369. width: 8px;
  370. }
  371. #sidebar::-webkit-scrollbar-thumb {
  372. background: rgba(0, 0, 0, 0.1);
  373. display: unset;
  374. border-radius: 5px;
  375. }
  376. #sidebar:hover::-webkit-scrollbar-thumb {
  377. background: rgba(0, 0, 0, 0.3);
  378. }
  379. }
  380. /*=== Tree */
  381. .tree {
  382. margin: 0;
  383. max-height: 99vh;
  384. list-style: none;
  385. text-align: left;
  386. overflow-x: hidden;
  387. }
  388. .tree-folder-items {
  389. padding: 0;
  390. max-height: 200em;
  391. list-style: none;
  392. transition: max-height .3s linear;
  393. }
  394. .tree-folder-title {
  395. display: block;
  396. overflow: hidden;
  397. white-space: nowrap;
  398. text-overflow: ellipsis;
  399. }
  400. .tree-folder-title .title {
  401. display: inline-block;
  402. width: 100%;
  403. vertical-align: middle;
  404. }
  405. .tree-folder-items > .item {
  406. display: block;
  407. white-space: nowrap;
  408. }
  409. .tree-folder-items > .item > a {
  410. display: inline-block;
  411. vertical-align: middle;
  412. width: calc(100% - 32px);
  413. overflow: hidden;
  414. white-space: nowrap;
  415. text-overflow: ellipsis;
  416. }
  417. .tree-bottom {
  418. visibility: hidden;
  419. margin-bottom: 18em;
  420. }
  421. /*=== STRUCTURE */
  422. /*===============*/
  423. /*=== Header */
  424. .header {
  425. display: table;
  426. width: 100%;
  427. table-layout: fixed;
  428. }
  429. .header > .item {
  430. display: table-cell;
  431. }
  432. .header > .item.title {
  433. width: 250px;
  434. white-space: nowrap;
  435. }
  436. .header > .item.title h1 {
  437. display: inline-block;
  438. }
  439. .header > .item.title .logo {
  440. display: inline-block;
  441. width: 32px;
  442. height: 32px;
  443. vertical-align: middle;
  444. }
  445. .header > .item.configure {
  446. width: 100px;
  447. }
  448. /*=== Body */
  449. #global {
  450. display: table;
  451. width: 100%;
  452. height: 100%;
  453. table-layout: fixed;
  454. }
  455. .aside {
  456. display: table-cell;
  457. width: 300px;
  458. vertical-align: top;
  459. }
  460. /*=== Aside main page */
  461. .aside_feed .category .title {
  462. width: calc(100% - 35px);
  463. }
  464. .aside_feed .tree-folder-title .icon {
  465. padding: 5px;
  466. }
  467. .aside_feed .tree-folder-items .item.feed {
  468. padding: 0px 15px;
  469. }
  470. .aside_feed .tree-folder-items:not(.active) {
  471. margin: 0;
  472. padding: 0;
  473. max-height: 0;
  474. border: none;
  475. overflow: hidden;
  476. }
  477. .aside_feed .tree-folder-items .dropdown {
  478. vertical-align: top;
  479. }
  480. .aside_feed .tree-folder-items .dropdown-menu {
  481. left: 0;
  482. }
  483. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  484. visibility: hidden;
  485. cursor: pointer;
  486. }
  487. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  488. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  489. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  490. visibility: visible;
  491. }
  492. /*=== New article notification */
  493. #new-article {
  494. display: none;
  495. }
  496. #new-article > a {
  497. display: block;
  498. }
  499. /*=== Day indication */
  500. .day .name {
  501. position: absolute;
  502. right: 0;
  503. width: 50%;
  504. overflow: hidden;
  505. white-space: nowrap;
  506. text-overflow: ellipsis;
  507. }
  508. /*=== Feed article header and footer */
  509. .flux_header {
  510. position: relative;
  511. }
  512. .flux .item {
  513. line-height: 40px;
  514. white-space: nowrap;
  515. }
  516. .flux .item.manage,
  517. .flux .item.link {
  518. width: 40px;
  519. text-align: center;
  520. }
  521. .flux .item.website {
  522. width: 200px;
  523. }
  524. .flux.not_read .item.title,
  525. .flux.current .item.title {
  526. font-weight: bold;
  527. }
  528. .flux:not(.current):hover .item.title {
  529. background: #fff;
  530. max-width: calc(100% - 320px);
  531. position: absolute;
  532. }
  533. .flux .item.title a {
  534. color: #000;
  535. text-decoration: none;
  536. }
  537. .flux .item.author {
  538. color: #555;
  539. font-size: .7rem;
  540. font-weight: normal;
  541. white-space: normal;
  542. }
  543. .flux .item.date {
  544. width: 155px;
  545. text-align: right;
  546. overflow: hidden;
  547. }
  548. .flux .item > a {
  549. display: block;
  550. text-decoration: none;
  551. white-space: nowrap;
  552. text-overflow: ellipsis;
  553. overflow: hidden;
  554. }
  555. .flux .item.share > a,
  556. .item.query > a {
  557. display: list-item;
  558. list-style-position: inside;
  559. list-style-type: decimal;
  560. }
  561. /*=== Feed article content */
  562. .hide_posts > .flux:not(.active) > .flux_content {
  563. display: none;
  564. }
  565. .content {
  566. min-height: 20em;
  567. margin: auto;
  568. line-height: 1.7em;
  569. word-wrap: break-word;
  570. }
  571. .content.large {
  572. max-width: 1000px;
  573. }
  574. .content.medium {
  575. max-width: 800px;
  576. }
  577. .content.thin {
  578. max-width: 550px;
  579. }
  580. .content ul,
  581. .content ol,
  582. .content dd {
  583. margin: 0 0 0 15px;
  584. padding: 0 0 5px 15px;
  585. }
  586. .content pre {
  587. overflow: auto;
  588. }
  589. br {
  590. line-height: 1em;
  591. }
  592. /*=== Notification and actualize notification */
  593. .notification {
  594. position: absolute;
  595. top: 1em;
  596. left: 25%; right: 25%;
  597. z-index: 10;
  598. background: #fff;
  599. border: 1px solid #aaa;
  600. opacity: 1;
  601. visibility: visible;
  602. transition: visibility 0s, opacity .3s linear;
  603. }
  604. .notification.closed {
  605. opacity: 0;
  606. visibility: hidden;
  607. }
  608. .notification a.close {
  609. position: absolute;
  610. top: 0; bottom: 0;
  611. right: 0;
  612. display: inline-block;
  613. }
  614. #actualizeProgress {
  615. position: fixed;
  616. }
  617. #actualizeProgress progress {
  618. max-width: 100%;
  619. vertical-align: middle;
  620. }
  621. #actualizeProgress .progress {
  622. vertical-align: middle;
  623. }
  624. /*=== Navigation menu (for articles) */
  625. #nav_entries {
  626. background: #fff;
  627. display: table;
  628. position: fixed;
  629. bottom: 0; left: 0;
  630. width: 300px;
  631. table-layout: fixed;
  632. }
  633. #nav_entries .item {
  634. display: table-cell;
  635. width: 30%;
  636. }
  637. #nav_entries a {
  638. display: block;
  639. }
  640. /*=== "Load more" part */
  641. #load_more {
  642. min-height: 40px;
  643. }
  644. .loading {
  645. background: url("loader.gif") center center no-repeat;
  646. font-size: 0;
  647. }
  648. #bigMarkAsRead {
  649. margin: 0 0 100% 0;
  650. margin: 0 0 100vh 0;
  651. padding: 1em 0 50px 0;
  652. display: block;
  653. width: 100%;
  654. text-align: center;
  655. font-size: 1.4em;
  656. }
  657. .bigTick {
  658. font-size: 4em;
  659. }
  660. /*=== Statistiques */
  661. .stat {
  662. margin: 15px 0;
  663. }
  664. .stat.half {
  665. padding: 0 2%;
  666. display: inline-block;
  667. width: 46%;
  668. }
  669. .stat > table {
  670. width: 100%;
  671. }
  672. .statGraph {
  673. height: 300px;
  674. }
  675. /*=== LOGIN VIEW */
  676. /*================*/
  677. .formLogin .header > .item {
  678. padding: 10px 30px;
  679. }
  680. .formLogin .header > .item.title {
  681. text-align: left;
  682. }
  683. .formLogin .header > .item.configure {
  684. text-align: right;
  685. }
  686. /*=== GLOBAL VIEW */
  687. /*================*/
  688. #stream.global {
  689. text-align: center;
  690. }
  691. #stream.global .box {
  692. text-align: left;
  693. }
  694. #global > #panel {
  695. bottom: 99vh;
  696. display: block;
  697. transition: visibility .3s, bottom .3s;
  698. visibility: hidden;
  699. }
  700. #global > #panel.visible {
  701. bottom: 1em;
  702. visibility: visible;
  703. }
  704. /*=== Panel */
  705. #overlay {
  706. position: fixed;
  707. top: 0; bottom: 0;
  708. left: 0; right: 0;
  709. background: rgba(0, 0, 0, 0.9);
  710. opacity: 0;
  711. transition: visibility .3s, opacity .3s;
  712. visibility: hidden;
  713. }
  714. #overlay.visible {
  715. opacity: 1;
  716. visibility: visible;
  717. }
  718. #panel {
  719. background: #fff;
  720. display: none;
  721. position: fixed;
  722. top: 1em; bottom: 1em;
  723. left: 2em; right: 2em;
  724. overflow: auto;
  725. }
  726. #overlay .close {
  727. position: fixed;
  728. top: 0; bottom: 0;
  729. left: 0; right: 0;
  730. display: block;
  731. }
  732. #overlay .close img {
  733. display: none;
  734. }
  735. /*=== Slider */
  736. #slider {
  737. position: fixed;
  738. top: 0; bottom: 0;
  739. left: 100%; right: 0;
  740. overflow: auto;
  741. background: #fff;
  742. border-left: 1px solid #aaa;
  743. transition: left 200ms linear;
  744. }
  745. #slider.active {
  746. left: 40%;
  747. }
  748. #close-slider {
  749. position: fixed;
  750. top: 0; bottom: 0;
  751. left: 100%; right: 0;
  752. cursor: pointer;
  753. }
  754. #close-slider.active {
  755. left: 0;
  756. }
  757. /*=== SLIDESHOW */
  758. /*==============*/
  759. .slides {
  760. padding: 0;
  761. display: block;
  762. max-width: 640px;
  763. height: 320px;
  764. border: 1px solid #aaa;
  765. position: relative;
  766. min-width: 260px;
  767. margin-bottom: 30px;
  768. }
  769. .slides input {
  770. display: none;
  771. }
  772. .slide-container {
  773. display: block;
  774. }
  775. .slide {
  776. display: block;
  777. width: 100%;
  778. height: 100%;
  779. top: 0;
  780. opacity: 0;
  781. position: absolute;
  782. transform: scale(0);
  783. transition: all .7s ease-in-out;
  784. }
  785. .slide img {
  786. width: 100%;
  787. height: 100%;
  788. }
  789. .nav label {
  790. padding: 0;
  791. display: none;
  792. width: 10%;
  793. height: 100%;
  794. color: #fff;
  795. font-family: "Varela Round", sans-serif;
  796. font-size: 1000%;
  797. position: absolute;
  798. opacity: 0;
  799. z-index: 9;
  800. cursor: pointer;
  801. transition: opacity .2s;
  802. text-align: center;
  803. line-height: 225%;
  804. background-color: rgba(255, 255, 255, .3);
  805. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  806. }
  807. .properties {
  808. padding: 5px;
  809. background: rgba(255, 255, 255, 0.7);
  810. display: none;
  811. color: #000;
  812. border-top: 1px solid #aaa;
  813. bottom: 0;
  814. left: 0; right: 0;
  815. position: absolute;
  816. z-index: 10;
  817. }
  818. .properties .page-number {
  819. right: 5px;
  820. top: 0;
  821. position: absolute;
  822. }
  823. .slide:hover + .nav label {
  824. opacity: 0.5;
  825. }
  826. .nav label:hover {
  827. opacity: 1;
  828. }
  829. .nav .next {
  830. right: 0;
  831. }
  832. input:checked + .slide-container .slide {
  833. opacity: 1;
  834. transform: scale(1);
  835. transition: opacity 1s ease-in-out;
  836. }
  837. input:checked + .slide-container .nav label {
  838. display: block;
  839. }
  840. input:checked + .slide-container .properties {
  841. display: block;
  842. }
  843. /*=== DIVERS */
  844. /*===========*/
  845. .category .title:not([data-unread="0"])::after {
  846. content: attr(data-unread);
  847. }
  848. .category .title.error::before {
  849. content: "⚠ ";
  850. color: #bd362f;
  851. }
  852. .feed .item-title:not([data-unread="0"])::before {
  853. content: "(" attr(data-unread) ") ";
  854. }
  855. .feed .item-title:not([data-unread="0"]) {
  856. font-weight: bold;
  857. }
  858. .state_unread .category:not(.active)[data-unread="0"],
  859. .state_unread .feed:not(.active)[data-unread="0"] {
  860. display: none;
  861. }
  862. .nav-login,
  863. .nav_menu .search,
  864. .aside .toggle_aside,
  865. .nav_menu .toggle_aside {
  866. display: none;
  867. }
  868. .enclosure [download] {
  869. font-size: xx-large;
  870. margin-left: .8em;
  871. }
  872. pre.enclosure-description {
  873. white-space: pre-line;
  874. }
  875. /*=== READER */
  876. /*===========*/
  877. .reader .nav_menu .toggle_aside {
  878. display: inline-block;
  879. }
  880. .reader .aside .toggle_aside {
  881. display: block;
  882. width: 100%;
  883. }
  884. .reader .aside {
  885. width: 0;
  886. }
  887. .reader .aside:target {
  888. width: 300px;
  889. }
  890. .reader .aside .stick {
  891. display: none;
  892. }
  893. /*=== MOBILE */
  894. /*===========*/
  895. @media (max-width: 840px) {
  896. .header,
  897. .aside .btn-important,
  898. .flux_header .item.website span,
  899. .item.date, .day .date,
  900. .dropdown-menu > .no-mobile,
  901. .no-mobile {
  902. display: none;
  903. }
  904. .dropdown .dropdown-menu {
  905. width: 100%;
  906. border-radius: 0;
  907. bottom: 0;
  908. position: fixed;
  909. }
  910. .dropdown-menu::after {
  911. display: none;
  912. }
  913. .aside .toggle_aside,
  914. .nav-login {
  915. display: block;
  916. }
  917. .nav_menu .toggle_aside,
  918. .nav_menu .search,
  919. #panel .close img {
  920. display: inline-block;
  921. }
  922. .aside {
  923. position: fixed;
  924. top: 0; bottom: 0;
  925. left: 0;
  926. width: 0;
  927. overflow: hidden;
  928. z-index: 100;
  929. }
  930. .aside:target {
  931. width: 90%;
  932. }
  933. .flux_header .item.website {
  934. width: 40px;
  935. }
  936. .flux:not(.current):hover .item.title {
  937. position: relative;
  938. width: auto;
  939. white-space: nowrap;
  940. }
  941. .notification {
  942. top: 0;
  943. left: 0;
  944. right: 0;
  945. }
  946. #nav_entries {
  947. width: 100%;
  948. }
  949. #panel {
  950. top: 25px; bottom: 30px;
  951. left: 0; right: 0;
  952. }
  953. #panel .close {
  954. top: 0; right: 0;
  955. left: auto; bottom: auto;
  956. display: inline-block;
  957. width: 30px;
  958. height: 30px;
  959. }
  960. }
  961. /*=== PRINTER */
  962. /*============*/
  963. @media print {
  964. .header, .aside,
  965. .nav_menu, .day,
  966. .flux_header,
  967. .flux_content .bottom,
  968. .pagination,
  969. #nav_entries {
  970. display: none;
  971. }
  972. html, body {
  973. background: #fff;
  974. color: #000;
  975. font-family: Serif;
  976. }
  977. #global,
  978. .flux_content {
  979. display: block !important;
  980. }
  981. .flux_content .content {
  982. width: 100% !important;
  983. }
  984. .flux_content .content a {
  985. color: #000;
  986. }
  987. .flux_content .content a::after {
  988. content: " [" attr(href) "] ";
  989. font-style: italic;
  990. }
  991. }