template.css 14 KB

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