1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/editor/sass/workspace.scss

151 lines
2.9 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
#workspace.config-open {
#chart {
right: 190px;
}
#workspace-config-node-tray {
right: 0px;
}
#workspace-toolbar {
right: 190px;
}
}
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
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
}
#workspace-config-node-tray {
@include disable-selection;
position: absolute;
top: 35px;
bottom:25px;
right:-190px;
width: 190px;
border-left: 1px solid $secondary-border-color;
box-sizing:border-box;
background: #f3f3f3;
transition: right 0.2s ease;
overflow-y: auto;
}
.config-node-list {
margin: 0;
list-style-type: none;
}
.config_node {
width: 160px;
height: 30px;
background: #f3f3f3;
color: #666;
cursor: pointer;
.palette_label {
margin-left: 8px;
line-height: 24px;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.palette_icon_container {
font-size: 12px;
line-height: 30px;
background-color: #e8e8e8;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
}
.config_node_type {
color: #999;
text-align: right;
padding-right: 3px;
&:not(:first-child) {
margin-top: 20px;
}
}
.config_node_none {
color: #ddd;
text-align:right;
padding-right: 3px;
}
.config_node_unused {
border-color: #aaa;
background: #f9f9f9;
border-style: dashed;
color: #aaa;
}