template.css 17 KB

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