template.css 22 KB

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