template.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  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. width: 300px;
  70. }
  71. input, select, textarea {
  72. display: inline-block;
  73. max-width: 100%;
  74. }
  75. input[type="radio"],
  76. input[type="checkbox"] {
  77. width: 15px !important;
  78. min-height: 15px !important;
  79. }
  80. input.extend:focus {
  81. width: 300px;
  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. }
  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. }
  169. .dropdown-target {
  170. display: none;
  171. }
  172. .dropdown-menu {
  173. display: none;
  174. min-width: 200px;
  175. margin: 0;
  176. position: absolute;
  177. right: 0;
  178. background: #fff;
  179. border: 1px solid #aaa;
  180. }
  181. .dropdown-header {
  182. display: block;
  183. }
  184. .dropdown-menu > .item {
  185. display: block;
  186. }
  187. .dropdown-menu > .item > a,
  188. .dropdown-menu > .item > span {
  189. display: block;
  190. }
  191. .dropdown-menu > .item[aria-checked="true"] > a:before {
  192. content: '✓';
  193. }
  194. .dropdown-menu .input {
  195. display: block;
  196. }
  197. .dropdown-menu .input select,
  198. .dropdown-menu .input input {
  199. display: block;
  200. max-width: 95%;
  201. }
  202. .dropdown-target:target ~ .dropdown-menu {
  203. display: block;
  204. z-index: 10;
  205. }
  206. .dropdown-close {
  207. display: inline;
  208. }
  209. .dropdown-close a {
  210. font-size: 0;
  211. position: fixed;
  212. top: 0; bottom: 0;
  213. left: 0; right: 0;
  214. display: block;
  215. z-index: -10;
  216. }
  217. .separator {
  218. display: block;
  219. height: 0;
  220. border-bottom: 1px solid #aaa;
  221. }
  222. /*=== Alerts */
  223. .alert {
  224. display: block;
  225. width: 90%;
  226. }
  227. .group-controls .alert {
  228. width: 100%
  229. }
  230. .alert-head {
  231. margin: 0;
  232. font-weight: bold;
  233. }
  234. .alert ul {
  235. margin: 5px 20px;
  236. }
  237. /*=== Icons */
  238. .icon {
  239. display: inline-block;
  240. width: 16px;
  241. height: 16px;
  242. vertical-align: middle;
  243. line-height: 16px;
  244. }
  245. /*=== Pagination */
  246. .pagination {
  247. display: table;
  248. width: 100%;
  249. margin: 0;
  250. padding: 0;
  251. table-layout: fixed;
  252. }
  253. .pagination .item {
  254. display: table-cell;
  255. }
  256. .pagination .pager-first,
  257. .pagination .pager-previous,
  258. .pagination .pager-next,
  259. .pagination .pager-last {
  260. width: 100px;
  261. }
  262. /*=== STRUCTURE */
  263. /*===============*/
  264. /*=== Header */
  265. .header {
  266. display: table;
  267. width: 100%;
  268. table-layout: fixed;
  269. }
  270. .header > .item {
  271. display: table-cell;
  272. }
  273. .header > .item.title {
  274. width: 250px;
  275. white-space: nowrap;
  276. }
  277. .header > .item.title h1 {
  278. display: inline-block;
  279. }
  280. .header > .item.title .logo {
  281. display: inline-block;
  282. height: 32px;
  283. width: 32px;
  284. vertical-align: middle;
  285. }
  286. .header > .item.configure {
  287. width: 100px;
  288. }
  289. /*=== Body */
  290. #global {
  291. display: table;
  292. width: 100%;
  293. height: 100%;
  294. table-layout: fixed;
  295. }
  296. .aside {
  297. display: table-cell;
  298. height: 100%;
  299. width: 250px;
  300. vertical-align: top;
  301. }
  302. .aside.aside_flux {
  303. background: #fff;
  304. }
  305. /*=== Aside main page (categories) */
  306. .categories {
  307. list-style: none;
  308. margin: 0;
  309. }
  310. .state_unread li:not(.active)[data-unread="0"] {
  311. display: none;
  312. }
  313. .category {
  314. display: block;
  315. overflow: hidden;
  316. white-space: nowrap;
  317. text-overflow: ellipsis;
  318. }
  319. .category .btn:not([data-unread="0"]):after {
  320. content: attr(data-unread);
  321. }
  322. /*=== Aside main page (feeds) */
  323. .categories .feeds {
  324. width: 100%;
  325. list-style: none;
  326. }
  327. .categories .feeds:not(.active) {
  328. display: none;
  329. }
  330. .categories .feeds .feed {
  331. display: inline-block;
  332. overflow: hidden;
  333. white-space: nowrap;
  334. text-overflow: ellipsis;
  335. vertical-align: middle;
  336. }
  337. .categories .feeds .feed:not([data-unread="0"]):before {
  338. content: "(" attr(data-unread) ") ";
  339. }
  340. .categories .feeds .dropdown-menu {
  341. left: 0;
  342. }
  343. .categories .feeds .item .dropdown-toggle > .icon {
  344. visibility: hidden;
  345. cursor: pointer;
  346. vertical-align: top;
  347. }
  348. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  349. .categories .feeds .item:hover .dropdown-toggle > .icon,
  350. .categories .feeds .item.active .dropdown-toggle > .icon {
  351. visibility: visible;
  352. }
  353. /*=== New article notification */
  354. #new-article {
  355. display: none;
  356. }
  357. #new-article > a {
  358. display: block;
  359. }
  360. /*=== Day indication */
  361. .day .name {
  362. position: absolute;
  363. right: 0;
  364. width: 50%;
  365. overflow: hidden;
  366. white-space: nowrap;
  367. text-overflow: ellipsis;
  368. }
  369. /*=== Feed article header and footer */
  370. .flux_header {
  371. position: relative;
  372. }
  373. .flux .item {
  374. line-height: 40px;
  375. white-space: nowrap;
  376. }
  377. .flux .item.manage,
  378. .flux .item.link {
  379. width: 40px;
  380. text-align: center;
  381. }
  382. .flux .item.website {
  383. width: 200px;
  384. }
  385. .flux.not_read .item.title,
  386. .flux.current .item.title {
  387. font-weight: bold;
  388. }
  389. .flux:not(.current):hover .item.title {
  390. position: absolute;
  391. max-width: calc(100% - 320px);
  392. background: #fff;
  393. }
  394. .flux .item.title a {
  395. color: #000;
  396. text-decoration: none;
  397. }
  398. .flux .item.date {
  399. width: 145px;
  400. text-align: right;
  401. }
  402. .flux .item > a {
  403. display: block;
  404. }
  405. .flux .item > a {
  406. display: block;
  407. text-decoration: none;
  408. white-space: nowrap;
  409. text-overflow: ellipsis;
  410. overflow: hidden;
  411. }
  412. .flux .item.share > a {
  413. display: list-item;
  414. list-style-position: inside;
  415. list-style-type: decimal;
  416. }
  417. /*=== Feed article content */
  418. .hide_posts > .flux:not(.active) > .flux_content {
  419. display: none;
  420. }
  421. .content {
  422. min-height: 20em;
  423. margin: auto;
  424. line-height: 1.7em;
  425. word-wrap: break-word;
  426. }
  427. .content.large {
  428. max-width: 1000px;
  429. }
  430. .content.medium {
  431. max-width: 800px;
  432. }
  433. .content.thin {
  434. max-width: 550px;
  435. }
  436. .content ul,
  437. .content ol,
  438. .content dd {
  439. margin: 0 0 0 15px;
  440. padding: 0 0 5px 15px;
  441. }
  442. .content pre {
  443. overflow: auto;
  444. }
  445. br {
  446. line-height: 1em;
  447. }
  448. br + br + br {
  449. display: none;
  450. }
  451. /*=== Notification and actualize notification */
  452. .notification {
  453. position: absolute;
  454. top: 1em;
  455. left: 25%; right: 25%;
  456. z-index: 10;
  457. background: #fff;
  458. border: 1px solid #aaa;
  459. }
  460. .notification.closed {
  461. display: none;
  462. }
  463. .notification a.close {
  464. position: absolute;
  465. top: 0; bottom: 0;
  466. right: 0;
  467. display: inline-block;
  468. }
  469. #actualizeProgress {
  470. position: fixed;
  471. }
  472. #actualizeProgress progress {
  473. max-width: 100%;
  474. vertical-align: middle;
  475. }
  476. #actualizeProgress .progress {
  477. vertical-align: middle;
  478. }
  479. /*=== Navigation menu (for articles) */
  480. #nav_entries {
  481. position: fixed;
  482. bottom: 0; left: 0;
  483. display: table;
  484. width: 250px;
  485. background: #fff;
  486. table-layout: fixed;
  487. }
  488. #nav_entries .item {
  489. display: table-cell;
  490. width: 30%;
  491. }
  492. #nav_entries a {
  493. display: block;
  494. }
  495. /*=== "Load more" part */
  496. #load_more {
  497. min-height: 40px;
  498. }
  499. .loading {
  500. background: url("loader.gif") center center no-repeat;
  501. font-size: 0;
  502. }
  503. #bigMarkAsRead {
  504. display: block;
  505. width: 100%;
  506. padding: 1em 0;
  507. text-align: center;
  508. font-size: 1.4em;
  509. }
  510. .bigTick {
  511. font-size: 4em;
  512. }
  513. /*=== Statistiques */
  514. .stat {
  515. margin: 15px 0;
  516. }
  517. .stat.half {
  518. display: inline-block;
  519. width: 46%;
  520. padding: 0 2%;
  521. }
  522. .stat > table {
  523. width: 100%;
  524. }
  525. /*=== GLOBAL VIEW */
  526. /*================*/
  527. /*=== Category boxes */
  528. #stream.global .box-category {
  529. display: inline-block;
  530. width: 19em;
  531. max-width: 95%;
  532. margin: 20px 10px;
  533. border: 1px solid #ccc;
  534. vertical-align: top;
  535. }
  536. #stream.global .category {
  537. width: 100%;
  538. }
  539. #stream.global .btn {
  540. display: block;
  541. }
  542. #stream.global .box-category .feeds {
  543. display: block;
  544. overflow: auto;
  545. }
  546. #stream.global .box-category .feed {
  547. width: 19em;
  548. max-width: 90%;
  549. }
  550. /*=== Panel */
  551. #overlay {
  552. display: none;
  553. position: fixed;
  554. top: 0; bottom: 0;
  555. left: 0; right: 0;
  556. background: rgba(0, 0, 0, 0.9);
  557. }
  558. #panel {
  559. display: none;
  560. position: fixed;
  561. top: 1em; bottom: 1em;
  562. left: 2em; right: 2em;
  563. overflow: auto;
  564. background: #fff;
  565. }
  566. #panel .close {
  567. position: fixed;
  568. top: 0; bottom: 0;
  569. left: 0; right: 0;
  570. display: block;
  571. }
  572. #panel .close img {
  573. display: none;
  574. }
  575. /*=== DIVERS */
  576. /*===========*/
  577. .nav-login,
  578. .nav_menu .search,
  579. .nav_menu .toggle_aside {
  580. display: none;
  581. }
  582. .aside .toggle_aside {
  583. position: absolute;
  584. right: 0;
  585. display: none;
  586. width: 30px;
  587. height: 30px;
  588. line-height: 30px;
  589. text-align: center;
  590. }
  591. /*=== MOBILE */
  592. /*===========*/
  593. @media(max-width: 840px) {
  594. .header,
  595. .aside .btn-important,
  596. .aside .feeds .dropdown,
  597. .flux_header .item.website span,
  598. .item.date, .day .date,
  599. .dropdown-menu > .no-mobile,
  600. .no-mobile {
  601. display: none;
  602. }
  603. .nav-login {
  604. display: block;
  605. }
  606. .nav_menu .toggle_aside,
  607. .aside .toggle_aside,
  608. .nav_menu .search,
  609. #panel .close img {
  610. display: inline-block;
  611. }
  612. .aside {
  613. position: fixed;
  614. top: 0; bottom: 0;
  615. left: 0;
  616. width: 0;
  617. overflow: hidden;
  618. z-index: 100;
  619. }
  620. .aside:target {
  621. width: 90%;
  622. overflow: auto;
  623. }
  624. .aside .categories {
  625. margin: 10px 0 75px;
  626. }
  627. .flux_header .item.website {
  628. width: 40px;
  629. }
  630. .flux:not(.current):hover .item.title {
  631. position: relative;
  632. width: auto;
  633. white-space: nowrap;
  634. }
  635. .notification {
  636. top: 0;
  637. left: 0;
  638. right: 0;
  639. }
  640. #nav_entries {
  641. width: 100%;
  642. }
  643. #stream.global .box-category {
  644. margin: 10px 0;
  645. }
  646. #panel {
  647. top: 0; bottom: 0;
  648. left: 0; right: 0;
  649. }
  650. #panel .close {
  651. top: 0; right: 0;
  652. left: auto; bottom: auto;
  653. display: inline-block;
  654. width: 30px;
  655. height: 30px;
  656. }
  657. }
  658. /*=== PRINTER */
  659. /*============*/
  660. @media print {
  661. .header, .aside,
  662. .nav_menu, .day,
  663. .flux_header,
  664. .flux_content .bottom,
  665. .pagination,
  666. #nav_entries {
  667. display: none;
  668. }
  669. html, body {
  670. background: #fff;
  671. color: #000;
  672. font-family: Serif;
  673. }
  674. #global,
  675. .flux_content {
  676. display: block !important;
  677. }
  678. .flux_content .content {
  679. width: 100% !important;
  680. }
  681. .flux_content .content a {
  682. color: #000;
  683. }
  684. .flux_content .content a:after {
  685. content: " [" attr(href) "] ";
  686. font-style: italic;
  687. }
  688. }