template.css 22 KB

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