global.css 8.0 KB

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