global.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  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 {
  82. width: 180px;
  83. }
  84. textarea {
  85. width: 360px;
  86. height: 100px;
  87. }
  88. input, select, textarea {
  89. display: inline-block;
  90. max-width: 100%;
  91. min-height: 25px;
  92. padding: 5px;
  93. background: #333;
  94. border: 1px solid #000;
  95. border-radius: 3px;
  96. color: #999;
  97. line-height: 25px;
  98. vertical-align: middle;
  99. box-shadow: 0 2px 2px #1d1d1d inset;
  100. }
  101. option {
  102. padding:0 .5em 0 .5em;
  103. }
  104. input[type="radio"],
  105. input[type="checkbox"] {
  106. width: 15px !important;
  107. min-height: 15px !important;
  108. }
  109. input:focus, select:focus, textarea:focus {
  110. color: #6986b2;
  111. border-color: #2f2f2f;
  112. }
  113. input:invalid, select:invalid {
  114. border-color: red;
  115. box-shadow: 0 0 2px 1px red;
  116. }
  117. input:focus.extend {
  118. width: 300px;
  119. transition: width 200ms linear;
  120. }
  121. .form-group {
  122. margin: 0;
  123. }
  124. .form-group:after {
  125. content: "";
  126. display: block;
  127. clear: both;
  128. }
  129. .form-group.form-actions {
  130. min-width: 250px;
  131. padding: 5px 0;
  132. background: #1a1a1a;
  133. border-top: 1px solid #2f2f2f;
  134. }
  135. .form-group.form-actions .btn {
  136. margin: 0 10px;
  137. }
  138. .form-group .group-name {
  139. display: block;
  140. float: left;
  141. width: 200px;
  142. padding: 10px 0;
  143. text-align: right;
  144. }
  145. .form-group .group-controls {
  146. min-width: 250px;
  147. min-height: 25px;
  148. margin: 0 0 0 220px;
  149. padding: 5px 0;
  150. }
  151. .form-group .group-controls .control {
  152. display: block;
  153. min-height: 30px;
  154. padding: 5px 0;
  155. line-height: 25px;
  156. font-size: 14px;
  157. }
  158. .stick {
  159. display: inline-block;
  160. white-space: nowrap;
  161. font-size: 0px;
  162. vertical-align: middle;
  163. }
  164. .stick input,
  165. .stick .btn {
  166. border-radius: 0;
  167. font-size: 14px;
  168. }
  169. .stick .btn:first-child,
  170. .stick input:first-child {
  171. border-radius: 3px 0 0 3px;
  172. }
  173. .stick .btn-important:first-child {
  174. border-right: 1px solid #000;
  175. }
  176. .stick .btn:last-child,
  177. .stick input:last-child {
  178. border-radius: 0 3px 3px 0;
  179. }
  180. .stick .btn + .btn,
  181. .stick .btn + input,
  182. .stick .btn + .dropdown > .btn,
  183. .stick input + .btn,
  184. .stick input + input,
  185. .stick input + .dropdown > .btn,
  186. .stick .dropdown + .btn,
  187. .stick .dropdown + input,
  188. .stick .dropdown + .dropdown > .btn {
  189. border-left: none;
  190. }
  191. .stick .btn + .dropdown > .btn {
  192. border-left: none;
  193. border-radius: 0 3px 3px 0;
  194. }
  195. .stick .btn + .dropdown a {
  196. font-size: 12px;
  197. }
  198. .btn {
  199. display: inline-block;
  200. min-height: 37px;
  201. min-width: 15px;
  202. padding: 5px 10px;
  203. background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  204. border-radius: 3px;
  205. border: 1px solid #000;
  206. color: #888;
  207. line-height: 20px;
  208. vertical-align: middle;
  209. cursor: pointer;
  210. overflow: hidden;
  211. }
  212. a.btn {
  213. min-height: 25px;
  214. line-height: 25px;
  215. }
  216. .btn:hover {
  217. background: linear-gradient(to bottom, #4A5D7A, #26303F);
  218. text-decoration: none;
  219. }
  220. .btn.active,
  221. .btn:active,
  222. .dropdown-target:target ~ .btn.dropdown-toggle {
  223. background: #26303F;
  224. }
  225. .btn-important {
  226. background: linear-gradient(to bottom, #0084CC, #0045CC);
  227. color: #888888;
  228. border: 1px solid #000000;
  229. }
  230. .btn-important:hover {
  231. background: linear-gradient(to bottom, #0066CC, #0045CC);
  232. }
  233. .btn-important:active {
  234. background: #0044CB;
  235. box-shadow: none;
  236. }
  237. .btn-attention {
  238. background: linear-gradient(to bottom, #E95B57, #BD362F);
  239. color: #888888;
  240. border: 1px solid #000000;
  241. }
  242. .btn-attention:hover {
  243. background: linear-gradient(to bottom, #D14641, #BD362F);
  244. }
  245. .btn-attention:active {
  246. background: #BD362F;
  247. box-shadow: none;
  248. }
  249. /* NAVIGATION */
  250. .nav-list .nav-header,
  251. .nav-list .item {
  252. display: block;
  253. height: 35px;
  254. line-height: 35px;
  255. }
  256. .nav-list .item:hover {
  257. background: #1a1a1a;
  258. }
  259. .nav-list .item:hover a {
  260. color: #26303F;
  261. }
  262. .nav-list .item.active {
  263. background: #26303F;
  264. color: #1a1a1a;
  265. }
  266. .nav-list .item.active a {
  267. color: #888;
  268. }
  269. .nav-list .disable {
  270. color: #aaa;
  271. background: #fafafa;
  272. text-align: center;
  273. }
  274. .nav-list .item > * {
  275. display: block;
  276. padding: 0 10px;
  277. overflow: hidden;
  278. white-space: nowrap;
  279. text-overflow: ellipsis;
  280. }
  281. .nav-list a:hover {
  282. text-decoration: none;
  283. }
  284. .nav-list .item.error a {
  285. color: #BD362F;
  286. }
  287. .nav-list .item.active.error a {
  288. color: #fff;
  289. background: #BD362F;
  290. }
  291. .nav-list .item.empty a {
  292. color: #f39c12;
  293. }
  294. .nav-list .item.active.empty a {
  295. color: #fff;
  296. background: #f39c12;
  297. }
  298. .nav-list .nav-header {
  299. padding: 0 10px;
  300. background: #1a1a1a;
  301. border-bottom: 1px solid #2f2f2f;
  302. font-weight: bold;
  303. }
  304. .nav-list .separator {
  305. display: block;
  306. height: 0;
  307. margin: 5px 0;
  308. border-bottom: 1px solid #2f2f2f;
  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 #2f2f2f;
  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: #1a1a1a;
  353. border: 1px solid #888;
  354. border-radius: 5px;
  355. text-align: left;
  356. }
  357. .dropdown-menu:after {
  358. content: "";
  359. position: absolute;
  360. top: -6px;
  361. right: 13px;
  362. width: 10px;
  363. height: 10px;
  364. background: #1a1a1a;
  365. border-top: 1px solid #888;
  366. border-left: 1px solid #888;
  367. z-index: -10;
  368. transform: rotate(45deg);
  369. }
  370. .dropdown-header {
  371. display: block;
  372. padding: 0 5px;
  373. color: #888;
  374. font-weight: bold;
  375. font-size: 14px;
  376. line-height: 30px;
  377. }
  378. .dropdown-menu .item {
  379. display: block;
  380. height: 30px;
  381. font-size: 90%;
  382. line-height: 30px;
  383. }
  384. .dropdown-menu > .item > a {
  385. display: block;
  386. padding: 0 25px;
  387. line-height: 30px;
  388. }
  389. .dropdown-menu > .item.share > a {
  390. display: list-item;
  391. list-style-position:inside;
  392. list-style-type:decimal;
  393. }
  394. .dropdown-menu > .item:hover {
  395. background: #26303F;
  396. color: #888;
  397. }
  398. .dropdown-menu > .item:hover > a {
  399. color: #888;
  400. text-decoration: none;
  401. }
  402. .dropdown-menu .input {
  403. display: block;
  404. height: 40px;
  405. font-size: 90%;
  406. line-height: 30px;
  407. }
  408. .dropdown-menu .input select,
  409. .dropdown-menu .input input {
  410. display: block;
  411. height: 20px;
  412. width: 95%;
  413. margin: auto;
  414. padding: 2px 5px;
  415. border-radius: 3px;
  416. }
  417. .dropdown-menu .input select {
  418. width: 70%;
  419. height: auto;
  420. }
  421. .dropdown-menu .separator {
  422. display: block;
  423. height: 0;
  424. margin: 5px 0;
  425. border-bottom: 1px solid #888;
  426. }
  427. .dropdown-target:target ~ .dropdown-menu {
  428. display: block;
  429. z-index: 10;
  430. }
  431. .dropdown-close {
  432. display: inline;
  433. }
  434. .dropdown-close a {
  435. font-size: 0;
  436. position: fixed;
  437. top: 0; bottom: 0;
  438. left: 0; right: 0;
  439. display: block;
  440. z-index: -10;
  441. }
  442. /* ALERTS */
  443. .alert {
  444. display: block;
  445. width: 90%;
  446. margin: 15px auto;
  447. padding: 10px 15px;
  448. background: #1a1a1a;
  449. border: 1px solid #ccc;
  450. border-right: 1px solid #aaa;
  451. border-bottom: 1px solid #aaa;
  452. border-radius: 5px;
  453. color: #aaa;
  454. }
  455. .alert-head {
  456. margin: 0;
  457. font-weight: bold;
  458. font-size: 110%;
  459. }
  460. .alert > a {
  461. color: inherit;
  462. text-decoration: underline;
  463. }
  464. .alert-warn {
  465. border: 1px solid #c95;
  466. color: #c95;
  467. }
  468. .alert-success {
  469. border: 1px solid #484;
  470. color: #484;
  471. }
  472. .alert-error {
  473. border: 1px solid #844;
  474. color: #844;
  475. }
  476. /* ICÔNES */
  477. .icon {
  478. display: inline-block;
  479. width: 16px;
  480. height: 16px;
  481. vertical-align: middle;
  482. line-height: 16px;
  483. }
  484. /* Prompt (centré) */
  485. .prompt {
  486. text-align: center;
  487. }
  488. .prompt label {
  489. text-align: left;
  490. }
  491. .prompt form {
  492. margin: 1em auto 2.5em auto;
  493. width: 10em;
  494. }
  495. .prompt input {
  496. margin: .4em auto 1.1em auto;
  497. width: 100%;
  498. }
  499. .prompt p {
  500. margin: 20px 0;
  501. }