template.css 14 KB

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