aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/ng-select.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-10 10:18:44 +0200
committerChocobozzz <me@florianbigard.com>2022-06-10 10:18:44 +0200
commitbffee1d538aa7b51b78d646a0d372b352c073cd8 (patch)
tree333f368fa9dc7682eb25d3a72a1cfab43b558724 /client/src/sass/ng-select.scss
parenta3d7aadb6dee3c23828672ddcc1227f412674e22 (diff)
downloadPeerTube-bffee1d538aa7b51b78d646a0d372b352c073cd8.tar.gz
PeerTube-bffee1d538aa7b51b78d646a0d372b352c073cd8.tar.zst
PeerTube-bffee1d538aa7b51b78d646a0d372b352c073cd8.zip
Fix classic select and ng select css inconsistency
Diffstat (limited to 'client/src/sass/ng-select.scss')
-rw-r--r--client/src/sass/ng-select.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/client/src/sass/ng-select.scss b/client/src/sass/ng-select.scss
index 97e61e068..b1b82b573 100644
--- a/client/src/sass/ng-select.scss
+++ b/client/src/sass/ng-select.scss
@@ -4,7 +4,7 @@
4$ng-select-highlight: #f2690d; 4$ng-select-highlight: #f2690d;
5// $ng-select-primary-text: #333 !default; 5// $ng-select-primary-text: #333 !default;
6// $ng-select-disabled-text: #f9f9f9 !default; 6// $ng-select-disabled-text: #f9f9f9 !default;
7// $ng-select-border: #ccc !default; 7$ng-select-border: $input-border-color;
8// $ng-select-border-radius: 4px !default; 8// $ng-select-border-radius: 4px !default;
9// $ng-select-bg: #ffffff !default; 9// $ng-select-bg: #ffffff !default;
10// $ng-select-selected: lighten($ng-select-highlight, 46) !default; 10// $ng-select-selected: lighten($ng-select-highlight, 46) !default;
@@ -46,6 +46,14 @@ $ng-select-value-font-size: 15px;
46 @include padding-right(12px); 46 @include padding-right(12px);
47 } 47 }
48 48
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
49 &.ng-select-single .ng-value-container .ng-value { 57 &.ng-select-single .ng-value-container .ng-value {
50 color: pvar(--inputForegroundColor); 58 color: pvar(--inputForegroundColor);
51 59