template.css 21 KB

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