template.css 21 KB

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