styles.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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. [class^="icon-"].rounded,
  195. [class*=" icon-"].rounded {
  196. border-radius: 10px;
  197. padding: 3px;
  198. }
  199. [class^="icon-"].rounded:hover,
  200. [class*=" icon-"].rounded:hover {
  201. background: #ddd;
  202. color: #222;
  203. }
  204. button a {
  205. color: #fff;
  206. }
  207. button.active {
  208. background: #9ad;
  209. }
  210. /*button:hover {
  211. opacity: 0.6;
  212. }*/
  213. button.btn-lg {
  214. font-size: 120%;
  215. }
  216. textarea,
  217. select,
  218. input {
  219. border: 1px solid #ddd;
  220. border-radius: 3px;
  221. }
  222. .light-gray {
  223. background: #f4f4f4;
  224. color: #555;
  225. }
  226. .light-gray:hover {
  227. background: #ddd;
  228. color: #222;
  229. }
  230. .blue {
  231. background: #24d;
  232. color: #fff;
  233. }
  234. .red {
  235. background: #d42;
  236. color: #fff;
  237. }
  238. .green {
  239. background: #4b2;
  240. color: #fff;
  241. }
  242. #editor-js,
  243. #editor-html,
  244. #editor-css {
  245. /*display: none;*/
  246. position: absolute;
  247. top: 510px;
  248. }
  249. /**
  250. * Styles pour l'éditeur Ace
  251. */
  252. #editor-wrapper,
  253. #editor {
  254. position: absolute;
  255. bottom: 0;
  256. width: 100%;
  257. }
  258. #editor-wrapper {
  259. top: 140px;
  260. }
  261. #editor {
  262. font-size: 90%;
  263. border-top: 3px solid #ddd;
  264. top: 22px;
  265. left: 0;
  266. }
  267. #navbar {
  268. height: 49px;
  269. border-bottom: 1px solid #ddd;
  270. font-size: 26px;
  271. }
  272. #navbar a {
  273. color: #555;
  274. }
  275. #navbar a:hover,
  276. #navbar button:hover {
  277. color: #777;
  278. }
  279. #nav-menus {
  280. position: absolute;
  281. top: 50px;
  282. bottom: 0;
  283. left: 0;
  284. width: 0;
  285. overflow: hidden;
  286. transition: all 0.2s;
  287. z-index: 100;
  288. color: #000;
  289. background: rgba(248, 248, 248, 1);
  290. padding: 10px 0;
  291. }
  292. .cat-title {
  293. text-transform: uppercase;
  294. }
  295. #nav-menus.in {
  296. width: 540px;
  297. padding: 10px;
  298. }
  299. #nav-menus .pure-u-1 {
  300. padding: 10px;
  301. box-sizing: border-box;
  302. }
  303. #nav-menus ul {
  304. padding-left: 0;
  305. margin-top: 5px;
  306. }
  307. #menu-btn:focus {
  308. outline: none;
  309. }
  310. /* Menus de nav */
  311. #nav-menus {
  312. }
  313. #nav-menus li {
  314. list-style-type: none;
  315. }
  316. #menu-example {
  317. overflow:
  318. }
  319. #menu-example > li {
  320. display: block;
  321. float:left;
  322. vertical-align: top;
  323. width: 50%;
  324. }
  325. .nav-menu a {
  326. color: #58c;
  327. }
  328. .nav-menu a:hover {
  329. color: #7af;
  330. }
  331. #tabs {
  332. /*font-size: 16px;*/
  333. position: relative;
  334. vertical-align: bottom;
  335. margin: 0;
  336. padding-left: 10px;
  337. }
  338. #tabs li {
  339. border-top: 1px solid #ddd;
  340. border-left: 1px solid #ddd;
  341. border-right: 1px solid #ddd;
  342. display: inline;
  343. box-sizing: border-box;
  344. padding: 4px 8px;
  345. }
  346. .tab-html {
  347. background: #cef;
  348. }
  349. .tab-js {
  350. background: #ffb;
  351. }
  352. .tab-css {
  353. background: #fce;
  354. }
  355. .inline-block {
  356. display: inline-block;
  357. vertical-align: top;
  358. }
  359. .hidden {
  360. display: none;
  361. }
  362. .h-collapsed {
  363. box-sizing: border-box;
  364. max-width: 0;
  365. padding-left: 0;
  366. padding-right: 0;
  367. transition: 0.3s;
  368. overflow: hidden;
  369. }
  370. .h-collapsed.fast {
  371. transition: 0.2s;
  372. }
  373. .h-collapsed.in {
  374. padding-left: 15px;
  375. padding-right: 15px;
  376. max-width: 350px;
  377. }
  378. .h-collapsed input[type="text"] {
  379. margin: 2px;
  380. padding-left: 10px;
  381. }
  382. .details-div section {
  383. vertical-align: middle;
  384. }
  385. .details-div button {
  386. margin-top: 3px;
  387. }