template.css 24 KB

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