summaryrefslogtreecommitdiffstats
path: root/assets/css
diff options
context:
space:
mode:
authorWes van der Vleuten <16665772+WesVleuten@users.noreply.github.com>2022-11-08 23:15:42 +0100
committerWes van der Vleuten <16665772+WesVleuten@users.noreply.github.com>2022-11-08 23:15:42 +0100
commitf604c1c68bbba81310ca2fd0a7283482840e0a26 (patch)
tree332e8e33d985806bf47a816c75f391e53fd5c4f8 /assets/css
parent7b573817734dfd48fc6d1fbdc9a0a99f379f0ed1 (diff)
downloadinvidious-f604c1c68bbba81310ca2fd0a7283482840e0a26.tar.gz
invidious-f604c1c68bbba81310ca2fd0a7283482840e0a26.tar.bz2
invidious-f604c1c68bbba81310ca2fd0a7283482840e0a26.zip
Fixed thumbnails with darkreader, Added watched indicator in more locations
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/default.css16
1 files changed, 11 insertions, 5 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 30a562e2..890bd524 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -135,9 +135,7 @@ div.thumbnail {
position: relative;
box-sizing: border-box;
}
-div.thumbnail.thumbnail-watched {
- background-color: rgba(255,255,255,.4);
-}
+
img.thumbnail {
position: absolute;
@@ -146,7 +144,15 @@ img.thumbnail {
left: 0;
top: 0;
object-fit: cover;
- z-index: -1;
+}
+
+div.watched-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: rgba(255,255,255,.4);
}
div.watched-indicator {
@@ -155,7 +161,7 @@ div.watched-indicator {
bottom: 0;
height: 4px;
width: 100%;
- background: red;
+ background-color: red;
}
.length {