template.css 14 KB

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