template.css 19 KB

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