]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/ng-select.scss
Translated using Weblate (Vietnamese)
[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;
7// $ng-select-border: #ccc !default;
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
b788e691
C
30 .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
31 color: pvar(--mainForegroundColor);
32 background-color: pvar(--mainBackgroundColor);
33 }
34
84065945
C
35 .ng-select-container {
36 background-color: pvar(--inputBackgroundColor);
149e4cc5
RK
37 }
38
39 .ng-arrow-wrapper {
27bc9586 40 @include padding-right(12px);
84065945
C
41 }
42
43 &.ng-select-single .ng-value-container .ng-value {
44 color: pvar(--inputForegroundColor);
7695987e 45
931d3430 46 .ng-value-label { /* stylelint-disable-line */
7695987e
C
47 display: flex;
48 align-items: center;
49 }
84065945 50 }
0564fc09 51
52 &.ng-select-multiple .ng-select-container .ng-value-container {
27bc9586 53 @include padding-left(12px);
931d3430
C
54
55 .ng-value { /* stylelint-disable-line */
27bc9586 56 @include margin-left(12px);
0564fc09 57 }
58 }
02c01341 59}