styles.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. /**
  2. * Pack d'icônes
  3. */
  4. @font-face {
  5. font-family: 'icomoon';
  6. src: url('fonts/icomoon.eot?q7b5dg');
  7. src: url('fonts/icomoon.eot?q7b5dg#iefix') format('embedded-opentype'),
  8. url('fonts/icomoon.ttf?q7b5dg') format('truetype'),
  9. url('fonts/icomoon.woff?q7b5dg') format('woff'),
  10. url('fonts/icomoon.svg?q7b5dg#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-menu:before {
  28. content: "\e9bd";
  29. }
  30. .icon-cloud-upload:before {
  31. content: "\e9c3";
  32. }
  33. .icon-plus:before {
  34. content: "\ea0a";
  35. }
  36. .icon-cross:before {
  37. content: "\ea0f";
  38. }
  39. .icon-checkmark:before {
  40. content: "\ea10";
  41. }
  42. /**
  43. * Styles généraux
  44. */
  45. /**
  46. * Grosse font pour le vidéo-proj
  47. */
  48. body {
  49. font-size: 100%;
  50. font-family: Arial, Helvetica;
  51. }
  52. /**
  53. * Styles des panneaux gauche-droite
  54. */
  55. /*#left-panel,
  56. #right-panel {
  57. font-family: Arial, Helvetica;
  58. position: absolute;
  59. top: 0;
  60. bottom: 0;
  61. }
  62. #left-panel {
  63. background: #fff;
  64. border-right: 1px solid #aaa;
  65. right: 39%;
  66. left: 0;
  67. }
  68. #right-panel {
  69. background: #f4f4f4;
  70. left: 59%;
  71. right: 0;
  72. }*/
  73. /* jQuery resizable: https://codepen.io/rstrahl/pen/eJZQej */
  74. /* horizontal panel*/
  75. html, body {
  76. height: 100%;
  77. }
  78. .panel-container {
  79. display: flex;
  80. flex-direction: row;
  81. border: 1px solid silver;
  82. overflow: hidden;
  83. height: 100%;
  84. /* avoid browser level touch actions */
  85. xtouch-action: none;
  86. }
  87. .panel-left {
  88. position: relative;
  89. flex: 0 0 auto;
  90. /* only manually resize */
  91. /*padding: 10px;*/
  92. width: 50%;
  93. /*min-height: 200px;*/
  94. height: 100%;
  95. min-width: 150px;
  96. white-space: nowrap;
  97. background: #fff;
  98. color: #555;
  99. }
  100. .splitter {
  101. flex: 0 0 auto;
  102. width: 18px;
  103. background: url(../img/vsizegrip.png) center center no-repeat #ddd;
  104. min-height: 200px;
  105. cursor: col-resize;
  106. }
  107. .panel-right {
  108. flex: 1 1 auto;
  109. /* resizable */
  110. padding: 10px;
  111. width: 100%;
  112. height: 100%;
  113. overflow-y: scroll;
  114. border: none;
  115. min-width: 200px;
  116. background: #eee;
  117. }
  118. .panel-inner {
  119. padding: 10px;
  120. }
  121. #site-menu{ position: fixed;top:0;right:0; }
  122. /*.panel-left nav,
  123. #add-example-form {
  124. display: inline-block;
  125. }
  126. .panel-left nav ul {
  127. padding-left: 0;
  128. margin: 0;
  129. }
  130. .panel-left nav ul li {
  131. display: inline-block;
  132. }*/
  133. #notification {
  134. color: black;
  135. position: absolute;
  136. top: -100px;
  137. right: 10px;
  138. transition: top 1s;
  139. border-radius: 3px;
  140. padding: 3px;
  141. }
  142. #notification.active {
  143. top: 5px;
  144. }
  145. #notification.error {
  146. border: 1px solid #d42;
  147. background: #ffe8e0;
  148. }
  149. #notification.success {
  150. border: 1px solid #2d4;
  151. background: #e0ffe8;
  152. }
  153. /**
  154. * Styles généraux: liens, boutons, ...
  155. */
  156. a {
  157. text-decoration: none;
  158. color: #59d;
  159. }
  160. a:hover {
  161. text-decoration: none;
  162. color: #37b;
  163. }
  164. button {
  165. padding: 10px;
  166. border: none;
  167. border-radius: 3px;
  168. background: #fff;
  169. color: #555;
  170. }
  171. button a {
  172. color: #fff;
  173. }
  174. button.active {
  175. background: #9ad;
  176. }
  177. button:hover {
  178. opacity: 0.6;
  179. }
  180. #editor-js,
  181. #editor-html,
  182. #editor-css {
  183. /*display: none;*/
  184. position: absolute;
  185. top: 510px;
  186. }
  187. /**
  188. * Styles pour l'éditeur Ace
  189. */
  190. #editor {
  191. font-size: 90%;
  192. position: absolute;
  193. top: 120px;
  194. /*right: 500px;*/
  195. bottom: 0;
  196. left: 0;
  197. width: 100%;
  198. border-top: 1px solid #aaa;
  199. border-bottom: 1px solid #aaa;
  200. }
  201. #navbar {
  202. height: 49px;
  203. border-bottom: 1px solid #ddd;
  204. font-size: 26px;
  205. }
  206. #navbar button:hover {
  207. color: #777;
  208. }
  209. #nav-menus {
  210. position: absolute;
  211. top: 50px;
  212. bottom: 0;
  213. left: 0;
  214. width: 0;
  215. overflow: hidden;
  216. transition: all 0.2s;
  217. z-index: 100;
  218. color: #000;
  219. background: rgba(248, 248, 248, 1);
  220. padding: 0;
  221. }
  222. .cat-title {
  223. text-transform: uppercase;
  224. }
  225. #nav-menus.in {
  226. width: 540px;
  227. padding: 10px;
  228. }
  229. #nav-menus.in .pure-u-1 {
  230. padding: 10px;
  231. box-sizing: border-box;
  232. }
  233. #nav-menus ul {
  234. padding-left: 0;
  235. margin-top: 5px;
  236. }
  237. /* Menus de nav */
  238. #nav-menus {
  239. }
  240. #nav-menus li {
  241. list-style-type: none;
  242. }
  243. #menu-example {
  244. overflow:
  245. }
  246. #menu-example > li {
  247. display: block;
  248. float:left;
  249. vertical-align: top;
  250. width: 50%;
  251. }
  252. .nav-menu a {
  253. color: #58c;
  254. }
  255. .nav-menu a:hover {
  256. color: #7af;
  257. }
  258. #tabs {
  259. /*font-size: 16px;*/
  260. position: absolute;
  261. top: 70px;
  262. left: 0;
  263. }
  264. #tabs li {
  265. border-top: 1px solid #ddd;
  266. border-left: 1px solid #ddd;
  267. border-right: 1px solid #ddd;
  268. display: inline;
  269. box-sizing: border-box;
  270. padding: 4px 8px;
  271. }
  272. .tab-html {
  273. background: #cef;
  274. }
  275. .tab-js {
  276. background: #ffb;
  277. }
  278. .tab-css {
  279. background: #fce;
  280. }