styles.css 6.4 KB

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