global.css 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  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. input:invalid, select:invalid {
  107. border-color: red;
  108. box-shadow: 0 0 2px 1px red;
  109. }
  110. .form-group {
  111. margin: 0;
  112. }
  113. .form-group:after {
  114. content: "";
  115. display: block;
  116. clear: both;
  117. }
  118. .form-group.form-actions {
  119. min-width: 250px;
  120. padding: 5px 0;
  121. background: #f4f4f4;
  122. border-top: 1px solid #ddd;
  123. }
  124. .form-group.form-actions .btn {
  125. margin: 0 10px;
  126. }
  127. .form-group .group-name {
  128. display: block;
  129. float: left;
  130. width: 200px;
  131. padding: 10px 0;
  132. text-align: right;
  133. }
  134. .form-group .group-controls {
  135. min-width: 250px;
  136. min-height: 25px;
  137. margin: 0 0 0 220px;
  138. padding: 5px 0;
  139. }
  140. .form-group .group-controls .control {
  141. display: block;
  142. min-height: 30px;
  143. padding: 5px 0;
  144. line-height: 25px;
  145. font-size: 14px;
  146. }
  147. .stick {
  148. display: inline-block;
  149. white-space: nowrap;
  150. font-size: 0px;
  151. vertical-align: middle;
  152. }
  153. .stick input,
  154. .stick .btn {
  155. border-radius: 0;
  156. font-size: 14px;
  157. }
  158. .stick .btn:first-child,
  159. .stick input:first-child {
  160. border-radius: 3px 0 0 3px;
  161. }
  162. .stick .btn-important:first-child {
  163. border-right: 1px solid #06f;
  164. }
  165. .stick .btn:last-child,
  166. .stick input:last-child {
  167. border-radius: 0 3px 3px 0;
  168. }
  169. .stick .btn + .btn,
  170. .stick .btn + input,
  171. .stick .btn + .dropdown > .btn,
  172. .stick input + .btn,
  173. .stick input + input,
  174. .stick input + .dropdown > .btn,
  175. .stick .dropdown + .btn,
  176. .stick .dropdown + input,
  177. .stick .dropdown + .dropdown > .btn {
  178. border-left: none;
  179. }
  180. .stick input + .btn {
  181. border-top: 1px solid #bbb;
  182. }
  183. .stick .btn + .dropdown > .btn {
  184. border-left: none;
  185. border-radius: 0 3px 3px 0;
  186. }
  187. .stick .btn + .dropdown a {
  188. font-size: 12px;
  189. }
  190. .btn {
  191. display: inline-block;
  192. min-height: 37px;
  193. min-width: 15px;
  194. padding: 5px 10px;
  195. background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  196. border-radius: 3px;
  197. border: 1px solid #ddd;
  198. border-bottom: 1px solid #aaa;
  199. border-right: 1px solid #aaa;
  200. color: #666;
  201. text-shadow: 0px -1px 0 #ddd;
  202. line-height: 20px;
  203. vertical-align: middle;
  204. cursor: pointer;
  205. overflow: hidden;
  206. }
  207. a.btn {
  208. min-height: 25px;
  209. line-height: 25px;
  210. }
  211. .btn:hover {
  212. background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
  213. text-decoration: none;
  214. }
  215. .btn.active,
  216. .btn:active,
  217. .dropdown-target:target ~ .btn.dropdown-toggle {
  218. box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
  219. background: #eee;
  220. }
  221. .btn-important {
  222. background: linear-gradient(to bottom, #0084CC, #0045CC);
  223. color: #fff;
  224. border: 1px solid #0062B7;
  225. text-shadow: 0px -1px 0 #aaa;
  226. }
  227. .btn-important:hover {
  228. background: linear-gradient(to bottom, #0066CC, #0045CC);
  229. }
  230. .btn-important:active {
  231. background: #0044CB;
  232. box-shadow: none;
  233. }
  234. .btn-attention {
  235. background: linear-gradient(to bottom, #E95B57, #BD362F);
  236. color: #fff;
  237. border: 1px solid #C44742;
  238. text-shadow: 0px -1px 0px #666;
  239. }
  240. .btn-attention:hover {
  241. background: linear-gradient(to bottom, #D14641, #BD362F);
  242. }
  243. .btn-attention:active {
  244. background: #BD362F;
  245. box-shadow: none;
  246. }
  247. /* NAVIGATION */
  248. .nav-list .nav-header,
  249. .nav-list .item {
  250. display: block;
  251. height: 35px;
  252. line-height: 35px;
  253. }
  254. .nav-list .item:hover {
  255. background: #fafafa;
  256. }
  257. .nav-list .item:hover a {
  258. color: #003388;
  259. }
  260. .nav-list .item.active {
  261. background: #0062BE;
  262. color: #fff;
  263. }
  264. .nav-list .item.active a {
  265. color: #fff;
  266. }
  267. .nav-list .disable {
  268. color: #aaa;
  269. background: #fafafa;
  270. text-align: center;
  271. }
  272. .nav-list .item > * {
  273. display: block;
  274. padding: 0 10px;
  275. overflow: hidden;
  276. white-space: nowrap;
  277. text-overflow: ellipsis;
  278. }
  279. .nav-list a:hover {
  280. text-decoration: none;
  281. }
  282. .nav-list .item.error a {
  283. color: #BD362F;
  284. }
  285. .nav-list .item.active.error a {
  286. color: #fff;
  287. background: #BD362F;
  288. }
  289. .nav-list .item.empty a {
  290. color: #f39c12;
  291. }
  292. .nav-list .item.active.empty a {
  293. color: #fff;
  294. background: #f39c12;
  295. }
  296. .nav-list .nav-header {
  297. padding: 0 10px;
  298. color: #888;
  299. background: #f4f4f4;
  300. border-bottom: 1px solid #ddd;
  301. font-weight: bold;
  302. text-shadow: 0 0 1px #ddd;
  303. }
  304. .nav-list .separator {
  305. display: block;
  306. height: 0;
  307. margin: 5px 0;
  308. border-bottom: 1px solid #ddd;
  309. }
  310. .nav-list .nav-form {
  311. padding: 3px;
  312. text-align: center;
  313. }
  314. .nav-head {
  315. display: block;
  316. margin: 0;
  317. background: linear-gradient(to bottom, #fff, #f0f0f0);
  318. border-bottom: 1px solid #ddd;
  319. text-align: right;
  320. }
  321. .nav-head .item {
  322. display: inline-block;
  323. padding: 5px 10px;
  324. }
  325. /* HORIZONTAL-LIST */
  326. .horizontal-list {
  327. display: table;
  328. table-layout: fixed;
  329. margin: 0;
  330. padding: 0;
  331. width: 100%;
  332. }
  333. .horizontal-list .item {
  334. display: table-cell;
  335. vertical-align: middle;
  336. }
  337. /* DROPDOWN */
  338. .dropdown {
  339. position: relative;
  340. display: inline-block;
  341. }
  342. .dropdown-target {
  343. display: none;
  344. }
  345. .dropdown-menu {
  346. display: none;
  347. min-width: 200px;
  348. margin: 5px 0 0;
  349. padding: 5px 0;
  350. position: absolute;
  351. right: 0px;
  352. background: #fff;
  353. border: 1px solid #ddd;
  354. border-radius: 5px;
  355. text-align: left;
  356. box-shadow: 3px 3px 3px #ddd;
  357. }
  358. .dropdown-menu:after {
  359. content: "";
  360. position: absolute;
  361. top: -6px;
  362. right: 13px;
  363. width: 10px;
  364. height: 10px;
  365. background: #fff;
  366. border-top: 1px solid #ddd;
  367. border-left: 1px solid #ddd;
  368. z-index: -10;
  369. transform: rotate(45deg);
  370. }
  371. .dropdown-header {
  372. display: block;
  373. padding: 0 5px;
  374. color: #888;
  375. font-weight: bold;
  376. font-size: 14px;
  377. line-height: 30px;
  378. }
  379. .dropdown-menu > .item {
  380. display: block;
  381. height: 30px;
  382. font-size: 90%;
  383. line-height: 30px;
  384. }
  385. .dropdown-menu > .item > a {
  386. display: block;
  387. padding: 0 25px;
  388. line-height: 30px;
  389. }
  390. .dropdown-menu > .item:hover {
  391. background: #0062BE;
  392. color: #fff;
  393. }
  394. .dropdown-menu > .item[aria-checked="true"] > a:before {
  395. content: '✓ ';
  396. font-weight: bold;
  397. margin: 0 0 0 -1.2em;
  398. padding: 0 0.2em 0 0;
  399. }
  400. .dropdown-menu > .item:hover > a {
  401. color: #fff;
  402. text-decoration: none;
  403. }
  404. .dropdown-menu .input {
  405. display: block;
  406. height: 40px;
  407. font-size: 90%;
  408. line-height: 30px;
  409. }
  410. .dropdown-menu .input select,
  411. .dropdown-menu .input input {
  412. display: block;
  413. height: 20px;
  414. width: 95%;
  415. margin: auto;
  416. padding: 2px 5px;
  417. border-radius: 3px;
  418. }
  419. .dropdown-menu .input select {
  420. width: 70%;
  421. height: auto;
  422. }
  423. .dropdown-menu .separator {
  424. display: block;
  425. height: 0;
  426. margin: 5px 0;
  427. border-bottom: 1px solid #ddd;
  428. }
  429. .dropdown-target:target ~ .dropdown-menu {
  430. display: block;
  431. z-index: 10;
  432. }
  433. .dropdown-close {
  434. display: inline;
  435. }
  436. .dropdown-close a {
  437. font-size: 0;
  438. position: fixed;
  439. top: 0; bottom: 0;
  440. left: 0; right: 0;
  441. display: block;
  442. z-index: -10;
  443. }
  444. /* ALERTS */
  445. .alert {
  446. display: block;
  447. width: 90%;
  448. margin: 15px auto;
  449. padding: 10px 15px;
  450. background: #f4f4f4;
  451. border: 1px solid #ccc;
  452. border-right: 1px solid #aaa;
  453. border-bottom: 1px solid #aaa;
  454. border-radius: 5px;
  455. color: #aaa;
  456. text-shadow: 0 0 1px #eee;
  457. }
  458. .alert-head {
  459. margin: 0;
  460. font-weight: bold;
  461. font-size: 110%;
  462. }
  463. .alert > a {
  464. color: inherit;
  465. text-decoration: underline;
  466. }
  467. .alert-warn {
  468. background: #ffe;
  469. border: 1px solid #eeb;
  470. color: #c95;
  471. }
  472. .alert-success {
  473. background: #dfd;
  474. border: 1px solid #cec;
  475. color: #484;
  476. }
  477. .alert-error {
  478. background: #fdd;
  479. border: 1px solid #ecc;
  480. color: #844;
  481. }
  482. /* ICÔNES */
  483. .icon {
  484. display: inline-block;
  485. width: 16px;
  486. height: 16px;
  487. vertical-align: middle;
  488. line-height: 16px;
  489. }
  490. /* Prompt (centré) */
  491. .prompt > h1, .prompt > p {
  492. text-align:center;
  493. }
  494. .prompt > form {
  495. margin:1em auto 2.5em auto;
  496. width:10em;
  497. }
  498. .prompt .btn {
  499. display:block;
  500. margin:.5em auto;
  501. }
  502. .prompt input {
  503. margin:.4em auto 1.1em auto;
  504. width:99%;
  505. }