global.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. /* FONTS */
  2. @font-face {
  3. font-family: "OpenSans";
  4. src: url("fonts/openSans.woff") format("woff");
  5. }
  6. * {
  7. margin: 0;
  8. padding: 0;
  9. }
  10. html, body {
  11. height: 100%;
  12. font-size: 95%;
  13. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "sans-serif";
  14. }
  15. /* LIENS */
  16. a {
  17. color: #2980b9;
  18. text-decoration: none;
  19. }
  20. a:hover {
  21. text-decoration: underline;
  22. }
  23. /* LISTES */
  24. ul, ol, dl {
  25. margin: 10px 0 10px 30px;
  26. line-height: 190%;
  27. }
  28. dd {
  29. margin: 0 0 10px 30px;
  30. }
  31. /* TITRES */
  32. h1, h2, h3 {
  33. min-height: 40px;
  34. margin: 15px 0 5px;
  35. line-height: 40px;
  36. }
  37. /* IMG */
  38. figure {
  39. margin: 5px 0 10px;
  40. text-align: center;
  41. }
  42. figcaption {
  43. display: inline-block;
  44. padding: 3px 20px;
  45. color: #999;
  46. font-style: italic;
  47. border-bottom: 1px solid #ccc;
  48. }
  49. img {
  50. height: auto;
  51. max-width: 100%;
  52. vertical-align: middle;
  53. }
  54. a img {
  55. border: none;
  56. }
  57. /* VIDEOS */
  58. iframe, embed, object, video {
  59. max-width: 100%;
  60. }
  61. /* FORMULAIRES */
  62. legend {
  63. display: inline-block;
  64. margin: 20px 0 5px;
  65. padding: 5px 20px;
  66. font-size: 150%;
  67. clear: both;
  68. background: #ecf0f1;
  69. border-radius: 20px;
  70. }
  71. label {
  72. display: block;
  73. min-height: 25px;
  74. padding: 5px 0;
  75. font-size: 12px;
  76. line-height: 25px;
  77. cursor: pointer;
  78. font-weight: bold;
  79. color: #444;
  80. }
  81. input, select, textarea {
  82. display: inline-block;
  83. max-width: 100%;
  84. min-height: 25px;
  85. padding: 5px;
  86. background: #FFF;
  87. border: none;
  88. border-bottom: 3px solid #ddd;
  89. color: #666;
  90. line-height: 25px;
  91. vertical-align: middle;
  92. }
  93. input[type="radio"],
  94. input[type="checkbox"] {
  95. width: 15px !important;
  96. min-height: 15px !important;
  97. }
  98. input:focus, select:focus, textarea:focus {
  99. color: #333;
  100. border-color: #2980b9;
  101. }
  102. .form-group {
  103. margin: 5px 0;
  104. border: 1px solid transparent;
  105. }
  106. .form-group:after {
  107. content: "";
  108. display: block;
  109. clear: both;
  110. }
  111. .form-group:hover {
  112. background: #fff;
  113. border: 1px solid #eee;
  114. border-radius: 3px;
  115. }
  116. .form-group.form-actions {
  117. min-width: 250px;
  118. margin: 20px 0;
  119. padding: 5px 0;
  120. background: #ecf0f1;
  121. border-top: 3px solid #bdc3c7;
  122. border-radius: 5px 5px 0 0;
  123. }
  124. .form-group.form-actions .btn {
  125. margin: 0 10px;
  126. }
  127. .form-group .group-name {
  128. display: block;
  129. float: left;
  130. width: 200px;
  131. padding: 10px 0;
  132. text-align: right;
  133. }
  134. .form-group .group-controls {
  135. min-width: 250px;
  136. min-height: 25px;
  137. margin: 0 0 0 220px;
  138. padding: 5px 0;
  139. }
  140. .form-group .group-controls label {
  141. font-weight: normal;
  142. font-size: 14px;
  143. color: #000;
  144. }
  145. .form-group .group-controls .control {
  146. display: block;
  147. min-height: 30px;
  148. padding: 5px 0;
  149. line-height: 25px;
  150. font-size: 14px;
  151. }
  152. .stick {
  153. display: inline-block;
  154. white-space: nowrap;
  155. font-size: 0px;
  156. vertical-align: middle;
  157. }
  158. .stick input {
  159. font-size: 14px;
  160. }
  161. .stick .btn {
  162. border-radius: 0;
  163. font-size: 14px;
  164. }
  165. .stick .btn:first-child {
  166. border-radius: 5px 0 0 5px;
  167. }
  168. .stick .btn:last-child {
  169. border-radius: 0 5px 5px 0;
  170. }
  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:hover {
  197. background: #2980b9;
  198. text-decoration: none;
  199. }
  200. .btn.active,
  201. .btn:active {
  202. background: #2980b9;
  203. }
  204. .btn.btn-important {
  205. background: #e67e22;
  206. color: #fff;
  207. border-bottom: 3px solid #d35400;
  208. }
  209. .btn.btn-important:hover {
  210. background: #d35400;
  211. }
  212. .btn.btn-important:active {
  213. background: #d35400;
  214. }
  215. .btn.btn-attention {
  216. background: #e74c3c;
  217. color: #fff;
  218. border-bottom: 3px solid #c0392b;
  219. }
  220. .btn.btn-attention:hover {
  221. background: #c0392b;
  222. }
  223. .btn.btn-attention:active {
  224. background: #c0392b;
  225. }
  226. /* NAVIGATION */
  227. .nav.nav-list {
  228. border-right: 1px solid #ecf0f1;
  229. }
  230. .nav.nav-list .nav-header,
  231. .nav.nav-list .item {
  232. display: block;
  233. height: 35px;
  234. line-height: 35px;
  235. margin: 5px 0;
  236. }
  237. .nav.nav-list .item:hover,
  238. .nav.nav-list .item.active {
  239. background: #2980b9;
  240. color: #fff;
  241. }
  242. .nav.nav-list .item:hover a,
  243. .nav.nav-list .item.active a {
  244. color: #fff;
  245. }
  246. .nav.nav-list .disable {
  247. color: #aaa;
  248. background: #fafafa;
  249. text-align: center;
  250. }
  251. .nav.nav-list .item > * {
  252. display: block;
  253. padding: 0 10px;
  254. overflow: hidden;
  255. white-space: nowrap;
  256. text-overflow: ellipsis;
  257. }
  258. .nav.nav-list a:hover {
  259. text-decoration: none;
  260. }
  261. .nav.nav-list .item.error a {
  262. color: #BD362F;
  263. }
  264. .nav.nav-list .item.active.error a {
  265. color: #fff;
  266. background: #BD362F;
  267. }
  268. .nav.nav-list .nav-header {
  269. padding: 0 10px;
  270. margin: 0;
  271. color: #fff;
  272. background: #34495e;
  273. font-weight: bold;
  274. }
  275. .nav.nav-list .separator {
  276. display: block;
  277. height: 0;
  278. margin: 5px 0;
  279. border-bottom: 1px solid #ddd;
  280. }
  281. .nav.nav-list .nav-form {
  282. padding: 3px;
  283. text-align: center;
  284. }
  285. .nav-head {
  286. display: block;
  287. margin: 0;
  288. background: #34495e;
  289. color: #fff;
  290. text-align: right;
  291. }
  292. .nav-head a {
  293. color: #fff;
  294. }
  295. .nav-head .item {
  296. display: inline-block;
  297. padding: 5px 10px;
  298. }
  299. /* HORIZONTAL-LIST */
  300. .horizontal-list {
  301. display: table;
  302. table-layout: fixed;
  303. margin: 0;
  304. padding: 0;
  305. width: 100%;
  306. }
  307. .horizontal-list .item {
  308. display: table-cell;
  309. vertical-align: middle;
  310. }
  311. /* DROPDOWN */
  312. .dropdown {
  313. position: relative;
  314. display: inline-block;
  315. }
  316. .dropdown .dropdown-target {
  317. display: none;
  318. }
  319. .dropdown .dropdown-menu {
  320. display: none;
  321. min-width: 200px;
  322. margin: 5px 0 0;
  323. padding: 5px 0;
  324. position: absolute;
  325. right: 0px;
  326. background: #fff;
  327. border: 1px solid #95a5a6;
  328. border-radius: 3px;
  329. text-align: left;
  330. }
  331. .dropdown .dropdown-menu .dropdown-header {
  332. display: block;
  333. padding: 0 5px;
  334. color: #34495e;
  335. font-weight: bold;
  336. font-size: 14px;
  337. line-height: 30px;
  338. }
  339. .dropdown .dropdown-menu .item {
  340. display: block;
  341. height: 30px;
  342. font-size: 90%;
  343. line-height: 30px;
  344. }
  345. .dropdown .dropdown-menu .item > * {
  346. display: block;
  347. padding: 0 25px;
  348. line-height: 30px;
  349. }
  350. .dropdown .dropdown-menu .item:hover {
  351. background: #2980b9;
  352. color: #fff;
  353. }
  354. .dropdown .dropdown-menu .item:hover > * {
  355. color: #fff;
  356. text-decoration: none;
  357. }
  358. .dropdown .dropdown-menu .input {
  359. display: block;
  360. height: 40px;
  361. font-size: 90%;
  362. line-height: 30px;
  363. }
  364. .dropdown .dropdown-menu label {
  365. font-weight: normal;
  366. }
  367. .dropdown .dropdown-menu .input select,
  368. .dropdown .dropdown-menu .input input {
  369. display: block;
  370. height: 20px;
  371. width: 95%;
  372. margin: auto;
  373. padding: 2px 5px;
  374. border-radius: 3px;
  375. }
  376. .dropdown .dropdown-menu .input select {
  377. width: 70%;
  378. height: auto;
  379. }
  380. .dropdown .dropdown-menu .separator {
  381. display: block;
  382. height: 0;
  383. margin: 5px 0;
  384. border-bottom: 1px solid #95a5a6;
  385. }
  386. .dropdown .dropdown-target:target ~ .dropdown-menu {
  387. display: block;
  388. z-index: 10;
  389. }
  390. .dropdown .dropdown-close {
  391. display: inline-block;
  392. position: absolute;
  393. top: -10px; right: -10px;
  394. width: 26px;
  395. height: 26px;
  396. background: #95a5a6;
  397. line-height: 24px;
  398. text-align: center;
  399. border-radius: 3px;
  400. }
  401. .dropdown .dropdown-close a {
  402. display: block;
  403. width: 100%;
  404. height: 100%;
  405. }
  406. .dropdown .dropdown-close:hover {
  407. background: #7f8c8d;
  408. }
  409. /* ALERTS */
  410. .alert {
  411. display: block;
  412. width: 90%;
  413. margin: 15px auto;
  414. padding: 10px 15px;
  415. background: #f4f4f4;
  416. border: 1px solid #ccc;
  417. border-right: 1px solid #aaa;
  418. border-bottom: 1px solid #aaa;
  419. border-radius: 5px;
  420. color: #aaa;
  421. text-shadow: 0 0 1px #eee;
  422. }
  423. .alert .alert-head {
  424. margin: 0;
  425. font-weight: bold;
  426. font-size: 110%;
  427. }
  428. .alert.alert-warn {
  429. background: #ffe;
  430. border: 1px solid #eeb;
  431. color: #c95;
  432. }
  433. .alert.alert-success {
  434. background: #dfd;
  435. border: 1px solid #cec;
  436. color: #484;
  437. }
  438. .alert.alert-error {
  439. background: #fdd;
  440. border: 1px solid #ecc;
  441. color: #844;
  442. }
  443. /* ICONES */
  444. .icon {
  445. display: inline-block;
  446. width: 16px;
  447. height: 16px;
  448. vertical-align: middle;
  449. line-height: 16px;
  450. background: center center no-repeat;
  451. }
  452. .icon.i_refresh {
  453. background-image: url("icons/refresh.png");
  454. background-image: url("icons/refresh.svg");
  455. }
  456. .icon.i_bookmark {
  457. background-image: url("icons/starred.png");
  458. background-image: url("icons/starred.svg");
  459. }
  460. .icon.i_not_bookmark {
  461. background-image: url("icons/unstarred.png");
  462. background-image: url("icons/unstarred.svg");
  463. }
  464. .icon.i_read {
  465. background-image: url("icons/read.png");
  466. background-image: url("icons/read.svg");
  467. }
  468. .icon.i_unread {
  469. background-image: url("icons/unread.png");
  470. background-image: url("icons/unread.svg");
  471. }
  472. .icon.i_all {
  473. background-image: url("icons/all.png");
  474. background-image: url("icons/all.svg");
  475. }
  476. .icon.i_close {
  477. background-image: url("icons/close.png");
  478. background-image: url("icons/close.svg");
  479. }
  480. .icon.i_search {
  481. background-image: url("icons/search.png");
  482. background-image: url("icons/search.svg");
  483. }
  484. .icon.i_configure {
  485. background-image: url("icons/configure.png");
  486. background-image: url("icons/configure.svg");
  487. }
  488. .icon.i_login {
  489. background-image: url("icons/login.png");
  490. background-image: url("icons/login.svg");
  491. }
  492. .icon.i_logout {
  493. background-image: url("icons/logout.png");
  494. background-image: url("icons/logout.svg");
  495. }
  496. .icon.i_add {
  497. background-image: url("icons/add.png");
  498. background-image: url("icons/add.svg");
  499. }
  500. .icon.i_link {
  501. background-image: url("icons/link.png");
  502. background-image: url("icons/link.svg");
  503. }
  504. .icon.i_down {
  505. background-image: url("icons/down.png");
  506. background-image: url("icons/down.svg");
  507. }
  508. .icon.i_up {
  509. background-image: url("icons/up.png");
  510. background-image: url("icons/up.svg");
  511. }
  512. .icon.i_next {
  513. background-image: url("icons/next.png");
  514. background-image: url("icons/next.svg");
  515. }
  516. .icon.i_prev {
  517. background-image: url("icons/previous.png");
  518. background-image: url("icons/previous.svg");
  519. }
  520. .icon.i_help {
  521. background-image: url("icons/help.png");
  522. background-image: url("icons/help.svg");
  523. }
  524. .icon.i_note {
  525. background-image: url("icons/note.png");
  526. background-image: url("icons/note.svg");
  527. }
  528. .icon.i_note_empty {
  529. background-image: url("icons/note_empty.png");
  530. background-image: url("icons/note_empty.svg");
  531. }
  532. .icon.i_category {
  533. background-image: url("icons/category.png");
  534. background-image: url("icons/category.svg");
  535. }
  536. .icon.i_rss {
  537. background-image: url("icons/rss.png");
  538. background-image: url("icons/rss.svg");
  539. }
  540. .icon.i_share {
  541. background-image: url("icons/share.png");
  542. background-image: url("icons/share.svg");
  543. }
  544. .icon.i_tag {
  545. background-image: url("icons/tag.png");
  546. background-image: url("icons/tag.svg");
  547. }