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/sidebar.scss

61 lines
1.4 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.
**/
#sidebar {
position: absolute;
2015-04-13 01:11:32 +02:00
top: 5px;
right: 10px;
bottom: 10px;
width: 305px;
2015-04-09 15:46:29 +02:00
background: #fff;
box-sizing: border-box;
@include component-border;
}
#sidebar.closing {
background: #eee;
border-color: #900;
border-style: dashed;
}
#sidebar-content {
2015-04-13 01:11:32 +02:00
position: absolute;
top: 30px;
right: 0;
bottom: 1px;
left: 0px;
2015-04-09 15:46:29 +02:00
font-size: 1.2em;
overflow-y: auto;
}
#sidebar-separator {
2015-04-13 01:11:32 +02:00
position: absolute;
top: 5px;
right: 316px;
bottom:10px;
2015-04-09 15:46:29 +02:00
width: 15px;
background: url(images/grip.png) no-repeat 50% 50%;
cursor: col-resize;
}
.sidebar-closed > #sidebar { display: none; }
.sidebar-closed > #sidebar-separator { right: 0px !important; }
.sidebar-closed > #workspace { right: 15px !important; }
.sidebar-closed > #chart-zoom-controls { right: 35px !important; }