@font-face { font-family: 'iMobileIcon'; src: url('../fonts/iMobileIcon.eot'); src: url('../fonts/iMobileIcon.eot#iMobileIcon') format('embedded-opentype'), url('../fonts/iMobileIcon.svg#iMobileIcon') format('svg'), url('../fonts/iMobileIcon.woff') format('woff'), url('../fonts/iMobileIcon.ttf') format('truetype'); } html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; font-family: 'Open Sans'; font-size: 12px; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } ul, li { border: 0; margin: 0; padding: 0; } small { font-size: 85%; } .child-scrollable, #properties.child-scrollable { width: 100%; height: 100%; overflow-y: auto; } .flexbox-parent { width: 100%; height: 100%; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; /* align items in Main Axis */ -ms-flex-pack: start; justify-content: flex-start; /* align items in Cross Axis */ -ms-flex-align: stretch; align-items: stretch; /* Extra space in Cross Axis */ -ms-flex-line-pack: stretch; align-content: stretch; } .wrapper { display: -ms-flexbox; display: flex; -ms-flex-flow: row wrap; flex-flow: row wrap; } .wrapper > * { -ms-flex: 1 100%; flex: 1 100%; } .flexbox-item-grow { /* same as flex: 1 1 auto; */ -ms-flex: 1; flex: 1; } .fill-area { display: -ms-flexbox; display: flex; -ms-flex-direction: row; flex-direction: row; /* align items in Main Axis */ -ms-flex-pack: start; justify-content: flex-start; /* align items in Cross Axis */ -ms-flex-align: stretch; align-items: stretch; /* Extra space in Cross Axis */ -ms-flex-line-pack: stretch; align-content: stretch; } #propertiespsTopBar, #properties .propertySheetResize, #propertiesctrlSelect { display: none !important; } .header, .properties-aside .pTabs, .class-manager .class-manager-title { height: 31px; box-sizing: border-box; } /* ----------- CANVAS ----------- */ .main { position: relative; -ms-flex: auto; flex: auto; background: url(./images/squares.png) repeat; } .main .child-scrollable { padding: 50px; box-sizing: border-box; } .main .child-scrollable > div { margin: 0 auto; } #canvas { /* rimuovo l'altezza della barra superiore e inferiore */ height: calc(100% - 31px - 38px); box-shadow: inset 0 0 10px 2px rgba(103, 103, 103, .25); z-index: 1; max-height: 100vh; } /* ----------- FILE MANAGER (RIGHT) ----------- */ .class-manager { position: relative; -ms-flex: 1 auto; flex: 1 auto; background-color: #E3E3E3; max-width: 256px; z-index: 2; max-height: 100vh; } .picker { overflow: auto; } .picker .class-manager { max-width: none; background-color: #F3F3F3; } .class-manager .class-manager-title { position: relative; background-color: #E3E3E3; font-weight: 400; padding: 5px 7px; font-size: 14px; color: rgba(0, 0, 0, .87); min-height: 18px; } .class-manager .file .file-title { position: relative; background-color: #C3C3C3; font-weight: 400; padding: 5px 7px; color: rgba(0, 0, 0, .87); } .class-manager .file .file-content { list-style-type: square; padding: 3px 5px 3px 2em; font-size: 13px; word-break: break-all; } .picker .class-manager .file .file-content { padding: 0; list-style-type: none; } .class-manager .file .file-content li { padding: 3px; } .picker .class-manager .file .file-content li > span { padding-left: 6px; } .class-manager .file .file-content li > span { cursor: pointer; } .picker .class-manager .file .file-content li { padding: 3px 6px; color: #898989; font-size: 12px; background-color: #FFF; border-bottom: 1px dotted #DEDEDE; cursor: pointer; word-wrap: break-word; } .picker .class-manager .file .file-content li > p { margin: 0; width: calc(100% - 21px); /* tolgo la dimensione dell'icona cancella */ display: inline-block; vertical-align: top; } .picker .class-manager .file .file-content li:hover { background-color: #F0F4FE; } .class-manager .file .file-content li.current { font-weight: 600; color: #00A0BD; list-style-image: url(images/arrow.png); } .picker .class-manager .reading_error { color: #F79B9B; } .picker .class-manager .file .file-content li .mi-delete { vertical-align: top; display: none; } .picker .class-manager .file .file-content li:hover .mi-delete { display: inline-block; } /* ----------- TOOLBAR TOP ----------- */ .header { text-align: center; padding: 6px; font-size: 14px; background-color: #C3C3C3; color: #676767; z-index: 2; } .header.picker { padding: 1px; background-color: #333; color: #FFF; } /* ----------- TOOLBAR BOTTOM ----------- */ .footer { background-color: #E3E3E3; position: sticky; width: 100%; bottom: 0; z-index: 2; } .footer .actions { list-style-type: none; margin: 0 auto; display: table; } .footer .actions .btn { display: inline-block; color: #FFF; background: #000; text-transform: capitalize; cursor: pointer; padding: 6px; margin: 5px 10px; font-weight: 100; } .footer .actions .btn-confirm { background-color: #00A0BD; color: #FFF; } /* ----------- PROPRIETA' (LEFT) ----------- */ #description_container { display: grid; padding: 0px 12px 12px 0px; grid-template-areas: "label label" "textarea button"; background: #fff; grid-template-columns: auto min-content; max-height: 20vh; } #description_container #general_description_label { grid-area: label; background: #e1e1e1; color: rgba(0,0,0,.87); padding: 4px 7px; } #description_container #general_description { grid-area: textarea; margin: 10px 12px 2px; width: auto; } #description_container .input_inline_btn { grid-area: button; } #properties { /* reset della classe */ width: auto; height: auto; border: 0; position: initial; display: initial; min-width: initial; max-width: initial; max-height: 80vh; } .properties-aside { position: relative; -ms-flex: 1 auto; flex: 1 auto; background-color: #E3E3E3; max-width: 256px; -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; user-select: none; z-index: 2; display: flex; flex-flow: column nowrap; background-color: white; } .properties-aside .pTabs { padding: 0; } fieldset.properties_sections { padding-bottom: 10px; } legend.properties_label { box-sizing: border-box; position: relative; } textarea.property_item { width: 100%; height: 100%; box-sizing: border-box; line-height: 15px; padding: 5px; background-color: #E3E3E3; border: #D2D2D2; } #general_content { height: 62px; } #general_value { height: 120px; resize: none; border: 1px solid #D2D2D2; outline: 0; } #advanced_code_container { margin: 5px 0; } #advanced_code_wrapper .CodeMirror { background-color: #F3F3F3; width: 230px; height: 150px; cursor: text; } #advanced_code_wrapper .cm-builtin { color: #C14D4D; } #advanced_code_wrapper .cm-variable-2, #advanced_code_wrapper .cm-number { color: #004CFF; } #advanced_code_wrapper .cm-builtin, #advanced_code_wrapper .cm-variable-3 { color: #00A0BD; } #advanced_code_wrapper .cm-s-default .cm-tag { color: #E81818; } /* ----------- ICONE ----------- */ .mi { display: inline-block; font-family: iMobileIcon; font-style: normal; font-weight: 400; text-rendering: auto; font-size: 16px; color: inherit; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .mi-delete::after { content: '\e6a8'; } .mi-code::after { content: '\e75c'; } .mi-clone::after { content: '\e65e'; } .mi-add::after { content: '\e605'; } .mi-alert::after { content: '\e6f4'; } .mi-success::after { content: '\e6fe'; } .mi-refresh::after { content: '\e67d'; /* l'icona risulta più grande rispetto le altre * ne forzo le dimensioni a un px in meno rispetto ai * 16 scelti dalla classe .mi **/ font-size: 15px; } .file-title-icon { margin-left: 5px; } .file-actions { display: inline-block; color: #00A0BD; position: absolute; cursor: pointer; right: 5px; -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; user-select: none; } .file-title span { display: inline-block; width: 236px; padding-right: 40px; box-sizing: border-box; word-wrap: break-word; } /* ----------- MESSAGGIO DI ALLERTA ----------- */ .notimoo { line-height: 14px; position: absolute; z-index: 10003; cursor: pointer; border-radius: 10px; padding: 25px; background: #333; color: #FFF; } .notimoo .nt-title { font-weight: bold; font-size: 14px; margin-bottom: 5px; display: block; } /* ----------- SCROLLBAR PERSONALIZZATA ----------- */ ::-webkit-scrollbar-track { background-color: #F5F5F5; } ::-webkit-scrollbar { width: 6px; background-color: #F5F5F5; } ::-webkit-scrollbar-thumb { background-color: #C3C3C3; }