template.css 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580
  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. width: 100%;
  662. height: 100%;
  663. object-fit: cover;
  664. }
  665. .flux .item.title .summary {
  666. max-height: 3em;
  667. color: #666;
  668. font-size: 0.9em;
  669. line-height: 1.5em;
  670. font-weight: normal;
  671. white-space: initial;
  672. overflow: hidden;
  673. text-overflow: ellipsis;
  674. }
  675. .flux .item.title .author {
  676. padding-left: 1rem;
  677. color: #555;
  678. font-size: .9rem;
  679. font-weight: normal;
  680. }
  681. .flux .item.date {
  682. width: 155px;
  683. text-align: right;
  684. overflow: hidden;
  685. }
  686. .flux .item > a {
  687. display: block;
  688. text-decoration: none;
  689. white-space: nowrap;
  690. text-overflow: ellipsis;
  691. overflow: hidden;
  692. }
  693. .flux .item.share > a,
  694. .item.query > a {
  695. display: list-item;
  696. list-style-position: inside;
  697. list-style-type: decimal;
  698. }
  699. /*=== Feed article content */
  700. .hide_posts > .flux:not(.active) > .flux_content {
  701. display: none;
  702. }
  703. .content {
  704. min-height: 20em;
  705. margin: auto;
  706. line-height: 1.7em;
  707. word-wrap: break-word;
  708. }
  709. .content.large {
  710. max-width: 1000px;
  711. }
  712. .content.medium {
  713. max-width: 800px;
  714. }
  715. .content.thin {
  716. max-width: 550px;
  717. }
  718. .content ul,
  719. .content ol,
  720. .content dd {
  721. margin: 0 0 0 15px;
  722. padding: 0 0 5px 15px;
  723. }
  724. .content pre {
  725. overflow: auto;
  726. }
  727. .subtitle > div {
  728. display: inline;
  729. }
  730. .subtitle > div:not(:first-of-type)::before {
  731. content: ' · ';
  732. }
  733. br {
  734. line-height: 1em;
  735. }
  736. /*=== Notification and actualize notification */
  737. .notification {
  738. position: absolute;
  739. top: 1em;
  740. left: 25%; right: 25%;
  741. z-index: 10;
  742. background: #fff;
  743. border: 1px solid #aaa;
  744. opacity: 1;
  745. visibility: visible;
  746. transition: visibility 0s, opacity .3s linear;
  747. }
  748. .notification.closed {
  749. opacity: 0;
  750. visibility: hidden;
  751. }
  752. .notification a.close {
  753. position: absolute;
  754. top: 0; bottom: 0;
  755. right: 0;
  756. display: inline-block;
  757. }
  758. #actualizeProgress {
  759. position: fixed;
  760. }
  761. #actualizeProgress progress {
  762. max-width: 100%;
  763. vertical-align: middle;
  764. }
  765. #actualizeProgress .progress {
  766. vertical-align: middle;
  767. }
  768. /*=== Popup */
  769. #popup {
  770. display: none;
  771. position: fixed;
  772. z-index: 1;
  773. left: 0;
  774. top: 0;
  775. width: 100%;
  776. height: 100%;
  777. overflow: auto;
  778. background-color: #eee;
  779. background-color: rgba(0,0,0,0.4);
  780. }
  781. #popup-content {
  782. margin: 5rem auto;
  783. display: table;
  784. width: 80%;
  785. height: 80%;
  786. overflow: hidden;
  787. background-color: #fafafa;
  788. border-radius: .25rem;
  789. box-shadow: 0 0 1px #737373, 1px 2px 3px #4a4a4f;
  790. }
  791. .popup-row {
  792. display: table-row;
  793. width: 100%;
  794. }
  795. #popup-close {
  796. float: right;
  797. width: 27px;
  798. height: 27px;
  799. padding-bottom: 5px;
  800. color: #aaa;
  801. font-size: 28px;
  802. font-weight: bold;
  803. }
  804. #popup-close:hover,
  805. #popup-close:focus {
  806. color: #000;
  807. text-decoration: none;
  808. cursor: pointer;
  809. }
  810. #popup-txt {
  811. display: none;
  812. height: 100%;
  813. }
  814. #popup-iframe-container {
  815. display: none;
  816. height: 100%;
  817. }
  818. #popup-iframe-sub {
  819. padding: 10px;
  820. height: 100%;
  821. }
  822. #popup-iframe {
  823. width: 100%;
  824. height: 100%;
  825. }
  826. /*=== Navigation menu (for articles) */
  827. #nav_entries {
  828. background: #fff;
  829. display: table;
  830. position: fixed;
  831. bottom: 0; left: 0;
  832. width: 300px;
  833. table-layout: fixed;
  834. }
  835. #nav_entries .item {
  836. display: table-cell;
  837. width: 30%;
  838. }
  839. #nav_entries a {
  840. display: block;
  841. }
  842. /*=== "Load" parts */
  843. #first_load {
  844. margin: 130px auto -170px auto;
  845. height: 40px;
  846. }
  847. #load_more {
  848. min-height: 40px;
  849. }
  850. .loading {
  851. background: url("loader.gif") center center no-repeat;
  852. font-size: 0;
  853. }
  854. #bigMarkAsRead {
  855. margin: 0 0 100% 0;
  856. margin: 0 0 100vh 0;
  857. padding: 1em 0 50px 0;
  858. display: block;
  859. width: 100%;
  860. text-align: center;
  861. font-size: 1.4em;
  862. }
  863. .bigTick {
  864. font-size: 4em;
  865. }
  866. /*=== Statistiques */
  867. .stat-grid {
  868. display: grid;
  869. grid-template-columns: 1fr 1fr;
  870. grid-gap: 20px;
  871. }
  872. .stat {
  873. grid-column: 1 / span 2;
  874. }
  875. .stat.half {
  876. grid-column: auto;
  877. }
  878. .stat > table {
  879. width: 100%;
  880. }
  881. .statGraph {
  882. height: 300px;
  883. }
  884. /*=== LOGIN VIEW */
  885. /*================*/
  886. .formLogin .header > .item {
  887. padding: 10px 30px;
  888. }
  889. .formLogin .header > .item.title {
  890. text-align: left;
  891. }
  892. .formLogin .header > .item.configure {
  893. text-align: right;
  894. }
  895. /*=== GLOBAL VIEW */
  896. /*================*/
  897. #stream.global {
  898. text-align: center;
  899. }
  900. #stream.global .box {
  901. text-align: left;
  902. }
  903. #global > #panel {
  904. bottom: 99vh;
  905. display: block;
  906. transition: visibility .3s, bottom .3s;
  907. visibility: hidden;
  908. }
  909. #global > #panel.visible {
  910. bottom: 2%;
  911. visibility: visible;
  912. }
  913. /*=== Panel */
  914. #overlay {
  915. position: fixed;
  916. top: 0; bottom: 0;
  917. left: 0; right: 0;
  918. background: rgba(0, 0, 0, 0.5);
  919. opacity: 0;
  920. transition: visibility .3s, opacity .3s;
  921. visibility: hidden;
  922. }
  923. #overlay.visible {
  924. opacity: 1;
  925. visibility: visible;
  926. }
  927. #panel {
  928. background: #fff;
  929. display: none;
  930. position: fixed;
  931. top: 2%; bottom: 2%;
  932. left: 3%; right: 3%;
  933. overflow: auto;
  934. }
  935. #overlay .close {
  936. position: fixed;
  937. top: 0; bottom: 0;
  938. left: 0; right: 0;
  939. display: block;
  940. }
  941. #overlay .close img {
  942. display: none;
  943. }
  944. /*=== Slider */
  945. #slider {
  946. position: fixed;
  947. top: 0; bottom: 0;
  948. left: 100%; right: 0;
  949. overflow: auto;
  950. background: #fff;
  951. border-left: 1px solid #aaa;
  952. transition: left 200ms linear;
  953. }
  954. #slider.active {
  955. left: 40%;
  956. }
  957. #close-slider {
  958. position: fixed;
  959. top: 0; bottom: 0;
  960. left: 100%; right: 0;
  961. cursor: pointer;
  962. }
  963. #close-slider.active {
  964. left: 0;
  965. }
  966. #close-slider img {
  967. display: none;
  968. }
  969. /*=== SLIDESHOW */
  970. /*==============*/
  971. .slides {
  972. padding: 0;
  973. display: block;
  974. max-width: 640px;
  975. height: 320px;
  976. border: 1px solid #aaa;
  977. position: relative;
  978. min-width: 260px;
  979. margin-bottom: 30px;
  980. }
  981. .slides input {
  982. display: none;
  983. }
  984. .slide-container {
  985. display: block;
  986. }
  987. .slide {
  988. display: block;
  989. width: 100%;
  990. height: 100%;
  991. top: 0;
  992. opacity: 0;
  993. position: absolute;
  994. transform: scale(0);
  995. transition: all .7s ease-in-out;
  996. }
  997. .slide img {
  998. width: 100%;
  999. height: 100%;
  1000. }
  1001. .nav label {
  1002. padding: 0;
  1003. display: none;
  1004. width: 65px;
  1005. height: 100%;
  1006. color: #fff;
  1007. font-family: "Varela Round", sans-serif;
  1008. font-size: 1000%;
  1009. position: absolute;
  1010. opacity: 0;
  1011. z-index: 9;
  1012. cursor: pointer;
  1013. transition: opacity .2s;
  1014. text-align: center;
  1015. line-height: 225%;
  1016. background-color: rgba(255, 255, 255, .3);
  1017. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  1018. }
  1019. .properties {
  1020. padding: 5px;
  1021. background: rgba(255, 255, 255, 0.7);
  1022. display: none;
  1023. color: #000;
  1024. border-top: 1px solid #aaa;
  1025. bottom: 0;
  1026. left: 0; right: 0;
  1027. position: absolute;
  1028. z-index: 10;
  1029. }
  1030. .properties .page-number {
  1031. right: 5px;
  1032. top: 0;
  1033. position: absolute;
  1034. }
  1035. .slide:hover + .nav label {
  1036. opacity: 0.5;
  1037. }
  1038. .nav label:hover {
  1039. opacity: 1;
  1040. }
  1041. .nav .next {
  1042. right: 0;
  1043. }
  1044. input:checked + .slide-container .slide {
  1045. opacity: 1;
  1046. transform: scale(1);
  1047. transition: opacity 1s ease-in-out;
  1048. }
  1049. input:checked + .slide-container .nav label {
  1050. display: block;
  1051. }
  1052. input:checked + .slide-container .properties {
  1053. display: block;
  1054. }
  1055. /*=== DIVERS */
  1056. /*===========*/
  1057. .category .title:not([data-unread="0"])::after {
  1058. content: attr(data-unread);
  1059. }
  1060. .category .title.error::before {
  1061. content: "⚠ ";
  1062. color: #bd362f;
  1063. }
  1064. .feed .item-title:not([data-unread="0"])::before {
  1065. content: "(" attr(data-unread) ") ";
  1066. }
  1067. .feed .item-title:not([data-unread="0"]) {
  1068. font-weight: bold;
  1069. }
  1070. .state_unread .category:not(.active)[data-unread="0"],
  1071. .state_unread .feed:not(.active)[data-unread="0"] {
  1072. display: none;
  1073. }
  1074. .nav_menu {
  1075. background: inherit;
  1076. }
  1077. .nav_mobile {
  1078. display: none;
  1079. }
  1080. .nav-login,
  1081. .nav_menu .search,
  1082. .aside .toggle_aside,
  1083. .nav_menu .toggle_aside,
  1084. .configure .dropdown-header-close {
  1085. display: none;
  1086. }
  1087. .enclosure [download] {
  1088. font-size: xx-large;
  1089. margin-left: .8em;
  1090. }
  1091. .enclosure-description {
  1092. white-space: pre-line;
  1093. }
  1094. .default-user {
  1095. font-style: italic;
  1096. }
  1097. /*=== READER */
  1098. /*===========*/
  1099. .reader .nav_menu .toggle_aside {
  1100. display: inline-block;
  1101. }
  1102. .reader .aside .toggle_aside {
  1103. display: block;
  1104. width: 100%;
  1105. }
  1106. .reader .aside {
  1107. display: none;
  1108. width: 0;
  1109. }
  1110. .reader .aside:target {
  1111. display: table-cell;
  1112. width: 300px;
  1113. }
  1114. .reader .aside .stick {
  1115. display: none;
  1116. }
  1117. /*=== MOBILE */
  1118. /*===========*/
  1119. @media (max-width: 840px) {
  1120. .flux_header .item.website span,
  1121. .item.date, .day .date,
  1122. .dropdown-menu > .no-mobile,
  1123. .no-mobile {
  1124. display: none;
  1125. }
  1126. .header > .item {
  1127. padding: 5px;
  1128. }
  1129. .header > .item.title .logo {
  1130. height: 24px;
  1131. }
  1132. header .item.search form {
  1133. display: none;
  1134. }
  1135. .form-group {
  1136. margin-bottom: 10px;
  1137. }
  1138. .form-group .group-name {
  1139. float: none;
  1140. }
  1141. .form-group .group-controls {
  1142. margin-left: 0;
  1143. }
  1144. .dropdown .dropdown-menu {
  1145. width: 100%;
  1146. border-radius: 0;
  1147. bottom: 0;
  1148. position: fixed;
  1149. }
  1150. .configure .dropdown .dropdown-menu {
  1151. width: 90%;
  1152. height: 100vh;
  1153. overflow: auto;
  1154. box-shadow: -3px 0 3px #aaa;
  1155. }
  1156. .dropdown-target ~ .dropdown-menu {
  1157. width: 0;
  1158. }
  1159. .dropdown-target:target ~ .dropdown-menu {
  1160. display: table-cell;
  1161. z-index: 1000;
  1162. }
  1163. .dropdown-menu::after {
  1164. display: none;
  1165. }
  1166. .aside .toggle_aside,
  1167. .configure .dropdown-header-close,
  1168. .nav-login {
  1169. display: block;
  1170. }
  1171. .nav_menu .toggle_aside,
  1172. .nav_menu .search,
  1173. #panel .close img {
  1174. display: inline-block;
  1175. }
  1176. .nav_mobile {
  1177. display: block;
  1178. }
  1179. .aside {
  1180. position: fixed;
  1181. top: 0; bottom: 0;
  1182. left: 0;
  1183. width: 0;
  1184. overflow: hidden;
  1185. z-index: 100;
  1186. }
  1187. .aside:target,
  1188. .reader .aside:target {
  1189. width: 90%;
  1190. height: 100vh;
  1191. }
  1192. .aside_feed .configure-feeds {
  1193. margin-top: 10px;
  1194. }
  1195. .flux_header .item.website {
  1196. width: 40px;
  1197. }
  1198. .flux:not(.current):hover .item.title {
  1199. position: relative;
  1200. width: auto;
  1201. white-space: nowrap;
  1202. }
  1203. .notification {
  1204. top: 0;
  1205. left: 0;
  1206. right: 0;
  1207. }
  1208. #nav_entries {
  1209. width: 100%;
  1210. }
  1211. #panel {
  1212. top: 25px; bottom: 30px;
  1213. left: 0; right: 0;
  1214. }
  1215. #panel .close {
  1216. top: 0; right: 0;
  1217. left: auto; bottom: auto;
  1218. display: inline-block;
  1219. width: 30px;
  1220. height: 30px;
  1221. }
  1222. #slider.active {
  1223. left: 0;
  1224. top: 50px;
  1225. }
  1226. #close-slider img {
  1227. display: initial;
  1228. }
  1229. #close-slider.active {
  1230. background: #f6f6f6;
  1231. display: block;
  1232. width: 100%;
  1233. height: 50px;
  1234. z-index: 10;
  1235. text-align: center;
  1236. line-height: 50px;
  1237. border-bottom: 1px solid #ddd;
  1238. }
  1239. .stat.half {
  1240. grid-column: 1 / span 2;
  1241. }
  1242. }
  1243. /*=== PRINTER */
  1244. /*============*/
  1245. @media print {
  1246. .header, .aside,
  1247. .nav_menu, .day,
  1248. .flux_header,
  1249. .flux_content .bottom,
  1250. .pagination,
  1251. #nav_entries {
  1252. display: none;
  1253. }
  1254. html, body {
  1255. background: #fff;
  1256. color: #000;
  1257. font-family: Serif;
  1258. }
  1259. #global,
  1260. .flux_content {
  1261. display: block !important;
  1262. }
  1263. .flux_content .content {
  1264. width: 100% !important;
  1265. }
  1266. .flux_content .content a {
  1267. color: #000;
  1268. }
  1269. .flux_content .content a::after {
  1270. content: " [" attr(href) "] ";
  1271. font-style: italic;
  1272. }
  1273. }
  1274. /*=== PREVIEW */
  1275. /*===========*/
  1276. .preview_controls {
  1277. margin-left: auto;
  1278. margin-right: auto;
  1279. padding: 1rem;
  1280. max-width: 1000px;
  1281. text-align: center;
  1282. background-color: #eee;
  1283. border: 1px solid #e0e0e0;
  1284. border-radius: .25rem;
  1285. }
  1286. .preview_controls label {
  1287. display: inline;
  1288. }
  1289. .preview_controls label input[type="radio"] {
  1290. margin-top: -4px;
  1291. }
  1292. .preview_controls label + label {
  1293. margin-left: 1rem;
  1294. }
  1295. .preview_background {
  1296. background-color: transparent;
  1297. }
  1298. .drag-drop-marker {
  1299. margin: -1px;
  1300. }