]>
Commit | Line | Data |
---|---|---|
8cbc40b2 C |
1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | |
02c01341 RK |
3 | |
4 | $ng-select-highlight: #f2690d; | |
5 | // $ng-select-primary-text: #333 !default; | |
6 | // $ng-select-disabled-text: #f9f9f9 !default; | |
bffee1d5 | 7 | $ng-select-border: $input-border-color; |
02c01341 RK |
8 | // $ng-select-border-radius: 4px !default; |
9 | // $ng-select-bg: #ffffff !default; | |
10 | // $ng-select-selected: lighten($ng-select-highlight, 46) !default; | |
11 | // $ng-select-marke d: lighten($ng-select-highlight, 48) !default; | |
12 | $ng-select-box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest); | |
13 | // $ng-select-placeholder: lighten($ng-select-primary-text, 40) !default; | |
14 | $ng-select-height: 30px; | |
0564fc09 | 15 | $ng-select-value-padding-left: 15px; |
03a5e95c | 16 | $ng-select-value-font-size: 15px; |
02c01341 | 17 | |
701348fe | 18 | @import '~@ng-select/ng-select/scss/default.theme'; |
02c01341 | 19 | |
02c01341 | 20 | .ng-select { |
03a5e95c C |
21 | font-size: $ng-select-value-font-size; |
22 | ||
02c01341 RK |
23 | &.ng-select-focused { |
24 | &:not(.ng-select-opened) > .ng-select-container { | |
25 | border-color: #ccc !important; | |
ebe9b6b3 | 26 | box-shadow: none !important; |
02c01341 RK |
27 | } |
28 | } | |
84065945 | 29 | |
1160fd70 C |
30 | .ng-input > input { |
31 | color: pvar(--inputForegroundColor) !important; | |
32 | } | |
33 | ||
b788e691 | 34 | .ng-dropdown-panel .ng-dropdown-panel-items .ng-option { |
9a0b50ab C |
35 | &:not(.ng-option-marked, .ng-option-selected) { |
36 | color: pvar(--mainForegroundColor); | |
37 | background-color: pvar(--mainBackgroundColor); | |
38 | } | |
b788e691 C |
39 | } |
40 | ||
84065945 C |
41 | .ng-select-container { |
42 | background-color: pvar(--inputBackgroundColor); | |
149e4cc5 RK |
43 | } |
44 | ||
45 | .ng-arrow-wrapper { | |
27bc9586 | 46 | @include padding-right(12px); |
84065945 C |
47 | } |
48 | ||
bffee1d5 C |
49 | .ng-arrow { |
50 | border-color: #000 transparent transparent !important; | |
51 | } | |
52 | ||
53 | &.ng-select-opened .ng-arrow { | |
54 | border-color: transparent transparent #000 !important; | |
55 | } | |
56 | ||
84065945 C |
57 | &.ng-select-single .ng-value-container .ng-value { |
58 | color: pvar(--inputForegroundColor); | |
7695987e | 59 | |
931d3430 | 60 | .ng-value-label { /* stylelint-disable-line */ |
7695987e C |
61 | display: flex; |
62 | align-items: center; | |
63 | } | |
84065945 | 64 | } |
0564fc09 | 65 | |
66 | &.ng-select-multiple .ng-select-container .ng-value-container { | |
27bc9586 | 67 | @include padding-left(12px); |
931d3430 C |
68 | |
69 | .ng-value { /* stylelint-disable-line */ | |
27bc9586 | 70 | @include margin-left(12px); |
0564fc09 | 71 | } |
72 | } | |
02c01341 | 73 | } |