/** * 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 { margin: 4px auto; border-color: $node-selected-color; border-width: 2px; &:first-child { margin-top: 9px; } &:last-child { margin-bottom: 9px; } } } .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 { border-color: $primary-border-color; background: $secondary-background-inactive; border-style: dashed; color: $tertiary-text-color; } .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; }