base.css 12 KB

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