template.css 21 KB

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