template.css 10 KB

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