mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-10 20:37:29 -08:00
41 lines
825 B
SCSS
41 lines
825 B
SCSS
|
@use "mixins/mixins";
|
||
|
@use "./common/var";
|
||
|
|
||
|
@include mixins.b(select-dropdown) {
|
||
|
@include mixins.e(item) {
|
||
|
font-size: var.$select-font-size;
|
||
|
padding: 0 20px;
|
||
|
position: relative;
|
||
|
white-space: nowrap;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
color: var.$select-option-color;
|
||
|
min-height: var.$select-option-height;
|
||
|
height: auto;
|
||
|
line-height: var.$select-option-height;
|
||
|
box-sizing: border-box;
|
||
|
cursor: pointer;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
|
||
|
@include mixins.when(disabled) {
|
||
|
color: var.$select-option-disabled-color;
|
||
|
cursor: not-allowed;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: var.$color-white;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.hover,
|
||
|
&:hover {
|
||
|
background-color: var.$select-option-hover-background;
|
||
|
}
|
||
|
|
||
|
&.selected {
|
||
|
color: var.$select-option-selected-font-color;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
}
|
||
|
}
|