global.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  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 {
  81. width: 180px;
  82. }
  83. textarea {
  84. width: 360px;
  85. height: 100px;
  86. }
  87. input, select, textarea {
  88. display: inline-block;
  89. max-width: 100%;
  90. min-height: 25px;
  91. padding: 5px;
  92. background: #fdfdfd;
  93. border: 1px solid #bbb;
  94. border-radius: 3px;
  95. color: #666;
  96. line-height: 25px;
  97. vertical-align: middle;
  98. box-shadow: 0 2px 2px #eee inset;
  99. }
  100. option {
  101. padding:0 .5em 0 .5em;
  102. }
  103. input[type="radio"],
  104. input[type="checkbox"] {
  105. width: 15px !important;
  106. min-height: 15px !important;
  107. }
  108. input:focus, select:focus, textarea:focus {
  109. color: #0062BE;
  110. border-color: #33BBFF;
  111. box-shadow: 0 2px 2px #DDDDFF inset;
  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: #f4f4f4;
  133. border-top: 1px solid #ddd;
  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 #06f;
  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 input + .btn {
  192. border-top: 1px solid #bbb;
  193. }
  194. .stick .btn + .dropdown > .btn {
  195. border-left: none;
  196. border-radius: 0 3px 3px 0;
  197. }
  198. .stick .btn + .dropdown a {
  199. font-size: 12px;
  200. }
  201. .btn {
  202. display: inline-block;
  203. min-height: 37px;
  204. min-width: 15px;
  205. padding: 5px 10px;
  206. background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  207. border-radius: 3px;
  208. border: 1px solid #ddd;
  209. border-bottom: 1px solid #aaa;
  210. border-right: 1px solid #aaa;
  211. color: #666;
  212. text-shadow: 0px -1px 0 #ddd;
  213. line-height: 20px;
  214. vertical-align: middle;
  215. cursor: pointer;
  216. overflow: hidden;
  217. }
  218. a.btn {
  219. min-height: 25px;
  220. line-height: 25px;
  221. }
  222. .btn:hover {
  223. background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
  224. text-decoration: none;
  225. }
  226. .btn.active,
  227. .btn:active,
  228. .dropdown-target:target ~ .btn.dropdown-toggle {
  229. box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
  230. background: #eee;
  231. }
  232. .btn-important {
  233. background: linear-gradient(to bottom, #0084CC, #0045CC);
  234. color: #fff;
  235. border: 1px solid #0062B7;
  236. text-shadow: 0px -1px 0 #aaa;
  237. }
  238. .btn-important:hover {
  239. background: linear-gradient(to bottom, #0066CC, #0045CC);
  240. }
  241. .btn-important:active {
  242. background: #0044CB;
  243. box-shadow: none;
  244. }
  245. .btn-attention {
  246. background: linear-gradient(to bottom, #E95B57, #BD362F);
  247. color: #fff;
  248. border: 1px solid #C44742;
  249. text-shadow: 0px -1px 0px #666;
  250. }
  251. .btn-attention:hover {
  252. background: linear-gradient(to bottom, #D14641, #BD362F);
  253. }
  254. .btn-attention:active {
  255. background: #BD362F;
  256. box-shadow: none;
  257. }
  258. /* NAVIGATION */
  259. .nav-list .nav-header,
  260. .nav-list .item {
  261. display: block;
  262. height: 35px;
  263. line-height: 35px;
  264. }
  265. .nav-list .item:hover {
  266. background: #fafafa;
  267. }
  268. .nav-list .item:hover a {
  269. color: #003388;
  270. }
  271. .nav-list .item.active {
  272. background: #0062BE;
  273. color: #fff;
  274. }
  275. .nav-list .item.active a {
  276. color: #fff;
  277. }
  278. .nav-list .disable {
  279. color: #aaa;
  280. background: #fafafa;
  281. text-align: center;
  282. }
  283. .nav-list .item > * {
  284. display: block;
  285. padding: 0 10px;
  286. overflow: hidden;
  287. white-space: nowrap;
  288. text-overflow: ellipsis;
  289. }
  290. .nav-list a:hover {
  291. text-decoration: none;
  292. }
  293. .nav-list .item.error a {
  294. color: #BD362F;
  295. }
  296. .nav-list .item.active.error a {
  297. color: #fff;
  298. background: #BD362F;
  299. }
  300. .nav-list .item.empty a {
  301. color: #f39c12;
  302. }
  303. .nav-list .item.active.empty a {
  304. color: #fff;
  305. background: #f39c12;
  306. }
  307. .nav-list .nav-header {
  308. padding: 0 10px;
  309. color: #888;
  310. background: #f4f4f4;
  311. border-bottom: 1px solid #ddd;
  312. font-weight: bold;
  313. text-shadow: 0 0 1px #ddd;
  314. }
  315. .nav-list .separator {
  316. display: block;
  317. height: 0;
  318. margin: 5px 0;
  319. border-bottom: 1px solid #ddd;
  320. }
  321. .nav-list .nav-form {
  322. padding: 3px;
  323. text-align: center;
  324. }
  325. .nav-head {
  326. display: block;
  327. margin: 0;
  328. background: linear-gradient(to bottom, #fff, #f0f0f0);
  329. border-bottom: 1px solid #ddd;
  330. text-align: right;
  331. }
  332. .nav-head .item {
  333. display: inline-block;
  334. padding: 5px 10px;
  335. }
  336. /* HORIZONTAL-LIST */
  337. .horizontal-list {
  338. display: table;
  339. table-layout: fixed;
  340. margin: 0;
  341. padding: 0;
  342. width: 100%;
  343. }
  344. .horizontal-list .item {
  345. display: table-cell;
  346. vertical-align: middle;
  347. }
  348. /* DROPDOWN */
  349. .dropdown {
  350. position: relative;
  351. display: inline-block;
  352. }
  353. .dropdown-target {
  354. display: none;
  355. }
  356. .dropdown-menu {
  357. display: none;
  358. min-width: 200px;
  359. margin: 5px 0 0;
  360. padding: 5px 0;
  361. position: absolute;
  362. right: 0px;
  363. background: #fff;
  364. border: 1px solid #ddd;
  365. border-radius: 5px;
  366. text-align: left;
  367. box-shadow: 3px 3px 3px #ddd;
  368. }
  369. .dropdown-menu:after {
  370. content: "";
  371. position: absolute;
  372. top: -6px;
  373. right: 13px;
  374. width: 10px;
  375. height: 10px;
  376. background: #fff;
  377. border-top: 1px solid #ddd;
  378. border-left: 1px solid #ddd;
  379. z-index: -10;
  380. transform: rotate(45deg);
  381. }
  382. .dropdown-header {
  383. display: block;
  384. padding: 0 5px;
  385. color: #888;
  386. font-weight: bold;
  387. font-size: 14px;
  388. line-height: 30px;
  389. }
  390. .dropdown-menu > .item {
  391. display: block;
  392. height: 30px;
  393. font-size: 90%;
  394. line-height: 30px;
  395. }
  396. .dropdown-menu > .item > a {
  397. display: block;
  398. padding: 0 25px;
  399. line-height: 30px;
  400. }
  401. .dropdown-menu > .item.share > a {
  402. display: list-item;
  403. list-style-position:inside;
  404. list-style-type:decimal;
  405. }
  406. .dropdown-menu > .item:hover {
  407. background: #0062BE;
  408. color: #fff;
  409. }
  410. .dropdown-menu > .item:hover > a {
  411. color: #fff;
  412. text-decoration: none;
  413. }
  414. .dropdown-menu .input {
  415. display: block;
  416. height: 40px;
  417. font-size: 90%;
  418. line-height: 30px;
  419. }
  420. .dropdown-menu .input select,
  421. .dropdown-menu .input input {
  422. display: block;
  423. height: 20px;
  424. width: 95%;
  425. margin: auto;
  426. padding: 2px 5px;
  427. border-radius: 3px;
  428. }
  429. .dropdown-menu .input select {
  430. width: 70%;
  431. height: auto;
  432. }
  433. .dropdown-menu .separator {
  434. display: block;
  435. height: 0;
  436. margin: 5px 0;
  437. border-bottom: 1px solid #ddd;
  438. }
  439. .dropdown-target:target ~ .dropdown-menu {
  440. display: block;
  441. z-index: 10;
  442. }
  443. .dropdown-close {
  444. display: inline;
  445. }
  446. .dropdown-close a {
  447. font-size: 0;
  448. position: fixed;
  449. top: 0; bottom: 0;
  450. left: 0; right: 0;
  451. display: block;
  452. z-index: -10;
  453. }
  454. /* ALERTS */
  455. .alert {
  456. display: block;
  457. width: 90%;
  458. margin: 15px auto;
  459. padding: 10px 15px;
  460. background: #f4f4f4;
  461. border: 1px solid #ccc;
  462. border-right: 1px solid #aaa;
  463. border-bottom: 1px solid #aaa;
  464. border-radius: 5px;
  465. color: #aaa;
  466. text-shadow: 0 0 1px #eee;
  467. }
  468. .alert-head {
  469. margin: 0;
  470. font-weight: bold;
  471. font-size: 110%;
  472. }
  473. .alert > a {
  474. color: inherit;
  475. text-decoration: underline;
  476. }
  477. .alert-warn {
  478. background: #ffe;
  479. border: 1px solid #eeb;
  480. color: #c95;
  481. }
  482. .alert-success {
  483. background: #dfd;
  484. border: 1px solid #cec;
  485. color: #484;
  486. }
  487. .alert-error {
  488. background: #fdd;
  489. border: 1px solid #ecc;
  490. color: #844;
  491. }
  492. /* ICÔNES */
  493. .icon {
  494. display: inline-block;
  495. width: 16px;
  496. height: 16px;
  497. vertical-align: middle;
  498. line-height: 16px;
  499. }
  500. /* Prompt (centré) */
  501. .prompt {
  502. text-align: center;
  503. }
  504. .prompt label {
  505. text-align: left;
  506. }
  507. .prompt form {
  508. margin: 1em auto 2.5em auto;
  509. width: 10em;
  510. }
  511. .prompt input {
  512. margin: .4em auto 1.1em auto;
  513. width: 100%;
  514. }
  515. .prompt p {
  516. margin: 20px 0;
  517. }