2021-05-27 16:25:00 +00:00
|
|
|
@use '_variables' as *;
|
|
|
|
@use '_mixins' as *;
|
2020-08-04 22:50:07 +00:00
|
|
|
|
|
|
|
$ng-select-highlight: #f2690d;
|
|
|
|
// $ng-select-primary-text: #333 !default;
|
|
|
|
// $ng-select-disabled-text: #f9f9f9 !default;
|
2022-06-10 08:18:44 +00:00
|
|
|
$ng-select-border: $input-border-color;
|
2020-08-04 22:50:07 +00:00
|
|
|
// $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;
|
2021-04-07 06:39:48 +00:00
|
|
|
$ng-select-value-padding-left: 15px;
|
2021-04-26 13:01:33 +00:00
|
|
|
$ng-select-value-font-size: 15px;
|
2020-08-04 22:50:07 +00:00
|
|
|
|
2021-06-30 08:00:12 +00:00
|
|
|
@import '~@ng-select/ng-select/scss/default.theme';
|
2020-08-04 22:50:07 +00:00
|
|
|
|
|
|
|
.ng-select {
|
2021-04-26 13:01:33 +00:00
|
|
|
font-size: $ng-select-value-font-size;
|
|
|
|
|
2020-08-04 22:50:07 +00:00
|
|
|
&.ng-select-focused {
|
|
|
|
&:not(.ng-select-opened) > .ng-select-container {
|
|
|
|
border-color: #ccc !important;
|
2021-10-20 12:50:46 +00:00
|
|
|
box-shadow: none !important;
|
2020-08-04 22:50:07 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-20 09:59:47 +00:00
|
|
|
|
2022-05-02 12:40:43 +00:00
|
|
|
.ng-input > input {
|
|
|
|
color: pvar(--inputForegroundColor) !important;
|
|
|
|
}
|
|
|
|
|
2022-03-15 13:12:37 +00:00
|
|
|
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
2022-05-02 12:51:19 +00:00
|
|
|
&:not(.ng-option-marked, .ng-option-selected) {
|
|
|
|
color: pvar(--mainForegroundColor);
|
|
|
|
background-color: pvar(--mainBackgroundColor);
|
|
|
|
}
|
2022-03-15 13:12:37 +00:00
|
|
|
}
|
|
|
|
|
2021-01-20 09:59:47 +00:00
|
|
|
.ng-select-container {
|
|
|
|
background-color: pvar(--inputBackgroundColor);
|
2021-01-28 16:21:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ng-arrow-wrapper {
|
2021-06-07 15:38:31 +00:00
|
|
|
@include padding-right(12px);
|
2021-01-20 09:59:47 +00:00
|
|
|
}
|
|
|
|
|
2022-06-10 08:18:44 +00:00
|
|
|
.ng-arrow {
|
|
|
|
border-color: #000 transparent transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ng-select-opened .ng-arrow {
|
|
|
|
border-color: transparent transparent #000 !important;
|
|
|
|
}
|
|
|
|
|
2021-01-20 09:59:47 +00:00
|
|
|
&.ng-select-single .ng-value-container .ng-value {
|
|
|
|
color: pvar(--inputForegroundColor);
|
2021-04-27 07:15:39 +00:00
|
|
|
|
2021-04-28 14:41:07 +00:00
|
|
|
.ng-value-label { /* stylelint-disable-line */
|
2021-04-27 07:15:39 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-01-20 09:59:47 +00:00
|
|
|
}
|
2021-04-07 06:39:48 +00:00
|
|
|
|
|
|
|
&.ng-select-multiple .ng-select-container .ng-value-container {
|
2021-06-07 15:38:31 +00:00
|
|
|
@include padding-left(12px);
|
2021-04-28 14:41:07 +00:00
|
|
|
|
|
|
|
.ng-value { /* stylelint-disable-line */
|
2021-06-07 15:38:31 +00:00
|
|
|
@include margin-left(12px);
|
2021-04-07 06:39:48 +00:00
|
|
|
}
|
|
|
|
}
|
2020-08-04 22:50:07 +00:00
|
|
|
}
|