template.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  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. vertical-align: middle;
  331. }
  332. .tree-folder-items > .item {
  333. display: block;
  334. white-space: nowrap;
  335. }
  336. .tree-folder-items > .item > a {
  337. display: inline-block;
  338. vertical-align: middle;
  339. width: calc(100% - 32px);
  340. overflow: hidden;
  341. white-space: nowrap;
  342. text-overflow: ellipsis;
  343. }
  344. /*=== STRUCTURE */
  345. /*===============*/
  346. /*=== Header */
  347. .header {
  348. display: table;
  349. width: 100%;
  350. table-layout: fixed;
  351. }
  352. .header > .item {
  353. display: table-cell;
  354. }
  355. .header > .item.title {
  356. width: 250px;
  357. white-space: nowrap;
  358. }
  359. .header > .item.title h1 {
  360. display: inline-block;
  361. }
  362. .header > .item.title .logo {
  363. display: inline-block;
  364. height: 32px;
  365. width: 32px;
  366. vertical-align: middle;
  367. }
  368. .header > .item.configure {
  369. width: 100px;
  370. }
  371. /*=== Body */
  372. #global {
  373. display: table;
  374. width: 100%;
  375. height: 100%;
  376. table-layout: fixed;
  377. }
  378. .aside {
  379. display: table-cell;
  380. height: 100%;
  381. width: 250px;
  382. vertical-align: top;
  383. }
  384. /*=== Aside main page (feeds) */
  385. .aside_feed .tree-folder-items:not(.active) {
  386. display: none;
  387. }
  388. .aside_feed .tree-folder-items .dropdown-menu {
  389. left: 0;
  390. }
  391. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  392. visibility: hidden;
  393. cursor: pointer;
  394. }
  395. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  396. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  397. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  398. visibility: visible;
  399. }
  400. /*=== New article notification */
  401. #new-article {
  402. display: none;
  403. }
  404. #new-article > a {
  405. display: block;
  406. }
  407. /*=== Day indication */
  408. .day .name {
  409. position: absolute;
  410. right: 0;
  411. width: 50%;
  412. overflow: hidden;
  413. white-space: nowrap;
  414. text-overflow: ellipsis;
  415. }
  416. /*=== Feed article header and footer */
  417. .flux_header {
  418. position: relative;
  419. }
  420. .flux .item {
  421. line-height: 40px;
  422. white-space: nowrap;
  423. }
  424. .flux .item.manage,
  425. .flux .item.link {
  426. width: 40px;
  427. text-align: center;
  428. }
  429. .flux .item.website {
  430. width: 200px;
  431. }
  432. .flux.not_read .item.title,
  433. .flux.current .item.title {
  434. font-weight: bold;
  435. }
  436. .flux:not(.current):hover .item.title {
  437. position: absolute;
  438. max-width: calc(100% - 320px);
  439. background: #fff;
  440. }
  441. .flux .item.title a {
  442. color: #000;
  443. text-decoration: none;
  444. }
  445. .flux .item.date {
  446. width: 145px;
  447. text-align: right;
  448. }
  449. .flux .item > a {
  450. display: block;
  451. }
  452. .flux .item > a {
  453. display: block;
  454. text-decoration: none;
  455. white-space: nowrap;
  456. text-overflow: ellipsis;
  457. overflow: hidden;
  458. }
  459. .flux .item.share > a {
  460. display: list-item;
  461. list-style-position: inside;
  462. list-style-type: decimal;
  463. }
  464. /*=== Feed article content */
  465. .hide_posts > .flux:not(.active) > .flux_content {
  466. display: none;
  467. }
  468. .content {
  469. min-height: 20em;
  470. margin: auto;
  471. line-height: 1.7em;
  472. word-wrap: break-word;
  473. }
  474. .content.large {
  475. max-width: 1000px;
  476. }
  477. .content.medium {
  478. max-width: 800px;
  479. }
  480. .content.thin {
  481. max-width: 550px;
  482. }
  483. .content ul,
  484. .content ol,
  485. .content dd {
  486. margin: 0 0 0 15px;
  487. padding: 0 0 5px 15px;
  488. }
  489. .content pre {
  490. overflow: auto;
  491. }
  492. br {
  493. line-height: 1em;
  494. }
  495. br + br + br {
  496. display: none;
  497. }
  498. /*=== Notification and actualize notification */
  499. .notification {
  500. position: absolute;
  501. top: 1em;
  502. left: 25%; right: 25%;
  503. z-index: 10;
  504. background: #fff;
  505. border: 1px solid #aaa;
  506. }
  507. .notification.closed {
  508. display: none;
  509. }
  510. .notification a.close {
  511. position: absolute;
  512. top: 0; bottom: 0;
  513. right: 0;
  514. display: inline-block;
  515. }
  516. #actualizeProgress {
  517. position: fixed;
  518. }
  519. #actualizeProgress progress {
  520. max-width: 100%;
  521. vertical-align: middle;
  522. }
  523. #actualizeProgress .progress {
  524. vertical-align: middle;
  525. }
  526. /*=== Navigation menu (for articles) */
  527. #nav_entries {
  528. position: fixed;
  529. bottom: 0; left: 0;
  530. display: table;
  531. width: 250px;
  532. background: #fff;
  533. table-layout: fixed;
  534. }
  535. #nav_entries .item {
  536. display: table-cell;
  537. width: 30%;
  538. }
  539. #nav_entries a {
  540. display: block;
  541. }
  542. /*=== "Load more" part */
  543. #load_more {
  544. min-height: 40px;
  545. }
  546. .loading {
  547. background: url("loader.gif") center center no-repeat;
  548. font-size: 0;
  549. }
  550. #bigMarkAsRead {
  551. display: block;
  552. width: 100%;
  553. padding: 1em 0;
  554. text-align: center;
  555. font-size: 1.4em;
  556. }
  557. .bigTick {
  558. font-size: 4em;
  559. }
  560. /*=== Statistiques */
  561. .stat {
  562. margin: 15px 0;
  563. }
  564. .stat.half {
  565. display: inline-block;
  566. width: 46%;
  567. padding: 0 2%;
  568. }
  569. .stat > table {
  570. width: 100%;
  571. }
  572. /*=== GLOBAL VIEW */
  573. /*================*/
  574. #stream.global {
  575. text-align: center;
  576. }
  577. #stream.global .box {
  578. text-align: left;
  579. }
  580. /*=== Panel */
  581. #overlay {
  582. display: none;
  583. position: fixed;
  584. top: 0; bottom: 0;
  585. left: 0; right: 0;
  586. background: rgba(0, 0, 0, 0.9);
  587. }
  588. #panel {
  589. display: none;
  590. position: fixed;
  591. top: 1em; bottom: 1em;
  592. left: 2em; right: 2em;
  593. overflow: auto;
  594. background: #fff;
  595. }
  596. #panel .close {
  597. position: fixed;
  598. top: 0; bottom: 0;
  599. left: 0; right: 0;
  600. display: block;
  601. }
  602. #panel .close img {
  603. display: none;
  604. }
  605. /*=== Slider */
  606. #slider {
  607. position: fixed;
  608. top: 0; bottom: 0;
  609. left: 100%; right: 0;
  610. overflow: auto;
  611. background: #fff;
  612. border-left: 1px solid #aaa;
  613. transition: left 200ms linear;
  614. -moz-transition: left 200ms linear;
  615. -webkit-transition: left 200ms linear;
  616. -o-transition: left 200ms linear;
  617. -ms-transition: left 200ms linear;
  618. }
  619. #slider.active {
  620. left: 40%;
  621. }
  622. #close-slider {
  623. position: fixed;
  624. top: 0; bottom: 0;
  625. left: 100%; right: 0;
  626. cursor: pointer;
  627. }
  628. #close-slider.active {
  629. left: 0;
  630. }
  631. /*=== DIVERS */
  632. /*===========*/
  633. .category .title:not([data-unread="0"]):after {
  634. content: attr(data-unread);
  635. }
  636. .feed .item-title:not([data-unread="0"]):before {
  637. content: "(" attr(data-unread) ") ";
  638. }
  639. .feed .item-title:not([data-unread="0"]) {
  640. font-weight: bold;
  641. }
  642. .state_unread .category:not(.active)[data-unread="0"],
  643. .state_unread .feed:not(.active)[data-unread="0"] {
  644. display: none;
  645. }
  646. .nav-login,
  647. .nav_menu .search,
  648. .aside .toggle_aside,
  649. .nav_menu .toggle_aside {
  650. display: none;
  651. }
  652. /*=== MOBILE */
  653. /*===========*/
  654. @media(max-width: 840px) {
  655. .header,
  656. .aside .btn-important,
  657. .flux_header .item.website span,
  658. .item.date, .day .date,
  659. .dropdown-menu > .no-mobile,
  660. .no-mobile {
  661. display: none;
  662. }
  663. .aside .toggle_aside,
  664. .nav-login {
  665. display: block;
  666. }
  667. .nav_menu .toggle_aside,
  668. .nav_menu .search,
  669. #panel .close img {
  670. display: inline-block;
  671. }
  672. .aside {
  673. position: fixed;
  674. top: 0; bottom: 0;
  675. left: 0;
  676. width: 0;
  677. overflow: hidden;
  678. z-index: 100;
  679. }
  680. .aside:target {
  681. width: 90%;
  682. overflow: auto;
  683. }
  684. .flux_header .item.website {
  685. width: 40px;
  686. }
  687. .flux:not(.current):hover .item.title {
  688. position: relative;
  689. width: auto;
  690. white-space: nowrap;
  691. }
  692. .notification {
  693. top: 0;
  694. left: 0;
  695. right: 0;
  696. }
  697. #nav_entries {
  698. width: 100%;
  699. }
  700. #panel {
  701. top: 0; bottom: 0;
  702. left: 0; right: 0;
  703. }
  704. #panel .close {
  705. top: 0; right: 0;
  706. left: auto; bottom: auto;
  707. display: inline-block;
  708. width: 30px;
  709. height: 30px;
  710. }
  711. }
  712. /*=== PRINTER */
  713. /*============*/
  714. @media print {
  715. .header, .aside,
  716. .nav_menu, .day,
  717. .flux_header,
  718. .flux_content .bottom,
  719. .pagination,
  720. #nav_entries {
  721. display: none;
  722. }
  723. html, body {
  724. background: #fff;
  725. color: #000;
  726. font-family: Serif;
  727. }
  728. #global,
  729. .flux_content {
  730. display: block !important;
  731. }
  732. .flux_content .content {
  733. width: 100% !important;
  734. }
  735. .flux_content .content a {
  736. color: #000;
  737. }
  738. .flux_content .content a:after {
  739. content: " [" attr(href) "] ";
  740. font-style: italic;
  741. }
  742. }