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

89 lines
1.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.
**/
#sidebar {
position: absolute;
2015-07-12 00:43:45 +02:00
top: 0px;
right: 0px;
2015-07-14 16:59:56 +02:00
bottom: 0px;
2015-07-12 00:43:45 +02:00
width: 315px;
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;
2015-07-12 00:43:45 +02:00
top: 35px;
2015-04-13 01:11:32 +02:00
right: 0;
2015-07-14 16:59:56 +02:00
bottom: 25px;
2015-04-13 01:11:32 +02:00
left: 0px;
2015-04-09 15:46:29 +02:00
overflow-y: auto;
}
#sidebar-separator {
2015-04-13 01:11:32 +02:00
position: absolute;
top: 5px;
2015-07-14 00:21:03 +02:00
right: 315px;
2015-04-13 01:11:32 +02:00
bottom:10px;
2015-07-14 00:21:03 +02:00
width: 7px;
2015-04-09 15:46:29 +02:00
background: url(images/grip.png) no-repeat 50% 50%;
cursor: col-resize;
}
.sidebar-closed > #sidebar { display: none; }
.sidebar-closed > #sidebar-separator { right: 0px !important; }
2015-07-14 00:21:03 +02:00
.sidebar-closed > #workspace { right: 7px !important; }
#sidebar .button {
@include workspace-button;
line-height: 18px;
font-size: 12px;
margin-right: 5px;
padding: 2px 8px;
}
2015-07-14 16:59:56 +02:00
.sidebar-header {
color: #666;
text-align: right;
padding: 8px 10px;
background: #f3f3f3;
border-bottom: 1px solid $secondary-border-color;
}
2015-07-14 16:59:56 +02:00
#sidebar-footer {
@include component-footer;
}
2016-01-13 00:03:33 +01:00
.sidebar-footer-button {
@include component-footer-button;
}
2016-01-13 00:03:33 +01:00
.sidebar-header-button {
@include workspace-button;
font-size: 13px;
line-height: 13px;
padding: 5px 8px;
}
.sidebar-header-button:not(:first-child) {
border-left: none;
}