global.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  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: #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, video {
  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 !important;
  84. min-height: 15px !important;
  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. overflow: hidden;
  181. }
  182. a.btn {
  183. min-height: 25px;
  184. line-height: 25px;
  185. }
  186. .btn:hover {
  187. background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
  188. text-decoration: none;
  189. }
  190. .btn.active,
  191. .btn:active {
  192. box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
  193. background: #eee;
  194. }
  195. .btn.btn-important {
  196. background: linear-gradient(to bottom, #0084CC, #0045CC);
  197. color: #fff;
  198. border: 1px solid #0062B7;
  199. text-shadow: 0px -1px 0 #aaa;
  200. }
  201. .btn.btn-important:hover {
  202. background: linear-gradient(to bottom, #0066CC, #0045CC);
  203. }
  204. .btn.btn-important:active {
  205. background: #0044CB;
  206. box-shadow: none;
  207. }
  208. .btn.btn-attention {
  209. background: linear-gradient(to bottom, #E95B57, #BD362F);
  210. color: #fff;
  211. border: 1px solid #C44742;
  212. text-shadow: 0px -1px 0px #666;
  213. }
  214. .btn.btn-attention:hover {
  215. background: linear-gradient(to bottom, #D14641, #BD362F);
  216. }
  217. .btn.btn-attention:active {
  218. background: #BD362F;
  219. box-shadow: none;
  220. }
  221. /* NAVIGATION */
  222. .nav.nav-list .nav-header,
  223. .nav.nav-list .item {
  224. display: block;
  225. height: 35px;
  226. line-height: 35px;
  227. }
  228. .nav.nav-list .item:hover {
  229. background: #fafafa;
  230. }
  231. .nav.nav-list .item:hover a {
  232. color: #003388;
  233. }
  234. .nav.nav-list .item.active {
  235. background: #0062BE;
  236. color: #fff;
  237. }
  238. .nav.nav-list .item.active a {
  239. color: #fff;
  240. }
  241. .nav.nav-list .disable {
  242. color: #aaa;
  243. background: #fafafa;
  244. text-align: center;
  245. }
  246. .nav.nav-list .item > * {
  247. display: block;
  248. padding: 0 10px;
  249. overflow: hidden;
  250. white-space: nowrap;
  251. text-overflow: ellipsis;
  252. }
  253. .nav.nav-list a:hover {
  254. text-decoration: none;
  255. }
  256. .nav.nav-list .item.error a {
  257. color: #BD362F;
  258. }
  259. .nav.nav-list .item.active.error a {
  260. color: #fff;
  261. background: #BD362F;
  262. }
  263. .nav.nav-list .nav-header {
  264. padding: 0 10px;
  265. color: #888;
  266. background: #f4f4f4;
  267. border-bottom: 1px solid #ddd;
  268. font-weight: bold;
  269. text-shadow: 0 0 1px #ddd;
  270. }
  271. .nav.nav-list .separator {
  272. display: block;
  273. height: 0;
  274. margin: 5px 0;
  275. border-bottom: 1px solid #ddd;
  276. }
  277. .nav.nav-list .nav-form {
  278. padding: 3px;
  279. text-align: center;
  280. }
  281. .nav-head {
  282. display: block;
  283. margin: 0;
  284. background: linear-gradient(to bottom, #fff, #f0f0f0);
  285. border-bottom: 1px solid #ddd;
  286. text-align: right;
  287. }
  288. .nav-head .item {
  289. display: inline-block;
  290. padding: 5px 10px;
  291. }
  292. /* HORIZONTAL-LIST */
  293. .horizontal-list {
  294. display: table;
  295. table-layout: fixed;
  296. margin: 0;
  297. padding: 0;
  298. width: 100%;
  299. }
  300. .horizontal-list .item {
  301. display: table-cell;
  302. vertical-align: middle;
  303. }
  304. /* DROPDOWN */
  305. .dropdown {
  306. position: relative;
  307. display: inline-block;
  308. }
  309. .dropdown .dropdown-target {
  310. display: none;
  311. }
  312. .dropdown .dropdown-menu {
  313. display: none;
  314. min-width: 200px;
  315. margin: 5px 0 0;
  316. padding: 5px 0;
  317. position: absolute;
  318. right: 0px;
  319. background: #fff;
  320. border: 1px solid #ddd;
  321. border-radius: 5px;
  322. text-align: left;
  323. box-shadow: 3px 3px 3px #ddd;
  324. }
  325. .dropdown .dropdown-menu .dropdown-header {
  326. display: block;
  327. padding: 0 5px;
  328. color: #888;
  329. font-weight: bold;
  330. font-size: 14px;
  331. line-height: 30px;
  332. }
  333. .dropdown .dropdown-menu .item {
  334. display: block;
  335. height: 30px;
  336. font-size: 90%;
  337. line-height: 30px;
  338. }
  339. .dropdown .dropdown-menu .item > * {
  340. display: block;
  341. padding: 0 25px;
  342. line-height: 30px;
  343. }
  344. .dropdown .dropdown-menu .item:hover {
  345. background: #0062BE;
  346. color: #fff;
  347. }
  348. .dropdown .dropdown-menu .item:hover > * {
  349. color: #fff;
  350. text-decoration: none;
  351. }
  352. .dropdown .dropdown-menu .input {
  353. display: block;
  354. height: 40px;
  355. font-size: 90%;
  356. line-height: 30px;
  357. }
  358. .dropdown .dropdown-menu .input input {
  359. display: block;
  360. height: 20px;
  361. width: 95%;
  362. margin: auto;
  363. padding: 2px 5px;
  364. border-radius: 3px;
  365. }
  366. .dropdown .dropdown-menu .separator {
  367. display: block;
  368. height: 0;
  369. margin: 5px 0;
  370. border-bottom: 1px solid #ddd;
  371. }
  372. .dropdown .dropdown-target:target ~ .dropdown-menu {
  373. display: block;
  374. z-index: 10;
  375. }
  376. .dropdown .dropdown-close {
  377. display: inline-block;
  378. position: absolute;
  379. top: -16px; right: -16px;
  380. width: 26px;
  381. height: 26px;
  382. background: #fff;
  383. border-radius: 50px;
  384. border: 1px solid #ddd;
  385. line-height: 26px;
  386. text-align: center;
  387. }
  388. .dropdown .dropdown-close a {
  389. display: block;
  390. width: 100%;
  391. height: 100%;
  392. }
  393. .dropdown .dropdown-close:hover {
  394. background: #f4f4f4;
  395. }
  396. /* ALERTS */
  397. .alert {
  398. display: block;
  399. width: 90%;
  400. margin: 15px auto;
  401. padding: 10px 15px;
  402. background: #f4f4f4;
  403. border: 1px solid #ccc;
  404. border-right: 1px solid #aaa;
  405. border-bottom: 1px solid #aaa;
  406. border-radius: 5px;
  407. color: #aaa;
  408. text-shadow: 0 0 1px #eee;
  409. }
  410. .alert .alert-head {
  411. margin: 0;
  412. font-weight: bold;
  413. font-size: 110%;
  414. }
  415. .alert.alert-warn {
  416. background: #ffe;
  417. border: 1px solid #eeb;
  418. color: #c95;
  419. }
  420. .alert.alert-success {
  421. background: #dfd;
  422. border: 1px solid #cec;
  423. color: #484;
  424. }
  425. .alert.alert-error {
  426. background: #fdd;
  427. border: 1px solid #ecc;
  428. color: #844;
  429. }
  430. /* ICONES */
  431. .icon {
  432. display: inline-block;
  433. width: 16px;
  434. height: 16px;
  435. vertical-align: middle;
  436. line-height: 16px;
  437. background: center center no-repeat;
  438. }
  439. .icon.i_refresh {
  440. background-image: url("icons/refresh.png");
  441. background-image: url("icons/refresh.svg");
  442. }
  443. .icon.i_bookmark {
  444. background-image: url("icons/starred.png");
  445. background-image: url("icons/starred.svg");
  446. }
  447. .icon.i_not_bookmark {
  448. background-image: url("icons/unstarred.png");
  449. background-image: url("icons/unstarred.svg");
  450. }
  451. .icon.i_read {
  452. background-image: url("icons/read.png");
  453. background-image: url("icons/read.svg");
  454. }
  455. .icon.i_unread {
  456. background-image: url("icons/unread.png");
  457. background-image: url("icons/unread.svg");
  458. }
  459. .icon.i_all {
  460. background-image: url("icons/all.png");
  461. background-image: url("icons/all.svg");
  462. }
  463. .icon.i_close {
  464. background-image: url("icons/close.png");
  465. background-image: url("icons/close.svg");
  466. }
  467. .icon.i_search {
  468. background-image: url("icons/search.png");
  469. background-image: url("icons/search.svg");
  470. }
  471. .icon.i_configure {
  472. background-image: url("icons/configure.png");
  473. background-image: url("icons/configure.svg");
  474. }
  475. .icon.i_login {
  476. background-image: url("icons/login.png");
  477. background-image: url("icons/login.svg");
  478. }
  479. .icon.i_logout {
  480. background-image: url("icons/logout.png");
  481. background-image: url("icons/logout.svg");
  482. }
  483. .icon.i_add {
  484. background-image: url("icons/add.png");
  485. background-image: url("icons/add.svg");
  486. }
  487. .icon.i_link {
  488. background-image: url("icons/link.png");
  489. background-image: url("icons/link.svg");
  490. }
  491. .icon.i_down {
  492. background-image: url("icons/down.png");
  493. background-image: url("icons/down.svg");
  494. }
  495. .icon.i_up {
  496. background-image: url("icons/up.png");
  497. background-image: url("icons/up.svg");
  498. }
  499. .icon.i_next {
  500. background-image: url("icons/next.png");
  501. background-image: url("icons/next.svg");
  502. }
  503. .icon.i_prev {
  504. background-image: url("icons/previous.png");
  505. background-image: url("icons/previous.svg");
  506. }
  507. .icon.i_help {
  508. background-image: url("icons/help.png");
  509. background-image: url("icons/help.svg");
  510. }
  511. .icon.i_note {
  512. background-image: url("icons/note.png");
  513. background-image: url("icons/note.svg");
  514. }
  515. .icon.i_note_empty {
  516. background-image: url("icons/note_empty.png");
  517. background-image: url("icons/note_empty.svg");
  518. }
  519. .icon.i_category {
  520. background-image: url("icons/category.png");
  521. background-image: url("icons/category.svg");
  522. }
  523. .icon.i_rss {
  524. background-image: url("icons/rss.png");
  525. background-image: url("icons/rss.svg");
  526. }
  527. .icon.i_share {
  528. background-image: url("icons/share.png");
  529. background-image: url("icons/share.svg");
  530. }
  531. .icon.i_tag {
  532. background-image: url("icons/tag.png");
  533. background-image: url("icons/tag.svg");
  534. }