global.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  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: #2980b9;
  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: inline-block;
  65. margin: 20px 0 5px;
  66. padding: 5px 20px;
  67. font-size: 150%;
  68. clear: both;
  69. background: #ecf0f1;
  70. border-radius: 20px;
  71. }
  72. label {
  73. display: block;
  74. min-height: 25px;
  75. padding: 5px 0;
  76. font-size: 12px;
  77. line-height: 25px;
  78. cursor: pointer;
  79. font-weight: bold;
  80. color: #444;
  81. }
  82. input {
  83. width: 180px;
  84. }
  85. textarea {
  86. width: 360px;
  87. height: 100px;
  88. }
  89. input, select, textarea {
  90. display: inline-block;
  91. max-width: 100%;
  92. min-height: 25px;
  93. padding: 5px;
  94. background: #FFF;
  95. border: none;
  96. border-bottom: 3px solid #ddd;
  97. color: #666;
  98. line-height: 25px;
  99. vertical-align: middle;
  100. border-radius: 5px;
  101. }
  102. option {
  103. padding:0 .5em 0 .5em;
  104. }
  105. input[type="radio"],
  106. input[type="checkbox"] {
  107. width: 15px !important;
  108. min-height: 15px !important;
  109. }
  110. input:focus, select:focus, textarea:focus {
  111. color: #333;
  112. border-color: #2980b9;
  113. }
  114. input:invalid, select:invalid {
  115. border-color: red;
  116. box-shadow: 0 0 2px 1px red;
  117. }
  118. input:focus.extend {
  119. width: 300px;
  120. transition: width 200ms linear;
  121. }
  122. .form-group {
  123. margin: 5px 0;
  124. border: 1px solid transparent;
  125. }
  126. .form-group:after {
  127. content: "";
  128. display: block;
  129. clear: both;
  130. }
  131. .form-group:hover {
  132. background: #fff;
  133. border: 1px solid #eee;
  134. border-radius: 3px;
  135. }
  136. .form-group.form-actions {
  137. min-width: 250px;
  138. margin: 20px 0;
  139. padding: 5px 0;
  140. background: #ecf0f1;
  141. border-top: 3px solid #bdc3c7;
  142. border-radius: 5px 5px 0 0;
  143. }
  144. .form-group.form-actions .btn {
  145. margin: 0 10px;
  146. }
  147. .form-group .group-name {
  148. display: block;
  149. float: left;
  150. width: 200px;
  151. padding: 10px 0;
  152. text-align: right;
  153. }
  154. .form-group .group-controls {
  155. min-width: 250px;
  156. min-height: 25px;
  157. margin: 0 0 0 220px;
  158. padding: 5px 0;
  159. }
  160. .form-group .group-controls label {
  161. font-weight: normal;
  162. font-size: 14px;
  163. color: #000;
  164. }
  165. .form-group .group-controls .control {
  166. display: block;
  167. min-height: 30px;
  168. padding: 5px 0;
  169. line-height: 25px;
  170. font-size: 14px;
  171. }
  172. .stick {
  173. display: inline-block;
  174. white-space: nowrap;
  175. font-size: 0px;
  176. vertical-align: middle;
  177. }
  178. .stick .btn,
  179. .stick input {
  180. font-size: 14px;
  181. border-radius: 0;
  182. }
  183. .stick .btn:first-child,
  184. .stick input:first-child {
  185. border-radius: 5px 0 0 5px;
  186. }
  187. .stick .btn:last-child,
  188. .stick input:last-child,
  189. .stick .btn + .dropdown > .btn {
  190. border-radius: 0 5px 5px 0;
  191. }
  192. .stick .btn + .dropdown a {
  193. font-size: 12px;
  194. }
  195. .btn {
  196. display: inline-block;
  197. min-height: 38px;
  198. min-width: 18px;
  199. padding: 5px 10px;
  200. background: #3498db;
  201. border-radius: 5px;
  202. border: none;
  203. border-bottom: 3px solid #2980b9;
  204. color: #fff;
  205. line-height: 20px;
  206. vertical-align: middle;
  207. cursor: pointer;
  208. overflow: hidden;
  209. }
  210. a.btn {
  211. min-height: 25px;
  212. line-height: 25px;
  213. }
  214. .btn.active,
  215. .btn:active,
  216. .btn:hover,
  217. .dropdown-target:target ~ .btn.dropdown-toggle {
  218. background: #2980b9;
  219. text-decoration: none;
  220. }
  221. .btn-important {
  222. background: #e67e22;
  223. color: #fff;
  224. border-bottom: 3px solid #d35400;
  225. }
  226. .btn-important:active,
  227. .btn-important:hover {
  228. background: #d35400;
  229. }
  230. .btn-attention {
  231. background: #e74c3c;
  232. color: #fff;
  233. border-bottom: 3px solid #c0392b;
  234. }
  235. .btn-attention:hover,
  236. .btn-attention:active {
  237. background: #c0392b;
  238. }
  239. /* NAVIGATION */
  240. .nav-list {
  241. border-right: 1px solid #ecf0f1;
  242. }
  243. .nav-list .nav-header,
  244. .nav-list .item {
  245. display: block;
  246. height: 35px;
  247. line-height: 35px;
  248. margin: 5px 0;
  249. }
  250. .nav-list .item:hover,
  251. .nav-list .item.active {
  252. background: #2980b9;
  253. color: #fff;
  254. }
  255. .nav-list .item:hover a,
  256. .nav-list .item.active a {
  257. color: #fff;
  258. }
  259. .nav-list .disable {
  260. color: #aaa;
  261. background: #fafafa;
  262. text-align: center;
  263. }
  264. .nav-list .item > * {
  265. display: block;
  266. padding: 0 10px;
  267. overflow: hidden;
  268. white-space: nowrap;
  269. text-overflow: ellipsis;
  270. }
  271. .nav-list a:hover {
  272. text-decoration: none;
  273. }
  274. .nav-list .item.error a {
  275. color: #BD362F;
  276. }
  277. .nav-list .item:hover.error a,
  278. .nav-list .item.active.error a {
  279. color: #fff;
  280. background: #BD362F;
  281. }
  282. .nav-list .item.empty a {
  283. color: #f39c12;
  284. }
  285. .nav-list .item:hover.empty a,
  286. .nav-list .item.active.empty a {
  287. color: #fff;
  288. background: #f39c12;
  289. }
  290. .nav-list .nav-header {
  291. padding: 0 10px;
  292. margin: 0;
  293. color: #fff;
  294. background: #34495e;
  295. font-weight: bold;
  296. }
  297. .nav-list .separator {
  298. display: block;
  299. height: 0;
  300. margin: 5px 0;
  301. border-bottom: 1px solid #ddd;
  302. }
  303. .nav-list .nav-form {
  304. padding: 3px;
  305. text-align: center;
  306. }
  307. .nav-head {
  308. display: block;
  309. margin: 0;
  310. background: #34495e;
  311. color: #fff;
  312. text-align: right;
  313. }
  314. .nav-head a {
  315. color: #fff;
  316. }
  317. .nav-head .item {
  318. display: inline-block;
  319. padding: 5px 10px;
  320. }
  321. /* HORIZONTAL-LIST */
  322. .horizontal-list {
  323. display: table;
  324. table-layout: fixed;
  325. margin: 0;
  326. padding: 0;
  327. width: 100%;
  328. }
  329. .horizontal-list .item {
  330. display: table-cell;
  331. vertical-align: middle;
  332. }
  333. /* DROPDOWN */
  334. .dropdown {
  335. position: relative;
  336. display: inline-block;
  337. }
  338. .dropdown-target {
  339. display: none;
  340. }
  341. .dropdown-menu {
  342. display: none;
  343. min-width: 200px;
  344. margin: 5px 0 0;
  345. padding: 5px 0;
  346. position: absolute;
  347. right: 0px;
  348. background: #fff;
  349. border: 1px solid #95a5a6;
  350. border-radius: 3px;
  351. text-align: left;
  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 #95a5a6;
  362. border-left: 1px solid #95a5a6;
  363. z-index: -10;
  364. transform: rotate(45deg);
  365. }
  366. .dropdown-header {
  367. display: block;
  368. padding: 0 5px;
  369. color: #34495e;
  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 > a {
  381. display: block;
  382. padding: 0 25px;
  383. line-height: 30px;
  384. }
  385. .dropdown-menu > .item.share > a {
  386. display: list-item;
  387. list-style-position:inside;
  388. list-style-type:decimal;
  389. }
  390. .dropdown-menu > .item:hover > a {
  391. background: #2980b9;
  392. color: #fff;
  393. }
  394. .dropdown-menu > .item:hover > a {
  395. color: #fff;
  396. text-decoration: none;
  397. }
  398. .dropdown-menu .input {
  399. display: block;
  400. height: 40px;
  401. font-size: 90%;
  402. line-height: 30px;
  403. }
  404. .dropdown-menu label {
  405. font-weight: normal;
  406. }
  407. .dropdown-menu .input select,
  408. .dropdown-menu .input input {
  409. display: block;
  410. height: 20px;
  411. width: 95%;
  412. margin: auto;
  413. padding: 2px 5px;
  414. border-radius: 3px;
  415. }
  416. .dropdown-menu .input select {
  417. width: 70%;
  418. height: auto;
  419. }
  420. .dropdown-menu .separator {
  421. display: block;
  422. height: 0;
  423. margin: 5px 0;
  424. border-bottom: 1px solid #95a5a6;
  425. }
  426. .dropdown-target:target ~ .dropdown-menu {
  427. display: block;
  428. z-index: 10;
  429. }
  430. .dropdown-close {
  431. display: inline;
  432. }
  433. .dropdown-close a {
  434. font-size: 0;
  435. position: fixed;
  436. top: 0; bottom: 0;
  437. left: 0; right: 0;
  438. display: block;
  439. z-index: -10;
  440. }
  441. /* ALERTS */
  442. .alert {
  443. display: block;
  444. width: 90%;
  445. margin: 15px auto;
  446. padding: 10px 15px;
  447. background: #f4f4f4;
  448. border: 1px solid #ccc;
  449. border-right: 1px solid #aaa;
  450. border-bottom: 1px solid #aaa;
  451. border-radius: 5px;
  452. color: #aaa;
  453. text-shadow: 0 0 1px #eee;
  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. background: #ffe;
  466. border: 1px solid #eeb;
  467. color: #c95;
  468. }
  469. .alert-success {
  470. background: #dfd;
  471. border: 1px solid #cec;
  472. color: #484;
  473. }
  474. .alert-error {
  475. background: #fdd;
  476. border: 1px solid #ecc;
  477. color: #844;
  478. }
  479. /* ICÔNES */
  480. .icon {
  481. display: inline-block;
  482. width: 16px;
  483. height: 16px;
  484. vertical-align: middle;
  485. line-height: 16px;
  486. }
  487. /* Prompt (centré) */
  488. .prompt {
  489. text-align: center;
  490. }
  491. .prompt label {
  492. text-align: left;
  493. }
  494. .prompt form {
  495. margin: 1em auto 2.5em auto;
  496. width: 10em;
  497. }
  498. .prompt input {
  499. margin: .4em auto 1.1em auto;
  500. width: 100%;
  501. }
  502. .prompt p {
  503. margin: 20px 0;
  504. }