styles.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  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. /* Customized by Bibi */
  24. font-size: 80%;
  25. /* Better Font Rendering =========== */
  26. -webkit-font-smoothing: antialiased;
  27. -moz-osx-font-smoothing: grayscale;
  28. }
  29. .icon-menu:before {
  30. content: "\e9bd";
  31. }
  32. .icon-cloud-upload:before {
  33. content: "\e9c3";
  34. }
  35. .icon-plus:before {
  36. content: "\ea0a";
  37. }
  38. .icon-cross:before {
  39. content: "\ea0f";
  40. }
  41. .icon-checkmark:before {
  42. content: "\ea10";
  43. }
  44. /**
  45. * Styles généraux
  46. */
  47. /**
  48. * Grosse font pour le vidéo-proj
  49. */
  50. body {
  51. font-size: 100%;
  52. font-family: Arial, Helvetica;
  53. }
  54. /**
  55. * Styles des panneaux gauche-droite
  56. */
  57. /*#left-panel,
  58. #right-panel {
  59. font-family: Arial, Helvetica;
  60. position: absolute;
  61. top: 0;
  62. bottom: 0;
  63. }
  64. #left-panel {
  65. background: #fff;
  66. border-right: 1px solid #aaa;
  67. right: 39%;
  68. left: 0;
  69. }
  70. #right-panel {
  71. background: #f4f4f4;
  72. left: 59%;
  73. right: 0;
  74. }*/
  75. /* jQuery resizable: https://codepen.io/rstrahl/pen/eJZQej */
  76. /* horizontal panel*/
  77. html, body {
  78. height: 100%;
  79. }
  80. .panel-container {
  81. display: flex;
  82. flex-direction: row;
  83. border: 1px solid silver;
  84. overflow: hidden;
  85. height: 100%;
  86. /* avoid browser level touch actions */
  87. xtouch-action: none;
  88. }
  89. .panel-left {
  90. position: relative;
  91. flex: 0 0 auto;
  92. /* only manually resize */
  93. /*padding: 10px;*/
  94. width: 50%;
  95. /*min-height: 200px;*/
  96. height: 100%;
  97. min-width: 150px;
  98. white-space: nowrap;
  99. background: #fff;
  100. color: #555;
  101. }
  102. .splitter {
  103. flex: 0 0 auto;
  104. width: 18px;
  105. background: url(../img/vsizegrip.png) center center no-repeat #ddd;
  106. min-height: 200px;
  107. cursor: col-resize;
  108. }
  109. .panel-right {
  110. flex: 1 1 auto;
  111. /* resizable */
  112. padding: 10px;
  113. width: 100%;
  114. height: 100%;
  115. overflow-y: scroll;
  116. min-width: 200px;
  117. background: #eee;
  118. }
  119. #sandbox-iframe {
  120. border: none;
  121. width: 100%;
  122. }
  123. #sandbox-iframe.test-mode {
  124. max-height: 300px;
  125. margin-bottom: 10px;
  126. }
  127. .panel-inner {
  128. padding: 10px;
  129. }
  130. #site-menu{ position: fixed;top:0;right:0; }
  131. /*.panel-left nav,
  132. #add-example-form {
  133. display: inline-block;
  134. }
  135. .panel-left nav ul {
  136. padding-left: 0;
  137. margin: 0;
  138. }
  139. .panel-left nav ul li {
  140. display: inline-block;
  141. }*/
  142. #notification {
  143. color: #333;
  144. position: absolute;
  145. top: -100px;
  146. right: 10px;
  147. transition: top 1s;
  148. }
  149. .alert-box {
  150. text-align: center;
  151. border-radius: 3px;
  152. padding: 5px 10px;
  153. }
  154. #notification.active {
  155. top: 5px;
  156. }
  157. .alert-box.error {
  158. border: 1px solid #d42;
  159. background: #ffe8e0;
  160. }
  161. .alert-box.success {
  162. border: 1px solid #2d4;
  163. background: #e0ffe8;
  164. }
  165. /**
  166. * Styles généraux: liens, boutons, ...
  167. */
  168. a {
  169. text-decoration: none;
  170. color: #59d;
  171. }
  172. a:hover {
  173. text-decoration: none;
  174. color: #37b;
  175. }
  176. button {
  177. border: none;
  178. border-radius: 3px;
  179. background: #fff;
  180. color: #555;
  181. }
  182. .input,
  183. .btn {
  184. padding: 10px;
  185. }
  186. .input-sm,
  187. .btn-sm {
  188. padding: 3px;
  189. font-size: 90%;
  190. }
  191. button a {
  192. color: #fff;
  193. }
  194. button.active {
  195. background: #9ad;
  196. }
  197. /*button:hover {
  198. opacity: 0.6;
  199. }*/
  200. button.btn-lg {
  201. font-size: 120%;
  202. }
  203. textarea,
  204. select,
  205. input {
  206. border: 1px solid #ddd;
  207. border-radius: 3px;
  208. }
  209. .light-gray {
  210. background: #f4f4f4;
  211. color: #555;
  212. }
  213. .light-gray:hover {
  214. background: #ddd;
  215. color: #222;
  216. }
  217. .blue {
  218. background: #24d;
  219. color: #fff;
  220. }
  221. .red {
  222. background: #d42;
  223. color: #fff;
  224. }
  225. .green {
  226. background: #4b2;
  227. color: #fff;
  228. }
  229. #editor-js,
  230. #editor-html,
  231. #editor-css {
  232. /*display: none;*/
  233. position: absolute;
  234. top: 510px;
  235. }
  236. /**
  237. * Styles pour l'éditeur Ace
  238. */
  239. #editor-wrapper,
  240. #editor {
  241. position: absolute;
  242. bottom: 0;
  243. width: 100%;
  244. }
  245. #editor-wrapper {
  246. top: 140px;
  247. }
  248. #editor {
  249. font-size: 90%;
  250. border-top: 3px solid #ddd;
  251. top: 22px;
  252. left: 0;
  253. }
  254. #navbar {
  255. height: 49px;
  256. border-bottom: 1px solid #ddd;
  257. font-size: 26px;
  258. }
  259. #navbar a {
  260. color: #555;
  261. }
  262. #navbar a:hover,
  263. #navbar button:hover {
  264. color: #777;
  265. }
  266. #nav-menus {
  267. position: absolute;
  268. top: 50px;
  269. bottom: 0;
  270. left: 0;
  271. width: 0;
  272. overflow: hidden;
  273. transition: all 0.2s;
  274. z-index: 100;
  275. color: #000;
  276. background: rgba(248, 248, 248, 1);
  277. padding: 10px 0;
  278. }
  279. .cat-title {
  280. text-transform: uppercase;
  281. }
  282. #nav-menus.in {
  283. width: 540px;
  284. padding: 10px;
  285. }
  286. #nav-menus .pure-u-1 {
  287. padding: 10px;
  288. box-sizing: border-box;
  289. }
  290. #nav-menus ul {
  291. padding-left: 0;
  292. margin-top: 5px;
  293. }
  294. #menu-btn:focus {
  295. outline: none;
  296. }
  297. /* Menus de nav */
  298. #nav-menus {
  299. }
  300. #nav-menus li {
  301. list-style-type: none;
  302. }
  303. #menu-example {
  304. overflow:
  305. }
  306. #menu-example > li {
  307. display: block;
  308. float:left;
  309. vertical-align: top;
  310. width: 50%;
  311. }
  312. .nav-menu a {
  313. color: #58c;
  314. }
  315. .nav-menu a:hover {
  316. color: #7af;
  317. }
  318. #tabs {
  319. /*font-size: 16px;*/
  320. position: relative;
  321. vertical-align: bottom;
  322. margin: 0;
  323. padding-left: 10px;
  324. }
  325. #tabs li {
  326. border-top: 1px solid #ddd;
  327. border-left: 1px solid #ddd;
  328. border-right: 1px solid #ddd;
  329. display: inline;
  330. box-sizing: border-box;
  331. padding: 4px 8px;
  332. }
  333. .tab-html {
  334. background: #cef;
  335. }
  336. .tab-js {
  337. background: #ffb;
  338. }
  339. .tab-css {
  340. background: #fce;
  341. }
  342. .inline-block {
  343. display: inline-block;
  344. vertical-align: top;
  345. }
  346. .hidden {
  347. display: none;
  348. }
  349. .h-collapsed {
  350. box-sizing: border-box;
  351. max-width: 0;
  352. padding-left: 0;
  353. padding-right: 0;
  354. transition: 0.3s;
  355. overflow: hidden;
  356. }
  357. .h-collapsed.fast {
  358. transition: 0.2s;
  359. }
  360. .h-collapsed.in {
  361. padding-left: 15px;
  362. padding-right: 15px;
  363. max-width: 350px;
  364. }
  365. .h-collapsed input[type="text"] {
  366. margin: 2px;
  367. padding-left: 10px;
  368. }
  369. .details-div section {
  370. vertical-align: middle;
  371. }
  372. .details-div button {
  373. margin-top: 3px;
  374. }