mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-10 12:27:31 -08:00
13659d036f
* ensure that eslint runs on all frontend code * remove tslint from `design-system` * enable prettier and eslint-prettier for `design-system` * Delete tslint.json * use a single editorconfig for the repo * enable prettier for all code in `design-system` * more linting fixes on design-system * ignore coverage for git and prettier * lintfix on editor-ui
41 lines
889 B
SCSS
41 lines
889 B
SCSS
@use 'mixins/mixins';
|
|
@use './common/var';
|
|
|
|
@include mixins.b(select-dropdown) {
|
|
@include mixins.e(item) {
|
|
font-size: var.$select-font-size;
|
|
padding: var(--select-option-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-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;
|
|
}
|
|
}
|
|
}
|