mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
142 lines
2.8 KiB
SCSS
142 lines
2.8 KiB
SCSS
/**
|
|
* Copyright 2015 IBM Corp.
|
|
*
|
|
* 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.
|
|
**/
|
|
|
|
|
|
#chart {
|
|
overflow: auto;
|
|
background: #e3e3e3;
|
|
position: absolute;
|
|
bottom:25px;
|
|
top: 35px;
|
|
left:0px;
|
|
right:0px;
|
|
box-sizing:border-box;
|
|
transition: right 0.2s ease;
|
|
}
|
|
|
|
#chart svg:focus {
|
|
outline: none;
|
|
}
|
|
|
|
#workspace {
|
|
position: absolute;
|
|
margin: 0;
|
|
top:0px;
|
|
left:179px;
|
|
bottom: 0px;
|
|
right: 322px;
|
|
overflow: hidden;
|
|
@include component-border;
|
|
}
|
|
|
|
.workspace-footer-button {
|
|
@include component-footer-button;
|
|
}
|
|
|
|
#workspace-tabs {
|
|
margin-right: 35px;
|
|
}
|
|
|
|
#editor-stack {
|
|
position: absolute;
|
|
margin: 0;
|
|
top: 0;
|
|
bottom: 0px;
|
|
right: 323px;
|
|
width: 0;
|
|
}
|
|
.editor-tray {
|
|
position:absolute;
|
|
margin: 0;
|
|
top: 0;
|
|
min-width: 500px;
|
|
width: auto;
|
|
right: -1000px;
|
|
bottom: 0;
|
|
background: #fff;
|
|
border-left: 1px solid $primary-border-color;
|
|
border-bottom: 1px solid $primary-border-color;
|
|
box-sizing: content-box;
|
|
box-shadow: -1px 0 10px rgba(0,0,0,0.1);
|
|
}
|
|
.editor-tray.open {
|
|
right: 0;
|
|
}
|
|
.editor-tray-body {
|
|
width: auto;
|
|
padding: 20px;
|
|
min-width: 500px;
|
|
box-sizing: border-box;
|
|
overflow-y: scroll;
|
|
}
|
|
.editor-tray-header {
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
font-weight: bold;
|
|
height: 40px;
|
|
border-bottom: 1px solid $primary-border-color;
|
|
background: $palette-header-background;
|
|
}
|
|
.editor-tray-footer {
|
|
@include component-footer;
|
|
height: auto;
|
|
padding: 8px;
|
|
button {
|
|
@include workspace-button;
|
|
padding: 0.4em 1em;
|
|
margin-right: 8px;
|
|
|
|
&.leftButton {
|
|
margin-right: 40px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#editor-shade, #header-shade {
|
|
position: absolute;
|
|
top:0;
|
|
bottom:0;
|
|
left:0;
|
|
right:0;
|
|
background: rgba(220,220,220,0.5);
|
|
}
|
|
|
|
|
|
#workspace-add-tab {
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
top: 0;
|
|
right: 0;
|
|
height: 35px;
|
|
width: 35px;
|
|
background: #fff;
|
|
border-bottom: 1px solid $primary-border-color;
|
|
}
|
|
|
|
#btn-workspace-add-tab {
|
|
@include workspace-button;
|
|
line-height: 32px;
|
|
height: 32px;
|
|
width: 32px;
|
|
margin-top: 3px;
|
|
margin-right:3px;
|
|
border: 1px solid $primary-border-color;
|
|
}
|
|
|
|
#workspace-footer {
|
|
@include component-footer;
|
|
}
|