1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red/editor-client/src/sass/tab-config.scss
2019-09-10 11:39:07 +01:00

116 lines
3.0 KiB
SCSS

/**
* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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-sidebar-node-config {
position: relative;
background: $secondary-background;
height: 100%;
overflow-y:auto;
@include disable-selection;
}
ul.red-ui-sidebar-node-config-list {
margin: 0;
padding: 0;
list-style-type: none;
li {
padding: 0;
margin: 0;
text-align: center;
}
.red-ui-palette-node {
overflow: hidden;
&.selected {
border-color: transparent;
box-shadow: 0 0 0 2px $node-selected-color;
}
}
.red-ui-palette-label {
margin-left: 8px;
line-height: 24px;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.red-ui-palette-icon-container {
font-size: 12px;
line-height: 30px;
background-color: $secondary-background-selected;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
a {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
color: $secondary-text-color;
&:hover {
text-decoration: none;
background: $secondary-background-hover;
}
}
}
}
.red-ui-palette-node-config {
width: 160px;
height: 30px;
background: $primary-background;
color: $primary-text-color;
cursor: pointer;
}
ul.red-ui-sidebar-node-config-list li.red-ui-palette-node-config-type {
color: $secondary-text-color;
text-align: right;
padding-right: 3px;
&:not(:first-child) {
margin-top: 20px;
}
}
.red-ui-palette-node-config-none {
color: $tertiary-text-color;
text-align:right;
padding-right: 3px;
}
.red-ui-palette-node-config-unused,.red-ui-palette-node-config-disabled {
border-color: $primary-border-color;
background: $secondary-background-inactive;
border-style: dashed;
color: $tertiary-text-color;
}
.red-ui-palette-node-config-disabled {
opacity: 0.6;
font-style: italic;
i {
color: $secondary-text-color;
margin-right: 5px;
}
}
.red-ui-sidebar-node-config-filter-info {
position: absolute;
top: 0;
right:0;
height: 38px;
line-height: 38px;
padding: 0 8px;
background: $palette-header-background;
font-size: 0.8em;
color: $secondary-text-color;
font-weight: normal;
}