template.css 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657
  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. }
  634. .flux.not_read .item.title,
  635. .flux.current .item.title {
  636. font-weight: bold;
  637. }
  638. .flux:not(.current):hover .item.title {
  639. background: #fff;
  640. max-width: calc(100% - 320px);
  641. position: absolute;
  642. }
  643. .flux:not(.current):hover .item.title.multiline {
  644. position: initial;
  645. }
  646. .flux .item.title a {
  647. color: #000;
  648. text-decoration: none;
  649. }
  650. .flux .item.thumbnail {
  651. line-height: 0;
  652. padding: 10px;
  653. height: 80px;
  654. }
  655. .flux .item.thumbnail.small {
  656. height: 40px;
  657. }
  658. .flux .item.thumbnail.portrait {
  659. width: 60px;
  660. }
  661. .flux .item.thumbnail.square {
  662. width: 80px;
  663. }
  664. .flux .item.thumbnail.landscape {
  665. width: 128px;
  666. }
  667. .flux .item.thumbnail.portrait.small {
  668. width: 30px;
  669. }
  670. .flux .item.thumbnail.square.small {
  671. width: 40px;
  672. }
  673. .flux .item.thumbnail.landscape.small {
  674. width: 64px;
  675. }
  676. .flux .item.thumbnail img {
  677. background: repeating-linear-gradient( -45deg, #ddd, #ddd 5px, transparent 5px, transparent 10px );
  678. display: inline-block;
  679. width: 100%;
  680. height: 100%;
  681. overflow: hidden;
  682. object-fit: cover;
  683. }
  684. .flux .item.title .summary {
  685. max-height: 3em;
  686. color: #666;
  687. font-size: 0.9em;
  688. line-height: 1.5em;
  689. font-weight: normal;
  690. white-space: initial;
  691. overflow: hidden;
  692. text-overflow: ellipsis;
  693. }
  694. .flux .item.title .author {
  695. padding-left: 1rem;
  696. color: #555;
  697. font-size: .9rem;
  698. font-weight: normal;
  699. }
  700. .flux .item.date {
  701. width: 155px;
  702. text-align: right;
  703. overflow: hidden;
  704. }
  705. .flux .item > a {
  706. display: block;
  707. text-decoration: none;
  708. white-space: nowrap;
  709. text-overflow: ellipsis;
  710. overflow: hidden;
  711. }
  712. .flux .item.share > a,
  713. .item.query > a {
  714. display: list-item;
  715. list-style-position: inside;
  716. list-style-type: decimal;
  717. }
  718. /*=== Feed article content */
  719. .hide_posts > .flux:not(.active) > .flux_content {
  720. display: none;
  721. }
  722. .content {
  723. min-height: 20em;
  724. margin: auto;
  725. line-height: 1.7em;
  726. word-wrap: break-word;
  727. }
  728. .content.large {
  729. max-width: 1000px;
  730. }
  731. .content.medium {
  732. max-width: 800px;
  733. }
  734. .content.thin {
  735. max-width: 550px;
  736. }
  737. .content ul,
  738. .content ol,
  739. .content dd {
  740. margin: 0 0 0 15px;
  741. padding: 0 0 5px 15px;
  742. }
  743. .content pre {
  744. overflow: auto;
  745. }
  746. .subtitle > div {
  747. display: inline;
  748. }
  749. .subtitle > div:not(:first-of-type)::before {
  750. content: ' · ';
  751. }
  752. br {
  753. line-height: 1em;
  754. }
  755. /*=== Notification and actualize notification */
  756. .notification {
  757. position: absolute;
  758. top: 1em;
  759. left: 25%; right: 25%;
  760. z-index: 10;
  761. background: #fff;
  762. border: 1px solid #aaa;
  763. opacity: 1;
  764. visibility: visible;
  765. transition: visibility 0s, opacity .3s linear;
  766. }
  767. .notification.closed {
  768. opacity: 0;
  769. visibility: hidden;
  770. }
  771. .notification a.close {
  772. position: absolute;
  773. top: 0; bottom: 0;
  774. right: 0;
  775. display: inline-block;
  776. }
  777. #actualizeProgress {
  778. position: fixed;
  779. }
  780. #actualizeProgress progress {
  781. max-width: 100%;
  782. vertical-align: middle;
  783. }
  784. #actualizeProgress .progress {
  785. vertical-align: middle;
  786. }
  787. /*=== Popup */
  788. #popup {
  789. display: none;
  790. position: fixed;
  791. z-index: 1;
  792. left: 0;
  793. top: 0;
  794. width: 100%;
  795. height: 100%;
  796. overflow: auto;
  797. background-color: #eee;
  798. background-color: rgba(0,0,0,0.4);
  799. }
  800. #popup-content {
  801. margin: 5rem auto;
  802. display: table;
  803. width: 80%;
  804. height: 80%;
  805. overflow: hidden;
  806. background-color: #fafafa;
  807. border-radius: .25rem;
  808. box-shadow: 0 0 1px #737373, 1px 2px 3px #4a4a4f;
  809. }
  810. .popup-row {
  811. display: table-row;
  812. width: 100%;
  813. }
  814. #popup-close {
  815. float: right;
  816. width: 27px;
  817. height: 27px;
  818. padding-bottom: 5px;
  819. color: #aaa;
  820. font-size: 28px;
  821. font-weight: bold;
  822. }
  823. #popup-close:hover,
  824. #popup-close:focus {
  825. color: #000;
  826. text-decoration: none;
  827. cursor: pointer;
  828. }
  829. #popup-txt {
  830. display: none;
  831. height: 100%;
  832. }
  833. #popup-iframe-container {
  834. display: none;
  835. height: 100%;
  836. }
  837. #popup-iframe-sub {
  838. padding: 10px;
  839. height: 100%;
  840. }
  841. #popup-iframe {
  842. width: 100%;
  843. height: 100%;
  844. }
  845. /*=== Navigation menu (for articles) */
  846. #nav_entries {
  847. background: #fff;
  848. display: table;
  849. position: fixed;
  850. bottom: 0; left: 0;
  851. width: 300px;
  852. table-layout: fixed;
  853. }
  854. #nav_entries .item {
  855. display: table-cell;
  856. width: 30%;
  857. }
  858. #nav_entries a {
  859. display: block;
  860. }
  861. /*=== "Load" parts */
  862. #first_load {
  863. margin: 130px auto -170px auto;
  864. height: 40px;
  865. }
  866. #load_more {
  867. min-height: 40px;
  868. }
  869. .loading {
  870. background: url("loader.gif") center center no-repeat;
  871. font-size: 0;
  872. }
  873. #bigMarkAsRead {
  874. margin: 0 0 100% 0;
  875. margin: 0 0 100vh 0;
  876. padding: 1em 0 50px 0;
  877. display: block;
  878. width: 100%;
  879. text-align: center;
  880. font-size: 1.4em;
  881. }
  882. .bigTick {
  883. font-size: 4em;
  884. }
  885. /*=== Statistiques */
  886. .stat-grid {
  887. display: grid;
  888. grid-template-columns: 1fr 1fr;
  889. grid-gap: 20px;
  890. }
  891. .stat {
  892. grid-column: 1 / span 2;
  893. }
  894. .stat.half {
  895. grid-column: auto;
  896. }
  897. .stat > table {
  898. width: 100%;
  899. }
  900. .statGraph {
  901. height: 300px;
  902. }
  903. /*=== LOGIN VIEW */
  904. /*================*/
  905. .formLogin .header > .item {
  906. padding: 10px 30px;
  907. }
  908. .formLogin .header > .item.title {
  909. text-align: left;
  910. }
  911. .formLogin .header > .item.configure {
  912. text-align: right;
  913. }
  914. /*=== GLOBAL VIEW */
  915. /*================*/
  916. #stream.global {
  917. text-align: center;
  918. }
  919. #stream.global .box {
  920. text-align: left;
  921. }
  922. #global > #panel {
  923. bottom: 99vh;
  924. display: block;
  925. transition: visibility .3s, bottom .3s;
  926. visibility: hidden;
  927. }
  928. #global > #panel.visible {
  929. bottom: 2%;
  930. visibility: visible;
  931. }
  932. /*=== Panel */
  933. #overlay {
  934. position: fixed;
  935. top: 0; bottom: 0;
  936. left: 0; right: 0;
  937. background: rgba(0, 0, 0, 0.5);
  938. opacity: 0;
  939. transition: visibility .3s, opacity .3s;
  940. visibility: hidden;
  941. }
  942. #overlay.visible {
  943. opacity: 1;
  944. visibility: visible;
  945. }
  946. #panel {
  947. background: #fff;
  948. display: none;
  949. position: fixed;
  950. top: 2%; bottom: 2%;
  951. left: 3%; right: 3%;
  952. overflow: auto;
  953. }
  954. #overlay .close {
  955. position: fixed;
  956. top: 0; bottom: 0;
  957. left: 0; right: 0;
  958. display: block;
  959. }
  960. #overlay .close img {
  961. display: none;
  962. }
  963. /*=== Slider */
  964. #slider {
  965. position: fixed;
  966. top: 0; bottom: 0;
  967. left: 100%; right: 0;
  968. overflow: auto;
  969. background: #fff;
  970. border-left: 1px solid #aaa;
  971. transition: left 200ms linear;
  972. }
  973. #slider.active {
  974. left: 40%;
  975. }
  976. #close-slider {
  977. position: fixed;
  978. top: 0; bottom: 0;
  979. left: 100%; right: 0;
  980. cursor: pointer;
  981. }
  982. #close-slider.active {
  983. left: 0;
  984. }
  985. #close-slider img {
  986. display: none;
  987. }
  988. /*=== SLIDESHOW */
  989. /*==============*/
  990. .slides {
  991. padding: 0;
  992. display: block;
  993. max-width: 640px;
  994. height: 320px;
  995. border: 1px solid #aaa;
  996. position: relative;
  997. min-width: 260px;
  998. margin-bottom: 30px;
  999. }
  1000. .slides input {
  1001. display: none;
  1002. }
  1003. .slide-container {
  1004. display: block;
  1005. }
  1006. .slide {
  1007. display: block;
  1008. width: 100%;
  1009. height: 100%;
  1010. top: 0;
  1011. opacity: 0;
  1012. position: absolute;
  1013. transform: scale(0);
  1014. transition: all .7s ease-in-out;
  1015. }
  1016. .slide img {
  1017. width: 100%;
  1018. height: 100%;
  1019. }
  1020. .nav label {
  1021. padding: 0;
  1022. display: none;
  1023. width: 65px;
  1024. height: 100%;
  1025. color: #fff;
  1026. font-family: "Varela Round", sans-serif;
  1027. font-size: 1000%;
  1028. position: absolute;
  1029. opacity: 0;
  1030. z-index: 9;
  1031. cursor: pointer;
  1032. transition: opacity .2s;
  1033. text-align: center;
  1034. line-height: 225%;
  1035. background-color: rgba(255, 255, 255, .3);
  1036. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  1037. }
  1038. .properties {
  1039. padding: 5px;
  1040. background: rgba(255, 255, 255, 0.7);
  1041. display: none;
  1042. color: #000;
  1043. border-top: 1px solid #aaa;
  1044. bottom: 0;
  1045. left: 0; right: 0;
  1046. position: absolute;
  1047. z-index: 10;
  1048. }
  1049. .properties .page-number {
  1050. right: 5px;
  1051. top: 0;
  1052. position: absolute;
  1053. }
  1054. .slide:hover + .nav label {
  1055. opacity: 0.5;
  1056. }
  1057. .nav label:hover {
  1058. opacity: 1;
  1059. }
  1060. .nav .next {
  1061. right: 0;
  1062. }
  1063. input:checked + .slide-container .slide {
  1064. opacity: 1;
  1065. transform: scale(1);
  1066. transition: opacity 1s ease-in-out;
  1067. }
  1068. input:checked + .slide-container .nav label {
  1069. display: block;
  1070. }
  1071. input:checked + .slide-container .properties {
  1072. display: block;
  1073. }
  1074. /*=== DIVERS */
  1075. /*===========*/
  1076. .category .title:not([data-unread="0"])::after {
  1077. content: attr(data-unread);
  1078. }
  1079. .category .title.error::before {
  1080. content: "⚠ ";
  1081. color: #bd362f;
  1082. }
  1083. .feed .item-title:not([data-unread="0"])::before {
  1084. content: "(" attr(data-unread) ") ";
  1085. }
  1086. .feed .item-title:not([data-unread="0"]) {
  1087. font-weight: bold;
  1088. }
  1089. .state_unread .category:not(.active)[data-unread="0"],
  1090. .state_unread .feed:not(.active)[data-unread="0"] {
  1091. display: none;
  1092. }
  1093. .nav_menu {
  1094. background: inherit;
  1095. }
  1096. .nav_mobile {
  1097. display: none;
  1098. }
  1099. .nav-login,
  1100. .nav_menu .search,
  1101. .aside .toggle_aside,
  1102. .nav_menu .toggle_aside,
  1103. .configure .dropdown-header-close {
  1104. display: none;
  1105. }
  1106. .enclosure [download] {
  1107. font-size: xx-large;
  1108. margin-left: .8em;
  1109. }
  1110. .enclosure-description {
  1111. white-space: pre-line;
  1112. }
  1113. .default-user {
  1114. font-style: italic;
  1115. }
  1116. /*=== READER */
  1117. /*===========*/
  1118. .reader .nav_menu .toggle_aside {
  1119. display: inline-block;
  1120. }
  1121. .reader .aside .toggle_aside {
  1122. display: block;
  1123. width: 100%;
  1124. }
  1125. .reader .aside {
  1126. display: none;
  1127. width: 0;
  1128. }
  1129. .reader .aside:target {
  1130. display: table-cell;
  1131. width: 300px;
  1132. }
  1133. .reader .aside .stick {
  1134. display: none;
  1135. }
  1136. /*=== MOBILE */
  1137. /*===========*/
  1138. @media (max-width: 840px) {
  1139. .flux_header .item.website span,
  1140. .item.date, .day .date,
  1141. .dropdown-menu > .no-mobile,
  1142. .no-mobile {
  1143. display: none;
  1144. }
  1145. .header > .item {
  1146. padding: 5px;
  1147. }
  1148. .header > .item.title .logo {
  1149. height: 24px;
  1150. }
  1151. header .item.search form {
  1152. display: none;
  1153. }
  1154. .form-group {
  1155. margin-bottom: 10px;
  1156. }
  1157. .form-group .group-name {
  1158. float: none;
  1159. width: auto;
  1160. }
  1161. .form-group .group-controls {
  1162. margin-left: 0;
  1163. }
  1164. .dropdown {
  1165. position: inherit;
  1166. }
  1167. .dropdown .dropdown-menu {
  1168. width: 94%;
  1169. border-radius: 0;
  1170. left: 3%;
  1171. right: 3%;
  1172. position: absolute;
  1173. }
  1174. .dropdown .dropdown-menu .item {
  1175. margin: 2px 0;
  1176. }
  1177. .dropdown .dropdown-menu .item button.as-link,
  1178. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  1179. width: 100%;
  1180. }
  1181. .dropdown-target:target ~ .dropdown-toggle {
  1182. position: relative;
  1183. overflow: visible;
  1184. }
  1185. .dropdown-target:target ~ .dropdown-toggle::after {
  1186. background-color: #fff;
  1187. width: 10px;
  1188. height: 10px;
  1189. content: "";
  1190. position: absolute;
  1191. right: 8px;
  1192. bottom: -17px;
  1193. transform: rotate(45deg);
  1194. z-index: 9999;
  1195. cursor: default;
  1196. }
  1197. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1198. margin-top: 0;
  1199. }
  1200. .configure .dropdown .dropdown-menu {
  1201. width: 90%;
  1202. height: 100vh;
  1203. top: 0;
  1204. right: 0;
  1205. bottom: 0;
  1206. left: auto;
  1207. position: fixed;
  1208. padding-top: 0;
  1209. margin-top: 0;
  1210. overflow: auto;
  1211. box-shadow: -3px 0 3px #aaa;
  1212. }
  1213. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  1214. content: none;
  1215. }
  1216. .dropdown-target:target ~ .dropdown-menu {
  1217. display: table-cell;
  1218. z-index: 1000;
  1219. }
  1220. .dropdown-menu::after {
  1221. display: none;
  1222. }
  1223. .aside .toggle_aside,
  1224. .configure .dropdown-header-close,
  1225. .nav-login {
  1226. display: block;
  1227. }
  1228. .nav_menu .toggle_aside,
  1229. .nav_menu .search,
  1230. #panel .close img {
  1231. display: inline-block;
  1232. }
  1233. .aside:target + .close-aside {
  1234. background: rgba(0, 0, 0, 0.2);
  1235. display: block;
  1236. font-size: 0;
  1237. position: fixed;
  1238. top: 0;
  1239. bottom: 0;
  1240. left: 0;
  1241. right: 0;
  1242. cursor: pointer;
  1243. z-index: 99;
  1244. }
  1245. .nav_mobile {
  1246. display: block;
  1247. }
  1248. .aside {
  1249. position: fixed;
  1250. top: 0; bottom: 0;
  1251. left: 0;
  1252. width: 0;
  1253. overflow: hidden;
  1254. z-index: 100;
  1255. }
  1256. .aside:target,
  1257. .reader .aside:target {
  1258. width: 90%;
  1259. height: 100vh;
  1260. }
  1261. .aside_feed .configure-feeds {
  1262. margin-top: 10px;
  1263. }
  1264. .flux_header .item.website {
  1265. width: 40px;
  1266. }
  1267. .flux:not(.current):hover .item.title {
  1268. position: relative;
  1269. width: auto;
  1270. white-space: nowrap;
  1271. }
  1272. .notification {
  1273. top: 0;
  1274. left: 0;
  1275. right: 0;
  1276. }
  1277. #nav_entries {
  1278. width: 100%;
  1279. }
  1280. #panel {
  1281. top: 25px; bottom: 30px;
  1282. left: 0; right: 0;
  1283. }
  1284. #panel .close {
  1285. top: 0; right: 0;
  1286. left: auto; bottom: auto;
  1287. display: inline-block;
  1288. width: 30px;
  1289. height: 30px;
  1290. }
  1291. #slider.active {
  1292. left: 0;
  1293. top: 50px;
  1294. }
  1295. #close-slider img {
  1296. display: initial;
  1297. }
  1298. #close-slider.active {
  1299. background: #f6f6f6;
  1300. display: block;
  1301. width: 100%;
  1302. height: 50px;
  1303. z-index: 10;
  1304. text-align: center;
  1305. line-height: 50px;
  1306. border-bottom: 1px solid #ddd;
  1307. }
  1308. .stat.half {
  1309. grid-column: 1 / span 2;
  1310. }
  1311. }
  1312. /*=== PRINTER */
  1313. /*============*/
  1314. @media print {
  1315. .header, .aside,
  1316. .nav_menu, .day,
  1317. .flux_header,
  1318. .flux_content .bottom,
  1319. .pagination,
  1320. #nav_entries {
  1321. display: none;
  1322. }
  1323. html, body {
  1324. background: #fff;
  1325. color: #000;
  1326. font-family: Serif;
  1327. }
  1328. #global,
  1329. .flux_content {
  1330. display: block !important;
  1331. }
  1332. .flux_content .content {
  1333. width: 100% !important;
  1334. }
  1335. .flux_content .content a {
  1336. color: #000;
  1337. }
  1338. .flux_content .content a::after {
  1339. content: " [" attr(href) "] ";
  1340. font-style: italic;
  1341. }
  1342. }
  1343. /*=== PREVIEW */
  1344. /*===========*/
  1345. .preview_controls {
  1346. margin-left: auto;
  1347. margin-right: auto;
  1348. padding: 1rem;
  1349. max-width: 1000px;
  1350. text-align: center;
  1351. background-color: #eee;
  1352. border: 1px solid #e0e0e0;
  1353. border-radius: .25rem;
  1354. }
  1355. .preview_controls label {
  1356. display: inline;
  1357. }
  1358. .preview_controls label input[type="radio"] {
  1359. margin-top: -4px;
  1360. }
  1361. .preview_controls label + label {
  1362. margin-left: 1rem;
  1363. }
  1364. .preview_background {
  1365. background-color: transparent;
  1366. }
  1367. .drag-drop-marker {
  1368. margin: -1px;
  1369. }