global.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  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 .nav-header {
  252. padding: 0 10px;
  253. color: #888;
  254. background: #f4f4f4;
  255. border-bottom: 1px solid #ddd;
  256. font-weight: bold;
  257. text-shadow: 0 0 1px #ddd;
  258. }
  259. .nav.nav-list .separator {
  260. display: block;
  261. height: 0;
  262. margin: 5px 0;
  263. border-bottom: 1px solid #ddd;
  264. }
  265. .nav.nav-list .nav-form {
  266. padding: 3px;
  267. text-align: center;
  268. }
  269. .nav-head {
  270. display: block;
  271. margin: 0;
  272. background: linear-gradient(to bottom, #fff, #f0f0f0);
  273. border-bottom: 1px solid #ddd;
  274. text-align: right;
  275. }
  276. .nav-head .item {
  277. display: inline-block;
  278. padding: 5px 10px;
  279. }
  280. /* HORIZONTAL-LIST */
  281. .horizontal-list {
  282. display: table;
  283. table-layout: fixed;
  284. margin: 0;
  285. padding: 0;
  286. width: 100%;
  287. }
  288. .horizontal-list .item {
  289. display: table-cell;
  290. vertical-align: middle;
  291. }
  292. /* DROPDOWN */
  293. .dropdown {
  294. position: relative;
  295. display: inline-block;
  296. }
  297. .dropdown .dropdown-target {
  298. display: none;
  299. }
  300. .dropdown .dropdown-menu {
  301. display: none;
  302. min-width: 200px;
  303. margin: 5px 0 0;
  304. padding: 5px 0;
  305. position: absolute;
  306. right: 0px;
  307. background: #fff;
  308. border: 1px solid #ddd;
  309. border-radius: 5px;
  310. text-align: left;
  311. box-shadow: 3px 3px 3px #ddd;
  312. }
  313. .dropdown .dropdown-menu .dropdown-header {
  314. display: block;
  315. padding: 0 5px;
  316. color: #888;
  317. font-weight: bold;
  318. font-size: 14px;
  319. line-height: 30px;
  320. }
  321. .dropdown .dropdown-menu .item {
  322. display: block;
  323. height: 30px;
  324. font-size: 90%;
  325. line-height: 30px;
  326. }
  327. .dropdown .dropdown-menu .item > * {
  328. display: block;
  329. padding: 0 25px;
  330. line-height: 30px;
  331. }
  332. .dropdown .dropdown-menu .item:hover {
  333. background: #0062BE;
  334. color: #fff;
  335. }
  336. .dropdown .dropdown-menu .item:hover > * {
  337. color: #fff;
  338. text-decoration: none;
  339. }
  340. .dropdown .dropdown-menu .input {
  341. display: block;
  342. height: 40px;
  343. font-size: 90%;
  344. line-height: 30px;
  345. }
  346. .dropdown .dropdown-menu .input input {
  347. display: block;
  348. height: 20px;
  349. width: 95%;
  350. margin: auto;
  351. padding: 2px 5px;
  352. border-radius: 3px;
  353. }
  354. .dropdown .dropdown-menu .separator {
  355. display: block;
  356. height: 0;
  357. margin: 5px 0;
  358. border-bottom: 1px solid #ddd;
  359. }
  360. .dropdown .dropdown-target:target ~ .dropdown-menu {
  361. display: block;
  362. z-index: 10;
  363. }
  364. .dropdown .dropdown-close {
  365. display: inline-block;
  366. position: absolute;
  367. top: -16px; right: -16px;
  368. width: 16px;
  369. height: 16px;
  370. padding: 5px;
  371. background: #fff;
  372. border-radius: 50px;
  373. border: 1px solid #ddd;
  374. line-height: 16px;
  375. text-align: center;
  376. }
  377. .dropdown .dropdown-close:hover {
  378. background: #f4f4f4;
  379. }
  380. /* ALERTS */
  381. .alert {
  382. display: block;
  383. width: 90%;
  384. margin: 15px auto;
  385. padding: 10px 15px;
  386. background: #f4f4f4;
  387. border: 1px solid #ccc;
  388. border-right: 1px solid #aaa;
  389. border-bottom: 1px solid #aaa;
  390. border-radius: 5px;
  391. color: #aaa;
  392. text-shadow: 0 0 1px #eee;
  393. }
  394. .alert .alert-head {
  395. margin: 0;
  396. font-weight: bold;
  397. font-size: 110%;
  398. }
  399. .alert.alert-warn {
  400. background: #ffe;
  401. border: 1px solid #eeb;
  402. color: #c95;
  403. }
  404. .alert.alert-success {
  405. background: #dfd;
  406. border: 1px solid #cec;
  407. color: #484;
  408. }
  409. .alert.alert-error {
  410. background: #fdd;
  411. border: 1px solid #ecc;
  412. color: #844;
  413. }
  414. /* ICONES */
  415. .icon {
  416. display: inline-block;
  417. width: 16px;
  418. height: 16px;
  419. vertical-align: middle;
  420. line-height: 16px;
  421. background: center center no-repeat;
  422. }
  423. .icon.i_refresh {
  424. background-image: url("icons/refresh.png");
  425. background-image: url("icons/refresh.svg");
  426. }
  427. .icon.i_bookmark {
  428. background-image: url("icons/starred.png");
  429. background-image: url("icons/starred.svg");
  430. }
  431. .icon.i_not_bookmark {
  432. background-image: url("icons/unstarred.png");
  433. background-image: url("icons/unstarred.svg");
  434. }
  435. .icon.i_read {
  436. background-image: url("icons/read.png");
  437. background-image: url("icons/read.svg");
  438. }
  439. .icon.i_unread {
  440. background-image: url("icons/unread.png");
  441. background-image: url("icons/unread.svg");
  442. }
  443. .icon.i_all {
  444. background-image: url("icons/all.png");
  445. background-image: url("icons/all.svg");
  446. }
  447. .icon.i_close {
  448. background-image: url("icons/close.png");
  449. background-image: url("icons/close.svg");
  450. }
  451. .icon.i_search {
  452. background-image: url("icons/search.png");
  453. background-image: url("icons/search.svg");
  454. }
  455. .icon.i_configure {
  456. background-image: url("icons/configure.png");
  457. background-image: url("icons/configure.svg");
  458. }
  459. .icon.i_login {
  460. background-image: url("icons/login.png");
  461. background-image: url("icons/login.svg");
  462. }
  463. .icon.i_logout {
  464. background-image: url("icons/logout.png");
  465. background-image: url("icons/logout.svg");
  466. }
  467. .icon.i_add {
  468. background-image: url("icons/add.png");
  469. background-image: url("icons/add.svg");
  470. }
  471. .icon.i_link {
  472. background-image: url("icons/link.png");
  473. background-image: url("icons/link.svg");
  474. }
  475. .icon.i_down {
  476. background-image: url("icons/down.png");
  477. background-image: url("icons/down.svg");
  478. }
  479. .icon.i_up {
  480. background-image: url("icons/up.png");
  481. background-image: url("icons/up.svg");
  482. }
  483. .icon.i_help {
  484. background-image: url("icons/help.png");
  485. background-image: url("icons/help.svg");
  486. }
  487. .icon.i_note {
  488. background-image: url("icons/note.png");
  489. background-image: url("icons/note.svg");
  490. }
  491. .icon.i_note_empty {
  492. background-image: url("icons/note_empty.png");
  493. background-image: url("icons/note_empty.svg");
  494. }
  495. .icon.i_category {
  496. background-image: url("icons/category.png");
  497. background-image: url("icons/category.svg");
  498. }
  499. .icon.i_rss {
  500. background-image: url("icons/rss.png");
  501. background-image: url("icons/rss.svg");
  502. }
  503. .icon.i_share {
  504. background-image: url("icons/share.png");
  505. background-image: url("icons/share.svg");
  506. }
  507. .icon.i_tag {
  508. background-image: url("icons/tag.png");
  509. background-image: url("icons/tag.svg");
  510. }