template.css 19 KB

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