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

102 lines
2.7 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.
**/
2019-04-30 23:56:39 +02:00
.red-ui-sidebar-node-config {
2016-05-03 16:45:29 +02:00
position: relative;
2019-05-15 14:54:29 +02:00
background: $secondary-background;
2015-10-16 22:56:20 +02:00
height: 100%;
overflow-y:auto;
@include disable-selection;
2015-04-09 15:46:29 +02:00
}
2019-05-01 00:28:35 +02:00
.red-ui-sidebar-node-config-list {
margin: 0;
list-style-type: none;
2019-04-29 23:38:14 +02:00
.red-ui-palette-node {
overflow: hidden;
&.selected {
2019-05-15 14:54:29 +02:00
margin: 10px auto;
border-color: $node-selected-color;
2019-05-15 14:54:29 +02:00
border-width: 2px;
}
}
2019-05-01 00:28:35 +02:00
.red-ui-palette-label {
margin-left: 8px;
line-height: 24px;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2019-04-29 23:38:14 +02:00
.red-ui-palette-icon-container {
font-size: 12px;
line-height: 30px;
2019-05-15 14:54:29 +02:00
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;
2019-05-15 14:54:29 +02:00
color: $secondary-text-color;
&:hover {
text-decoration: none;
2019-05-15 14:54:29 +02:00
background: $secondary-background-hover;
}
}
}
}
2019-05-01 00:28:35 +02:00
.red-ui-palette-node-config {
width: 160px;
height: 30px;
2019-05-15 14:54:29 +02:00
background: $primary-background;
color: $primary-text-color;
cursor: pointer;
2016-01-13 00:03:33 +01:00
}
2019-05-01 00:28:35 +02:00
.red-ui-palette-node-config-type {
2019-05-15 14:54:29 +02:00
color: $secondary-text-color;
2016-01-13 00:03:33 +01:00
text-align: right;
padding-right: 3px;
&:not(:first-child) {
margin-top: 20px;
}
}
2019-05-01 00:28:35 +02:00
.red-ui-palette-node-config-none {
2019-05-15 14:54:29 +02:00
color: $tertiary-text-color;
2016-01-13 00:03:33 +01:00
text-align:right;
padding-right: 3px;
}
2019-05-01 00:28:35 +02:00
.red-ui-palette-node-config-unused {
2019-05-15 14:54:29 +02:00
border-color: $primary-border-color;
background: $secondary-background-inactive;
2016-01-13 00:03:33 +01:00
border-style: dashed;
2019-05-15 14:54:29 +02:00
color: $tertiary-text-color;
2016-01-13 00:03:33 +01:00
}
2019-05-01 00:28:35 +02:00
.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;
2019-05-15 14:54:29 +02:00
color: $secondary-text-color;
font-weight: normal;
}