template.css 25 KB

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