/** * Pack d'icônes */ @font-face { font-family: 'icomoon'; src: url('fonts/icomoon.eot?q7b5dg'); src: url('fonts/icomoon.eot?q7b5dg#iefix') format('embedded-opentype'), url('fonts/icomoon.ttf?q7b5dg') format('truetype'), url('fonts/icomoon.woff?q7b5dg') format('woff'), url('fonts/icomoon.svg?q7b5dg#icomoon') format('svg'); font-weight: normal; font-style: normal; } [class^="icon-"], [class*=" icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icon-menu:before { content: "\e9bd"; } .icon-cloud-upload:before { content: "\e9c3"; } .icon-plus:before { content: "\ea0a"; } .icon-cross:before { content: "\ea0f"; } .icon-checkmark:before { content: "\ea10"; } /** * Styles généraux */ /** * Grosse font pour le vidéo-proj */ body { font-size: 100%; font-family: Arial, Helvetica; } /** * Styles des panneaux gauche-droite */ /*#left-panel, #right-panel { font-family: Arial, Helvetica; position: absolute; top: 0; bottom: 0; } #left-panel { background: #fff; border-right: 1px solid #aaa; right: 39%; left: 0; } #right-panel { background: #f4f4f4; left: 59%; right: 0; }*/ /* jQuery resizable: https://codepen.io/rstrahl/pen/eJZQej */ /* horizontal panel*/ html, body { height: 100%; } .panel-container { display: flex; flex-direction: row; border: 1px solid silver; overflow: hidden; height: 100%; /* avoid browser level touch actions */ xtouch-action: none; } .panel-left { position: relative; flex: 0 0 auto; /* only manually resize */ /*padding: 10px;*/ width: 50%; /*min-height: 200px;*/ height: 100%; min-width: 150px; white-space: nowrap; background: #fff; color: #555; } .splitter { flex: 0 0 auto; width: 18px; background: url(../img/vsizegrip.png) center center no-repeat #ddd; min-height: 200px; cursor: col-resize; } .panel-right { flex: 1 1 auto; /* resizable */ padding: 10px; width: 100%; height: 100%; overflow-y: scroll; min-width: 200px; background: #eee; } #sandbox-iframe { border: none; width: 100%; } #sandbox-iframe.test-mode { max-height: 300px; margin-bottom: 10px; } .panel-inner { padding: 10px; } #site-menu{ position: fixed;top:0;right:0; } /*.panel-left nav, #add-example-form { display: inline-block; } .panel-left nav ul { padding-left: 0; margin: 0; } .panel-left nav ul li { display: inline-block; }*/ #notification { color: #333; position: absolute; top: -100px; right: 10px; transition: top 1s; } .alert-box { text-align: center; border-radius: 3px; padding: 5px 10px; } #notification.active { top: 5px; } .alert-box.error { border: 1px solid #d42; background: #ffe8e0; } .alert-box.success { border: 1px solid #2d4; background: #e0ffe8; } /** * Styles généraux: liens, boutons, ... */ a { text-decoration: none; color: #59d; } a:hover { text-decoration: none; color: #37b; } button { padding: 10px; border: none; border-radius: 3px; background: #fff; color: #555; } button a { color: #fff; } button.active { background: #9ad; } button:hover { opacity: 0.6; } button.btn-lg { font-size: 120%; } textarea, select, input { border: 1px solid #ddd; padding: 8px; border-radius: 3px; } .blue { background: #24d; color: #fff; } .red { background: #d42; color: #fff; } .green { background: #4b2; color: #fff; } #editor-js, #editor-html, #editor-css { /*display: none;*/ position: absolute; top: 510px; } /** * Styles pour l'éditeur Ace */ #editor-wrapper, #editor { position: absolute; bottom: 0; width: 100%; } #editor-wrapper { top: 140px; } #editor { font-size: 90%; border-top: 3px solid #ddd; top: 22px; left: 0; } #navbar { height: 49px; border-bottom: 1px solid #ddd; font-size: 26px; } #navbar a { color: #555; } #navbar a:hover, #navbar button:hover { color: #777; } #nav-menus { position: absolute; top: 50px; bottom: 0; left: 0; width: 0; overflow: hidden; transition: all 0.2s; z-index: 100; color: #000; background: rgba(248, 248, 248, 1); padding: 10px 0; } .cat-title { text-transform: uppercase; } #nav-menus.in { width: 540px; padding: 10px; } #nav-menus .pure-u-1 { padding: 10px; box-sizing: border-box; } #nav-menus ul { padding-left: 0; margin-top: 5px; } #menu-btn:focus { outline: none; } /* Menus de nav */ #nav-menus { } #nav-menus li { list-style-type: none; } #menu-example { overflow: } #menu-example > li { display: block; float:left; vertical-align: top; width: 50%; } .nav-menu a { color: #58c; } .nav-menu a:hover { color: #7af; } #tabs { /*font-size: 16px;*/ position: relative; vertical-align: bottom; margin: 0; padding-left: 10px; } #tabs li { border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: 1px solid #ddd; display: inline; box-sizing: border-box; padding: 4px 8px; } .tab-html { background: #cef; } .tab-js { background: #ffb; } .tab-css { background: #fce; }