aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-01-17 11:30:47 +0100
committerChocobozzz <me@florianbigard.com>2019-01-17 11:34:29 +0100
commitf2fab901df31a0e7081f4bb225f28e98798950b0 (patch)
tree59a7fc9b5d22837e66654e09429ccfa2555364c6 /client/src/sass
parentdc094603cd9eccce3243a6b6ccec3416491f59d2 (diff)
downloadPeerTube-f2fab901df31a0e7081f4bb225f28e98798950b0.tar.gz
PeerTube-f2fab901df31a0e7081f4bb225f28e98798950b0.tar.zst
PeerTube-f2fab901df31a0e7081f4bb225f28e98798950b0.zip
Fix invisible things in dark mode
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/application.scss4
-rw-r--r--client/src/sass/include/_mixins.scss4
-rw-r--r--client/src/sass/primeng-custom.scss8
3 files changed, 12 insertions, 4 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 37837bfc0..783464f86 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -290,6 +290,10 @@ ngb-tabset.bootstrap {
290 @include disable-default-a-behaviour; 290 @include disable-default-a-behaviour;
291 291
292 color: var(--mainForegroundColor) !important; 292 color: var(--mainForegroundColor) !important;
293
294 &.active {
295 color: #000 !important;
296 }
293 } 297 }
294 } 298 }
295} 299}
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 8749649d3..5b3346508 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -57,11 +57,11 @@
57 57
58@mixin apply-svg-color ($color) { 58@mixin apply-svg-color ($color) {
59 /deep/ svg { 59 /deep/ svg {
60 path[fill="#000000"], g[fill="#000000"], rect[fill="#000000"] { 60 path[fill="#000000"], g[fill="#000000"], rect[fill="#000000"], circle[fill="#000000"] {
61 fill: $color; 61 fill: $color;
62 } 62 }
63 63
64 path[stroke="#000000"], g[stroke="#000000"], rect[stroke="#000000"] { 64 path[stroke="#000000"], g[stroke="#000000"], rect[stroke="#000000"], circle[stroke="#000000"] {
65 stroke: $color; 65 stroke: $color;
66 } 66 }
67 } 67 }
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index 7ba011180..b3aac9d16 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -14,7 +14,7 @@
14p-table { 14p-table {
15 .ui-table-caption { 15 .ui-table-caption {
16 border: none !important; 16 border: none !important;
17 background-color: #fff !important; 17 background-color: var(--mainBackgroundColor) !important;
18 18
19 .caption { 19 .caption {
20 height: 40px; 20 height: 40px;
@@ -24,7 +24,7 @@ p-table {
24 } 24 }
25 25
26 th { 26 th {
27 background-color: #fff !important; 27 background-color: var(--mainBackgroundColor) !important;
28 outline: 0; 28 outline: 0;
29 } 29 }
30 30
@@ -122,10 +122,14 @@ p-table {
122 122
123 &.pi-sort-up { 123 &.pi-sort-up {
124 @extend .glyphicon-triangle-top; 124 @extend .glyphicon-triangle-top;
125
126 color: var(--mainForegroundColor) !important;
125 } 127 }
126 128
127 &.pi-sort-down { 129 &.pi-sort-down {
128 @extend .glyphicon-triangle-bottom; 130 @extend .glyphicon-triangle-bottom;
131
132 color: var(--mainForegroundColor) !important;
129 } 133 }
130 } 134 }
131 } 135 }