global.css 11 KB

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