-
Behrisch, M. (Michael) authored
Pills and React Flow components impl can be shared for consistency. Schema vs QueryBuilder can provide subclasses.
Behrisch, M. (Michael) authoredPills and React Flow components impl can be shared for consistency. Schema vs QueryBuilder can provide subclasses.
operatorselect.module.scss 1.16 KiB
@use './variables.module.scss';
.container {
position: relative;
vertical-align: baseline;
margin: 0 1ch;
font-weight: normal;
font-size: 7px;
}
.valueContainer {
color: #6a6a6a;
border: 1px solid rgba(0, 0, 0, 0);
border-radius: 2px;
background-color: transparent;
transition: border-color 0.2s;
height: variables.$height;
align-items: center;
display: flex;
padding: 0 1px 1px 1px;
&.highlighted,
&:hover {
border-color: rgba(0, 0, 0, 0.4);
}
}
.listbox {
font-size: 10px;
box-sizing: border-box;
padding: 5px;
margin: 5px 0 0 0;
list-style: none;
position: absolute;
height: auto;
box-shadow: 0 5px 13px -3px #e0e3e7;
background: white;
border: 1px solid #cdd2d7;
border-radius: 0.75em;
color: #1a2027;
overflow: auto;
z-index: 1;
outline: 0px;
left: -8px;
&.hidden {
opacity: 0;
visibility: hidden;
transition: opacity 0.4s 0.1s ease, visibility 0.4s 0.1s step-end;
}
& > li {
padding: 1px 4px;
border-radius: 2px;
&.selected {
background: #f1f1f1;
}
&:hover {
background: #e7ebf0;
}
&[aria-selected='true'] {
background: #e0e3e7;
}
}
}