global.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  1. @charset "UTF-8";
  2. /* FONTS */
  3. @font-face {
  4. font-family: "OpenSans";
  5. src: url("../fonts/openSans.woff") format("woff");
  6. }
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. }
  11. html, body {
  12. height: 100%;
  13. font-size: 95%;
  14. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  15. }
  16. /* LIENS */
  17. a {
  18. color: #0062BE;
  19. text-decoration: none;
  20. }
  21. a:hover {
  22. text-decoration: underline;
  23. }
  24. /* LISTES */
  25. ul, ol, dl {
  26. margin: 10px 0 10px 30px;
  27. line-height: 190%;
  28. }
  29. dd {
  30. margin: 0 0 10px 30px;
  31. }
  32. /* TITRES */
  33. h1, h2, h3 {
  34. min-height: 40px;
  35. margin: 15px 0 5px;
  36. line-height: 40px;
  37. }
  38. /* IMG */
  39. figure {
  40. margin: 5px 0 10px;
  41. text-align: center;
  42. }
  43. figcaption {
  44. display: inline-block;
  45. padding: 3px 20px;
  46. color: #999;
  47. font-style: italic;
  48. border-bottom: 1px solid #ccc;
  49. }
  50. img {
  51. height: auto;
  52. max-width: 100%;
  53. vertical-align: middle;
  54. }
  55. a img {
  56. border: none;
  57. }
  58. /* VIDEOS */
  59. iframe, embed, object, video {
  60. max-width: 100%;
  61. }
  62. /* FORMULAIRES */
  63. legend {
  64. display: block;
  65. width: 100%;
  66. margin: 20px 0 5px;
  67. padding: 5px 0;
  68. border-bottom: 1px solid #ddd;
  69. font-size: 150%;
  70. clear: both;
  71. }
  72. label {
  73. display: block;
  74. min-height: 25px;
  75. padding: 5px 0;
  76. font-size: 14px;
  77. line-height: 25px;
  78. cursor: pointer;
  79. }
  80. input, select, textarea {
  81. display: inline-block;
  82. max-width: 100%;
  83. min-height: 25px;
  84. padding: 5px;
  85. background: #fdfdfd;
  86. border: 1px solid #bbb;
  87. border-radius: 3px;
  88. color: #666;
  89. line-height: 25px;
  90. vertical-align: middle;
  91. box-shadow: 0 2px 2px #eee inset;
  92. }
  93. option {
  94. padding:0 .5em 0 .5em;
  95. }
  96. input[type="radio"],
  97. input[type="checkbox"] {
  98. width: 15px !important;
  99. min-height: 15px !important;
  100. }
  101. input:focus, select:focus, textarea:focus {
  102. color: #0062BE;
  103. border-color: #33BBFF;
  104. box-shadow: 0 2px 2px #DDDDFF inset;
  105. }
  106. .form-group {
  107. margin: 0;
  108. }
  109. .form-group:after {
  110. content: "";
  111. display: block;
  112. clear: both;
  113. }
  114. .form-group.form-actions {
  115. min-width: 250px;
  116. padding: 5px 0;
  117. background: #f4f4f4;
  118. border-top: 1px solid #ddd;
  119. }
  120. .form-group.form-actions .btn {
  121. margin: 0 10px;
  122. }
  123. .form-group .group-name {
  124. display: block;
  125. float: left;
  126. width: 200px;
  127. padding: 10px 0;
  128. text-align: right;
  129. }
  130. .form-group .group-controls {
  131. min-width: 250px;
  132. min-height: 25px;
  133. margin: 0 0 0 220px;
  134. padding: 5px 0;
  135. }
  136. .form-group .group-controls .control {
  137. display: block;
  138. min-height: 30px;
  139. padding: 5px 0;
  140. line-height: 25px;
  141. font-size: 14px;
  142. }
  143. .stick {
  144. display: inline-block;
  145. white-space: nowrap;
  146. font-size: 0px;
  147. vertical-align: middle;
  148. }
  149. .stick input,
  150. .stick .btn {
  151. border-radius: 0;
  152. font-size: 14px;
  153. }
  154. .stick .btn:first-child,
  155. .stick input:first-child {
  156. border-radius: 3px 0 0 3px;
  157. }
  158. .stick .btn-important:first-child {
  159. border-right: 1px solid #06f;
  160. }
  161. .stick .btn:last-child,
  162. .stick input:last-child {
  163. border-radius: 0 3px 3px 0;
  164. }
  165. .stick .btn + .btn,
  166. .stick .btn + input,
  167. .stick input + .btn,
  168. .stick input + input {
  169. border-left: none;
  170. }
  171. .stick input + .btn {
  172. border-top: 1px solid #bbb;
  173. }
  174. .stick .btn + .dropdown > .btn {
  175. border-left: none;
  176. border-radius: 0 3px 3px 0;
  177. }
  178. .stick .btn + .dropdown a {
  179. font-size: 12px;
  180. }
  181. .btn {
  182. display: inline-block;
  183. min-height: 37px;
  184. min-width: 15px;
  185. padding: 5px 10px;
  186. background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  187. border-radius: 3px;
  188. border: 1px solid #ddd;
  189. border-bottom: 1px solid #aaa;
  190. border-right: 1px solid #aaa;
  191. color: #666;
  192. text-shadow: 0px -1px 0 #ddd;
  193. line-height: 20px;
  194. vertical-align: middle;
  195. cursor: pointer;
  196. overflow: hidden;
  197. }
  198. a.btn {
  199. min-height: 25px;
  200. line-height: 25px;
  201. }
  202. .btn:hover {
  203. background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
  204. text-decoration: none;
  205. }
  206. .btn.active,
  207. .btn:active,
  208. .dropdown-target:target ~ .btn.dropdown-toggle {
  209. box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
  210. background: #eee;
  211. }
  212. .btn-important {
  213. background: linear-gradient(to bottom, #0084CC, #0045CC);
  214. color: #fff;
  215. border: 1px solid #0062B7;
  216. text-shadow: 0px -1px 0 #aaa;
  217. }
  218. .btn-important:hover {
  219. background: linear-gradient(to bottom, #0066CC, #0045CC);
  220. }
  221. .btn-important:active {
  222. background: #0044CB;
  223. box-shadow: none;
  224. }
  225. .btn-attention {
  226. background: linear-gradient(to bottom, #E95B57, #BD362F);
  227. color: #fff;
  228. border: 1px solid #C44742;
  229. text-shadow: 0px -1px 0px #666;
  230. }
  231. .btn-attention:hover {
  232. background: linear-gradient(to bottom, #D14641, #BD362F);
  233. }
  234. .btn-attention:active {
  235. background: #BD362F;
  236. box-shadow: none;
  237. }
  238. /* NAVIGATION */
  239. .nav-list .nav-header,
  240. .nav-list .item {
  241. display: block;
  242. height: 35px;
  243. line-height: 35px;
  244. }
  245. .nav-list .item:hover {
  246. background: #fafafa;
  247. }
  248. .nav-list .item:hover a {
  249. color: #003388;
  250. }
  251. .nav-list .item.active {
  252. background: #0062BE;
  253. color: #fff;
  254. }
  255. .nav-list .item.active a {
  256. color: #fff;
  257. }
  258. .nav-list .disable {
  259. color: #aaa;
  260. background: #fafafa;
  261. text-align: center;
  262. }
  263. .nav-list .item > * {
  264. display: block;
  265. padding: 0 10px;
  266. overflow: hidden;
  267. white-space: nowrap;
  268. text-overflow: ellipsis;
  269. }
  270. .nav-list a:hover {
  271. text-decoration: none;
  272. }
  273. .nav-list .item.error a {
  274. color: #BD362F;
  275. }
  276. .nav-list .item.active.error a {
  277. color: #fff;
  278. background: #BD362F;
  279. }
  280. .nav-list .item.empty a {
  281. color: #f39c12;
  282. }
  283. .nav-list .item.active.empty a {
  284. color: #fff;
  285. background: #f39c12;
  286. }
  287. .nav-list .nav-header {
  288. padding: 0 10px;
  289. color: #888;
  290. background: #f4f4f4;
  291. border-bottom: 1px solid #ddd;
  292. font-weight: bold;
  293. text-shadow: 0 0 1px #ddd;
  294. }
  295. .nav-list .separator {
  296. display: block;
  297. height: 0;
  298. margin: 5px 0;
  299. border-bottom: 1px solid #ddd;
  300. }
  301. .nav-list .nav-form {
  302. padding: 3px;
  303. text-align: center;
  304. }
  305. .nav-head {
  306. display: block;
  307. margin: 0;
  308. background: linear-gradient(to bottom, #fff, #f0f0f0);
  309. border-bottom: 1px solid #ddd;
  310. text-align: right;
  311. }
  312. .nav-head .item {
  313. display: inline-block;
  314. padding: 5px 10px;
  315. }
  316. /* HORIZONTAL-LIST */
  317. .horizontal-list {
  318. display: table;
  319. table-layout: fixed;
  320. margin: 0;
  321. padding: 0;
  322. width: 100%;
  323. }
  324. .horizontal-list .item {
  325. display: table-cell;
  326. vertical-align: middle;
  327. }
  328. /* DROPDOWN */
  329. .dropdown {
  330. position: relative;
  331. display: inline-block;
  332. }
  333. .dropdown-target {
  334. display: none;
  335. }
  336. .dropdown-menu {
  337. display: none;
  338. min-width: 200px;
  339. margin: 5px 0 0;
  340. padding: 5px 0;
  341. position: absolute;
  342. right: 0px;
  343. background: #fff;
  344. border: 1px solid #ddd;
  345. border-radius: 5px;
  346. text-align: left;
  347. box-shadow: 3px 3px 3px #ddd;
  348. }
  349. .dropdown-menu:after {
  350. content: "";
  351. position: absolute;
  352. top: -6px;
  353. right: 13px;
  354. width: 10px;
  355. height: 10px;
  356. background: #fff;
  357. border-top: 1px solid #ddd;
  358. border-left: 1px solid #ddd;
  359. z-index: -10;
  360. transform: rotate(45deg);
  361. }
  362. .dropdown-header {
  363. display: block;
  364. padding: 0 5px;
  365. color: #888;
  366. font-weight: bold;
  367. font-size: 14px;
  368. line-height: 30px;
  369. }
  370. .dropdown-menu .item {
  371. display: block;
  372. height: 30px;
  373. font-size: 90%;
  374. line-height: 30px;
  375. }
  376. .dropdown-menu .item > * {
  377. display: block;
  378. padding: 0 25px;
  379. line-height: 30px;
  380. }
  381. .dropdown-menu .item:hover {
  382. background: #0062BE;
  383. color: #fff;
  384. }
  385. .dropdown-menu .item:hover > * {
  386. color: #fff;
  387. text-decoration: none;
  388. }
  389. .dropdown-menu .input {
  390. display: block;
  391. height: 40px;
  392. font-size: 90%;
  393. line-height: 30px;
  394. }
  395. .dropdown-menu .input select,
  396. .dropdown-menu .input input {
  397. display: block;
  398. height: 20px;
  399. width: 95%;
  400. margin: auto;
  401. padding: 2px 5px;
  402. border-radius: 3px;
  403. }
  404. .dropdown-menu .input select {
  405. width: 70%;
  406. height: auto;
  407. }
  408. .dropdown-menu .separator {
  409. display: block;
  410. height: 0;
  411. margin: 5px 0;
  412. border-bottom: 1px solid #ddd;
  413. }
  414. .dropdown-target:target ~ .dropdown-menu {
  415. display: block;
  416. z-index: 10;
  417. }
  418. .dropdown-close {
  419. display: inline;
  420. }
  421. .dropdown-close a {
  422. font-size: 0;
  423. position: fixed;
  424. top: 0; bottom: 0;
  425. left: 0; right: 0;
  426. display: block;
  427. z-index: -10;
  428. }
  429. /* ALERTS */
  430. .alert {
  431. display: block;
  432. width: 90%;
  433. margin: 15px auto;
  434. padding: 10px 15px;
  435. background: #f4f4f4;
  436. border: 1px solid #ccc;
  437. border-right: 1px solid #aaa;
  438. border-bottom: 1px solid #aaa;
  439. border-radius: 5px;
  440. color: #aaa;
  441. text-shadow: 0 0 1px #eee;
  442. }
  443. .alert-head {
  444. margin: 0;
  445. font-weight: bold;
  446. font-size: 110%;
  447. }
  448. .alert-warn {
  449. background: #ffe;
  450. border: 1px solid #eeb;
  451. color: #c95;
  452. }
  453. .alert-success {
  454. background: #dfd;
  455. border: 1px solid #cec;
  456. color: #484;
  457. }
  458. .alert-error {
  459. background: #fdd;
  460. border: 1px solid #ecc;
  461. color: #844;
  462. }
  463. /* ICÔNES */
  464. .icon {
  465. display: inline-block;
  466. width: 16px;
  467. height: 16px;
  468. vertical-align: middle;
  469. line-height: 16px;
  470. }