global.css 10 KB

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