global.css 11 KB

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