node-red/packages/node_modules/@node-red/editor-client/src/sass/workspace.scss

222 lines
4.8 KiB
SCSS
Raw Normal View History

2015-04-09 15:46:29 +02: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.
**/
#red-ui-workspace {
position: absolute;
margin: 0;
top:0px;
left:179px;
bottom: 0px;
right: 322px;
overflow: hidden;
@include component-border;
transition: left 0.1s ease-in-out;
}
2015-04-09 15:46:29 +02:00
2019-05-01 23:41:20 +02:00
#red-ui-workspace-chart {
2015-04-09 15:46:29 +02:00
overflow: auto;
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;
2019-05-01 23:41:20 +02:00
&:focus {
outline: none;
}
2015-04-09 15:46:29 +02:00
}
#red-ui-workspace-tabs-shade {
@include shade;
z-index: 2;
bottom: auto;
height: 35px;
}
2015-07-14 19:55:53 +02:00
2019-05-01 23:41:20 +02:00
.red-ui-workspace-chart-background {
2022-06-18 22:05:25 +02:00
fill: var(--red-ui-view-background);
2019-05-01 23:41:20 +02:00
}
.red-ui-workspace-chart-grid line {
fill: none;
shape-rendering: crispEdges;
2022-06-18 22:05:25 +02:00
stroke: var(--red-ui-view-grid-color);
2019-05-01 23:41:20 +02:00
stroke-width: 1px;
2015-04-09 15:46:29 +02:00
}
.red-ui-workspace-select-mode {
.red-ui-workspace-chart-background {
opacity: 0.7;
}
.red-ui-workspace-chart-grid line {
opacity: 0.8;
}
}
2015-04-13 01:11:32 +02:00
2019-05-01 23:41:20 +02:00
.red-ui-palette-closed #red-ui-workspace {
2018-10-17 12:03:09 +02:00
left: 7px;
}
2019-03-26 23:22:13 +01:00
// .workspace-footer-button {
// @include component-footer-button;
// margin-left: 2px;
// margin-right: 2px;
// }
//
// .workspace-footer-button-toggle {
// @include component-footer-button-toggle;
// margin-left: 2px;
// margin-right: 2px;
// }
2019-05-01 23:41:20 +02:00
#red-ui-workspace-tabs:not(.red-ui-workspace-focussed) {
opacity:0.8;
}
.red-ui-workspace-disabled-icon {
display: none;
}
.red-ui-workspace-disabled {
&.red-ui-tab {
border-top-style: dashed;
border-left-style: dashed;
border-right-style: dashed;
a {
font-style: italic;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-tab-text-color-disabled-inactive) !important;
}
&.active a {
font-weight: normal;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-tab-text-color-disabled-active) !important;
}
.red-ui-workspace-disabled-icon {
display: inline;
}
}
}
2019-05-08 14:26:48 +02:00
2019-05-08 14:26:48 +02:00
#red-ui-navigator-canvas {
position: absolute;
bottom: 0;
right:0;
2020-02-29 15:15:42 +01:00
z-index: 101;
2022-06-18 22:05:25 +02:00
border-left: 1px solid var(--red-ui-primary-border-color);
border-top: 1px solid var(--red-ui-primary-border-color);
background: var(--red-ui-view-navigator-background);
box-shadow: -1px 0 3px var(--red-ui-shadow);
2019-05-08 14:26:48 +02:00
}
.red-ui-navigator-border {
stroke-dasharray: 5,5;
pointer-events: none;
2022-06-18 22:05:25 +02:00
stroke: var(--red-ui-secondary-border-color);
2020-02-29 15:15:42 +01:00
stroke-width: 1;
2022-06-18 22:05:25 +02:00
fill: var(--red-ui-view-background);
2019-05-08 14:26:48 +02:00
}
.red-ui-component-footer {
@include component-footer;
> .button-group {
display: inline-block;
> .red-ui-footer-button {
margin-top: -1px;
}
}
.search-counter {
display: inline-block;
font-size: smaller;
font-weight: 600;
white-space: nowrap;
}
}
a.red-ui-footer-button,
button.red-ui-footer-button {
@include component-footer-button;
}
a.red-ui-footer-button-toggle,
button.red-ui-footer-button-toggle {
@include component-footer-button-toggle;
}
.red-ui-statusbar-widget {
margin: 0 2px;
display: inline-block;
vertical-align: middle;
height: 100%;
line-height: 20px;
}
.red-ui-statusbar-bucket {
position: absolute;
top: 0;
bottom: 0;
}
.red-ui-statusbar-bucket-left {
left: 10px;
.red-ui-statusbar-widget:first-child {
margin-left: 0;
}
}
.red-ui-statusbar-bucket-right {
right: 10px;
.red-ui-statusbar-widget:last-child {
margin-right: 0;
}
}
2020-05-07 23:34:57 +02:00
#red-ui-loading-progress {
position: absolute;
2022-06-18 22:05:25 +02:00
background: var(--red-ui-primary-background);
2020-05-07 23:34:57 +02:00
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 200;
& > div {
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
height:80px;
text-align: center;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-secondary-text-color);
2020-05-07 23:34:57 +02:00
}
}
.red-ui-loading-bar {
box-sizing: border-box;
width: 300px;
height: 30px;
2022-06-18 22:05:25 +02:00
border: 2px solid var(--red-ui-primary-border-color);
2020-05-07 23:34:57 +02:00
border-radius: 4px;
> span {
display: block;
height: 100%;
2022-06-18 22:05:25 +02:00
background: var(--red-ui-secondary-border-color);
2020-05-07 23:34:57 +02:00
transition: width 0.2s;
width: 10%;
}
}
.red-ui-loading-bar-label {
font-size: 13px;
margin-bottom: 2px;
}