template.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. @charset "UTF-8";
  2. /*=== Links */
  3. a {
  4. text-decoration: none;
  5. }
  6. a:hover {
  7. text-decoration: underline;
  8. }
  9. /*=== Lists */
  10. ul, ol, dd {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. /* TITRES */
  15. h1, h2, h3 {
  16. min-height: 40px;
  17. line-height: 40px;
  18. }
  19. /* IMG */
  20. figcaption {
  21. display: inline-block;
  22. }
  23. img {
  24. height: auto;
  25. max-width: 100%;
  26. }
  27. /* VIDEOS */
  28. iframe, embed, object, video {
  29. max-width: 100%;
  30. }
  31. /* FORMULAIRES */
  32. legend {
  33. display: block;
  34. width: 100%;
  35. clear: both;
  36. }
  37. label {
  38. display: block;
  39. min-height: 25px;
  40. line-height: 25px;
  41. }
  42. input {
  43. width: 180px;
  44. }
  45. textarea {
  46. width: 360px;
  47. height: 100px;
  48. }
  49. input, select, textarea {
  50. display: inline-block;
  51. max-width: 100%;
  52. min-height: 25px;
  53. }
  54. input[type="radio"],
  55. input[type="checkbox"] {
  56. width: 15px !important;
  57. min-height: 15px !important;
  58. }
  59. input:focus.extend {
  60. width: 300px;
  61. }
  62. .form-group {
  63. margin: 0;
  64. }
  65. .form-group:after {
  66. content: "";
  67. display: block;
  68. clear: both;
  69. }
  70. .form-group.form-actions {
  71. min-width: 250px;
  72. }
  73. .form-group .group-name {
  74. display: block;
  75. float: left;
  76. width: 200px;
  77. }
  78. .form-group .group-controls {
  79. min-width: 250px;
  80. min-height: 25px;
  81. margin: 0 0 0 220px;
  82. }
  83. .form-group .group-controls .control {
  84. display: block;
  85. min-height: 30px;
  86. line-height: 25px;
  87. }
  88. .stick {
  89. display: inline-block;
  90. white-space: nowrap;
  91. }
  92. .btn {
  93. display: inline-block;
  94. min-height: 37px;
  95. min-width: 15px;
  96. line-height: 20px;
  97. cursor: pointer;
  98. overflow: hidden;
  99. }
  100. a.btn {
  101. min-height: 25px;
  102. line-height: 25px;
  103. }
  104. .btn-important {
  105. background: #aaa;
  106. }
  107. /* NAVIGATION */
  108. .nav-list .nav-header,
  109. .nav-list .item {
  110. display: block;
  111. height: 35px;
  112. line-height: 35px;
  113. }
  114. .nav-list .item > * {
  115. display: block;
  116. overflow: hidden;
  117. white-space: nowrap;
  118. text-overflow: ellipsis;
  119. }
  120. .nav-head {
  121. display: block;
  122. }
  123. .nav-head .item {
  124. display: inline-block;
  125. }
  126. /* HORIZONTAL-LIST */
  127. .horizontal-list {
  128. display: table;
  129. table-layout: fixed;
  130. width: 100%;
  131. }
  132. .horizontal-list .item {
  133. display: table-cell;
  134. }
  135. /* DROPDOWN */
  136. .dropdown {
  137. position: relative;
  138. display: inline-block;
  139. }
  140. .dropdown-target {
  141. display: none;
  142. }
  143. .dropdown-menu {
  144. display: none;
  145. min-width: 200px;
  146. margin: 5px 0 0;
  147. position: absolute;
  148. right: 0px;
  149. background: #fff;
  150. border: 1px solid #aaa;
  151. }
  152. .dropdown-header {
  153. display: block;
  154. }
  155. .dropdown-menu > .item {
  156. display: block;
  157. min-height: 30px;
  158. line-height: 30px;
  159. }
  160. .dropdown-menu > .item > a {
  161. display: block;
  162. line-height: 30px;
  163. }
  164. .dropdown-menu > .item.share > a {
  165. display: list-item;
  166. list-style-position: inside;
  167. list-style-type: decimal;
  168. }
  169. .dropdown-menu > .item[aria-checked="true"] > a:before {
  170. content: '✓ ';
  171. }
  172. .dropdown-menu .input {
  173. display: block;
  174. height: 40px;
  175. line-height: 30px;
  176. }
  177. .dropdown-menu .input select,
  178. .dropdown-menu .input input {
  179. display: block;
  180. height: 20px;
  181. width: 95%;
  182. }
  183. .dropdown-menu .input select {
  184. width: 70%;
  185. height: auto;
  186. }
  187. .dropdown-target:target ~ .dropdown-menu {
  188. display: block;
  189. z-index: 10;
  190. }
  191. .dropdown-close {
  192. display: inline;
  193. }
  194. .dropdown-close a {
  195. font-size: 0;
  196. position: fixed;
  197. top: 0; bottom: 0;
  198. left: 0; right: 0;
  199. display: block;
  200. z-index: -10;
  201. }
  202. .separator {
  203. display: block;
  204. height: 0;
  205. border-bottom: 1px solid #aaa;
  206. }
  207. /* ALERTS */
  208. .alert {
  209. display: block;
  210. width: 90%;
  211. }
  212. .alert-head {
  213. margin: 0;
  214. }
  215. /* ICÔNES */
  216. .icon {
  217. display: inline-block;
  218. width: 16px;
  219. height: 16px;
  220. vertical-align: middle;
  221. line-height: 16px;
  222. }
  223. /* Prompt (centré) */
  224. .prompt form {
  225. width: 10em;
  226. }
  227. .prompt input {
  228. width: 100%;
  229. }
  230. /* STRUCTURE */
  231. .header {
  232. display: table;
  233. width: 100%;
  234. table-layout: fixed;
  235. }
  236. .header > .item {
  237. display: table-cell;
  238. }
  239. .header > .item.title {
  240. width: 250px;
  241. white-space: nowrap;
  242. }
  243. .logo {
  244. display: inline-block;
  245. height: 32px;
  246. width: 32px;
  247. }
  248. .header > .item.title h1 {
  249. display: inline-block;
  250. }
  251. .header > .item.configure {
  252. width: 100px;
  253. }
  254. #global {
  255. display: table;
  256. width: 100%;
  257. height: 100%;
  258. table-layout: fixed;
  259. }
  260. .aside {
  261. display: table-cell;
  262. height: 100%;
  263. width: 250px;
  264. }
  265. .nav-login {
  266. display: none;
  267. }
  268. .nav_menu {
  269. width: 100%;
  270. }
  271. .nav_menu .search {
  272. display: none;
  273. }
  274. .favicon {
  275. height: 16px;
  276. width: 16px;
  277. }
  278. .categories {
  279. padding: 0;
  280. list-style: none;
  281. }
  282. .category {
  283. display: block;
  284. overflow: hidden;
  285. white-space: nowrap;
  286. text-overflow: ellipsis;
  287. }
  288. .category .btn:first-child {
  289. position: relative;
  290. }
  291. .category.stick .btn:first-child {
  292. width: 160px;
  293. }
  294. .category .btn:first-child:not([data-unread="0"]):after {
  295. content: attr(data-unread);
  296. position: absolute;
  297. }
  298. .category + .feeds:not(.active) {
  299. display: none;
  300. }
  301. .categories .feeds {
  302. width: 100%;
  303. padding: 0;
  304. list-style: none;
  305. }
  306. .categories .feeds .item .feed {
  307. display: inline-block;
  308. margin: 0;
  309. width: 165px;
  310. line-height: 35px;
  311. overflow: hidden;
  312. white-space: nowrap;
  313. text-overflow: ellipsis;
  314. vertical-align: middle;
  315. }
  316. .feed:not([data-unread="0"]):before {
  317. content: "(" attr(data-unread) ") ";
  318. }
  319. .categories .feeds .dropdown-menu {
  320. left: 0;
  321. }
  322. .categories .feeds .item .dropdown-toggle > .icon {
  323. visibility: hidden;
  324. cursor: pointer;
  325. }
  326. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  327. .categories .feeds .item:hover .dropdown-toggle > .icon,
  328. .categories .feeds .item.active .dropdown-toggle > .icon {
  329. visibility: visible;
  330. }
  331. .day {
  332. min-height: 50px;
  333. line-height: 50px;
  334. }
  335. .day .name {
  336. position: absolute;
  337. right: 0;
  338. width: 50%;
  339. overflow: hidden;
  340. white-space: nowrap;
  341. text-overflow: ellipsis;
  342. }
  343. #new-article {
  344. display: none;
  345. min-height: 40px;
  346. }
  347. #new-article > a {
  348. display: block;
  349. line-height: 40px;
  350. }
  351. .horizontal-list > .item:not(.title):not(.website) > a {
  352. display: block;
  353. }
  354. .flux_header {
  355. position: relative;
  356. height: 25px;
  357. }
  358. .flux .item {
  359. line-height: 40px;
  360. white-space: nowrap;
  361. }
  362. .flux_header > .item {
  363. overflow: hidden;
  364. text-overflow: ellipsis;
  365. }
  366. .flux .item.manage {
  367. width: 40px;
  368. }
  369. .flux .item.website {
  370. width: 200px;
  371. }
  372. .flux .item.title a {
  373. color: #000;
  374. }
  375. .flux.not_read .item.title,
  376. .flux.current .item.title {
  377. font-weight: bold;
  378. }
  379. .flux:not(.current):hover .item.title {
  380. position: absolute;
  381. top: 0;
  382. max-width: calc(100% - 325px);
  383. background: #fff;
  384. }
  385. .flux .item.date {
  386. width: 145px;
  387. }
  388. .link {
  389. width: 40px;
  390. }
  391. #stream.global .box-category {
  392. display: inline-block;
  393. width: 280px;
  394. border: 1px solid #aaa;
  395. vertical-align: top;
  396. }
  397. #stream.global .category {
  398. width: 100%;
  399. }
  400. #stream.global .btn {
  401. display: block;
  402. width: auto;
  403. height: 35px;
  404. line-height: 35px;
  405. }
  406. #stream.global .box-category .feeds {
  407. display: block;
  408. max-height: 250px;
  409. overflow: auto;
  410. }
  411. #stream.global .box-category .feed {
  412. width: 220px;
  413. }
  414. .content {
  415. min-height: 150px;
  416. max-width: 550px;
  417. line-height: 170%;
  418. word-wrap: break-word;
  419. }
  420. img.big {
  421. display: block;
  422. }
  423. .content hr {
  424. height: 1px;
  425. }
  426. .content pre {
  427. overflow: auto;
  428. }
  429. .content q, .content blockquote {
  430. display: block;
  431. }
  432. #panel {
  433. display: none;
  434. position: fixed;
  435. top: 10px; bottom: 10px;
  436. left: 100px; right: 100px;
  437. overflow: auto;
  438. background: #fff;
  439. }
  440. #panel .close {
  441. position: fixed;
  442. top: 0; bottom: 0;
  443. left: 0; right: 0;
  444. display: block;
  445. }
  446. #panel .close img {
  447. display: none;
  448. }
  449. #overlay {
  450. display: none;
  451. position: fixed;
  452. top: 0; bottom: 0;
  453. left: 0; right: 0;
  454. background: rgba(0, 0, 0, 0.9);
  455. }
  456. .hide_posts > :not(.active) > .flux_content {
  457. display: none;
  458. }
  459. /*** PAGINATION ***/
  460. .pagination {
  461. display: table;
  462. width: 100%;
  463. line-height: 200%;
  464. table-layout: fixed;
  465. }
  466. .pagination .item {
  467. display: table-cell;
  468. line-height: 40px;
  469. }
  470. .pagination .pager-first,
  471. .pagination .pager-previous,
  472. .pagination .pager-next,
  473. .pagination .pager-last {
  474. width: 100px;
  475. }
  476. .pagination .item a {
  477. display: block;
  478. }
  479. #nav_entries {
  480. display: table;
  481. width: 250px;
  482. height: 40px;
  483. position: fixed;
  484. bottom: 0;
  485. left: 0;
  486. line-height: 40px;
  487. table-layout: fixed;
  488. }
  489. #nav_entries .item {
  490. display: table-cell;
  491. width: 30%;
  492. }
  493. #nav_entries a {
  494. display: block;
  495. }
  496. #nav_entries .i_up {
  497. vertical-align: top;
  498. }
  499. .loading {
  500. background: url("loader.gif") center center no-repeat;
  501. font-size: 0;
  502. }
  503. #bigMarkAsRead {
  504. display: block;
  505. text-align: center;
  506. }
  507. .bigTick {
  508. font-size: 72pt;
  509. line-height: 1.6em;
  510. }
  511. /*** NOTIFICATION ***/
  512. #notification {
  513. position: absolute;
  514. top: 10px;
  515. left: 25%; right: 25%;
  516. min-height: 30px;
  517. line-height: 30px;
  518. z-index: 10;
  519. border: 1px solid #aaa;
  520. }
  521. #notification.closed {
  522. display: none;
  523. }
  524. #notification a.close {
  525. display: inline-block;
  526. width: 16px;
  527. height: 16px;
  528. float: right;
  529. line-height: 16px;
  530. }
  531. .toggle_aside, .btn.toggle_aside {
  532. display: none;
  533. }
  534. .actualizeProgress {
  535. position: fixed;
  536. top: 10px;
  537. left: 25%; right: 25%;
  538. border: 1px solid #aaa;
  539. }
  540. .actualizeProgress progress {
  541. max-width: 100%;
  542. }
  543. .log {
  544. overflow: auto;
  545. }
  546. .log .date {
  547. display: block;
  548. }
  549. @media(max-width: 840px) {
  550. .header,
  551. .aside .btn-important,
  552. .aside .feeds .dropdown,
  553. .flux_header .item.website span,
  554. .item.date {
  555. display: none;
  556. }
  557. .flux_header .item.website {
  558. width: 40px;
  559. }
  560. .nav-login {
  561. display: block;
  562. }
  563. .pagination .pager-previous, .pagination .pager-next {
  564. width: 100px;
  565. }
  566. .toggle_aside, .btn.toggle_aside {
  567. display: inline-block;
  568. }
  569. .aside {
  570. position: fixed;
  571. top: 0; left: 0;
  572. width: 0;
  573. overflow: hidden;
  574. z-index: 10;
  575. }
  576. .aside:target {
  577. width: 80%;
  578. overflow: auto;
  579. }
  580. .aside .toggle_aside {
  581. position: absolute;
  582. right: 0;
  583. display: inline-block;
  584. width: 26px;
  585. height: 26px;
  586. line-height: 26px;
  587. }
  588. #nav_entries {
  589. width: 100%;
  590. }
  591. .nav_menu .search {
  592. display: inline-block;
  593. max-width: 97%;
  594. }
  595. .nav_menu .search input {
  596. max-width: 97%;
  597. width: 90px;
  598. }
  599. .nav_menu .search input:focus {
  600. width: 400px;
  601. }
  602. #panel {
  603. left: 5px; right: 5px;
  604. }
  605. #panel .close {
  606. top: 10px; right: 0;
  607. left: auto; bottom: auto;
  608. display: inline-block;
  609. width: 26px;
  610. height: 26px;
  611. }
  612. #panel .close img {
  613. display: block;
  614. }
  615. .day .date {
  616. display: none;
  617. }
  618. .day .name {
  619. height: 2.6em;
  620. }
  621. .flux:not(.current):hover .item.title {
  622. position: relative;
  623. width: auto;
  624. }
  625. .notification,
  626. .actualizeProgress {
  627. left: 10px;
  628. right: 10px;
  629. }
  630. }
  631. @media print {
  632. .header,
  633. .aside,
  634. .nav_menu,
  635. .day,
  636. .flux_header,
  637. .flux_content .bottom,
  638. .pagination {
  639. display: none;
  640. }
  641. html, body {
  642. background: #fff;
  643. color: #000;
  644. font-family: Serif;
  645. font-size: 12pt;
  646. }
  647. #global,
  648. .flux_content {
  649. display: block !important;
  650. }
  651. .flux_content .content {
  652. width: 100% !important;
  653. text-align: justify;
  654. }
  655. .flux_content .content a {
  656. color: #000;
  657. }
  658. .flux_content .content a:after {
  659. content: " (" attr(href) ") ";
  660. text-decoration: underline;
  661. }
  662. }
  663. .stat > table {
  664. width: 100%;
  665. }