template.css 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385
  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. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  16. font-size: 100%;
  17. }
  18. /*=== Links */
  19. a {
  20. text-decoration: none;
  21. }
  22. a:hover {
  23. text-decoration: underline;
  24. }
  25. /*=== Lists */
  26. ul, ol, dd {
  27. margin: 0;
  28. padding: 0;
  29. }
  30. /*=== Titles */
  31. h1 {
  32. margin: 0.6em 0 0.3em;
  33. font-size: 1.5em;
  34. line-height: 1.6em;
  35. }
  36. h2 {
  37. margin: 0.5em 0 0.25em;
  38. font-size: 1.3em;
  39. line-height: 2em;
  40. }
  41. h3 {
  42. margin: 0.5em 0 0.25em;
  43. font-size: 1.1em;
  44. line-height: 2em;
  45. }
  46. /*=== Paragraphs */
  47. p {
  48. margin: 1em 0 0.5em;
  49. font-size: 1em;
  50. }
  51. sup {
  52. line-height: 25px;
  53. position: relative;
  54. top: -0.8em;
  55. vertical-align: baseline;
  56. }
  57. kbd {
  58. background-color: #eee;
  59. padding: 2px 4px;
  60. display: inline-block;
  61. color: #333;
  62. border: 1px solid #b4b4b4;
  63. border-radius: 3px;
  64. white-space: nowrap;
  65. }
  66. /*=== Images */
  67. img {
  68. max-width: 100%;
  69. height: auto;
  70. }
  71. img.favicon {
  72. width: 16px;
  73. height: 16px;
  74. vertical-align: middle;
  75. }
  76. .feed.mute::before {
  77. content: '🔇';
  78. }
  79. /*=== Videos */
  80. audio, iframe, embed, object, video {
  81. max-width: 100%;
  82. }
  83. audio {
  84. width: 100%;
  85. }
  86. /*=== Forms */
  87. legend {
  88. display: block;
  89. width: 100%;
  90. clear: both;
  91. }
  92. label {
  93. display: block;
  94. }
  95. input {
  96. width: 180px;
  97. }
  98. input[type=number] {
  99. width: 6em;
  100. }
  101. textarea,
  102. input[type="file"],
  103. input.long,
  104. input.extend:focus {
  105. width: 300px;
  106. }
  107. input, select, textarea {
  108. display: inline-block;
  109. max-width: 100%;
  110. font-size: 0.8rem;
  111. }
  112. input[type="radio"],
  113. input[type="checkbox"] {
  114. width: 15px !important;
  115. min-height: 15px !important;
  116. }
  117. .dropdown-menu label > input[type="text"] {
  118. width: 150px;
  119. width: calc(99% - 5em);
  120. }
  121. .dropdown-menu input[type="checkbox"] {
  122. margin-left: 1em;
  123. margin-right: .5em;
  124. }
  125. button.as-link,
  126. button.as-link:hover,
  127. button.as-link:active {
  128. background: transparent;
  129. color: inherit;
  130. font-size: 1.1em;
  131. border: none;
  132. cursor: pointer;
  133. text-align: left;
  134. }
  135. button.as-link[disabled] {
  136. color: #ddd !important;
  137. }
  138. /*=== Tables */
  139. table {
  140. max-width: 100%;
  141. }
  142. th.numeric,
  143. td.numeric {
  144. text-align: center;
  145. }
  146. /*=== COMPONENTS */
  147. /*===============*/
  148. [aria-hidden="true"] {
  149. display: none !important;
  150. }
  151. /*=== Forms */
  152. .form-group::after {
  153. content: "";
  154. display: block;
  155. clear: both;
  156. }
  157. .form-group.form-actions {
  158. min-width: 250px;
  159. }
  160. .form-group .group-name {
  161. display: block;
  162. float: left;
  163. width: 200px;
  164. }
  165. .form-group .group-controls {
  166. min-width: 250px;
  167. margin: 0 0 0 220px;
  168. }
  169. .form-group .group-controls .control {
  170. display: block;
  171. }
  172. @supports (position: sticky) {
  173. #mark-read-aside {
  174. position: sticky;
  175. top: 0;
  176. }
  177. }
  178. /*=== Buttons */
  179. .stick {
  180. display: inline-flex;
  181. max-width: 100%;
  182. white-space: nowrap;
  183. }
  184. .stick > input.long {
  185. flex-shrink: 1;
  186. }
  187. .stick > .btn {
  188. flex-shrink: 0;
  189. }
  190. .btn,
  191. a.btn {
  192. display: inline-block;
  193. cursor: pointer;
  194. overflow: hidden;
  195. }
  196. .btn-important {
  197. font-weight: bold;
  198. }
  199. /*=== Navigation */
  200. .nav-list .nav-header,
  201. .nav-list .item {
  202. display: block;
  203. }
  204. .nav-list .item,
  205. .nav-list .item > a {
  206. display: block;
  207. overflow: hidden;
  208. white-space: nowrap;
  209. text-overflow: ellipsis;
  210. }
  211. .nav-head {
  212. display: block;
  213. }
  214. .nav-head .item {
  215. display: inline-block;
  216. }
  217. /*=== Horizontal-list */
  218. .horizontal-list {
  219. display: table;
  220. table-layout: fixed;
  221. width: 100%;
  222. }
  223. .horizontal-list .item {
  224. display: table-cell;
  225. }
  226. /*=== Dropdown */
  227. .dropdown {
  228. position: relative;
  229. display: inline-block;
  230. vertical-align: middle;
  231. }
  232. .dropdown-target {
  233. display: none;
  234. }
  235. .dropdown-menu {
  236. margin: 0;
  237. background: #333;
  238. display: none;
  239. border: 2px solid #262626;
  240. min-width: 200px;
  241. position: absolute;
  242. right: 0;
  243. }
  244. .dropdown-menu-scrollable {
  245. max-height: 75vh;
  246. overflow-x: hidden;
  247. overflow-y: auto;
  248. }
  249. .dropdown-header {
  250. display: block;
  251. }
  252. .dropdown-menu > .item {
  253. display: block;
  254. }
  255. .dropdown-menu > .item > a,
  256. .dropdown-menu > .item > .as-link,
  257. .dropdown-menu > .item > span {
  258. display: block;
  259. min-width: 200px;
  260. white-space: nowrap;
  261. }
  262. .dropdown-menu > .item[aria-checked="true"] > a::before {
  263. content: '✓';
  264. }
  265. .dropdown-menu .input {
  266. display: block;
  267. }
  268. .dropdown-menu .input select,
  269. .dropdown-menu .input input {
  270. display: block;
  271. max-width: 95%;
  272. }
  273. .dropdown-target:target ~ .dropdown-menu {
  274. display: block;
  275. z-index: 1000;
  276. }
  277. .dropdown-close {
  278. display: inline;
  279. }
  280. .dropdown-close a {
  281. display: block;
  282. font-size: 0;
  283. position: fixed;
  284. top: 0; bottom: 0;
  285. left: 0; right: 0;
  286. z-index: -11;
  287. cursor: default;
  288. }
  289. .dropdown div.dropdown-close {
  290. display: none;
  291. }
  292. .dropdown-target:target ~ div.dropdown-close {
  293. display: block;
  294. z-index: 999;
  295. position: relative;
  296. }
  297. .dropdown-menu-scrollable .dropdown-close {
  298. display: none;
  299. }
  300. .separator {
  301. display: block;
  302. height: 0;
  303. border-bottom: 1px solid #aaa;
  304. }
  305. /*=== Alerts */
  306. .alert {
  307. display: block;
  308. width: 90%;
  309. }
  310. .group-controls .alert {
  311. width: 100%
  312. }
  313. .alert-head {
  314. margin: 0;
  315. font-weight: bold;
  316. }
  317. .alert ul {
  318. margin: 5px 20px;
  319. }
  320. /*=== Icons */
  321. .icon {
  322. display: inline-block;
  323. width: 16px;
  324. height: 16px;
  325. vertical-align: middle;
  326. line-height: 16px;
  327. }
  328. /*=== Pagination */
  329. .pagination {
  330. margin: 0;
  331. padding: 0;
  332. display: table;
  333. width: 100%;
  334. table-layout: fixed;
  335. }
  336. .pagination .item {
  337. display: table-cell;
  338. }
  339. .pagination .pager-first,
  340. .pagination .pager-previous,
  341. .pagination .pager-next,
  342. .pagination .pager-last {
  343. width: 100px;
  344. }
  345. /*=== Boxes */
  346. .box {
  347. margin: 20px 10px;
  348. display: inline-block;
  349. max-width: 95%;
  350. width: 20rem;
  351. border: 1px solid #444;
  352. vertical-align: top;
  353. }
  354. .box .box-title {
  355. position: relative;
  356. font-size: 1.2rem;
  357. font-weight: bold;
  358. }
  359. .box .box-title form {
  360. margin: 0;
  361. }
  362. .box .box-content {
  363. display: block;
  364. overflow: auto;
  365. }
  366. .box .box-content .item {
  367. display: block;
  368. }
  369. .box .box-content .item.disabled {
  370. text-align: center;
  371. font-style: italic;
  372. }
  373. .box .box-content-centered {
  374. padding: 30px 5px;
  375. text-align: center;
  376. }
  377. .box .box-content-centered .btn {
  378. margin: 20px 0 0;
  379. }
  380. /*=== Draggable */
  381. .drag-hover {
  382. margin: 0 0 5px;
  383. border-bottom: 2px solid #ccc;
  384. }
  385. [draggable=true] {
  386. cursor: grab;
  387. }
  388. /*=== Scrollbar */
  389. @supports (scrollbar-width: thin) {
  390. #sidebar {
  391. overflow-y: auto;
  392. scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
  393. scrollbar-width: thin;
  394. }
  395. #sidebar:hover {
  396. scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
  397. }
  398. }
  399. @supports not (scrollbar-width: thin) {
  400. #sidebar::-webkit-scrollbar {
  401. background: rgba(0, 0, 0, 0.05);
  402. width: 8px;
  403. }
  404. #sidebar::-webkit-scrollbar-thumb {
  405. background: rgba(0, 0, 0, 0.1);
  406. display: unset;
  407. border-radius: 5px;
  408. }
  409. #sidebar:hover::-webkit-scrollbar-thumb {
  410. background: rgba(0, 0, 0, 0.3);
  411. }
  412. }
  413. /*=== Tree */
  414. .tree {
  415. margin: 0;
  416. max-height: 99vh;
  417. list-style: none;
  418. text-align: left;
  419. overflow-x: hidden;
  420. }
  421. .tree-folder-items {
  422. padding: 0;
  423. max-height: 200em;
  424. list-style: none;
  425. transition: max-height .3s linear;
  426. }
  427. .tree-folder-title {
  428. display: block;
  429. overflow: hidden;
  430. white-space: nowrap;
  431. text-overflow: ellipsis;
  432. }
  433. .tree-folder-title .title {
  434. display: inline-block;
  435. width: 100%;
  436. vertical-align: middle;
  437. }
  438. .tree-folder-items > .item {
  439. display: block;
  440. white-space: nowrap;
  441. }
  442. .tree-folder-items > .item > a {
  443. display: inline-block;
  444. vertical-align: middle;
  445. width: calc(100% - 32px);
  446. overflow: hidden;
  447. white-space: nowrap;
  448. text-overflow: ellipsis;
  449. }
  450. .tree-bottom {
  451. visibility: hidden;
  452. margin-bottom: 18em;
  453. }
  454. /*=== STRUCTURE */
  455. /*===============*/
  456. /*=== Header */
  457. .header {
  458. display: table;
  459. width: 100%;
  460. table-layout: fixed;
  461. }
  462. .header > .item {
  463. display: table-cell;
  464. }
  465. .header > .item.title {
  466. width: 250px;
  467. white-space: nowrap;
  468. }
  469. .header > .item.title h1 {
  470. display: inline-block;
  471. }
  472. .header > .item.title .logo {
  473. display: inline-block;
  474. width: 32px;
  475. height: 32px;
  476. vertical-align: middle;
  477. }
  478. .header > .item.configure {
  479. width: 100px;
  480. }
  481. /*=== Body */
  482. #global {
  483. display: table;
  484. width: 100%;
  485. height: 100%;
  486. table-layout: fixed;
  487. }
  488. .aside {
  489. display: table-cell;
  490. width: 300px;
  491. vertical-align: top;
  492. }
  493. /*=== Aside main page */
  494. .aside_feed .category .title {
  495. width: calc(100% - 35px);
  496. }
  497. .aside_feed .tree-folder-title .icon {
  498. padding: 5px;
  499. }
  500. .aside_feed .tree-folder-items .item.feed {
  501. padding: 0px 15px;
  502. }
  503. .aside_feed .tree-folder-items:not(.active) {
  504. margin: 0;
  505. padding: 0;
  506. max-height: 0;
  507. border: none;
  508. overflow: hidden;
  509. }
  510. .aside_feed .tree-folder-items .dropdown {
  511. vertical-align: top;
  512. }
  513. .aside_feed .tree-folder-items .dropdown-menu {
  514. left: 0;
  515. }
  516. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  517. visibility: hidden;
  518. cursor: pointer;
  519. }
  520. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  521. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  522. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  523. visibility: visible;
  524. }
  525. /*=== New article notification */
  526. #new-article {
  527. display: none;
  528. }
  529. #new-article > a {
  530. display: block;
  531. }
  532. /*=== Day indication */
  533. .day .name {
  534. position: absolute;
  535. right: 0;
  536. width: 50%;
  537. overflow: hidden;
  538. white-space: nowrap;
  539. text-overflow: ellipsis;
  540. }
  541. /*=== Feed article header and footer */
  542. .flux_header {
  543. background: inherit;
  544. position: relative;
  545. }
  546. .flux .item {
  547. line-height: 40px;
  548. white-space: nowrap;
  549. }
  550. .flux .item.manage,
  551. .flux .item.link {
  552. width: 40px;
  553. text-align: center;
  554. }
  555. .flux .item.website {
  556. width: 200px;
  557. }
  558. .flux.not_read .item.title,
  559. .flux.current .item.title {
  560. font-weight: bold;
  561. }
  562. .flux:not(.current):hover .item.title {
  563. background: #333;
  564. max-width: calc(100% - 320px);
  565. position: absolute;
  566. }
  567. .flux .item.title a {
  568. color: #ababab;
  569. text-decoration: none;
  570. }
  571. .flux .item.title .author {
  572. padding-left: 1rem;
  573. color: #555;
  574. font-size: .9rem;
  575. font-weight: normal;
  576. }
  577. .flux .item.date {
  578. width: 155px;
  579. text-align: right;
  580. overflow: hidden;
  581. }
  582. .flux .item > a {
  583. display: block;
  584. text-decoration: none;
  585. white-space: nowrap;
  586. text-overflow: ellipsis;
  587. overflow: hidden;
  588. }
  589. .flux .item.share > a,
  590. .item.query > a {
  591. display: list-item;
  592. list-style-position: inside;
  593. list-style-type: decimal;
  594. }
  595. /*=== Feed article content */
  596. .hide_posts > .flux:not(.active) > .flux_content {
  597. display: none;
  598. }
  599. .content {
  600. min-height: 20em;
  601. margin: auto;
  602. line-height: 1.7em;
  603. word-wrap: break-word;
  604. }
  605. .content.large {
  606. max-width: 1000px;
  607. }
  608. .content.medium {
  609. max-width: 800px;
  610. }
  611. .content.thin {
  612. max-width: 550px;
  613. }
  614. .content ul,
  615. .content ol,
  616. .content dd {
  617. margin: 0 0 0 15px;
  618. padding: 0 0 5px 15px;
  619. }
  620. .content pre {
  621. overflow: auto;
  622. }
  623. br {
  624. line-height: 1em;
  625. }
  626. /*=== Notification and actualize notification */
  627. .notification {
  628. position: absolute;
  629. top: 1em;
  630. left: 25%; right: 25%;
  631. z-index: 10;
  632. background: #fff;
  633. border: 1px solid #aaa;
  634. opacity: 1;
  635. visibility: visible;
  636. transition: visibility 0s, opacity .3s linear;
  637. }
  638. .notification.closed {
  639. opacity: 0;
  640. visibility: hidden;
  641. }
  642. .notification a.close {
  643. position: absolute;
  644. top: 0; bottom: 0;
  645. right: 0;
  646. display: inline-block;
  647. }
  648. #actualizeProgress {
  649. position: fixed;
  650. }
  651. #actualizeProgress progress {
  652. max-width: 100%;
  653. vertical-align: middle;
  654. }
  655. #actualizeProgress .progress {
  656. vertical-align: middle;
  657. }
  658. /*=== Popup */
  659. #popup {
  660. display: none;
  661. position: fixed;
  662. z-index: 1;
  663. left: 0;
  664. top: 0;
  665. width: 100%;
  666. height: 100%;
  667. overflow: auto;
  668. background-color: #eee;
  669. background-color: rgba(0,0,0,0.4);
  670. }
  671. #popup-content {
  672. margin: 5rem auto;
  673. display: table;
  674. width: 80%;
  675. height: 80%;
  676. overflow: hidden;
  677. background-color: #fafafa;
  678. border-radius: .25rem;
  679. box-shadow: 0 0 1px #737373, 1px 2px 3px #4a4a4f;
  680. }
  681. .popup-row {
  682. display: table-row;
  683. width: 100%;
  684. }
  685. #popup-close {
  686. float: right;
  687. width: 27px;
  688. height: 27px;
  689. padding-bottom: 5px;
  690. color: #aaa;
  691. font-size: 28px;
  692. font-weight: bold;
  693. }
  694. #popup-close:hover,
  695. #popup-close:focus {
  696. color: #000;
  697. text-decoration: none;
  698. cursor: pointer;
  699. }
  700. #popup-txt {
  701. display: none;
  702. height: 100%;
  703. }
  704. #popup-iframe-container {
  705. display: none;
  706. height: 100%;
  707. }
  708. #popup-iframe-sub {
  709. padding: 10px;
  710. height: 100%;
  711. }
  712. #popup-iframe {
  713. width: 100%;
  714. height: 100%;
  715. }
  716. /*=== Navigation menu (for articles) */
  717. #nav_entries {
  718. background: #fff;
  719. display: table;
  720. position: fixed;
  721. bottom: 0; left: 0;
  722. width: 300px;
  723. table-layout: fixed;
  724. }
  725. #nav_entries .item {
  726. display: table-cell;
  727. width: 30%;
  728. }
  729. #nav_entries a {
  730. display: block;
  731. }
  732. /*=== "Load" parts */
  733. /* Only matches while waiting for div#stream to be received */
  734. #first_load:nth-last-of-type(1), #first_load:nth-last-of-type(2) {
  735. margin: -40px auto 0 auto;
  736. height: 40px;
  737. position: relative;
  738. top: 290px;
  739. }
  740. #load_more {
  741. min-height: 40px;
  742. }
  743. .loading {
  744. background: url("loader.gif") center center no-repeat;
  745. font-size: 0;
  746. }
  747. #bigMarkAsRead {
  748. margin: 0 0 100% 0;
  749. margin: 0 0 100vh 0;
  750. padding: 1em 0 50px 0;
  751. display: block;
  752. width: 100%;
  753. text-align: center;
  754. font-size: 1.4em;
  755. }
  756. .bigTick {
  757. display: none!important;
  758. }
  759. /*=== Statistiques */
  760. .stat {
  761. margin: 15px 0;
  762. }
  763. .stat.half {
  764. padding: 0 2%;
  765. display: inline-block;
  766. width: 46%;
  767. }
  768. .stat > table {
  769. width: 100%;
  770. }
  771. .statGraph {
  772. height: 300px;
  773. }
  774. /*=== LOGIN VIEW */
  775. /*================*/
  776. .formLogin .header > .item {
  777. padding: 10px 30px;
  778. }
  779. .formLogin .header > .item.title {
  780. text-align: left;
  781. }
  782. .formLogin .header > .item.configure {
  783. text-align: right;
  784. }
  785. /*=== GLOBAL VIEW */
  786. /*================*/
  787. #stream.global {
  788. text-align: center;
  789. }
  790. #stream.global .box {
  791. text-align: left;
  792. }
  793. #global > #panel {
  794. bottom: 99vh;
  795. display: block;
  796. transition: visibility .3s, bottom .3s;
  797. visibility: hidden;
  798. }
  799. #global > #panel.visible {
  800. bottom: 1em;
  801. visibility: visible;
  802. }
  803. /*=== Panel */
  804. #overlay {
  805. position: fixed;
  806. top: 0; bottom: 0;
  807. left: 0; right: 0;
  808. background: rgba(0, 0, 0, 0.9);
  809. opacity: 0;
  810. transition: visibility .3s, opacity .3s;
  811. visibility: hidden;
  812. }
  813. #overlay.visible {
  814. opacity: 1;
  815. visibility: visible;
  816. }
  817. #panel {
  818. background: #fff;
  819. display: none;
  820. position: fixed;
  821. top: 1em; bottom: 1em;
  822. left: 2em; right: 2em;
  823. overflow: auto;
  824. }
  825. #overlay .close {
  826. position: fixed;
  827. top: 0; bottom: 0;
  828. left: 0; right: 0;
  829. display: block;
  830. }
  831. #overlay .close img {
  832. display: none;
  833. }
  834. /*=== Slider */
  835. #slider {
  836. position: fixed;
  837. top: 0; bottom: 0;
  838. left: 100%; right: 0;
  839. overflow: auto;
  840. background: #171717;
  841. border-left: 1px solid #333;
  842. transition: left 200ms linear;
  843. }
  844. #slider.active {
  845. left: 40%;
  846. }
  847. #close-slider {
  848. position: fixed;
  849. top: 0; bottom: 0;
  850. left: 100%; right: 0;
  851. cursor: pointer;
  852. }
  853. #close-slider.active {
  854. left: 0;
  855. }
  856. #close-slider img {
  857. display: none;
  858. }
  859. /*=== SLIDESHOW */
  860. /*==============*/
  861. .slides {
  862. padding: 0;
  863. display: block;
  864. max-width: 640px;
  865. height: 320px;
  866. border: 1px solid #aaa;
  867. position: relative;
  868. min-width: 260px;
  869. margin-bottom: 30px;
  870. }
  871. .slides input {
  872. display: none;
  873. }
  874. .slide-container {
  875. display: block;
  876. }
  877. .slide {
  878. display: block;
  879. width: 100%;
  880. height: 100%;
  881. top: 0;
  882. opacity: 0;
  883. position: absolute;
  884. transform: scale(0);
  885. transition: all .7s ease-in-out;
  886. }
  887. .slide img {
  888. width: 100%;
  889. height: 100%;
  890. }
  891. .nav label {
  892. padding: 0;
  893. display: none;
  894. width: 10%;
  895. height: 100%;
  896. color: #0062b7;
  897. font-family: "Varela Round", sans-serif;
  898. font-size: 1000%;
  899. position: absolute;
  900. opacity: 0;
  901. z-index: 9;
  902. cursor: pointer;
  903. transition: opacity .2s;
  904. text-align: center;
  905. line-height: 225%;
  906. background-color: rgba(255, 255, 255, .3);
  907. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  908. }
  909. .properties {
  910. padding: 5px;
  911. background: rgba(255, 255, 255, 0.7);
  912. display: none;
  913. color: #000;
  914. border-top: 1px solid #aaa;
  915. bottom: 0;
  916. left: 0; right: 0;
  917. position: absolute;
  918. z-index: 10;
  919. }
  920. .properties .page-number {
  921. right: 5px;
  922. top: 0;
  923. position: absolute;
  924. }
  925. .slide:hover + .nav label {
  926. opacity: 0.5;
  927. }
  928. .nav label:hover {
  929. opacity: 1;
  930. }
  931. .nav .next {
  932. right: 0;
  933. }
  934. input:checked + .slide-container .slide {
  935. opacity: 1;
  936. transform: scale(1);
  937. transition: opacity 1s ease-in-out;
  938. }
  939. input:checked + .slide-container .nav label {
  940. display: block;
  941. }
  942. input:checked + .slide-container .properties {
  943. display: block;
  944. }
  945. /*=== DIVERS */
  946. /*===========*/
  947. .category .title:not([data-unread="0"])::after {
  948. content: attr(data-unread);
  949. }
  950. .category .title.error::before {
  951. content: "⚠ ";
  952. color: #bd362f;
  953. }
  954. .feed .item-title:not([data-unread="0"])::before {
  955. content: "(" attr(data-unread) ") ";
  956. }
  957. .feed .item-title:not([data-unread="0"]) {
  958. font-weight: bold;
  959. }
  960. .state_unread .category:not(.active)[data-unread="0"],
  961. .state_unread .feed:not(.active)[data-unread="0"] {
  962. display: none;
  963. }
  964. .nav-login,
  965. .nav_menu .search,
  966. .aside .toggle_aside,
  967. .nav_menu .toggle_aside {
  968. display: none;
  969. }
  970. .enclosure [download] {
  971. font-size: xx-large;
  972. margin-left: .8em;
  973. }
  974. pre.enclosure-description {
  975. white-space: pre-line;
  976. }
  977. /*=== READER */
  978. /*===========*/
  979. .reader .nav_menu .toggle_aside {
  980. display: inline-block;
  981. }
  982. .reader .aside .toggle_aside {
  983. display: block;
  984. width: 100%;
  985. }
  986. .reader .aside {
  987. width: 0;
  988. }
  989. .reader .aside:target {
  990. width: 300px;
  991. }
  992. .reader .aside .stick {
  993. display: none;
  994. }
  995. /*=== MOBILE */
  996. /*===========*/
  997. @media (max-width: 840px) {
  998. .header,
  999. .flux_header .item.website span,
  1000. .item.date, .day .date,
  1001. .dropdown-menu > .no-mobile,
  1002. .no-mobile {
  1003. display: none;
  1004. }
  1005. .form-group {
  1006. margin-bottom: 10px;
  1007. }
  1008. .form-group .group-name {
  1009. float: none;
  1010. }
  1011. .form-group .group-controls {
  1012. margin-left: 0;
  1013. }
  1014. .dropdown .dropdown-menu {
  1015. width: 100%;
  1016. border-radius: 0;
  1017. bottom: 0;
  1018. position: fixed;
  1019. }
  1020. .dropdown-menu::after {
  1021. display: none;
  1022. }
  1023. .aside .toggle_aside,
  1024. .nav-login {
  1025. display: block;
  1026. }
  1027. .nav_menu .toggle_aside,
  1028. .nav_menu .search,
  1029. #panel .close img {
  1030. display: inline-block;
  1031. }
  1032. .aside {
  1033. position: fixed;
  1034. top: 0; bottom: 0;
  1035. left: 0;
  1036. width: 0;
  1037. overflow: hidden;
  1038. z-index: 100;
  1039. }
  1040. .aside:target {
  1041. width: 90%;
  1042. }
  1043. .aside_feed .configure-feeds {
  1044. margin-top: 10px;
  1045. }
  1046. .flux_header .item.website {
  1047. width: 40px;
  1048. }
  1049. .flux:not(.current):hover .item.title {
  1050. background: #333;
  1051. position: relative;
  1052. width: auto;
  1053. white-space: nowrap;
  1054. }
  1055. .notification {
  1056. top: 0;
  1057. left: 0;
  1058. right: 0;
  1059. }
  1060. #nav_entries {
  1061. width: 100%;
  1062. }
  1063. #panel {
  1064. top: 25px; bottom: 30px;
  1065. left: 0; right: 0;
  1066. }
  1067. #panel .close {
  1068. top: 0; right: 0;
  1069. left: auto; bottom: auto;
  1070. display: inline-block;
  1071. width: 30px;
  1072. height: 30px;
  1073. }
  1074. #slider.active {
  1075. left: 0;
  1076. top: 50px;
  1077. }
  1078. #close-slider img {
  1079. display: initial;
  1080. }
  1081. #close-slider.active {
  1082. background: #f6f6f6;
  1083. display: block;
  1084. width: 100%;
  1085. height: 50px;
  1086. z-index: 10;
  1087. text-align: center;
  1088. line-height: 50px;
  1089. border-bottom: 1px solid #ddd;
  1090. }
  1091. }
  1092. /*=== PRINTER */
  1093. /*============*/
  1094. @media print {
  1095. .header, .aside,
  1096. .nav_menu, .day,
  1097. .flux_header,
  1098. .flux_content .bottom,
  1099. .pagination,
  1100. #nav_entries {
  1101. display: none;
  1102. }
  1103. html, body {
  1104. background: #fff;
  1105. color: #000;
  1106. font-family: Serif;
  1107. }
  1108. #global,
  1109. .flux_content {
  1110. display: block !important;
  1111. }
  1112. .flux_content .content {
  1113. width: 100% !important;
  1114. }
  1115. .flux_content .content a {
  1116. color: #000;
  1117. }
  1118. .flux_content .content a::after {
  1119. content: " [" attr(href) "] ";
  1120. font-style: italic;
  1121. }
  1122. }
  1123. /*=== PREVIEW */
  1124. /*===========*/
  1125. .preview_controls {
  1126. margin-left: auto;
  1127. margin-right: auto;
  1128. padding: 1rem;
  1129. max-width: 1000px;
  1130. text-align: center;
  1131. background-color: #eee;
  1132. border: 1px solid #e0e0e0;
  1133. border-radius: .25rem;
  1134. }
  1135. .preview_controls label {
  1136. display: inline;
  1137. }
  1138. .preview_controls label input[type="radio"] {
  1139. margin-top: -4px;
  1140. }
  1141. .preview_controls label + label {
  1142. margin-left: 1rem;
  1143. }
  1144. .preview_background {
  1145. background-color: transparent;
  1146. }