template.css 19 KB

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