global.css 11 KB

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