Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix invisible things in dark mode

Chocobozzzf2fab901df31
diff --git a/client/src/app/shared/misc/help.component.scss b/client/src/app/shared/misc/help.component.scss
index 4565d457ab..3898f3cda9 100644
--- a/client/src/app/shared/misc/help.component.scss
+++ b/client/src/app/shared/misc/help.component.scss
@@ -10,6 +10,8 @@
position: relative;
top: -2px;
margin: 5px;
+
+ @include apply-svg-color(var(--mainForegroundColor))
}
}
@@ -18,15 +20,15 @@
max-width: 300px;
.popover-body {
+ font-family: $main-fonts;
text-align: left;
padding: 10px;
font-size: 13px;
- font-family: $main-fonts;
- background-color: #fff;
- color: #000;
+ background-color: var(--mainBackgroundColor);
+ color: var(--mainForegroundColor);
box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
- p:last-child {
+ p {
margin-bottom: 0;
}
diff --git a/client/src/assets/images/global/help.html b/client/src/assets/images/global/help.html
index 27e9bee6f8..80cd403217 100644
--- a/client/src/assets/images/global/help.html
+++ b/client/src/assets/images/global/help.html
@@ -2,8 +2,8 @@
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-400.000000, -247.000000)">
<g id="69" transform="translate(400.000000, 247.000000)">
- <circle id="Oval-7" stroke="#333333" stroke-width="2" cx="12" cy="12" r="10"></circle>
- <path d="M12.016,14.544 C12.384,14.544 12.64,14.256 12.704,13.904 L12.768,13.168 C14.544,12.864 16,11.952 16,9.936 L16,9.904 C16,7.904 14.48,6.656 12.24,6.656 C10.768,6.656 9.696,7.184 8.848,7.984 C8.624,8.176 8.528,8.432 8.528,8.672 C8.528,9.152 8.928,9.552 9.424,9.552 C9.648,9.552 9.856,9.456 10.016,9.328 C10.656,8.752 11.344,8.448 12.192,8.448 C13.344,8.448 14.032,9.072 14.032,9.968 L14.032,10 C14.032,11.008 13.2,11.584 11.696,11.728 C11.264,11.776 11.008,12.096 11.072,12.528 L11.232,13.904 C11.28,14.272 11.552,14.544 11.92,14.544 L12.016,14.544 Z M10.784,16.816 L10.784,16.976 C10.784,17.6 11.264,18.08 11.92,18.08 C12.576,18.08 13.056,17.6 13.056,16.976 L13.056,16.816 C13.056,16.192 12.576,15.712 11.92,15.712 C11.264,15.712 10.784,16.192 10.784,16.816 Z" id="?" fill="#333333"></path>
+ <circle id="Oval-7" stroke="#000000" stroke-width="2" cx="12" cy="12" r="10"></circle>
+ <path d="M12.016,14.544 C12.384,14.544 12.64,14.256 12.704,13.904 L12.768,13.168 C14.544,12.864 16,11.952 16,9.936 L16,9.904 C16,7.904 14.48,6.656 12.24,6.656 C10.768,6.656 9.696,7.184 8.848,7.984 C8.624,8.176 8.528,8.432 8.528,8.672 C8.528,9.152 8.928,9.552 9.424,9.552 C9.648,9.552 9.856,9.456 10.016,9.328 C10.656,8.752 11.344,8.448 12.192,8.448 C13.344,8.448 14.032,9.072 14.032,9.968 L14.032,10 C14.032,11.008 13.2,11.584 11.696,11.728 C11.264,11.776 11.008,12.096 11.072,12.528 L11.232,13.904 C11.28,14.272 11.552,14.544 11.92,14.544 L12.016,14.544 Z M10.784,16.816 L10.784,16.976 C10.784,17.6 11.264,18.08 11.92,18.08 C12.576,18.08 13.056,17.6 13.056,16.976 L13.056,16.816 C13.056,16.192 12.576,15.712 11.92,15.712 C11.264,15.712 10.784,16.192 10.784,16.816 Z" id="?" fill="#000000"></path>
</g>
</g>
</g>
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 37837bfc0c..783464f867 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -290,6 +290,10 @@ ngb-tabset.bootstrap {
@include disable-default-a-behaviour;
color: var(--mainForegroundColor) !important;
+
+ &.active {
+ color: #000 !important;
+ }
}
}
}
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 8749649d33..5b3346508f 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -57,11 +57,11 @@
@mixin apply-svg-color ($color) {
/deep/ svg {
- path[fill="#000000"], g[fill="#000000"], rect[fill="#000000"] {
+ path[fill="#000000"], g[fill="#000000"], rect[fill="#000000"], circle[fill="#000000"] {
fill: $color;
}
- path[stroke="#000000"], g[stroke="#000000"], rect[stroke="#000000"] {
+ path[stroke="#000000"], g[stroke="#000000"], rect[stroke="#000000"], circle[stroke="#000000"] {
stroke: $color;
}
}
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index 7ba0111800..b3aac9d16a 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -14,7 +14,7 @@
p-table {
.ui-table-caption {
border: none !important;
- background-color: #fff !important;
+ background-color: var(--mainBackgroundColor) !important;
.caption {
height: 40px;
@@ -24,7 +24,7 @@ p-table {
}
th {
- background-color: #fff !important;
+ background-color: var(--mainBackgroundColor) !important;
outline: 0;
}
@@ -122,10 +122,14 @@ p-table {
&.pi-sort-up {
@extend .glyphicon-triangle-top;
+
+ color: var(--mainForegroundColor) !important;
}
&.pi-sort-down {
@extend .glyphicon-triangle-bottom;
+
+ color: var(--mainForegroundColor) !important;
}
}
}