template.css 22 KB

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