template.css 19 KB

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