]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/sass/ng-select.scss
Bidi support
[github/Chocobozzz/PeerTube.git] / client / src / sass / ng-select.scss
1 @import '_variables';
2
3 $ng-select-highlight: #f2690d;
4 // $ng-select-primary-text: #333 !default;
5 // $ng-select-disabled-text: #f9f9f9 !default;
6 // $ng-select-border: #ccc !default;
7 // $ng-select-border-radius: 4px !default;
8 // $ng-select-bg: #ffffff !default;
9 // $ng-select-selected: lighten($ng-select-highlight, 46) !default;
10 // $ng-select-marke d: lighten($ng-select-highlight, 48) !default;
11 $ng-select-box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
12 // $ng-select-placeholder: lighten($ng-select-primary-text, 40) !default;
13 $ng-select-height: 30px;
14 $ng-select-value-padding-left: 15px;
15 $ng-select-value-font-size: 15px;
16
17 @import '~@ng-select/ng-select/scss/default.theme';
18
19 .ng-select {
20 font-size: $ng-select-value-font-size;
21
22 &.ng-select-focused {
23 &:not(.ng-select-opened) > .ng-select-container {
24 border-color: #ccc !important;
25 }
26 }
27
28 .ng-select-container {
29 background-color: pvar(--inputBackgroundColor);
30
31 }
32
33 .ng-arrow-wrapper {
34 @include padding-right(12px);
35 }
36
37 &.ng-select-single .ng-value-container .ng-value {
38 color: pvar(--inputForegroundColor);
39
40 .ng-value-label { /* stylelint-disable-line */
41 display: flex;
42 align-items: center;
43 }
44 }
45
46 &.ng-select-multiple .ng-select-container .ng-value-container {
47 @include padding-left(12px);
48
49 .ng-value { /* stylelint-disable-line */
50 @include margin-left(12px);
51 }
52 }
53 }