global.css 10 KB

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