blob: 181ce4077b427b353ba70600121376c51352deb4 (
plain) (
tree)
|
|
@use '_variables' as *;
@use '_mixins' as *;
$ng-select-highlight: #f2690d;
// $ng-select-primary-text: #333 !default;
// $ng-select-disabled-text: #f9f9f9 !default;
// $ng-select-border: #ccc !default;
// $ng-select-border-radius: 4px !default;
// $ng-select-bg: #ffffff !default;
// $ng-select-selected: lighten($ng-select-highlight, 46) !default;
// $ng-select-marke d: lighten($ng-select-highlight, 48) !default;
$ng-select-box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
// $ng-select-placeholder: lighten($ng-select-primary-text, 40) !default;
$ng-select-height: 30px;
$ng-select-value-padding-left: 15px;
$ng-select-value-font-size: 15px;
@import '~@ng-select/ng-select/scss/default.theme';
.ng-select {
font-size: $ng-select-value-font-size;
&.ng-select-focused {
&:not(.ng-select-opened) > .ng-select-container {
border-color: #ccc !important;
box-shadow: none !important;
}
}
.ng-input > input {
color: pvar(--inputForegroundColor) !important;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
color: pvar(--mainForegroundColor);
background-color: pvar(--mainBackgroundColor);
}
.ng-select-container {
background-color: pvar(--inputBackgroundColor);
}
.ng-arrow-wrapper {
@include padding-right(12px);
}
&.ng-select-single .ng-value-container .ng-value {
color: pvar(--inputForegroundColor);
.ng-value-label { /* stylelint-disable-line */
display: flex;
align-items: center;
}
}
&.ng-select-multiple .ng-select-container .ng-value-container {
@include padding-left(12px);
.ng-value { /* stylelint-disable-line */
@include margin-left(12px);
}
}
}
|