template.css 14 KB

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