template.css 20 KB

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