template.css 14 KB

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