global.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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, select, textarea {
  83. display: inline-block;
  84. max-width: 100%;
  85. min-height: 25px;
  86. padding: 5px;
  87. background: #FFF;
  88. border: none;
  89. border-bottom: 3px solid #ddd;
  90. color: #666;
  91. line-height: 25px;
  92. vertical-align: middle;
  93. border-radius: 5px;
  94. }
  95. option {
  96. padding:0 .5em 0 .5em;
  97. }
  98. input[type="radio"],
  99. input[type="checkbox"] {
  100. width: 15px !important;
  101. min-height: 15px !important;
  102. }
  103. input:focus, select:focus, textarea:focus {
  104. color: #333;
  105. border-color: #2980b9;
  106. }
  107. input:invalid, select:invalid {
  108. border-color: red;
  109. box-shadow: 0 0 2px 1px red;
  110. }
  111. .form-group {
  112. margin: 5px 0;
  113. border: 1px solid transparent;
  114. }
  115. .form-group:after {
  116. content: "";
  117. display: block;
  118. clear: both;
  119. }
  120. .form-group:hover {
  121. background: #fff;
  122. border: 1px solid #eee;
  123. border-radius: 3px;
  124. }
  125. .form-group.form-actions {
  126. min-width: 250px;
  127. margin: 20px 0;
  128. padding: 5px 0;
  129. background: #ecf0f1;
  130. border-top: 3px solid #bdc3c7;
  131. border-radius: 5px 5px 0 0;
  132. }
  133. .form-group.form-actions .btn {
  134. margin: 0 10px;
  135. }
  136. .form-group .group-name {
  137. display: block;
  138. float: left;
  139. width: 200px;
  140. padding: 10px 0;
  141. text-align: right;
  142. }
  143. .form-group .group-controls {
  144. min-width: 250px;
  145. min-height: 25px;
  146. margin: 0 0 0 220px;
  147. padding: 5px 0;
  148. }
  149. .form-group .group-controls label {
  150. font-weight: normal;
  151. font-size: 14px;
  152. color: #000;
  153. }
  154. .form-group .group-controls .control {
  155. display: block;
  156. min-height: 30px;
  157. padding: 5px 0;
  158. line-height: 25px;
  159. font-size: 14px;
  160. }
  161. .stick {
  162. display: inline-block;
  163. white-space: nowrap;
  164. font-size: 0px;
  165. vertical-align: middle;
  166. }
  167. .stick .btn,
  168. .stick input {
  169. font-size: 14px;
  170. border-radius: 0;
  171. }
  172. .stick .btn:first-child,
  173. .stick input:first-child {
  174. border-radius: 5px 0 0 5px;
  175. }
  176. .stick .btn:last-child,
  177. .stick input:last-child,
  178. .stick .btn + .dropdown > .btn {
  179. border-radius: 0 5px 5px 0;
  180. }
  181. .stick .btn + .dropdown a {
  182. font-size: 12px;
  183. }
  184. .btn {
  185. display: inline-block;
  186. min-height: 38px;
  187. min-width: 18px;
  188. padding: 5px 10px;
  189. background: #3498db;
  190. border-radius: 5px;
  191. border: none;
  192. border-bottom: 3px solid #2980b9;
  193. color: #fff;
  194. line-height: 20px;
  195. vertical-align: middle;
  196. cursor: pointer;
  197. overflow: hidden;
  198. }
  199. a.btn {
  200. min-height: 25px;
  201. line-height: 25px;
  202. }
  203. .btn.active,
  204. .btn:active,
  205. .btn:hover,
  206. .dropdown-target:target ~ .btn.dropdown-toggle {
  207. background: #2980b9;
  208. text-decoration: none;
  209. }
  210. .btn-important {
  211. background: #e67e22;
  212. color: #fff;
  213. border-bottom: 3px solid #d35400;
  214. }
  215. .btn-important:active,
  216. .btn-important:hover {
  217. background: #d35400;
  218. }
  219. .btn-attention {
  220. background: #e74c3c;
  221. color: #fff;
  222. border-bottom: 3px solid #c0392b;
  223. }
  224. .btn-attention:hover,
  225. .btn-attention:active {
  226. background: #c0392b;
  227. }
  228. /* NAVIGATION */
  229. .nav-list {
  230. border-right: 1px solid #ecf0f1;
  231. }
  232. .nav-list .nav-header,
  233. .nav-list .item {
  234. display: block;
  235. height: 35px;
  236. line-height: 35px;
  237. margin: 5px 0;
  238. }
  239. .nav-list .item:hover,
  240. .nav-list .item.active {
  241. background: #2980b9;
  242. color: #fff;
  243. }
  244. .nav-list .item:hover a,
  245. .nav-list .item.active a {
  246. color: #fff;
  247. }
  248. .nav-list .disable {
  249. color: #aaa;
  250. background: #fafafa;
  251. text-align: center;
  252. }
  253. .nav-list .item > * {
  254. display: block;
  255. padding: 0 10px;
  256. overflow: hidden;
  257. white-space: nowrap;
  258. text-overflow: ellipsis;
  259. }
  260. .nav-list a:hover {
  261. text-decoration: none;
  262. }
  263. .nav-list .item.error a {
  264. color: #BD362F;
  265. }
  266. .nav-list .item:hover.error a,
  267. .nav-list .item.active.error a {
  268. color: #fff;
  269. background: #BD362F;
  270. }
  271. .nav-list .item.empty a {
  272. color: #f39c12;
  273. }
  274. .nav-list .item:hover.empty a,
  275. .nav-list .item.active.empty a {
  276. color: #fff;
  277. background: #f39c12;
  278. }
  279. .nav-list .nav-header {
  280. padding: 0 10px;
  281. margin: 0;
  282. color: #fff;
  283. background: #34495e;
  284. font-weight: bold;
  285. }
  286. .nav-list .separator {
  287. display: block;
  288. height: 0;
  289. margin: 5px 0;
  290. border-bottom: 1px solid #ddd;
  291. }
  292. .nav-list .nav-form {
  293. padding: 3px;
  294. text-align: center;
  295. }
  296. .nav-head {
  297. display: block;
  298. margin: 0;
  299. background: #34495e;
  300. color: #fff;
  301. text-align: right;
  302. }
  303. .nav-head a {
  304. color: #fff;
  305. }
  306. .nav-head .item {
  307. display: inline-block;
  308. padding: 5px 10px;
  309. }
  310. /* HORIZONTAL-LIST */
  311. .horizontal-list {
  312. display: table;
  313. table-layout: fixed;
  314. margin: 0;
  315. padding: 0;
  316. width: 100%;
  317. }
  318. .horizontal-list .item {
  319. display: table-cell;
  320. vertical-align: middle;
  321. }
  322. /* DROPDOWN */
  323. .dropdown {
  324. position: relative;
  325. display: inline-block;
  326. }
  327. .dropdown-target {
  328. display: none;
  329. }
  330. .dropdown-menu {
  331. display: none;
  332. min-width: 200px;
  333. margin: 5px 0 0;
  334. padding: 5px 0;
  335. position: absolute;
  336. right: 0px;
  337. background: #fff;
  338. border: 1px solid #95a5a6;
  339. border-radius: 3px;
  340. text-align: left;
  341. }
  342. .dropdown-menu:after {
  343. content: "";
  344. position: absolute;
  345. top: -6px;
  346. right: 13px;
  347. width: 10px;
  348. height: 10px;
  349. background: #fff;
  350. border-top: 1px solid #95a5a6;
  351. border-left: 1px solid #95a5a6;
  352. z-index: -10;
  353. transform: rotate(45deg);
  354. }
  355. .dropdown-header {
  356. display: block;
  357. padding: 0 5px;
  358. color: #34495e;
  359. font-weight: bold;
  360. font-size: 14px;
  361. line-height: 30px;
  362. }
  363. .dropdown-menu .item {
  364. display: block;
  365. height: 30px;
  366. font-size: 90%;
  367. line-height: 30px;
  368. }
  369. .dropdown-menu .item.selected{
  370. background: #2980b9;
  371. }
  372. .dropdown-menu .item.selected a{
  373. background: #2980b9;
  374. color: #fff;
  375. }
  376. .dropdown-menu .item > * {
  377. display: block;
  378. padding: 0 25px;
  379. line-height: 30px;
  380. }
  381. .dropdown-menu .item:hover {
  382. background: #2980b9;
  383. color: #fff;
  384. }
  385. .dropdown-menu .item:hover > * {
  386. color: #fff;
  387. text-decoration: none;
  388. }
  389. .dropdown-menu .input {
  390. display: block;
  391. height: 40px;
  392. font-size: 90%;
  393. line-height: 30px;
  394. }
  395. .dropdown-menu label {
  396. font-weight: normal;
  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 #95a5a6;
  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: #f4f4f4;
  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. text-shadow: 0 0 1px #eee;
  445. }
  446. .alert-head {
  447. margin: 0;
  448. font-weight: bold;
  449. font-size: 110%;
  450. }
  451. .alert-warn {
  452. background: #ffe;
  453. border: 1px solid #eeb;
  454. color: #c95;
  455. }
  456. .alert-success {
  457. background: #dfd;
  458. border: 1px solid #cec;
  459. color: #484;
  460. }
  461. .alert-error {
  462. background: #fdd;
  463. border: 1px solid #ecc;
  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. }