template.css 10.0 KB

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