aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/ng-select.scss
blob: ba8bac5e2dbcc85a4205b449cbe8a0c333096b6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@import '_variables';

$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.scss";

.ng-select {
  font-size: $ng-select-value-font-size;

  &.ng-select-focused {
    &:not(.ng-select-opened) > .ng-select-container {
      border-color: #ccc !important;
    }
  }

  .ng-select-container {
    background-color: pvar(--inputBackgroundColor);

  }

  .ng-arrow-wrapper {
    padding-right: 12px
  }

  &.ng-select-single .ng-value-container .ng-value {
    color: pvar(--inputForegroundColor);
  }

  &.ng-select-multiple .ng-select-container .ng-value-container {
    padding-left: 12px;
    .ng-value {
      margin-left: 3px;
    }
  }
}