global.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  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: #6986B2;
  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: #333;
  87. border: 1px solid #000;
  88. border-radius: 3px;
  89. color: #999;
  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: #6986b2;
  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 .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 .btn + .dropdown > .btn {
  181. border-left: none;
  182. border-radius: 0 3px 3px 0;
  183. }
  184. .stick .btn + .dropdown a {
  185. font-size: 12px;
  186. }
  187. .btn {
  188. display: inline-block;
  189. min-height: 37px;
  190. min-width: 15px;
  191. padding: 5px 10px;
  192. background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  193. border-radius: 3px;
  194. border: 1px solid #000;
  195. color: #888;
  196. line-height: 20px;
  197. vertical-align: middle;
  198. cursor: pointer;
  199. overflow: hidden;
  200. }
  201. a.btn {
  202. min-height: 25px;
  203. line-height: 25px;
  204. }
  205. .btn:hover {
  206. background: linear-gradient(to bottom, #4A5D7A, #26303F);
  207. text-decoration: none;
  208. }
  209. .btn.active,
  210. .btn:active,
  211. .dropdown-target:target ~ .btn.dropdown-toggle {
  212. background: #26303F;
  213. }
  214. .btn-important {
  215. background: linear-gradient(to bottom, #0084CC, #0045CC);
  216. color: #888888;
  217. border: 1px solid #000000;
  218. }
  219. .btn-important:hover {
  220. background: linear-gradient(to bottom, #0066CC, #0045CC);
  221. }
  222. .btn-important:active {
  223. background: #0044CB;
  224. box-shadow: none;
  225. }
  226. .btn-attention {
  227. background: linear-gradient(to bottom, #E95B57, #BD362F);
  228. color: #888888;
  229. border: 1px solid #000000;
  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: #1a1a1a;
  247. }
  248. .nav-list .item:hover a {
  249. color: #26303F;
  250. }
  251. .nav-list .item.active {
  252. background: #26303F;
  253. color: #1a1a1a;
  254. }
  255. .nav-list .item.active a {
  256. color: #888;
  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. background: #1a1a1a;
  290. border-bottom: 1px solid #2f2f2f;
  291. font-weight: bold;
  292. }
  293. .nav-list .separator {
  294. display: block;
  295. height: 0;
  296. margin: 5px 0;
  297. border-bottom: 1px solid #2f2f2f;
  298. }
  299. .nav-list .nav-form {
  300. padding: 3px;
  301. text-align: center;
  302. }
  303. .nav-head {
  304. display: block;
  305. margin: 0;
  306. background: linear-gradient(to bottom, #fff, #f0f0f0);
  307. border-bottom: 1px solid #2f2f2f;
  308. text-align: right;
  309. }
  310. .nav-head .item {
  311. display: inline-block;
  312. padding: 5px 10px;
  313. }
  314. /* HORIZONTAL-LIST */
  315. .horizontal-list {
  316. display: table;
  317. table-layout: fixed;
  318. margin: 0;
  319. padding: 0;
  320. width: 100%;
  321. }
  322. .horizontal-list .item {
  323. display: table-cell;
  324. vertical-align: middle;
  325. }
  326. /* DROPDOWN */
  327. .dropdown {
  328. position: relative;
  329. display: inline-block;
  330. }
  331. .dropdown-target {
  332. display: none;
  333. }
  334. .dropdown-menu {
  335. display: none;
  336. min-width: 200px;
  337. margin: 5px 0 0;
  338. padding: 5px 0;
  339. position: absolute;
  340. right: 0px;
  341. background: #1a1a1a;
  342. border: 1px solid #888;
  343. border-radius: 5px;
  344. text-align: left;
  345. }
  346. .dropdown-menu:after {
  347. content: "";
  348. position: absolute;
  349. top: -6px;
  350. right: 13px;
  351. width: 10px;
  352. height: 10px;
  353. background: #1a1a1a;
  354. border-top: 1px solid #888;
  355. border-left: 1px solid #888;
  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 > a {
  374. display: block;
  375. padding: 0 25px;
  376. line-height: 30px;
  377. }
  378. .dropdown-menu > .item:hover {
  379. background: #26303F;
  380. color: #888;
  381. }
  382. .dropdown-menu > .item[aria-checked="true"] > a:before {
  383. content: '✓ ';
  384. font-weight: bold;
  385. margin: 0 0 0 -1.2em;
  386. padding: 0 0.2em 0 0;
  387. }
  388. .dropdown-menu > .item:hover > a {
  389. color: #888;
  390. text-decoration: none;
  391. }
  392. .dropdown-menu .input {
  393. display: block;
  394. height: 40px;
  395. font-size: 90%;
  396. line-height: 30px;
  397. }
  398. .dropdown-menu .input select,
  399. .dropdown-menu .input input {
  400. display: block;
  401. height: 20px;
  402. width: 95%;
  403. margin: auto;
  404. padding: 2px 5px;
  405. border-radius: 3px;
  406. }
  407. .dropdown-menu .input select {
  408. width: 70%;
  409. height: auto;
  410. }
  411. .dropdown-menu .separator {
  412. display: block;
  413. height: 0;
  414. margin: 5px 0;
  415. border-bottom: 1px solid #888;
  416. }
  417. .dropdown-target:target ~ .dropdown-menu {
  418. display: block;
  419. z-index: 10;
  420. }
  421. .dropdown-close {
  422. display: inline;
  423. }
  424. .dropdown-close a {
  425. font-size: 0;
  426. position: fixed;
  427. top: 0; bottom: 0;
  428. left: 0; right: 0;
  429. display: block;
  430. z-index: -10;
  431. }
  432. /* ALERTS */
  433. .alert {
  434. display: block;
  435. width: 90%;
  436. margin: 15px auto;
  437. padding: 10px 15px;
  438. background: #1a1a1a;
  439. border: 1px solid #ccc;
  440. border-right: 1px solid #aaa;
  441. border-bottom: 1px solid #aaa;
  442. border-radius: 5px;
  443. color: #aaa;
  444. }
  445. .alert-head {
  446. margin: 0;
  447. font-weight: bold;
  448. font-size: 110%;
  449. }
  450. .alert > a {
  451. color: inherit;
  452. text-decoration: underline;
  453. }
  454. .alert-warn {
  455. border: 1px solid #c95;
  456. color: #c95;
  457. }
  458. .alert-success {
  459. border: 1px solid #484;
  460. color: #484;
  461. }
  462. .alert-error {
  463. border: 1px solid #844;
  464. color: #844;
  465. }
  466. /* ICÔNES */
  467. .icon {
  468. display: inline-block;
  469. width: 16px;
  470. height: 16px;
  471. vertical-align: middle;
  472. line-height: 16px;
  473. }
  474. /* Prompt (centré) */
  475. .prompt > h1, .prompt > p {
  476. text-align:center;
  477. }
  478. .prompt > form {
  479. margin:1em auto 2.5em auto;
  480. width:10em;
  481. }
  482. .prompt .btn {
  483. display:block;
  484. margin:.5em auto;
  485. }
  486. .prompt input {
  487. margin:.4em auto 1.1em auto;
  488. width:99%;
  489. }