template.css 20 KB

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