template.css 17 KB

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