| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300 |
- /**
- * 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 {
- 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;
- }
- 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;
- }
- 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;
- }
- #qunit-header,
- #qunit-testrunner-toolbar {
- display: none;
- }
|