Skip to content

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

Improve miniature progress bar

Chocobozzze82592674752
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html
index c0d3bf24bf..afe9378cdb 100644
--- a/client/src/app/app.component.html
+++ b/client/src/app/app.component.html
@@ -36,7 +36,7 @@
</div>
</div>
-<ngx-loading-bar [includeSpinner]="false" color="var(--primary)"></ngx-loading-bar>
+<ngx-loading-bar [includeSpinner]="false" color="var(--border-primary)"></ngx-loading-bar>
<my-confirm></my-confirm>
diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss
index 7d664b286f..866b047713 100644
--- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss
+++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss
@@ -10,12 +10,14 @@
height: 3px;
width: 100%;
position: absolute;
+ z-index: z(miniature);
bottom: 0;
background-color: rgba(0, 0, 0, 0.2);
div {
height: 100%;
- background-color: pvar(--primary);
+ background-color: pvar(--border-primary);
+ border-radius: 6px;
}
}
@@ -64,7 +66,7 @@
width: 6px;
height: 6px;
border-radius: 100%;
- background-color: pvar(--primary);
+ background-color: pvar(--border-primary);
position: relative;
top: -1px;
diff --git a/client/src/app/shared/shared-video-miniature/video-miniature.component.scss b/client/src/app/shared/shared-video-miniature/video-miniature.component.scss
index 2b790e7726..74d458bd94 100644
--- a/client/src/app/shared/shared-video-miniature/video-miniature.component.scss
+++ b/client/src/app/shared/shared-video-miniature/video-miniature.component.scss
@@ -118,6 +118,7 @@ my-actor-host {
position: absolute;
top: -20px;
background: pvar(--bg);
+ z-index: z(miniature);
@include left(-2px);