template.css 14 KB

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