global.css 11 KB

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