2016-09-30 00:46:29 +02:00
|
|
|
/**
|
2017-01-11 16:24:33 +01:00
|
|
|
* Copyright JS Foundation and other contributors, http://js.foundation
|
2016-09-30 00: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-search {
|
|
|
|
z-index:1000;
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
width: 500px;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -250px;
|
|
|
|
top: 0px;
|
|
|
|
border: 1px solid $primary-border-color;
|
2019-05-15 14:54:29 +02:00
|
|
|
box-shadow: 0 0 10px $shadow;
|
2020-04-27 16:23:39 +02:00
|
|
|
background: $secondary-background;
|
|
|
|
|
|
|
|
.red-ui-searchBox-container {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 6px;
|
2020-06-15 23:31:35 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.red-ui-type-search) .red-ui-searchBox-container {
|
2020-04-27 16:23:39 +02:00
|
|
|
width: calc(100% - 30px);
|
|
|
|
}
|
2016-11-07 22:25:09 +01:00
|
|
|
}
|
2019-05-08 14:26:48 +02:00
|
|
|
|
2016-11-07 22:25:09 +01:00
|
|
|
.red-ui-type-search {
|
|
|
|
box-shadow: 0 1px 6px -3px black;
|
|
|
|
background: none;
|
|
|
|
width: 300px;
|
|
|
|
margin-left: 0px;
|
|
|
|
//height: 75px;
|
|
|
|
border: none;
|
|
|
|
.red-ui-search-container {
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
2019-05-08 14:26:48 +02:00
|
|
|
border: 1px dashed $primary-border-color;
|
2016-11-07 22:25:09 +01:00
|
|
|
border-bottom: none;
|
|
|
|
padding: 0;
|
2020-06-05 23:19:46 +02:00
|
|
|
width: 100%;
|
2016-11-07 22:25:09 +01:00
|
|
|
}
|
|
|
|
.red-ui-search-results-container {
|
|
|
|
display: none;
|
|
|
|
height: 150px;
|
2016-11-08 22:18:34 +01:00
|
|
|
.red-ui-editableList-container {
|
2019-05-08 14:26:48 +02:00
|
|
|
border: 1px dashed $primary-border-color;
|
|
|
|
border-top: 1px solid $secondary-border-color;
|
2016-11-08 22:18:34 +01:00
|
|
|
}
|
2016-11-07 22:25:09 +01:00
|
|
|
}
|
|
|
|
.red-ui-search-result {
|
2016-11-08 22:18:34 +01:00
|
|
|
padding: 2px 2px 2px 5px;
|
|
|
|
font-size: 13px;
|
2016-11-22 23:57:05 +01:00
|
|
|
border-left-width: 3px;
|
|
|
|
border-right-width: 3px;
|
2019-04-29 23:38:14 +02:00
|
|
|
.red-ui-palette-icon-fa {
|
2018-09-26 02:16:15 +02:00
|
|
|
position: relative;
|
|
|
|
top: -2.5px;
|
|
|
|
left: 0px;
|
|
|
|
}
|
2016-11-22 23:57:05 +01:00
|
|
|
}
|
|
|
|
.red-ui-search-result-separator {
|
2019-05-08 14:26:48 +02:00
|
|
|
border-bottom: 3px solid $secondary-border-color;
|
2016-11-07 22:25:09 +01:00
|
|
|
}
|
|
|
|
.red-ui-search-result-node {
|
2016-11-22 23:57:05 +01:00
|
|
|
position: relative;
|
2016-11-07 22:25:09 +01:00
|
|
|
width: 18px;
|
|
|
|
height: 15px;
|
2016-11-22 23:57:05 +01:00
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
.red-ui-search-result-node-port {
|
|
|
|
position: absolute;
|
|
|
|
border-radius: 2px;
|
2019-05-15 14:54:29 +02:00
|
|
|
border: 1px solid $node-border;;
|
2016-11-22 23:57:05 +01:00
|
|
|
width: 6px;
|
|
|
|
height: 7px;
|
|
|
|
top:4px;
|
|
|
|
left:-4px;
|
2019-05-15 14:54:29 +02:00
|
|
|
background: $node-port-background;
|
2016-11-22 23:57:05 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.red-ui-search-result-node-output{
|
|
|
|
left: 16px;
|
2016-11-07 22:25:09 +01:00
|
|
|
}
|
2019-04-29 23:38:14 +02:00
|
|
|
.red-ui-palette-icon-container {
|
2016-11-07 22:25:09 +01:00
|
|
|
width: 18px;
|
|
|
|
}
|
2019-04-29 23:38:14 +02:00
|
|
|
.red-ui-palette-icon {
|
2016-11-07 22:25:09 +01:00
|
|
|
width: 15px;
|
2020-04-27 12:17:19 +02:00
|
|
|
position:relative;
|
|
|
|
left: -1px;
|
2016-11-07 22:25:09 +01:00
|
|
|
}
|
|
|
|
.red-ui-search-result-description {
|
|
|
|
margin-left:28px;
|
|
|
|
}
|
|
|
|
.red-ui-search-result-node-label {
|
2019-05-15 14:54:29 +02:00
|
|
|
color: $secondary-text-color;
|
2016-11-07 22:25:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-30 00:46:29 +02:00
|
|
|
.red-ui-search-container {
|
|
|
|
padding: 3px;
|
2019-05-08 14:26:48 +02:00
|
|
|
background: $form-input-background;
|
2016-09-30 00:46:29 +02:00
|
|
|
border-bottom: 1px solid $secondary-border-color;
|
|
|
|
}
|
|
|
|
.red-ui-search-results-container {
|
|
|
|
position:relative;
|
|
|
|
height: 300px;
|
|
|
|
padding: 5px;
|
2019-05-08 20:06:08 +02:00
|
|
|
background: $primary-background;
|
2019-05-08 14:26:48 +02:00
|
|
|
.red-ui-search-results-list {
|
2016-11-08 22:18:34 +01:00
|
|
|
|
2019-05-08 14:26:48 +02:00
|
|
|
}
|
2016-09-30 00:46:29 +02:00
|
|
|
.red-ui-editableList-container {
|
|
|
|
padding: 0;
|
2019-05-08 20:06:08 +02:00
|
|
|
background: $primary-background;
|
2016-09-30 00:46:29 +02:00
|
|
|
li {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.red-ui-search-result {
|
|
|
|
padding: 8px 2px 8px 5px;
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
2019-05-08 14:26:48 +02:00
|
|
|
color: $list-item-color;
|
|
|
|
background: $list-item-background;
|
|
|
|
border-left: 3px solid $list-item-background;
|
|
|
|
border-right: 3px solid $list-item-background;
|
2019-05-15 14:54:29 +02:00
|
|
|
li.selected & {
|
|
|
|
background: $list-item-background-selected;
|
|
|
|
border-left-color: $list-item-border-selected;
|
|
|
|
border-right-color: $list-item-border-selected;
|
|
|
|
}
|
2016-09-30 00:46:29 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $form-text-color;
|
2019-05-08 14:26:48 +02:00
|
|
|
background: $list-item-background-hover;
|
|
|
|
border-left-color:$list-item-background-hover;
|
|
|
|
border-right-color:$list-item-background-hover;
|
2016-09-30 00:46:29 +02:00
|
|
|
}
|
2016-11-07 22:25:09 +01:00
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
2019-04-29 23:38:14 +02:00
|
|
|
.red-ui-palette-icon-fa {
|
2018-09-26 02:16:15 +02:00
|
|
|
top: 6px;
|
|
|
|
left: 3px;
|
|
|
|
}
|
2016-09-30 00:46:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.red-ui-search-result-node {
|
|
|
|
display: inline-block;
|
|
|
|
width: 30px;
|
|
|
|
float:left;
|
|
|
|
height: 25px;
|
2020-04-27 12:17:19 +02:00
|
|
|
border-radius: 3px;
|
2019-05-15 14:54:29 +02:00
|
|
|
border: 1px solid $node-border;
|
2016-09-30 00:46:29 +02:00
|
|
|
background-position: 5% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
position: relative;
|
2016-11-07 22:25:09 +01:00
|
|
|
|
2019-04-29 23:38:14 +02:00
|
|
|
.red-ui-palette-icon-container {
|
2016-11-07 22:25:09 +01:00
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
2016-09-30 00:46:29 +02:00
|
|
|
}
|
2019-06-07 12:29:18 +02:00
|
|
|
.red-ui-search-result-node-description {
|
2016-09-30 00:46:29 +02:00
|
|
|
margin-left: 40px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
.red-ui-search-result-node-label {
|
2019-05-15 14:54:29 +02:00
|
|
|
color: $primary-text-color;
|
2016-09-30 00:46:29 +02:00
|
|
|
}
|
|
|
|
.red-ui-search-result-node-type {
|
|
|
|
font-style: italic;
|
2016-10-09 23:54:47 +02:00
|
|
|
font-size: 0.9em;
|
2019-05-15 14:54:29 +02:00
|
|
|
color: $tertiary-text-color;
|
2016-09-30 00:46:29 +02:00
|
|
|
}
|
|
|
|
.red-ui-search-result-node-flow {
|
|
|
|
float:right;
|
2016-10-09 23:54:47 +02:00
|
|
|
font-size: 0.8em;
|
2019-05-15 14:54:29 +02:00
|
|
|
color: $tertiary-text-color;
|
2016-09-30 00:46:29 +02:00
|
|
|
}
|
|
|
|
.red-ui-search-result-node-id {
|
|
|
|
display:none;
|
2016-10-09 23:54:47 +02:00
|
|
|
font-size: 0.8em;
|
2019-05-15 14:54:29 +02:00
|
|
|
color: $tertiary-text-color;
|
2016-09-30 00:46:29 +02:00
|
|
|
}
|
|
|
|
.red-ui-search-empty {
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
|
|
|
font-style: italic;
|
|
|
|
color: $form-placeholder-color;
|
|
|
|
}
|
2019-06-07 12:29:18 +02:00
|
|
|
|
|
|
|
.red-ui-search-result-action {
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
.red-ui-search-result-action-key {
|
2019-06-11 23:43:01 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 9px;
|
|
|
|
right: 0;
|
2019-06-07 12:29:18 +02:00
|
|
|
margin-right: 10px;
|
|
|
|
color: $tertiary-text-color;
|
|
|
|
}
|