2015-04-09 15:46:29 +02:00
|
|
|
/**
|
2017-01-11 16:24:33 +01:00
|
|
|
* Copyright JS Foundation and other contributors, http://js.foundation
|
2015-04-09 15:46:29 +02:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
**/
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
#red-ui-sidebar {
|
2015-04-09 15:46:29 +02:00
|
|
|
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;
|
2016-02-28 00:13:19 +01:00
|
|
|
z-index: 10;
|
2015-04-09 15:46:29 +02:00
|
|
|
@include component-border;
|
|
|
|
}
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
#red-ui-sidebar.closing {
|
2015-04-09 15:46:29 +02:00
|
|
|
background: #eee;
|
|
|
|
border-color: #900;
|
|
|
|
border-style: dashed;
|
|
|
|
}
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
#red-ui-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;
|
|
|
|
}
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
#red-ui-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;
|
2016-02-28 00:13:19 +01:00
|
|
|
z-index: 11;
|
2019-05-08 20:06:08 +02:00
|
|
|
background: $primary-background url(images/grip.png) no-repeat 50% 50%;
|
2015-04-09 15:46:29 +02:00
|
|
|
cursor: col-resize;
|
|
|
|
}
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
.red-ui-sidebar-closed > #red-ui-sidebar { display: none; }
|
|
|
|
.red-ui-sidebar-closed > #red-ui-sidebar-separator { right: 0px !important; }
|
2019-05-01 23:41:20 +02:00
|
|
|
.red-ui-sidebar-closed > #red-ui-workspace { right: 7px !important; }
|
|
|
|
.red-ui-sidebar-closed > #red-ui-editor-stack { right: 8px !important; }
|
2015-07-14 00:21:03 +02:00
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
#red-ui-sidebar .button {
|
2015-07-14 00:21:03 +02:00
|
|
|
@include workspace-button;
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-right: 5px;
|
|
|
|
padding: 2px 8px;
|
|
|
|
}
|
2015-07-14 16:59:56 +02:00
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
.sidebar-header, /* Deprecated -> red-ui-sidebar-header */
|
|
|
|
.red-ui-sidebar-header {
|
2016-01-13 00:55:18 +01:00
|
|
|
color: #666;
|
|
|
|
text-align: right;
|
|
|
|
padding: 8px 10px;
|
|
|
|
background: #f3f3f3;
|
|
|
|
border-bottom: 1px solid $secondary-border-color;
|
2016-10-25 22:15:06 +02:00
|
|
|
white-space: nowrap;
|
2016-01-13 00:55:18 +01:00
|
|
|
}
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
/* Deprecated -> red-ui-footer-button */
|
2016-01-13 00:03:33 +01:00
|
|
|
.sidebar-footer-button {
|
2016-01-12 18:54:53 +01:00
|
|
|
@include component-footer-button;
|
|
|
|
}
|
2019-04-30 23:56:39 +02:00
|
|
|
/* Deprecated -> red-ui-footer-button-toggle */
|
2016-10-25 22:15:06 +02:00
|
|
|
.sidebar-footer-button-toggle {
|
|
|
|
@include component-footer-button-toggle;
|
|
|
|
}
|
2019-04-30 23:56:39 +02:00
|
|
|
|
|
|
|
.sidebar-header-button, /* Deprecated -> red-ui-sidebar-header-button */
|
|
|
|
.red-ui-sidebar-header-button {
|
2016-01-13 00:03:33 +01:00
|
|
|
@include workspace-button;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 13px;
|
|
|
|
padding: 5px 8px;
|
|
|
|
}
|
2019-04-30 23:56:39 +02:00
|
|
|
|
|
|
|
.sidebar-header-button-toggle, /* Deprecated -> red-ui-sidebar-header-button-toggle */
|
|
|
|
.red-ui-sidebar-header-button-toggle {
|
2016-02-18 11:28:22 +01:00
|
|
|
@include workspace-button-toggle;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 13px;
|
|
|
|
padding: 5px 8px;
|
|
|
|
}
|
2019-04-30 23:56:39 +02:00
|
|
|
|
|
|
|
.sidebar-header-button, /* Deprecated -> red-ui-sidebar-header-button */
|
|
|
|
.red-ui-sidebar-header-button:not(:first-child) {
|
2016-01-13 00:55:18 +01:00
|
|
|
border-left: none;
|
|
|
|
}
|
2016-05-29 23:31:29 +02:00
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
.red-ui-sidebar-shade {
|
2016-11-07 22:25:09 +01:00
|
|
|
@include shade;
|
2016-05-29 23:31:29 +02:00
|
|
|
}
|
2018-10-17 12:03:09 +02:00
|
|
|
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
@mixin red-ui-sidebar-control {
|
2018-10-17 12:03:09 +02:00
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 26px);
|
|
|
|
|
|
|
|
padding:15px 8px;
|
|
|
|
border:1px solid #ccc;
|
|
|
|
background:#f9f9f9;
|
|
|
|
color: #999;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-04-30 23:56:39 +02:00
|
|
|
.red-ui-sidebar-control-right {
|
|
|
|
@include red-ui-sidebar-control;
|
2018-10-17 12:03:09 +02:00
|
|
|
right: calc(100%);
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
}
|
2019-04-30 23:56:39 +02:00
|
|
|
.red-ui-sidebar-control-left {
|
|
|
|
@include red-ui-sidebar-control;
|
2018-10-17 12:03:09 +02:00
|
|
|
left: calc(100%);
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
}
|