global.css 8.0 KB

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