aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-17 13:32:11 +0100
committerChocobozzz <me@florianbigard.com>2023-02-17 13:32:11 +0100
commitdec437aa46a644fb1b3cedc9afe4503c44e15308 (patch)
tree093d6b60bf461a7be504a5435f53177dc0dda825 /client/src/app/shared
parentefaf3797897533ebaac6d96110c4c56af9fc1628 (diff)
downloadPeerTube-dec437aa46a644fb1b3cedc9afe4503c44e15308.tar.gz
PeerTube-dec437aa46a644fb1b3cedc9afe4503c44e15308.tar.zst
PeerTube-dec437aa46a644fb1b3cedc9afe4503c44e15308.zip
Increase theme compatibility
Try to use CSS variable as much as possible
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-main/misc/help.component.scss5
-rw-r--r--client/src/app/shared/shared-main/users/user-notifications.component.scss2
2 files changed, 2 insertions, 5 deletions
diff --git a/client/src/app/shared/shared-main/misc/help.component.scss b/client/src/app/shared/shared-main/misc/help.component.scss
index f7a7fea55..6ccef9f2c 100644
--- a/client/src/app/shared/shared-main/misc/help.component.scss
+++ b/client/src/app/shared/shared-main/misc/help.component.scss
@@ -23,12 +23,8 @@
23 max-width: 300px; 23 max-width: 300px;
24 24
25 .popover-body { 25 .popover-body {
26 font-family: $main-fonts;
27 text-align: start;
28 padding: 10px; 26 padding: 10px;
29 font-size: 13px; 27 font-size: 13px;
30 background-color: pvar(--mainBackgroundColor);
31 color: pvar(--mainForegroundColor);
32 border-radius: 3px; 28 border-radius: 3px;
33 29
34 p { 30 p {
@@ -37,6 +33,7 @@
37 33
38 ul { 34 ul {
39 @include padding-left(20px); 35 @include padding-left(20px);
36
40 margin-bottom: 0; 37 margin-bottom: 0;
41 } 38 }
42 } 39 }
diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.scss b/client/src/app/shared/shared-main/users/user-notifications.component.scss
index 12352b3b7..8f4d4c7c1 100644
--- a/client/src/app/shared/shared-main/users/user-notifications.component.scss
+++ b/client/src/app/shared/shared-main/users/user-notifications.component.scss
@@ -21,7 +21,7 @@
21 } 21 }
22 22
23 my-global-icon { 23 my-global-icon {
24 @include apply-svg-color(#333); 24 @include apply-svg-color(#{pvar(--mainForegroundColor)});
25 @include margin-right(11px); 25 @include margin-right(11px);
26 @include margin-left(3px); 26 @include margin-left(3px);
27 27