template.css 17 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061
  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. }
  326. .box .box-title form {
  327. margin: 0;
  328. }
  329. .box .box-content {
  330. display: block;
  331. overflow: auto;
  332. }
  333. .box .box-content .item {
  334. display: block;
  335. }
  336. .box .box-content .item.disabled {
  337. text-align: center;
  338. font-style: italic;
  339. }
  340. .box .box-content-centered {
  341. padding: 30px 5px;
  342. text-align: center;
  343. }
  344. .box .box-content-centered .btn {
  345. margin: 20px 0 0;
  346. }
  347. /*=== Draggable */
  348. .drag-hover {
  349. margin: 0 0 5px;
  350. border-bottom: 2px solid #ccc;
  351. }
  352. [draggable=true] {
  353. cursor: grab;
  354. }
  355. /*=== Scrollbar */
  356. @supports (scrollbar-width: thin) {
  357. #sidebar {
  358. overflow-y: auto;
  359. scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
  360. scrollbar-width: thin;
  361. }
  362. #sidebar:hover {
  363. scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
  364. }
  365. }
  366. @supports not (scrollbar-width: thin) {
  367. #sidebar::-webkit-scrollbar {
  368. background: rgba(0, 0, 0, 0.05);
  369. width: 8px;
  370. }
  371. #sidebar::-webkit-scrollbar-thumb {
  372. background: rgba(0, 0, 0, 0.1);
  373. border-radius: 5px;
  374. display: unset;
  375. }
  376. #sidebar:hover::-webkit-scrollbar-thumb {
  377. background: rgba(0, 0, 0, 0.3);
  378. }
  379. }
  380. /*=== Tree */
  381. .tree {
  382. margin: 0;
  383. max-height: 99vh;
  384. list-style: none;
  385. text-align: left;
  386. overflow-x: hidden;
  387. }
  388. .tree-folder-items {
  389. list-style: none;
  390. max-height: 200em;
  391. padding: 0;
  392. transition: max-height .3s linear;
  393. }
  394. .tree-folder-title {
  395. display: block;
  396. overflow: hidden;
  397. white-space: nowrap;
  398. text-overflow: ellipsis;
  399. }
  400. .tree-folder-title .title {
  401. display: inline-block;
  402. width: 100%;
  403. vertical-align: middle;
  404. }
  405. .tree-folder-items > .item {
  406. display: block;
  407. white-space: nowrap;
  408. }
  409. .tree-folder-items > .item > a {
  410. display: inline-block;
  411. vertical-align: middle;
  412. width: calc(100% - 32px);
  413. overflow: hidden;
  414. white-space: nowrap;
  415. text-overflow: ellipsis;
  416. }
  417. .tree-bottom {
  418. visibility: hidden;
  419. margin-bottom: 18em;
  420. }
  421. /*=== STRUCTURE */
  422. /*===============*/
  423. /*=== Header */
  424. .header {
  425. display: table;
  426. width: 100%;
  427. table-layout: fixed;
  428. }
  429. .header > .item {
  430. display: table-cell;
  431. }
  432. .header > .item.title {
  433. width: 250px;
  434. white-space: nowrap;
  435. }
  436. .header > .item.title h1 {
  437. display: inline-block;
  438. }
  439. .header > .item.title .logo {
  440. display: inline-block;
  441. height: 32px;
  442. width: 32px;
  443. vertical-align: middle;
  444. }
  445. .header > .item.configure {
  446. width: 100px;
  447. }
  448. /*=== Body */
  449. #global {
  450. display: table;
  451. width: 100%;
  452. height: 100%;
  453. table-layout: fixed;
  454. }
  455. .aside {
  456. display: table-cell;
  457. width: 300px;
  458. vertical-align: top;
  459. }
  460. /*=== Aside main page */
  461. .aside_feed .category .title {
  462. width: calc(100% - 35px);
  463. }
  464. .aside_feed .tree-folder-title .icon {
  465. padding: 5px;
  466. }
  467. .aside_feed .tree-folder-items .item.feed {
  468. padding: 0px 15px;
  469. }
  470. .aside_feed .tree-folder-items:not(.active) {
  471. border: none;
  472. margin: 0;
  473. max-height: 0;
  474. padding: 0;
  475. overflow: hidden;
  476. }
  477. .aside_feed .tree-folder-items .dropdown {
  478. vertical-align: top;
  479. }
  480. .aside_feed .tree-folder-items .dropdown-menu {
  481. left: 0;
  482. }
  483. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  484. visibility: hidden;
  485. cursor: pointer;
  486. }
  487. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  488. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  489. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  490. visibility: visible;
  491. }
  492. /*=== New article notification */
  493. #new-article {
  494. display: none;
  495. }
  496. #new-article > a {
  497. display: block;
  498. }
  499. /*=== Day indication */
  500. .day .name {
  501. position: absolute;
  502. right: 0;
  503. width: 50%;
  504. overflow: hidden;
  505. white-space: nowrap;
  506. text-overflow: ellipsis;
  507. }
  508. /*=== Feed article header and footer */
  509. .flux_header {
  510. position: relative;
  511. }
  512. .flux .item {
  513. line-height: 40px;
  514. white-space: nowrap;
  515. }
  516. .flux .item.manage,
  517. .flux .item.link {
  518. width: 40px;
  519. text-align: center;
  520. }
  521. .flux .item.website {
  522. width: 200px;
  523. }
  524. .flux.not_read .item.title,
  525. .flux.current .item.title {
  526. font-weight: bold;
  527. }
  528. .flux:not(.current):hover .item.title {
  529. position: absolute;
  530. max-width: calc(100% - 320px);
  531. background: #fff;
  532. }
  533. .flux .item.title a {
  534. color: #000;
  535. text-decoration: none;
  536. }
  537. .flux .item.date {
  538. width: 155px;
  539. text-align: right;
  540. overflow: hidden;
  541. }
  542. .flux .item > a {
  543. display: block;
  544. }
  545. .flux .item > a {
  546. display: block;
  547. text-decoration: none;
  548. white-space: nowrap;
  549. text-overflow: ellipsis;
  550. overflow: hidden;
  551. }
  552. .flux .item.share > a,
  553. .item.query > a {
  554. display: list-item;
  555. list-style-position: inside;
  556. list-style-type: decimal;
  557. }
  558. /*=== Feed article content */
  559. .hide_posts > .flux:not(.active) > .flux_content {
  560. display: none;
  561. }
  562. .content {
  563. min-height: 20em;
  564. margin: auto;
  565. line-height: 1.7em;
  566. word-wrap: break-word;
  567. }
  568. .content.large {
  569. max-width: 1000px;
  570. }
  571. .content.medium {
  572. max-width: 800px;
  573. }
  574. .content.thin {
  575. max-width: 550px;
  576. }
  577. .content ul,
  578. .content ol,
  579. .content dd {
  580. margin: 0 0 0 15px;
  581. padding: 0 0 5px 15px;
  582. }
  583. .content pre {
  584. overflow: auto;
  585. }
  586. br {
  587. line-height: 1em;
  588. }
  589. br + br + br {
  590. display: none;
  591. }
  592. /*=== Notification and actualize notification */
  593. .notification {
  594. position: absolute;
  595. top: 1em;
  596. left: 25%; right: 25%;
  597. z-index: 10;
  598. background: #fff;
  599. border: 1px solid #aaa;
  600. opacity: 1;
  601. visibility: visible;
  602. transition: visibility 0s, opacity .3s linear;
  603. }
  604. .notification.closed {
  605. opacity: 0;
  606. visibility: hidden;
  607. }
  608. .notification a.close {
  609. position: absolute;
  610. top: 0; bottom: 0;
  611. right: 0;
  612. display: inline-block;
  613. }
  614. #actualizeProgress {
  615. position: fixed;
  616. }
  617. #actualizeProgress progress {
  618. max-width: 100%;
  619. vertical-align: middle;
  620. }
  621. #actualizeProgress .progress {
  622. vertical-align: middle;
  623. }
  624. /*=== Navigation menu (for articles) */
  625. #nav_entries {
  626. position: fixed;
  627. bottom: 0; left: 0;
  628. display: table;
  629. width: 300px;
  630. background: #fff;
  631. table-layout: fixed;
  632. }
  633. #nav_entries .item {
  634. display: table-cell;
  635. width: 30%;
  636. }
  637. #nav_entries a {
  638. display: block;
  639. }
  640. /*=== "Load more" part */
  641. #load_more {
  642. min-height: 40px;
  643. }
  644. .loading {
  645. background: url("loader.gif") center center no-repeat;
  646. font-size: 0;
  647. }
  648. #bigMarkAsRead {
  649. display: block;
  650. width: 100%;
  651. padding: 1em 0 100% 0;
  652. padding: 1em 0 100vh 0;
  653. text-align: center;
  654. font-size: 1.4em;
  655. }
  656. .bigTick {
  657. font-size: 4em;
  658. }
  659. /*=== Statistiques */
  660. .stat {
  661. margin: 15px 0;
  662. }
  663. .stat.half {
  664. display: inline-block;
  665. width: 46%;
  666. padding: 0 2%;
  667. }
  668. .stat > table {
  669. width: 100%;
  670. }
  671. .statGraph {
  672. height: 300px;
  673. }
  674. /*=== LOGIN VIEW */
  675. /*================*/
  676. .formLogin .header > .item {
  677. padding: 10px 30px;
  678. }
  679. .formLogin .header > .item.title {
  680. text-align: left;
  681. }
  682. .formLogin .header > .item.configure {
  683. text-align: right;
  684. }
  685. /*=== GLOBAL VIEW */
  686. /*================*/
  687. #stream.global {
  688. text-align: center;
  689. }
  690. #stream.global .box {
  691. text-align: left;
  692. }
  693. #global > #panel {
  694. bottom: 99vh;
  695. display: block;
  696. transition: visibility .3s, bottom .3s;
  697. visibility: hidden;
  698. }
  699. #global > #panel.visible {
  700. bottom: 1em;
  701. visibility: visible;
  702. }
  703. /*=== Panel */
  704. #overlay {
  705. position: fixed;
  706. top: 0; bottom: 0;
  707. left: 0; right: 0;
  708. background: rgba(0, 0, 0, 0.9);
  709. opacity: 0;
  710. transition: visibility .3s, opacity .3s;
  711. visibility: hidden;
  712. }
  713. #overlay.visible {
  714. opacity: 1;
  715. visibility: visible;
  716. }
  717. #panel {
  718. display: none;
  719. position: fixed;
  720. top: 1em; bottom: 1em;
  721. left: 2em; right: 2em;
  722. overflow: auto;
  723. background: #fff;
  724. }
  725. #overlay .close {
  726. position: fixed;
  727. top: 0; bottom: 0;
  728. left: 0; right: 0;
  729. display: block;
  730. }
  731. #overlay .close img {
  732. display: none;
  733. }
  734. /*=== Slider */
  735. #slider {
  736. position: fixed;
  737. top: 0; bottom: 0;
  738. left: 100%; right: 0;
  739. overflow: auto;
  740. background: #fff;
  741. border-left: 1px solid #aaa;
  742. transition: left 200ms linear;
  743. -moz-transition: left 200ms linear;
  744. -webkit-transition: left 200ms linear;
  745. -o-transition: left 200ms linear;
  746. -ms-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. height: 320px;
  765. display: block;
  766. position: relative;
  767. min-width: 260px;
  768. max-width: 640px;
  769. margin-bottom: 30px;
  770. border: 1px solid #aaa;
  771. }
  772. .slides input {
  773. display: none;
  774. }
  775. .slide-container {
  776. display: block;
  777. }
  778. .slide {
  779. top: 0;
  780. opacity: 0;
  781. width: 100%;
  782. height: 100%;
  783. display: block;
  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. width: 10%;
  794. height: 100%;
  795. display: none;
  796. position: absolute;
  797. opacity: 0;
  798. z-index: 9;
  799. cursor: pointer;
  800. transition: opacity .2s;
  801. color: #FFF;
  802. font-size: 1000%;
  803. text-align: center;
  804. line-height: 225%;
  805. font-family: "Varela Round", sans-serif;
  806. background-color: rgba(255, 255, 255, .3);
  807. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  808. padding: 0;
  809. }
  810. .properties {
  811. display: none;
  812. bottom: 0;
  813. left: 0; right: 0;
  814. position: absolute;
  815. padding: 5px;
  816. background: rgba(255, 255, 255, 0.7);
  817. color: #000;
  818. border-top: 1px solid #aaa;
  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. border-radius: 0;
  909. bottom: 0;
  910. position: fixed;
  911. width: 100%;
  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. }