node-red/editor/sass/workspace.scss

142 lines
2.8 KiB
SCSS
Raw Normal View History

2015-04-09 15:46:29 +02:00
/**
* 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;
2015-07-14 16:59:56 +02:00
bottom:25px;
2015-07-12 00:43:45 +02:00
top: 35px;
2015-04-09 15:46:29 +02:00
left:0px;
right:0px;
2015-07-12 00:43:45 +02:00
box-sizing:border-box;
transition: right 0.2s ease;
2015-04-09 15:46:29 +02:00
}
2015-07-14 19:55:53 +02:00
2015-04-09 15:46:29 +02:00
#chart svg:focus {
outline: none;
}
#workspace {
position: absolute;
margin: 0;
2015-07-12 00:43:45 +02:00
top:0px;
left:179px;
2015-07-14 16:59:56 +02:00
bottom: 0px;
2015-07-14 00:21:03 +02:00
right: 322px;
2015-04-13 01:11:32 +02:00
overflow: hidden;
2015-07-12 00:43:45 +02:00
@include component-border;
2015-04-09 15:46:29 +02:00
}
2015-04-13 01:11:32 +02:00
2015-07-14 16:59:56 +02:00
.workspace-footer-button {
@include component-footer-button;
2015-04-09 15:46:29 +02:00
}
#workspace-tabs {
2015-07-14 19:55:53 +02:00
margin-right: 35px;
2015-04-09 15:46:29 +02:00
}
2015-07-13 16:08:17 +02:00
2016-01-31 23:27:14 +01:00
#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;
2016-02-28 00:13:19 +01:00
margin-right: 8px;
2016-01-31 23:27:14 +01:00
2016-02-28 00:13:19 +01:00
&.leftButton {
margin-right: 40px;
}
}
2016-01-31 23:27:14 +01:00
}
2016-02-28 00:13:19 +01:00
#editor-shade, #header-shade {
2016-01-31 23:27:14 +01:00
position: absolute;
top:0;
bottom:0;
left:0;
right:0;
background: rgba(220,220,220,0.5);
}
2015-04-09 15:46:29 +02:00
#workspace-add-tab {
position: absolute;
2015-07-14 16:59:56 +02:00
box-sizing: border-box;
2015-04-09 15:46:29 +02:00
top: 0;
right: 0;
2015-07-14 16:59:56 +02:00
height: 35px;
2015-07-14 19:55:53 +02:00
width: 35px;
2015-07-14 16:59:56 +02:00
background: #fff;
2015-07-13 12:26:29 +02:00
border-bottom: 1px solid $primary-border-color;
2015-04-09 15:46:29 +02:00
}
#btn-workspace-add-tab {
2015-07-13 16:08:17 +02:00
@include workspace-button;
2015-07-14 16:59:56 +02:00
line-height: 32px;
height: 32px;
width: 32px;
margin-top: 3px;
2015-07-14 19:55:53 +02:00
margin-right:3px;
2015-07-14 16:59:56 +02:00
border: 1px solid $primary-border-color;
}
#workspace-footer {
@include component-footer;
2015-04-09 15:46:29 +02:00
}