base.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html, body {
  6. height: 100%;
  7. font-size: 95%;
  8. font-family: "Cantarell", "Helvetica", "Arial", "sans-serif";
  9. }
  10. /* LIENS */
  11. a {
  12. color: #0062BE;
  13. text-decoration: none;
  14. }
  15. a:hover {
  16. text-decoration: underline;
  17. }
  18. /* LISTES */
  19. ul, ol {
  20. margin: 10px 0 10px 30px;
  21. line-height: 190%;
  22. }
  23. /* TITRES */
  24. h1, h2, h3 {
  25. min-height: 40px;
  26. padding: 10px 0 0;
  27. line-height: 40px;
  28. }
  29. /* IMG */
  30. img {
  31. max-width: 100%;
  32. vertical-align: middle;
  33. }
  34. a img {
  35. border: none;
  36. }
  37. /* FORMULAIRES */
  38. label {
  39. display: block;
  40. margin: 5px 0;
  41. }
  42. input {
  43. display: inline-block;
  44. min-height: 25px;
  45. padding: 5px 5px;
  46. background: #fff;
  47. border: 1px solid #bbb;
  48. border-radius: 3px;
  49. color: #aaa;
  50. line-height: 25px;
  51. vertical-align: middle;
  52. box-shadow: 0 2px 2px #eee inset;
  53. }
  54. input:focus {
  55. color: #0062BE;
  56. border-color: #33BBFF;
  57. box-shadow: 0 2px 2px #DDDDFF inset;
  58. }
  59. .btn {
  60. display: inline-block;
  61. min-height: 25px;
  62. min-width: 15px;
  63. padding: 5px 10px;
  64. background: #fff;
  65. background: linear-gradient(#fff, #eee);
  66. border-radius: 5px;
  67. border: 1px solid #ddd;
  68. border-bottom: 1px solid #aaa;
  69. border-right: 1px solid #aaa;
  70. color: #666;
  71. text-shadow: 0px 1px 1px #ddd;
  72. line-height: 25px;
  73. vertical-align: middle;
  74. cursor: pointer;
  75. }
  76. .btn:hover {
  77. background: #f4f4f4;
  78. background: linear-gradient(#fafafa, #f0f0f0);
  79. text-decoration: none;
  80. }
  81. .btn.active,
  82. .btn:active {
  83. box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
  84. background: #eee;
  85. }
  86. .btn.btn-important {
  87. background: #0084CC;
  88. background: linear-gradient(#0084CC, #0045CC);
  89. color: #fff;
  90. border: 1px solid #0062B7;
  91. text-shadow: 0px 1px 1px #aaa;
  92. }
  93. .btn.btn-important:hover {
  94. background: linear-gradient(#0066CC, #0045CC);
  95. }
  96. .btn.btn-important:active {
  97. background: #0044CB;
  98. box-shadow: none;
  99. }
  100. /* NAVIGATION */
  101. .nav.nav-list .nav-header,
  102. .nav.nav-list .item {
  103. display: block;
  104. height: 35px;
  105. line-height: 35px;
  106. }
  107. .nav.nav-list .item:hover {
  108. background: #fafafa;
  109. }
  110. .nav.nav-list .item:hover a {
  111. color: #003388;
  112. }
  113. .nav.nav-list .item.active {
  114. background: #0062BE;
  115. color: #fff;
  116. }
  117. .nav.nav-list .item.active a {
  118. color: #fff;
  119. }
  120. .nav.nav-list .disable {
  121. color: #aaa;
  122. background: #fafafa;
  123. text-align: center;
  124. }
  125. .nav.nav-list .item > * {
  126. display: block;
  127. padding: 0 10px;
  128. overflow: hidden;
  129. white-space: nowrap;
  130. text-overflow: ellipsis;
  131. }
  132. .nav.nav-list a:hover {
  133. text-decoration: none;
  134. }
  135. .nav.nav-list .nav-header {
  136. padding: 0 10px;
  137. color: #888;
  138. background: #f4f4f4;
  139. border-bottom: 1px solid #ddd;
  140. font-weight: bold;
  141. text-shadow: 0 0 1px #ddd;
  142. }
  143. .nav-head {
  144. display: block;
  145. margin: 0;
  146. background: #fff;
  147. background: linear-gradient(#fff, #f0f0f0);
  148. border-bottom: 1px solid #ddd;
  149. text-align: right;
  150. }
  151. .nav-head .item {
  152. display: inline-block;
  153. padding: 5px 10px;
  154. }
  155. /* ALERTS */
  156. .alert {
  157. display: block;
  158. width: 90%;
  159. margin: 15px auto;
  160. padding: 10px 15px;
  161. background: #f4f4f4;
  162. border: 1px solid #ccc;
  163. border-right: 1px solid #aaa;
  164. border-bottom: 1px solid #aaa;
  165. border-radius: 5px;
  166. color: #aaa;
  167. text-shadow: 0 0 1px #eee;
  168. box-shadow: 1px 1px 3px #aaa inset;
  169. }
  170. .alert .alert-head {
  171. font-weight: bold;
  172. font-size: 105%;
  173. }
  174. /* ICONES */
  175. .icon {
  176. display: inline-block;
  177. width: 16px;
  178. height: 16px;
  179. vertical-align: middle;
  180. }
  181. .icon.refresh {
  182. background: url("icons/refresh.svg") center center no-repeat;
  183. }
  184. .icon.bookmark {
  185. background: url("icons/starred.svg") center center no-repeat;
  186. }
  187. .icon.all {
  188. background: url("icons/all.svg") center center no-repeat;
  189. }
  190. .icon.close {
  191. background: url("icons/close.svg") center center no-repeat;
  192. }
  193. .icon.search {
  194. background: url("icons/search.svg") center center no-repeat;
  195. }
  196. .icon.configure {
  197. background: url("icons/configure.svg") center center no-repeat;
  198. }
  199. .icon.login {
  200. background: url("icons/login.svg") center center no-repeat;
  201. }
  202. .icon.logout {
  203. background: url("icons/logout.svg") center center no-repeat;
  204. }
  205. .icon.add {
  206. background: url("icons/add.svg") center center no-repeat;
  207. }
  208. .icon.link {
  209. background: url("icons/link.svg") center center no-repeat;
  210. }
  211. /* STRUCTURE */
  212. .header {
  213. display: table;
  214. width: 100%;
  215. background: #f4f4f4;
  216. table-layout: fixed;
  217. }
  218. .header .item {
  219. display: table-cell;
  220. padding: 10px 0;
  221. border-bottom: 1px solid #aaa;
  222. vertical-align: middle;
  223. text-align: center;
  224. }
  225. .header .item.title {
  226. width: 250px;
  227. }
  228. .header .item.title h1 {
  229. padding: 0;
  230. }
  231. .header .item.title a:hover {
  232. text-decoration: none;
  233. }
  234. .header .item.configure {
  235. width: 100px;
  236. }
  237. #global {
  238. display: table;
  239. width: 100%;
  240. height: 100%;
  241. background: #fff;
  242. table-layout: fixed;
  243. }
  244. .aside {
  245. display: table-cell;
  246. height: 100%;
  247. width: 250px;
  248. vertical-align: top;
  249. border-right: 1px solid #aaa;
  250. background: #fff;
  251. }
  252. .aside.aside_flux {
  253. padding: 10px 0;
  254. }
  255. .nav_menu {
  256. width: 100%;
  257. background: #fafafa;
  258. border-bottom: 1px solid #aaa;
  259. text-align: center;
  260. padding: 5px 0;
  261. }
  262. .nav_menu .btn {
  263. margin: 0 5px;
  264. }
  265. .categories {
  266. margin: 0;
  267. padding: 0;
  268. text-align: center;
  269. list-style: none;
  270. }
  271. .categories .feeds .feed,
  272. .categories .category {
  273. position: relative;
  274. display: block;
  275. width: 200px;
  276. margin: 5px auto;
  277. text-align: left;
  278. overflow: hidden;
  279. white-space: nowrap;
  280. text-overflow: ellipsis;
  281. }
  282. .categories .feeds {
  283. width: 220px;
  284. margin: 0 auto;
  285. list-style: none;
  286. }
  287. .categories .feeds .feed {
  288. display: inline-block;
  289. margin: 0;
  290. width: 170px;
  291. line-height: 35px;
  292. font-size: 90%;
  293. vertical-align: middle;
  294. }
  295. .categories .notRead {
  296. position: absolute;
  297. top: 3px; right: 3px;
  298. padding: 1px 5px;
  299. background: #bbb;
  300. color: #fff;
  301. font-size: 90%;
  302. border: 1px solid #bbb;
  303. border-right: 1px solid #999;
  304. border-bottom: 1px solid #999;
  305. border-radius: 5px;
  306. box-shadow: 0 3px 3px #999 inset;
  307. text-shadow: 0 0 1px #aaa;
  308. }
  309. .flux {
  310. font-family: Palatino, "Times New Roman", serif;
  311. border-left: 10px solid #aaa;
  312. background: #fafafa;
  313. }
  314. .flux:hover {
  315. background: #fff;
  316. }
  317. .flux .content {
  318. padding: 20px 100px;
  319. line-height: 170%;
  320. }
  321. .flux .content h1, .flux .content h2, .flux .content h3 {
  322. margin: 20px 0 5px;
  323. }
  324. .flux .content p {
  325. margin: 10px 0;
  326. }
  327. .flux .content img.big {
  328. display: block;
  329. margin: 10px 0;
  330. width: 100%;
  331. box-shadow: 0 0 5px #000;
  332. border-radius: 5px;
  333. }
  334. .flux .content pre {
  335. width: 90%;
  336. margin: 10px auto;
  337. padding: 10px;
  338. overflow: auto;
  339. background: #666;
  340. border: 1px solid #000;
  341. color: #fafafa;
  342. border-radius: 5px;
  343. }
  344. .flux .content q, .flux .content blockquote {
  345. display: block;
  346. margin: 0;
  347. padding: 10px 20px;
  348. font-style: italic;
  349. border-left: 4px solid #ccc;
  350. color: #666;
  351. }
  352. .flux.active {
  353. border-left: 10px solid #0062BE;
  354. background: #fff;
  355. }
  356. .flux.not_read {
  357. border-left: 10px solid #FF5300;
  358. background: #FFF3ED;
  359. }
  360. .flux.favorite {
  361. border-left: 10px solid #FFC300;
  362. background: #FFF6DA;
  363. }
  364. .flux_header {
  365. display: table;
  366. table-layout: fixed;
  367. margin: 0;
  368. padding: 0;
  369. width: 100%;
  370. height: 25px;
  371. font-size: 12px;
  372. line-height: 25px;
  373. border-top: 1px solid #ddd;
  374. }
  375. .flux_header .item {
  376. display: table-cell;
  377. vertical-align: middle;
  378. }
  379. .flux_header .item.manage {
  380. width: 50px;
  381. }
  382. .flux_header .item.manage .read {
  383. display: inline-block;
  384. width: 25px;
  385. height: 25px;
  386. background: url("icons/read.svg") center center no-repeat;
  387. vertical-align: middle;
  388. }
  389. .flux_header .item.manage .read:hover {
  390. text-decoration: none;
  391. }
  392. .flux.not_read .flux_header .item.manage .read {
  393. background: url("icons/unread.svg") center center no-repeat;
  394. }
  395. .flux_header .item.manage .bookmark {
  396. display: inline-block;
  397. width: 25px;
  398. height: 25px;
  399. background: url("icons/non-starred.svg") center center no-repeat;
  400. vertical-align: middle;
  401. }
  402. .flux_header .item.manage .bookmark:hover {
  403. text-decoration: none;
  404. }
  405. .flux.favorite .flux_header .item.manage .bookmark {
  406. background: url("icons/starred.svg") center center no-repeat;
  407. }
  408. .flux_header .item.website {
  409. width: 200px;
  410. overflow: hidden;
  411. white-space: nowrap;
  412. text-overflow: ellipsis;
  413. }
  414. .flux_header .item.title {
  415. overflow: hidden;
  416. white-space: nowrap;
  417. text-overflow: ellipsis;
  418. }
  419. .flux_header .item.title h1 {
  420. font-size: 12px;
  421. padding: 0;
  422. font-weight: normal;
  423. }
  424. .flux.not_read .flux_header .item.title h1 {
  425. font-weight: bold;
  426. }
  427. .flux_header .item.date {
  428. width: 200px;
  429. overflow: hidden;
  430. white-space: nowrap;
  431. text-overflow: ellipsis;
  432. text-align: right;
  433. font-size: 10px;
  434. color: #666;
  435. }
  436. .flux_header .item.link {
  437. width: 35px;
  438. text-align: center;
  439. }
  440. .flux_header .item.link a {
  441. display: inline-block;
  442. width: 25px;
  443. height: 25px;
  444. background: url("icons/link.svg") center center no-repeat;
  445. vertical-align: middle;
  446. }
  447. .flux_header .item.link a:hover {
  448. text-decoration: none;
  449. }
  450. /*** PAGINATION ***/
  451. .pagination {
  452. display: table;
  453. width: 100%;
  454. margin: 0;
  455. background: #fafafa;
  456. text-align: center;
  457. color: #333;
  458. font-size: 80%;
  459. line-height: 200%;
  460. table-layout: fixed;
  461. }
  462. .pagination .item {
  463. display: table-cell;
  464. padding: 5px 10px;
  465. border-top: 1px solid #aaa;
  466. }
  467. .pagination .item a {
  468. color: #333;
  469. font-style: italic;
  470. }
  471. .pagination .pager-previous, .pagination .pager-next {
  472. width: 200px;
  473. }
  474. .pagination .item.pager-current {
  475. font-weight: bold;
  476. }
  477. /*** NOTIFICATION ***/
  478. .notification {
  479. position: fixed;
  480. bottom: 0;
  481. left: 25%;
  482. width: 50%;
  483. height: 50px;
  484. padding: 0 50px;
  485. line-height: 50px;
  486. text-align: center;
  487. border-radius: 5px 5px 0 0;
  488. box-shadow: 0 0 5px #666;
  489. background: #ddd;
  490. color: #666;
  491. font-weight: bold;
  492. }
  493. .notification.good {
  494. background: #f4f899;
  495. }
  496. .notification.bad {
  497. background: #f4a899;
  498. }
  499. .notification a.close {
  500. display: inline-block;
  501. width: 16px;
  502. height: 16px;
  503. float: right;
  504. margin: -10px -60px 0 0;
  505. padding: 5px;
  506. background: #fff;
  507. border-radius: 50px;
  508. border: 1px solid #aaa;
  509. line-height: 16px;
  510. }
  511. @media(max-width: 840px) {
  512. .header,
  513. .aside,
  514. .flux_header .item.website span,
  515. .flux_header .item.date {
  516. display: none;
  517. }
  518. .flux_header .item.website {
  519. width: 20px;
  520. }
  521. .flux .content {
  522. padding: 10px;
  523. }
  524. .pagination .pager-previous, .pagination .pager-next {
  525. width: 100px;
  526. }
  527. }
  528. @media(max-width: 450px) {
  529. .nav_menu {
  530. display: none;
  531. }
  532. }