global.css 8.5 KB

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