+
@@ -89,14 +90,25 @@ function more() {
.banner {
position: absolute;
- top: 0;
left: 0;
width: 100%;
- height: 100%;
background-size: cover;
background-position: center center;
- -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
- mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+
+ &.topBanner {
+ top: 0;
+ height: 100%;
+ -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ }
+
+ &.bottomBanner {
+ bottom: 0;
+ height: 80%;
+ background-position-y: -10px;
+ -webkit-mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ }
}
.instance {
diff --git a/packages/frontend/src/ui/_common_/navbar.vue b/packages/frontend/src/ui/_common_/navbar.vue
index a184f1d2f0..574615704d 100644
--- a/packages/frontend/src/ui/_common_/navbar.vue
+++ b/packages/frontend/src/ui/_common_/navbar.vue
@@ -2,7 +2,7 @@
-
+
@@ -40,6 +40,7 @@
+
@@ -142,14 +143,25 @@ function more(ev: MouseEvent) {
.banner {
position: absolute;
- top: 0;
left: 0;
width: 100%;
- height: 100%;
background-size: cover;
background-position: center center;
- -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
- mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+
+ &.topBanner {
+ top: 0;
+ height: 100%;
+ -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ }
+
+ &.bottomBanner {
+ bottom: 0;
+ height: 80%;
+ background-position-y: -10px;
+ -webkit-mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ }
}
.instance {
diff --git a/packages/frontend/src/ui/friendly/navbar-for-mobile.vue b/packages/frontend/src/ui/friendly/navbar-for-mobile.vue
index b8f8409fd8..0c557cafbb 100644
--- a/packages/frontend/src/ui/friendly/navbar-for-mobile.vue
+++ b/packages/frontend/src/ui/friendly/navbar-for-mobile.vue
@@ -1,7 +1,7 @@
-
+
@@ -30,6 +30,7 @@
+
@@ -98,14 +99,25 @@ function openProfile() {
.banner {
position: absolute;
- top: 0;
left: 0;
width: 100%;
- height: 100%;
background-size: cover;
background-position: center center;
- -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
- mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+
+ &.topBanner {
+ top: 0;
+ height: 100%;
+ -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ }
+
+ &.bottomBanner {
+ bottom: 0;
+ height: 80%;
+ background-position-y: -10px;
+ -webkit-mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ }
}
.instance {
diff --git a/packages/frontend/src/ui/friendly/navbar.vue b/packages/frontend/src/ui/friendly/navbar.vue
index 53a1cc2f0a..3620d28fb3 100644
--- a/packages/frontend/src/ui/friendly/navbar.vue
+++ b/packages/frontend/src/ui/friendly/navbar.vue
@@ -2,7 +2,7 @@
-
+
@@ -40,6 +40,7 @@
+
@@ -153,14 +154,25 @@ function openProfile() {
.banner {
position: absolute;
- top: 0;
left: 0;
width: 100%;
- height: 100%;
background-size: cover;
background-position: center center;
- -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
- mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+
+ &.topBanner {
+ top: 0;
+ height: 100%;
+ -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ mask-image: linear-gradient(0deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 100%);
+ }
+
+ &.bottomBanner {
+ bottom: 0;
+ height: 80%;
+ background-position-y: -10px;
+ -webkit-mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ mask-image: linear-gradient(0deg,rgba(0,0,0,.75) 15%,rgba(0,0,0,0) 80%);
+ }
}
.instance {