styles.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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: 130%;
  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. .panel-container {
  76. display: flex;
  77. flex-direction: row;
  78. border: 1px solid silver;
  79. overflow: hidden;
  80. height: 100%;
  81. /* avoid browser level touch actions */
  82. xtouch-action: none;
  83. }
  84. .panel-left {
  85. flex: 0 0 auto;
  86. /* only manually resize */
  87. padding: 10px;
  88. width: 50%;
  89. /*min-height: 200px;*/
  90. height: 100%;
  91. min-width: 150px;
  92. white-space: nowrap;
  93. background: #fff;
  94. color: white;
  95. }
  96. .splitter {
  97. flex: 0 0 auto;
  98. width: 18px;
  99. background: url(../img/vsizegrip.png) center center no-repeat #ddd;
  100. min-height: 200px;
  101. cursor: col-resize;
  102. }
  103. .panel-right {
  104. flex: 1 1 auto;
  105. /* resizable */
  106. padding: 10px;
  107. width: 100%;
  108. height: 100%;
  109. overflow-y: scroll;
  110. border: none;
  111. min-width: 200px;
  112. background: #eee;
  113. }
  114. .panel-inner {
  115. padding: 10px;
  116. }
  117. #site-menu{ position: fixed;top:0;right:0; }
  118. /*.panel-left nav,
  119. #add-example-form {
  120. display: inline-block;
  121. }
  122. .panel-left nav ul {
  123. padding-left: 0;
  124. margin: 0;
  125. }
  126. .panel-left nav ul li {
  127. display: inline-block;
  128. }*/
  129. #notification {
  130. color: black;
  131. position: absolute;
  132. top: -100px;
  133. right: 10px;
  134. transition: top 1s;
  135. border-radius: 3px;
  136. padding: 3px;
  137. }
  138. #notification.active {
  139. top: 5px;
  140. }
  141. #notification.error {
  142. border: 1px solid #d42;
  143. background: #ffe8e0;
  144. }
  145. #notification.success {
  146. border: 1px solid #2d4;
  147. background: #e0ffe8;
  148. }
  149. /**
  150. * Styles généraux: liens, boutons, ...
  151. */
  152. a {
  153. text-decoration: none;
  154. color: #59d;
  155. }
  156. a:hover {
  157. text-decoration: none;
  158. color: #37b;
  159. }
  160. button a {
  161. color: #fff;
  162. }
  163. button.active {
  164. background: #9ad;
  165. }
  166. button:hover {
  167. opacity: 0.6;
  168. }
  169. #editor-js,
  170. #editor-html,
  171. #editor-css {
  172. /*display: none;*/
  173. position: absolute;
  174. top: 510px;
  175. }
  176. /**
  177. * Styles pour l'éditeur Ace
  178. */
  179. #editor {
  180. font-size: 90%;
  181. position: absolute;
  182. top: 390px;
  183. right: 500px;
  184. bottom: 0;
  185. left: 0;
  186. border-top: 1px solid #aaa;
  187. border-bottom: 1px solid #aaa;
  188. }
  189. #nav-menus {
  190. position: absolute;
  191. top: 0;
  192. bottom: 0;
  193. left: 0;
  194. width: 0;
  195. overflow: hidden;
  196. transition: width 0.7s;
  197. /*font-size: 16px;*/
  198. }
  199. #nav-menus.in {
  200. width: 800px;
  201. }
  202. #nav-menus ul {
  203. padding-left: 0;
  204. }
  205. /* Menus de nav */
  206. #nav-menus {
  207. color: #000;
  208. background: #f8f8f8;
  209. padding: 10px;
  210. }
  211. #nav-menus li {
  212. list-style-type: none;
  213. }
  214. #menu-example {
  215. overflow:
  216. }
  217. #menu-example > li {
  218. display: block;
  219. float:left;
  220. vertical-align: top;
  221. width: 50%;
  222. }
  223. .nav-menu a {
  224. color: #58c;
  225. }
  226. .nav-menu a:hover {
  227. color: #7af;
  228. }