/** * Pack d'icônes */ @font-face { font-family: 'icomoon'; src: url('fonts/icomoon.eot?xjk54g'); src: url('fonts/icomoon.eot?xjk54g#iefix') format('embedded-opentype'), url('fonts/icomoon.ttf?xjk54g') format('truetype'), url('fonts/icomoon.woff?xjk54g') format('woff'), url('fonts/icomoon.svg?xjk54g#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-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: 130%; } /** * 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*/ .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 { 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: white; } .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; } .panel-inner { padding: 10px; } .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: black; position: absolute; top: -100px; right: 10px; transition: top 1s; border-radius: 3px; padding: 3px; } #notification.active { top: 5px; } #notification.error { border: 1px solid #d42; background: #ffe8e0; } #notification.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 a { color: #fff; } button.active { background: #9ad; } button:hover { opacity: 0.6; } #editor-js,#editor-html { /*display: none;*/ position: absolute; top: 510px; } /** * Styles pour l'éditeur Ace */ #editor { font-size: 90%; position: absolute; top: 90px; right: 500px; bottom: 0; left: 0; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; } .container { margin: 20px auto; background: #fff; border: 1px solid #ddd; padding: 30px; width: 96%; border-radius: 4px; box-sizing: border-box; /*max-width: 600px;*/ } input[type="submit"], button { padding: 10px; color: white; border: none; border-radius: 3px; } .blue { background: #24d; } .red { background: #d42; } .green { background: #4b2; } textarea, select, input { border: 1px solid #ddd; padding: 12px; border-radius: 3px; } input.input-sm { padding: 6px; font-size: 70%; } select { background: #fcfcfc; } a, button { margin: 5px; box-sizing: border-box; } .bordure-flashy { border: 2px solid red; } #html-content h5 { margin: 20px 0 5px 0; } #html-content p { margin: 10px 0; } button.d { padding: 0; width: 32px; height: 32px; border-radius: 16px; } /** * Styles communs pour les différents exemples */ a.active { font-weight: bold; color: #48c; } .cyan { background: #6ff; } .magenta { background: #f6f; } .yellow { background: #ff6; color: #444; } .orange { background: #eb6; } .bold-text { font-weight: bold; } .underlined-text { text-decoration: underline; } .text-green { color: #4b2; } .text-red { color: #b42; } .table { border-collapse: collapse; } .table tr td { border: 1px solid #aaa; padding: 2px; } ul.tab-nav { padding-left: 5px; padding-bottom: 4px; border-bottom: 1px solid #eee; } ul.tab-nav li { display:inline; padding: 6px 10px; margin-right: 5px; border-top:1px solid #ccc; border-left:1px solid #ccc; border-right:1px solid #ccc; } #qunit-header, #qunit-testrunner-toolbar { display: none; } #revert-editor { background: none; border: none; position: absolute; padding: 0 3px; top: 0; left: 0; color: red; font-size: 11px; }