aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-09-04 01:28:04 +0200
committerRigel Kent <par@rigelk.eu>2018-09-04 23:24:34 +0200
commit9a0fc8409c7a783348ec212fa9f38d0a98413467 (patch)
tree8b17264ef915e339d067abe6717c1574f1a2f36b /client/src/app/videos/+video-watch
parent3b766e181c59ce148fde73e507276c9fbaf37eb1 (diff)
downloadPeerTube-9a0fc8409c7a783348ec212fa9f38d0a98413467.tar.gz
PeerTube-9a0fc8409c7a783348ec212fa9f38d0a98413467.tar.zst
PeerTube-9a0fc8409c7a783348ec212fa9f38d0a98413467.zip
add theming via css custom properties
and a bonus dark color theme toggle
Diffstat (limited to 'client/src/app/videos/+video-watch')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment.component.scss2
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss10
2 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.scss b/client/src/app/videos/+video-watch/comment/video-comment.component.scss
index 78bcfe121..285db061f 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment.component.scss
+++ b/client/src/app/videos/+video-watch/comment/video-comment.component.scss
@@ -35,7 +35,7 @@
35 .comment-account { 35 .comment-account {
36 @include disable-default-a-behaviour; 36 @include disable-default-a-behaviour;
37 37
38 color: #000; 38 color: var(--mainForegroundColor);
39 font-weight: $font-bold; 39 font-weight: $font-bold;
40 } 40 }
41 41
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index be1388a83..edd5ae6ba 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -111,7 +111,7 @@
111 a { 111 a {
112 @include disable-default-a-behaviour; 112 @include disable-default-a-behaviour;
113 113
114 color: #000; 114 color: var(--mainForegroundColor);
115 115
116 &:hover { 116 &:hover {
117 opacity: 0.8; 117 opacity: 0.8;
@@ -137,7 +137,7 @@
137 display: inline; 137 display: inline;
138 align-items: center; 138 align-items: center;
139 font-size: 13px; 139 font-size: 13px;
140 color: #000; 140 color: var(--mainForegroundColor);
141 141
142 span:hover { 142 span:hover {
143 opacity: 0.8; 143 opacity: 0.8;
@@ -342,7 +342,7 @@
342 342
343 a.video-attribute-value { 343 a.video-attribute-value {
344 @include disable-default-a-behaviour; 344 @include disable-default-a-behaviour;
345 color: #000; 345 color: var(--mainForegroundColor);
346 346
347 &:hover { 347 &:hover {
348 opacity: 0.9; 348 opacity: 0.9;
@@ -413,7 +413,7 @@
413 a { 413 a {
414 @include disable-default-a-behaviour; 414 @include disable-default-a-behaviour;
415 415
416 color: $orange-color; 416 color: var(--mainColor);
417 transition: color 0.3s; 417 transition: color 0.3s;
418 418
419 &:hover { 419 &:hover {
@@ -422,7 +422,7 @@
422 } 422 }
423 423
424 .privacy-concerns-okay { 424 .privacy-concerns-okay {
425 background-color: $orange-color; 425 background-color: var(--mainColor);
426 padding: 5px 8px 5px 7px; 426 padding: 5px 8px 5px 7px;
427 margin-left: auto; 427 margin-left: auto;
428 border-radius: 3px; 428 border-radius: 3px;