styles.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. /**
  2. * Pack d'icônes
  3. */
  4. @font-face {
  5. font-family: 'icomoon';
  6. src: url('fonts/icomoon.eot?xjk54g');
  7. src: url('fonts/icomoon.eot?xjk54g#iefix') format('embedded-opentype'),
  8. url('fonts/icomoon.ttf?xjk54g') format('truetype'),
  9. url('fonts/icomoon.woff?xjk54g') format('woff'),
  10. url('fonts/icomoon.svg?xjk54g#icomoon') format('svg');
  11. font-weight: normal;
  12. font-style: normal;
  13. }
  14. [class^="icon-"], [class*=" icon-"] {
  15. /* use !important to prevent issues with browser extensions that change fonts */
  16. font-family: 'icomoon' !important;
  17. speak: none;
  18. font-style: normal;
  19. font-weight: normal;
  20. font-variant: normal;
  21. text-transform: none;
  22. line-height: 1;
  23. /* Better Font Rendering =========== */
  24. -webkit-font-smoothing: antialiased;
  25. -moz-osx-font-smoothing: grayscale;
  26. }
  27. .icon-cloud-upload:before {
  28. content: "\e9c3";
  29. }
  30. .icon-plus:before {
  31. content: "\ea0a";
  32. }
  33. .icon-cross:before {
  34. content: "\ea0f";
  35. }
  36. .icon-checkmark:before {
  37. content: "\ea10";
  38. }
  39. /**
  40. * Styles généraux
  41. */
  42. /**
  43. * Grosse font pour le vidéo-proj
  44. */
  45. body {
  46. font-size: 130%;
  47. }
  48. /**
  49. * Styles des panneaux gauche-droite
  50. */
  51. #left-panel,
  52. #right-panel {
  53. font-family: Arial, Helvetica;
  54. position: absolute;
  55. top: 0;
  56. bottom: 0;
  57. }
  58. #left-panel {
  59. background: #fff;
  60. border-right: 1px solid #aaa;
  61. right: 40%;
  62. left: 0;
  63. }
  64. #right-panel {
  65. background: #f4f4f4;
  66. left: 60%;
  67. right: 0;
  68. }
  69. .panel-inner {
  70. padding: 10px;
  71. }
  72. #left-panel nav,
  73. #add-example-form {
  74. display: inline-block;
  75. }
  76. #left-panel nav ul {
  77. padding-left: 0;
  78. margin: 0;
  79. }
  80. #left-panel nav ul li {
  81. display: inline-block;
  82. }
  83. #notification {
  84. position: absolute;
  85. top: -100px;
  86. right: 10px;
  87. transition: top 1s;
  88. border-radius: 3px;
  89. padding: 3px;
  90. }
  91. #notification.active {
  92. top: 5px;
  93. }
  94. #notification.error {
  95. border: 1px solid #d42;
  96. background: #ffe8e0;
  97. }
  98. #notification.success {
  99. border: 1px solid #2d4;
  100. background: #e0ffe8;
  101. }
  102. /**
  103. * Styles généraux: liens, boutons, ...
  104. */
  105. a {
  106. text-decoration: none;
  107. color: #59d;
  108. }
  109. button a {
  110. color: #fff;
  111. }
  112. button.active {
  113. background: #9ad;
  114. }
  115. button:hover {
  116. opacity: 0.6;
  117. }
  118. #editor-js,#editor-html {
  119. /*display: none;*/
  120. position: absolute;
  121. top: 510px;
  122. }
  123. /**
  124. * Styles pour l'éditeur Ace
  125. */
  126. #editor {
  127. font-size: 90%;
  128. position: absolute;
  129. top: 90px;
  130. right: 0;
  131. bottom: 0; /*200px;*/
  132. left: 0;
  133. border-top: 1px solid #aaa;
  134. border-bottom: 1px solid #aaa;
  135. }
  136. .container {
  137. margin: 20px auto;
  138. background: #fff;
  139. border: 1px solid #ddd;
  140. padding: 30px;
  141. width: 96%;
  142. border-radius: 4px;
  143. box-sizing: border-box;
  144. /*max-width: 600px;*/
  145. }
  146. input[type="submit"],
  147. button {
  148. padding: 10px;
  149. color: white;
  150. border: none;
  151. border-radius: 3px;
  152. }
  153. .blue {
  154. background: #24d;
  155. }
  156. .red {
  157. background: #d42;
  158. }
  159. .green {
  160. background: #4b2;
  161. }
  162. select,
  163. input {
  164. border: 1px solid #ddd;
  165. padding: 12px;
  166. border-radius: 3px;
  167. }
  168. input.input-sm {
  169. padding: 6px;
  170. font-size: 70%;
  171. }
  172. select {
  173. background: #fcfcfc;
  174. }
  175. a,
  176. button {
  177. margin: 5px;
  178. box-sizing: border-box;
  179. }
  180. .bordure-flashy {
  181. border: 2px solid red;
  182. }
  183. #html-content h5 {
  184. margin: 20px 0 5px 0;
  185. }
  186. #html-content p {
  187. margin: 10px 0;
  188. }
  189. button.rounded {
  190. padding: 0;
  191. width: 32px;
  192. height: 32px;
  193. border-radius: 16px;
  194. }
  195. /**
  196. * Styles communs pour les différents exemples
  197. */
  198. a.active {
  199. font-weight: bold;
  200. color: #48c;
  201. }
  202. .cyan {
  203. background: #6ff;
  204. }
  205. .magenta {
  206. background: #f6f;
  207. }
  208. .yellow {
  209. background: #ff6;
  210. color: #444;
  211. }
  212. .orange {
  213. background: #eb6;
  214. }
  215. .bold-text {
  216. font-weight: bold;
  217. }
  218. .underlined-text {
  219. text-decoration: underline;
  220. }
  221. .text-green {
  222. color: #4b2;
  223. }
  224. .text-red {
  225. color: #b42;
  226. }
  227. .table {
  228. border-collapse: collapse;
  229. }
  230. .table tr td {
  231. border: 1px solid #aaa;
  232. padding: 2px;
  233. }
  234. #qunit-header,
  235. #qunit-testrunner-toolbar {
  236. display: none;
  237. }