node-red/editor/sass/workspace.scss

79 lines
1.6 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:0px;
top: 35px;
left:0px;
right:0px;
box-sizing:border-box;
}
#chart svg:focus {
outline: none;
}
#workspace {
position: absolute;
margin: 0;
top:0px;
left:179px;
bottom: 10px;
right: 330px;
overflow: hidden;
@include component-border;
}
#chart-zoom-controls {
position: absolute;
bottom:30px; right: 350px;
}
#chart-zoom-controls {
padding-top: 3px;
text-align: right;
float: right;
}
#workspace-tabs {
margin-right: 28px;
}
#workspace-add-tab {
position: absolute;
top: 0;
right: 0;
height: 34px;
width: 28px;
border-bottom: 1px solid #999;
border-left: 1px solid #999;
}
#btn-workspace-add-tab {
display: inline-block;
width: 100%;
background: #f3f3f3;
height: 100%;
line-height: 35px;
text-align: center;
color: #000;
}
#btn-workspace-add-tab:hover {
background: #ddd;
}