global.css 8.6 KB

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