]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/ng-select.scss
Fix dev instance following test instances
[github/Chocobozzz/PeerTube.git] / client / src / sass / ng-select.scss
CommitLineData
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;
5b0ec7cd 16$ng-select-value-font-size: $form-input-font-size;
02c01341 17
a0da6f90 18@import '@ng-select/ng-select/scss/default.theme';
02c01341 19
02c01341 20.ng-select {
03a5e95c 21 font-size: $ng-select-value-font-size;
5b0ec7cd 22 line-height: $form-input-line-height;
03a5e95c 23
02c01341
RK
24 &.ng-select-focused {
25 &:not(.ng-select-opened) > .ng-select-container {
26 border-color: #ccc !important;
ebe9b6b3 27 box-shadow: none !important;
02c01341
RK
28 }
29 }
84065945 30
1160fd70
C
31 .ng-input > input {
32 color: pvar(--inputForegroundColor) !important;
33 }
34
b788e691 35 .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
9a0b50ab
C
36 &:not(.ng-option-marked, .ng-option-selected) {
37 color: pvar(--mainForegroundColor);
38 background-color: pvar(--mainBackgroundColor);
39 }
b788e691
C
40 }
41
84065945
C
42 .ng-select-container {
43 background-color: pvar(--inputBackgroundColor);
149e4cc5
RK
44 }
45
46 .ng-arrow-wrapper {
27bc9586 47 @include padding-right(12px);
84065945
C
48 }
49
bffee1d5
C
50 .ng-arrow {
51 border-color: #000 transparent transparent !important;
52 }
53
54 &.ng-select-opened .ng-arrow {
55 border-color: transparent transparent #000 !important;
56 }
57
84065945
C
58 &.ng-select-single .ng-value-container .ng-value {
59 color: pvar(--inputForegroundColor);
7695987e 60
931d3430 61 .ng-value-label { /* stylelint-disable-line */
7695987e
C
62 display: flex;
63 align-items: center;
64 }
84065945 65 }
0564fc09 66
67 &.ng-select-multiple .ng-select-container .ng-value-container {
27bc9586 68 @include padding-left(12px);
931d3430
C
69
70 .ng-value { /* stylelint-disable-line */
27bc9586 71 @include margin-left(12px);
0564fc09 72 }
73 }
02c01341 74}