styles.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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: 39%;
  62. left: 0;
  63. }
  64. #right-panel {
  65. background: #f4f4f4;
  66. left: 59%;
  67. right: 0;
  68. }*/
  69. /* jQuery resizable: https://codepen.io/rstrahl/pen/eJZQej */
  70. /* horizontal panel*/
  71. .panel-container {
  72. display: flex;
  73. flex-direction: row;
  74. border: 1px solid silver;
  75. overflow: hidden;
  76. height: 100%;
  77. /* avoid browser level touch actions */
  78. xtouch-action: none;
  79. }
  80. .panel-left {
  81. flex: 0 0 auto;
  82. /* only manually resize */
  83. padding: 10px;
  84. width: 50%;
  85. /*min-height: 200px;*/
  86. height: 100%;
  87. min-width: 150px;
  88. white-space: nowrap;
  89. background: #fff;
  90. color: white;
  91. }
  92. .splitter {
  93. flex: 0 0 auto;
  94. width: 18px;
  95. background: url(../img/vsizegrip.png) center center no-repeat #ddd;
  96. min-height: 200px;
  97. cursor: col-resize;
  98. }
  99. .panel-right {
  100. flex: 1 1 auto;
  101. /* resizable */
  102. padding: 10px;
  103. width: 100%;
  104. height: 100%;
  105. overflow-y: scroll;
  106. min-width: 200px;
  107. background: #eee;
  108. }
  109. .panel-inner {
  110. padding: 10px;
  111. }
  112. .panel-left nav,
  113. #add-example-form {
  114. display: inline-block;
  115. }
  116. .panel-left nav ul {
  117. padding-left: 0;
  118. margin: 0;
  119. }
  120. .panel-left nav ul li {
  121. display: inline-block;
  122. }
  123. #notification {
  124. position: absolute;
  125. top: -100px;
  126. right: 10px;
  127. transition: top 1s;
  128. border-radius: 3px;
  129. padding: 3px;
  130. }
  131. #notification.active {
  132. top: 5px;
  133. }
  134. #notification.error {
  135. border: 1px solid #d42;
  136. background: #ffe8e0;
  137. }
  138. #notification.success {
  139. border: 1px solid #2d4;
  140. background: #e0ffe8;
  141. }
  142. /**
  143. * Styles généraux: liens, boutons, ...
  144. */
  145. a {
  146. text-decoration: none;
  147. color: #59d;
  148. }
  149. button a {
  150. color: #fff;
  151. }
  152. button.active {
  153. background: #9ad;
  154. }
  155. button:hover {
  156. opacity: 0.6;
  157. }
  158. #editor-js,#editor-html {
  159. /*display: none;*/
  160. position: absolute;
  161. top: 510px;
  162. }
  163. /**
  164. * Styles pour l'éditeur Ace
  165. */
  166. #editor {
  167. font-size: 90%;
  168. position: absolute;
  169. top: 90px;
  170. right: 500px;
  171. bottom: 0;
  172. left: 0;
  173. border-top: 1px solid #aaa;
  174. border-bottom: 1px solid #aaa;
  175. }
  176. .container {
  177. margin: 20px auto;
  178. background: #fff;
  179. border: 1px solid #ddd;
  180. padding: 30px;
  181. width: 96%;
  182. border-radius: 4px;
  183. box-sizing: border-box;
  184. /*max-width: 600px;*/
  185. }
  186. input[type="submit"],
  187. button {
  188. padding: 10px;
  189. color: white;
  190. border: none;
  191. border-radius: 3px;
  192. }
  193. .blue {
  194. background: #24d;
  195. }
  196. .red {
  197. background: #d42;
  198. }
  199. .green {
  200. background: #4b2;
  201. }
  202. select,
  203. input {
  204. border: 1px solid #ddd;
  205. padding: 12px;
  206. border-radius: 3px;
  207. }
  208. input.input-sm {
  209. padding: 6px;
  210. font-size: 70%;
  211. }
  212. select {
  213. background: #fcfcfc;
  214. }
  215. a,
  216. button {
  217. margin: 5px;
  218. box-sizing: border-box;
  219. }
  220. .bordure-flashy {
  221. border: 2px solid red;
  222. }
  223. #html-content h5 {
  224. margin: 20px 0 5px 0;
  225. }
  226. #html-content p {
  227. margin: 10px 0;
  228. }
  229. button.d {
  230. padding: 0;
  231. width: 32px;
  232. height: 32px;
  233. border-radius: 16px;
  234. }
  235. /**
  236. * Styles communs pour les différents exemples
  237. */
  238. a.active {
  239. font-weight: bold;
  240. color: #48c;
  241. }
  242. .cyan {
  243. background: #6ff;
  244. }
  245. .magenta {
  246. background: #f6f;
  247. }
  248. .yellow {
  249. background: #ff6;
  250. color: #444;
  251. }
  252. .orange {
  253. background: #eb6;
  254. }
  255. .bold-text {
  256. font-weight: bold;
  257. }
  258. .underlined-text {
  259. text-decoration: underline;
  260. }
  261. .text-green {
  262. color: #4b2;
  263. }
  264. .text-red {
  265. color: #b42;
  266. }
  267. .table {
  268. border-collapse: collapse;
  269. }
  270. .table tr td {
  271. border: 1px solid #aaa;
  272. padding: 2px;
  273. }
  274. #qunit-header,
  275. #qunit-testrunner-toolbar {
  276. display: none;
  277. }