global.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  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. color: #888;
  16. }
  17. /* LIENS */
  18. a {
  19. color: #003388;
  20. text-decoration: none;
  21. }
  22. a:hover {
  23. text-decoration: underline;
  24. }
  25. /* LISTES */
  26. ul, ol, dl {
  27. margin: 10px 0 10px 30px;
  28. line-height: 190%;
  29. }
  30. dd {
  31. margin: 0 0 10px 30px;
  32. }
  33. /* TITRES */
  34. h1, h2, h3 {
  35. min-height: 40px;
  36. margin: 15px 0 5px;
  37. line-height: 40px;
  38. }
  39. /* IMG */
  40. figure {
  41. margin: 5px 0 10px;
  42. text-align: center;
  43. }
  44. figcaption {
  45. display: inline-block;
  46. padding: 3px 20px;
  47. color: #999;
  48. font-style: italic;
  49. border-bottom: 1px solid #ccc;
  50. }
  51. img {
  52. height: auto;
  53. max-width: 100%;
  54. vertical-align: middle;
  55. }
  56. a img {
  57. border: none;
  58. }
  59. /* VIDEOS */
  60. iframe, embed, object, video {
  61. max-width: 100%;
  62. }
  63. /* FORMULAIRES */
  64. legend {
  65. display: block;
  66. width: 100%;
  67. margin: 20px 0 5px;
  68. padding: 5px 0;
  69. border-bottom: 1px solid #2f2f2f;
  70. font-size: 150%;
  71. clear: both;
  72. }
  73. label {
  74. display: block;
  75. min-height: 25px;
  76. padding: 5px 0;
  77. font-size: 14px;
  78. line-height: 25px;
  79. cursor: pointer;
  80. }
  81. input, select, textarea {
  82. display: inline-block;
  83. max-width: 100%;
  84. min-height: 25px;
  85. padding: 5px;
  86. background: #1e1e1e;
  87. border: 1px solid #000;
  88. border-radius: 3px;
  89. color: #888;
  90. line-height: 25px;
  91. vertical-align: middle;
  92. box-shadow: 0 2px 2px #1d1d1d inset;
  93. }
  94. option {
  95. padding:0 .5em 0 .5em;
  96. }
  97. input[type="radio"],
  98. input[type="checkbox"] {
  99. width: 15px !important;
  100. min-height: 15px !important;
  101. }
  102. input:focus, select:focus, textarea:focus {
  103. color: #0062BE;
  104. border-color: #2f2f2f;
  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: #1a1a1a;
  122. border-top: 1px solid #2f2f2f;
  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 #000;
  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 .btn + .dropdown > .btn {
  176. border-left: none;
  177. border-radius: 0 3px 3px 0;
  178. }
  179. .stick .btn + .dropdown a {
  180. font-size: 12px;
  181. }
  182. .btn {
  183. display: inline-block;
  184. min-height: 37px;
  185. min-width: 15px;
  186. padding: 5px 10px;
  187. background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  188. border-radius: 3px;
  189. border: 1px solid #000;
  190. color: #888;
  191. line-height: 20px;
  192. vertical-align: middle;
  193. cursor: pointer;
  194. overflow: hidden;
  195. }
  196. a.btn {
  197. min-height: 25px;
  198. line-height: 25px;
  199. }
  200. .btn:hover {
  201. background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
  202. text-decoration: none;
  203. }
  204. .btn.active,
  205. .btn:active,
  206. .dropdown-target:target ~ .btn.dropdown-toggle {
  207. background: #003388;
  208. }
  209. .btn-important {
  210. background: linear-gradient(to bottom, #0084CC, #0045CC);
  211. color: #888888;
  212. border: 1px solid #000000;
  213. }
  214. .btn-important:hover {
  215. background: linear-gradient(to bottom, #0066CC, #0045CC);
  216. }
  217. .btn-important:active {
  218. background: #0044CB;
  219. box-shadow: none;
  220. }
  221. .btn-attention {
  222. background: linear-gradient(to bottom, #E95B57, #BD362F);
  223. color: #888888;
  224. border: 1px solid #000000;
  225. }
  226. .btn-attention:hover {
  227. background: linear-gradient(to bottom, #D14641, #BD362F);
  228. }
  229. .btn-attention:active {
  230. background: #BD362F;
  231. box-shadow: none;
  232. }
  233. /* NAVIGATION */
  234. .nav-list .nav-header,
  235. .nav-list .item {
  236. display: block;
  237. height: 35px;
  238. line-height: 35px;
  239. }
  240. .nav-list .item:hover {
  241. background: #1a1a1a;
  242. }
  243. .nav-list .item:hover a {
  244. color: #003388;
  245. }
  246. .nav-list .item.active {
  247. background: #003388;
  248. color: #1a1a1a;
  249. }
  250. .nav-list .item.active a {
  251. color: #888;
  252. }
  253. .nav-list .disable {
  254. color: #aaa;
  255. background: #fafafa;
  256. text-align: center;
  257. }
  258. .nav-list .item > * {
  259. display: block;
  260. padding: 0 10px;
  261. overflow: hidden;
  262. white-space: nowrap;
  263. text-overflow: ellipsis;
  264. }
  265. .nav-list a:hover {
  266. text-decoration: none;
  267. }
  268. .nav-list .item.error a {
  269. color: #BD362F;
  270. }
  271. .nav-list .item.active.error a {
  272. color: #fff;
  273. background: #BD362F;
  274. }
  275. .nav-list .item.empty a {
  276. color: #f39c12;
  277. }
  278. .nav-list .item.active.empty a {
  279. color: #fff;
  280. background: #f39c12;
  281. }
  282. .nav-list .nav-header {
  283. padding: 0 10px;
  284. background: #1a1a1a;
  285. border-bottom: 1px solid #2f2f2f;
  286. font-weight: bold;
  287. }
  288. .nav-list .separator {
  289. display: block;
  290. height: 0;
  291. margin: 5px 0;
  292. border-bottom: 1px solid #ddd;
  293. }
  294. .nav-list .nav-form {
  295. padding: 3px;
  296. text-align: center;
  297. }
  298. .nav-head {
  299. display: block;
  300. margin: 0;
  301. background: linear-gradient(to bottom, #fff, #f0f0f0);
  302. border-bottom: 1px solid #ddd;
  303. text-align: right;
  304. }
  305. .nav-head .item {
  306. display: inline-block;
  307. padding: 5px 10px;
  308. }
  309. /* HORIZONTAL-LIST */
  310. .horizontal-list {
  311. display: table;
  312. table-layout: fixed;
  313. margin: 0;
  314. padding: 0;
  315. width: 100%;
  316. }
  317. .horizontal-list .item {
  318. display: table-cell;
  319. vertical-align: middle;
  320. }
  321. /* DROPDOWN */
  322. .dropdown {
  323. position: relative;
  324. display: inline-block;
  325. }
  326. .dropdown-target {
  327. display: none;
  328. }
  329. .dropdown-menu {
  330. display: none;
  331. min-width: 200px;
  332. margin: 5px 0 0;
  333. padding: 5px 0;
  334. position: absolute;
  335. right: 0px;
  336. background: #1a1a1a;
  337. border: 1px solid #888;
  338. border-radius: 5px;
  339. text-align: left;
  340. }
  341. .dropdown-menu:after {
  342. content: "";
  343. position: absolute;
  344. top: -6px;
  345. right: 13px;
  346. width: 10px;
  347. height: 10px;
  348. background: #1a1a1a;
  349. border-top: 1px solid #888;
  350. border-left: 1px solid #888;
  351. z-index: -10;
  352. transform: rotate(45deg);
  353. }
  354. .dropdown-header {
  355. display: block;
  356. padding: 0 5px;
  357. color: #888;
  358. font-weight: bold;
  359. font-size: 14px;
  360. line-height: 30px;
  361. }
  362. .dropdown-menu .item {
  363. display: block;
  364. height: 30px;
  365. font-size: 90%;
  366. line-height: 30px;
  367. }
  368. .dropdown-menu .item > * {
  369. display: block;
  370. padding: 0 25px;
  371. line-height: 30px;
  372. }
  373. .dropdown-menu .item:hover {
  374. background: #003388;
  375. color: #888;
  376. }
  377. .dropdown-menu .item:hover > * {
  378. color: #888;
  379. text-decoration: none;
  380. }
  381. .dropdown-menu .input {
  382. display: block;
  383. height: 40px;
  384. font-size: 90%;
  385. line-height: 30px;
  386. }
  387. .dropdown-menu .input select,
  388. .dropdown-menu .input input {
  389. display: block;
  390. height: 20px;
  391. width: 95%;
  392. margin: auto;
  393. padding: 2px 5px;
  394. border-radius: 3px;
  395. }
  396. .dropdown-menu .input select {
  397. width: 70%;
  398. height: auto;
  399. }
  400. .dropdown-menu .separator {
  401. display: block;
  402. height: 0;
  403. margin: 5px 0;
  404. border-bottom: 1px solid #888;
  405. }
  406. .dropdown-target:target ~ .dropdown-menu {
  407. display: block;
  408. z-index: 10;
  409. }
  410. .dropdown-close {
  411. display: inline;
  412. }
  413. .dropdown-close a {
  414. font-size: 0;
  415. position: fixed;
  416. top: 0; bottom: 0;
  417. left: 0; right: 0;
  418. display: block;
  419. z-index: -10;
  420. }
  421. /* ALERTS */
  422. .alert {
  423. display: block;
  424. width: 90%;
  425. margin: 15px auto;
  426. padding: 10px 15px;
  427. background: #1a1a1a;
  428. border: 1px solid #ccc;
  429. border-right: 1px solid #aaa;
  430. border-bottom: 1px solid #aaa;
  431. border-radius: 5px;
  432. color: #aaa;
  433. }
  434. .alert-head {
  435. margin: 0;
  436. font-weight: bold;
  437. font-size: 110%;
  438. }
  439. .alert-warn {
  440. border: 1px solid #c95;
  441. color: #c95;
  442. }
  443. .alert-success {
  444. border: 1px solid #484;
  445. color: #484;
  446. }
  447. .alert-error {
  448. border: 1px solid #844;
  449. color: #844;
  450. }
  451. /* ICÔNES */
  452. .icon {
  453. display: inline-block;
  454. width: 16px;
  455. height: 16px;
  456. vertical-align: middle;
  457. line-height: 16px;
  458. }