styles.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /**
  2. * Pack d'icônes
  3. */
  4. @font-face {
  5. font-family: 'icomoon';
  6. src: url('fonts/icomoon.eot?vcoix9');
  7. src: url('fonts/icomoon.eot?vcoix9#iefix') format('embedded-opentype'),
  8. url('fonts/icomoon.ttf?vcoix9') format('truetype'),
  9. url('fonts/icomoon.woff?vcoix9') format('woff'),
  10. url('fonts/icomoon.svg?vcoix9#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-plus:before {
  28. content: "\ea0a";
  29. }
  30. .icon-cross:before {
  31. content: "\ea0f";
  32. }
  33. .icon-checkmark:before {
  34. content: "\ea10";
  35. }
  36. /**
  37. * Styles généraux
  38. */
  39. /**
  40. * Grosse font pour le vidéo-proj
  41. */
  42. body {
  43. font-size: 130%;
  44. }
  45. /**
  46. * Styles des panneaux gauche-droite
  47. */
  48. #left-panel,
  49. #right-panel {
  50. font-family: Arial, Helvetica;
  51. position: absolute;
  52. top: 0;
  53. bottom: 0;
  54. }
  55. #left-panel {
  56. background: #fff;
  57. border-right: 1px solid #aaa;
  58. right: 40%;
  59. left: 0;
  60. }
  61. #right-panel {
  62. background: #f4f4f4;
  63. left: 60%;
  64. right: 0;
  65. }
  66. .panel-inner {
  67. padding: 10px;
  68. }
  69. #left-panel nav,
  70. #add-example-form {
  71. display: inline-block;
  72. }
  73. #left-panel nav ul {
  74. padding-left: 0;
  75. margin: 0;
  76. }
  77. #left-panel nav ul li {
  78. display: inline-block;
  79. }
  80. #notification {
  81. position: absolute;
  82. top: -100px;
  83. right: 10px;
  84. transition: top 1s;
  85. border-radius: 3px;
  86. padding: 3px;
  87. }
  88. #notification.active {
  89. top: 5px;
  90. }
  91. #notification.error {
  92. border: 1px solid #d42;
  93. background: #ffe8e0;
  94. }
  95. #notification.success {
  96. border: 1px solid #2d4;
  97. background: #e0ffe8;
  98. }
  99. /**
  100. * Styles généraux: liens, boutons, ...
  101. */
  102. a {
  103. text-decoration: none;
  104. color: #59d;
  105. }
  106. button a {
  107. color: #fff;
  108. }
  109. button.active {
  110. background: #9ad;
  111. }
  112. #editor-js,#editor-html {
  113. /*display: none;*/
  114. position: absolute;
  115. top: 510px;
  116. }
  117. /**
  118. * Styles pour l'éditeur Ace
  119. */
  120. #editor {
  121. font-size: 90%;
  122. position: absolute;
  123. top: 90px;
  124. right: 0;
  125. bottom: 0; /*200px;*/
  126. left: 0;
  127. border-top: 1px solid #aaa;
  128. border-bottom: 1px solid #aaa;
  129. }
  130. .container {
  131. margin: 50px auto;
  132. background: #fff;
  133. border: 1px solid #ddd;
  134. padding: 30px;
  135. width: 96%;
  136. border-radius: 4px;
  137. box-sizing: border-box;
  138. /*max-width: 600px;*/
  139. }
  140. input[type="submit"],
  141. button {
  142. padding: 10px;
  143. color: white;
  144. border: none;
  145. border-radius: 3px;
  146. }
  147. .blue {
  148. background: #24d;
  149. }
  150. .red {
  151. background: #d42;
  152. }
  153. .green {
  154. background: #4b2;
  155. }
  156. select,
  157. input {
  158. border: 1px solid #ddd;
  159. padding: 12px;
  160. border-radius: 3px;
  161. }
  162. input.input-sm {
  163. padding: 6px;
  164. font-size: 70%;
  165. }
  166. select {
  167. background: #fcfcfc;
  168. }
  169. a,
  170. button {
  171. margin: 5px;
  172. box-sizing: border-box;
  173. }
  174. .bordure-flashy {
  175. border: 2px solid red;
  176. }
  177. #html-content h5 {
  178. margin: 20px 0 5px 0;
  179. }
  180. #html-content p {
  181. margin: 10px 0;
  182. }
  183. button.rounded {
  184. padding: 0;
  185. width: 32px;
  186. height: 32px;
  187. border-radius: 16px;
  188. }
  189. /**
  190. * Styles communs pour les différents exemples
  191. */
  192. a.active {
  193. font-weight: bold;
  194. color: #48c;
  195. }