/** HACKPOINT **/ /* Conteneur principal du plugin hackpoint */ .hackpoint { height: 100%; } #sketchs { margin:0; padding:0; margin-left:-5px; } #sketchs .card-img-top { max-width: 150px; width: 100%; border-top-left-radius: calc(.25rem - 1px); border-top-right-radius: calc(.25rem - 1px); margin: 10px auto; } #sketchs .btn-dark { color: #fff; background-color: #272b2f; border-color: #343a40; } /* liste des sketchs */ #sketchs li{ display: inline-block; margin:0; vertical-align: top; padding:5px; list-style-type: none; border:0; } /* fiche sketch */ .page-sheet-sketch,.page-sheet-sketch body,.page-sheet-sketch .container-fluid{ height: 100%; min-height: 100%; overflow: hidden; box-sizing: border-box; } .page-sheet-sketch .cm-s-monokai.CodeMirror { background: #2e363e; } .page-sheet-sketch .container-fluid{ padding: 50px 0px 0 0px; } #sketch-form{ display: flex; width: 100%; height: 100%; } #resources-toolbar,#sketch-workspace{ height: 100%; } #sketch-workspace .form-control-plaintext{ color: #8e8e8e; } #resources-toolbar{ width:120px; background-color: #2b2f35; color:#fefefe; height:100%; min-height: 100%; position:relative; } #sketch-workspace{ flex: 1; padding:15px; box-sizing: border-box; } #resources-toolbar ul li{ padding:10px; cursor: pointer; text-align: center; border-bottom: 1px solid #21252b; transition: background 0.15s ease-in-out,transform 0.15s ease-in-out; position: relative; } #resources-toolbar ul li .delete-resource{ position: absolute; right: 10px; top:10px; cursor:pointer; font-size: 12px; opacity:0; transition: opacity 0.2s ease-in-out; } #resources-toolbar ul li.active{ background:#212223; } #resources-toolbar ul li:hover{ background: #222222; } #resources-toolbar ul li:hover i{ transform: scale(1.1); color:#cecece; } #resources-toolbar ul li:hover h3{ color:#ffffff; } #resources-toolbar ul li:hover .delete-resource{ opacity:0.7; } #resources-toolbar ul li h3{ text-transform: uppercase; font-size: 11px; font-weight: bold; margin:5px 0; padding:0; color:#dedede; } #resources-toolbar ul li h3 input{ text-align: center; width: 100%; text-transform: uppercase; font-size: 11px; font-weight: bold; margin: 0; padding: 0; background-color: transparent; border: 0; color: #dedede; } #resources-toolbar ul li i{ font-size: 30px; color: #7b7b7b; transition: transform 0.1s ease-in-out; } #resources-toolbar ul li > small{ color:#ffffff; border-radius: 3px; padding: 0 3px; font-size: 10px; } #resources-toolbar .btn-add-resource{ margin: auto; display: block; } .fast-spin { -webkit-animation: fa-spin 0.5s infinite linear; animation: fa-spin 0.5s infinite linear; } .sketch-preloader{ display: none; } .resource-dropdown{ position: absolute; bottom: 0; } .resource-dropdown.dropright .dropdown-menu{ border-radius: 0; background: #333; top: 0; max-width: 550px; min-width: 350px; right: auto; left: 100%; margin-top: 0; margin-left: 0; color: #fefefe; } .resource-dropdown.dropright .dropdown-menu .dropdown-item:focus,.resource-dropdown.dropright .dropdown-menu .dropdown-item:hover{ background-color: #131313; } .resource-dropdown.dropright .dropdown-menu,.resource-dropdown.dropright .dropdown-menu a{ white-space: normal; } #sketch-workspace [data-type="dropzone"]{ background:transparent; color:#cecece; border:0; } div.hackpoint-type-image[data-type="dropzone"] > div{ padding: 15px; text-align: center; margin: auto auto 10px auto; width: 50%; background: #444e58; } #sketch-editor{ overflow: auto; height: 100%; box-sizing: border-box; } .hackpoint-type-image img{ max-width: 100%!important; max-height: 100%!important; margin:5px 0!important; box-shadow: 0px 0px 20px rgba(0,0,0,0.5); } .hackpoint-type-image li > a{ display: none; } div.hackpoint-type-image[data-type="dropzone"] > ul > li { vertical-align: top; display: inline-block; position: relative; padding: 5px; border-bottom: 0; background: transparent; } div.hackpoint-type-image[data-type="dropzone"] > ul > li > i.pointer{ top:15px; right:5px; background-color: #333333; display: inline-block; padding:5px; width: 20px; height: 20px; font-size: 10px; text-align: center; box-sizing: border-box; border-radius: 100%; transform: translateY(0px); } #parts{ margin:0; padding:0; } #parts li{ width:15%; min-width: 250px; display: inline-block; padding:0px; margin:5px 5px 5px 0; transition: transform 0.2s ease-in-out; } #parts li .part{ background-color: #2b2f35; border-radius: 3px; padding: 15px; color:#cecece; min-height: 250px; position: relative; } #sketch-workspace .part .part-image{ border:2px dashed #3e4750; height:200px; background: url(../img/default-part.png) center center no-repeat; text-align: center; text-transform: uppercase; font-weight: bold; color:#5e6671; margin-top:10px; } #parts li .part .btn-delete{ color:#cecece; position: absolute; bottom: 0; right: 0; opacity:0.4; transition:all 0.2s ease-in-out; } #parts li .part .btn-delete:hover{ opacity:0.9; } #parts li .part .price{ font-weight: bold; } #parts li .part .link{ color:#cecece; position: absolute; bottom: 0; left: 0; padding:5px 10px; opacity:0.4; transition:all 0.2s ease-in-out; } #parts li .part .brand{ font-size: 10px; float:right; margin-top: 5px; color:#4c7cad; } #parts li .part .link:hover{ opacity:0.9; transform: rotate(180deg); }