template.css 23 KB

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