2015-04-09 15:46:29 +02:00
|
|
|
/**
|
2017-01-11 16:24:33 +01:00
|
|
|
* Copyright JS Foundation and other contributors, http://js.foundation
|
2015-04-09 15:46:29 +02:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
**/
|
|
|
|
|
2016-04-14 03:07:49 +02:00
|
|
|
|
2016-05-03 16:45:29 +02:00
|
|
|
#editor-stack {
|
|
|
|
position: absolute;
|
|
|
|
margin: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0px;
|
|
|
|
right: 323px;
|
|
|
|
width: 0;
|
2016-05-04 16:22:30 +02:00
|
|
|
z-index: 5;
|
2016-05-03 16:45:29 +02:00
|
|
|
}
|
|
|
|
.editor-tray {
|
|
|
|
position:absolute;
|
|
|
|
margin: 0;
|
|
|
|
top: 0;
|
2016-05-06 18:19:32 +02:00
|
|
|
//min-width: 500px;
|
2016-05-03 16:45:29 +02:00
|
|
|
width: auto;
|
|
|
|
right: -1000px;
|
|
|
|
bottom: 0;
|
|
|
|
background: #fff;
|
|
|
|
border-left: 1px solid $secondary-border-color;
|
|
|
|
border-bottom: 1px solid $primary-border-color;
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
.editor-tray.open {
|
|
|
|
right: 0;
|
|
|
|
}
|
2016-05-06 18:19:32 +02:00
|
|
|
.editor-tray-body-wrapper {
|
|
|
|
width: 100%;
|
2016-05-03 16:45:29 +02:00
|
|
|
box-sizing: border-box;
|
2016-05-06 18:19:32 +02:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.editor-tray-body {
|
2017-04-28 21:49:01 +02:00
|
|
|
position: relative;
|
2017-05-03 18:17:36 +02:00
|
|
|
box-sizing: border-box;
|
2017-05-05 12:23:24 +02:00
|
|
|
padding: 0.1px; // prevent margin collapsing
|
2017-05-05 17:01:52 +02:00
|
|
|
.dialog-form,#dialog-form, #node-config-dialog-edit-form {
|
2017-01-30 00:01:31 +01:00
|
|
|
margin: 20px;
|
2017-05-05 12:23:24 +02:00
|
|
|
height: calc(100% - 40px);
|
2017-01-30 00:01:31 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.editor-tray-content {
|
|
|
|
overflow: auto;
|
2016-05-03 16:45:29 +02:00
|
|
|
}
|
|
|
|
.editor-tray-header {
|
|
|
|
@include disable-selection;
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-weight: bold;
|
|
|
|
border-bottom: 1px solid $secondary-border-color;
|
|
|
|
background: $palette-header-background;
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-tray-footer {
|
|
|
|
@include component-footer;
|
|
|
|
height: 35px;
|
2017-01-30 00:01:31 +01:00
|
|
|
|
|
|
|
button {
|
|
|
|
@include editor-button;
|
|
|
|
padding: 3px 7px;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
2016-05-03 16:45:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-tray-toolbar {
|
|
|
|
text-align: right;
|
2016-05-06 18:19:32 +02:00
|
|
|
padding: 6px;
|
2016-05-03 16:45:29 +02:00
|
|
|
|
|
|
|
button {
|
2017-01-30 00:01:31 +01:00
|
|
|
@include editor-button;
|
|
|
|
&.toggle {
|
|
|
|
@include workspace-button-toggle;
|
2016-06-20 15:25:11 +02:00
|
|
|
}
|
2016-05-03 16:45:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-tray-titlebar {
|
|
|
|
border-bottom: 1px solid $secondary-border-color;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
.editor-tray-breadcrumbs {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding:0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
padding:0;
|
|
|
|
margin:0;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
2016-06-14 15:28:25 +02:00
|
|
|
color: $editor-button-color;
|
2016-05-03 16:45:29 +02:00
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
display: inline-block;
|
|
|
|
content: '>';
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.editor-tray-resize-handle {
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
width: 7px;
|
|
|
|
left: -9px;
|
|
|
|
background: $background-color url(images/grip.png) no-repeat 50% 50%;
|
|
|
|
cursor: col-resize;
|
|
|
|
border-left: 1px solid $primary-border-color;
|
|
|
|
box-shadow: -1px 0 6px rgba(0,0,0,0.1);
|
2017-08-03 10:58:25 +02:00
|
|
|
|
|
|
|
&.editor-tray-resize-maximised {
|
|
|
|
background: $background-color;
|
|
|
|
cursor: default;
|
|
|
|
}
|
2016-05-03 16:45:29 +02:00
|
|
|
}
|
2016-04-18 17:41:58 +02:00
|
|
|
.editor-tray-resize-button {
|
|
|
|
@include workspace-button;
|
|
|
|
display: block;
|
2016-05-03 16:45:29 +02:00
|
|
|
height: 37px;
|
|
|
|
line-height: 35px;
|
2016-04-18 17:41:58 +02:00
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid $secondary-border-color;
|
|
|
|
margin: 0;
|
|
|
|
background: $background-color;
|
2016-05-03 16:45:29 +02:00
|
|
|
color: $workspace-button-color;
|
|
|
|
}
|
2016-08-04 17:49:36 +02:00
|
|
|
#palette-shade, #editor-shade, #header-shade, #sidebar-shade {
|
2016-11-07 22:25:09 +01:00
|
|
|
@include shade;
|
2016-05-08 23:55:55 +02:00
|
|
|
z-index: 2;
|
2016-04-18 17:41:58 +02:00
|
|
|
}
|
2016-10-09 23:54:47 +02:00
|
|
|
#sidebar-shade {
|
|
|
|
left: -8px;
|
|
|
|
top: -1px;
|
|
|
|
bottom: -1px;
|
|
|
|
}
|
2016-04-14 03:07:49 +02:00
|
|
|
|
|
|
|
|
2017-05-05 17:01:52 +02:00
|
|
|
.dialog-form,#dialog-form, #node-config-dialog-edit-form {
|
2017-05-05 12:23:24 +02:00
|
|
|
height: 100%;
|
2015-04-09 15:46:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-error {
|
|
|
|
border-color: rgb(214, 97, 95) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-row {
|
|
|
|
clear: both;
|
2015-07-13 12:26:29 +02:00
|
|
|
color: $form-text-color;
|
2015-07-14 00:21:03 +02:00
|
|
|
margin-bottom:12px;
|
2015-04-09 15:46:29 +02:00
|
|
|
}
|
|
|
|
.form-row label {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100px;
|
|
|
|
}
|
2016-09-18 22:20:50 +02:00
|
|
|
.form-row input, .form-row div[contenteditable="true"] {
|
2015-04-09 15:46:29 +02:00
|
|
|
width:70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-tips {
|
2015-07-14 00:21:03 +02:00
|
|
|
background: #ffe;
|
2015-04-09 15:46:29 +02:00
|
|
|
padding: 8px;
|
2015-07-14 00:21:03 +02:00
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid $secondary-border-color;
|
2015-04-09 15:46:29 +02:00
|
|
|
max-width: 450px;
|
|
|
|
}
|
|
|
|
.form-tips code {
|
|
|
|
border: none;
|
|
|
|
padding: auto;
|
|
|
|
}
|
2015-07-14 00:21:03 +02:00
|
|
|
.form-tips a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2015-04-09 15:46:29 +02:00
|
|
|
|
2017-09-26 23:51:08 +02:00
|
|
|
.form-warning {
|
|
|
|
border-color: #d6615f;
|
|
|
|
}
|
|
|
|
|
2015-04-09 15:46:29 +02:00
|
|
|
.node-text-editor {
|
|
|
|
border:1px solid #ccc;
|
|
|
|
border-radius:5px;
|
|
|
|
overflow: hidden;
|
2015-06-16 21:56:09 +02:00
|
|
|
font-size: 14px !important;
|
|
|
|
font-family: monospace !important;
|
2015-04-09 15:46:29 +02:00
|
|
|
}
|
2015-07-14 00:21:03 +02:00
|
|
|
|
|
|
|
.editor-button {
|
|
|
|
@include workspace-button;
|
2015-07-14 16:59:56 +02:00
|
|
|
height: 34px;
|
2015-09-23 23:49:48 +02:00
|
|
|
line-height: 32px;
|
2015-07-14 16:59:56 +02:00
|
|
|
font-size: 13px;
|
2017-10-07 01:18:20 +02:00
|
|
|
border-radius: 2px;
|
2015-07-14 00:21:03 +02:00
|
|
|
padding: 0 10px;
|
2016-09-19 14:54:23 +02:00
|
|
|
&.toggle {
|
|
|
|
@include workspace-button-toggle;
|
|
|
|
}
|
2015-07-14 00:21:03 +02:00
|
|
|
}
|
2016-09-19 14:54:23 +02:00
|
|
|
|
|
|
|
|
2015-07-14 16:59:56 +02:00
|
|
|
.editor-button-small {
|
|
|
|
height: 20px;
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 10px;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
2015-09-23 23:49:48 +02:00
|
|
|
|
|
|
|
#node-config-dialog-scope-container {
|
|
|
|
cursor: auto;
|
|
|
|
float: right;
|
|
|
|
font-size: 12px !important;
|
2016-05-03 16:45:29 +02:00
|
|
|
line-height: 35px;
|
2015-09-23 23:49:48 +02:00
|
|
|
}
|
|
|
|
#node-config-dialog-scope-warning {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
color: #AD1625;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
#node-config-dialog-scope {
|
|
|
|
margin: 1px 0 0 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 22px;
|
2016-08-26 14:26:42 +02:00
|
|
|
width: 200px;
|
2016-05-03 16:45:29 +02:00
|
|
|
|
2015-09-23 23:49:48 +02:00
|
|
|
}
|
|
|
|
#node-config-dialog-user-count {
|
|
|
|
vertical-align: middle;
|
|
|
|
display:inline-block;
|
|
|
|
margin-right: 20px;
|
|
|
|
float:left;
|
|
|
|
font-size: 12px;
|
2016-05-03 16:45:29 +02:00
|
|
|
line-height: 35px;
|
2015-09-23 23:49:48 +02:00
|
|
|
}
|
2017-05-05 12:23:24 +02:00
|
|
|
.node-input-expression-editor #dialog-form {
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
.red-ui-panel {
|
|
|
|
&:first-child {
|
|
|
|
padding: 20px 20px 0;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.node-input-expression-tab-content {
|
|
|
|
position: relative;
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#node-input-expression-help {
|
|
|
|
position: absolute;
|
|
|
|
top: 35px;
|
|
|
|
left:0;
|
|
|
|
right: 0;
|
|
|
|
bottom:0;
|
|
|
|
padding: 0 20px;
|
|
|
|
overflow: auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#node-input-expression-panel-info {
|
|
|
|
& > .form-row {
|
|
|
|
margin: 0;
|
|
|
|
& > div:first-child {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-06-11 22:19:46 +02:00
|
|
|
.node-input-expression-legacy, .node-input-buffer-type {
|
|
|
|
font-size: 0.8em;
|
2017-05-05 12:23:24 +02:00
|
|
|
float: left;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid white;
|
2017-06-11 22:19:46 +02:00
|
|
|
padding: 2px 5px;
|
2017-05-05 12:23:24 +02:00
|
|
|
border-radius: 2px;
|
|
|
|
&:hover {
|
2017-06-11 22:19:46 +02:00
|
|
|
border-color: $form-input-border-color;
|
2017-05-05 12:23:24 +02:00
|
|
|
}
|
|
|
|
}
|
2017-06-11 22:19:46 +02:00
|
|
|
.node-input-buffer-type {
|
|
|
|
float: none;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
|
|
|
|
#clipboard-hidden {
|
|
|
|
position: absolute;
|
|
|
|
top: -3000px;
|
|
|
|
}
|
2017-05-15 17:26:42 +02:00
|
|
|
.node-label-form-row {
|
|
|
|
margin: 5px 0;
|
|
|
|
label {
|
|
|
|
margin-right: 20px;
|
|
|
|
text-align: right;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
width: calc(100% - 100px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.node-label-form-none {
|
|
|
|
span {
|
|
|
|
padding-left: 50px;
|
|
|
|
width: 100px;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
2017-06-11 22:19:46 +02:00
|
|
|
|
|
|
|
.ace_read-only {
|
|
|
|
background: #eee !important;
|
|
|
|
.ace_cursor {
|
|
|
|
color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|