update friend bar

This commit is contained in:
才羽青空 2025-12-27 20:41:28 +08:00
parent 546f6bcbeb
commit 286952a6ed
12 changed files with 153 additions and 99 deletions

View file

@ -42,10 +42,6 @@
right: 0;
bottom: 0;
background-color: #000;
background-image: url(../images/bg_intro_terms.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
z-index: 999;
display: flex;
justify-content: center;
@ -61,9 +57,7 @@
transform: translate(-50%);
bottom: 3vh;
font-size: 3vh;
font-family: 'Overpass-Reg';
color: #fff;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
font-family: 'Overpass-Reg'
}
.loading-text > img {
@ -88,18 +82,15 @@
.loading-title {
text-align: center;
font-size: 4vh;
color: #fff;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
color: gray;
}
.loading-subtitle {
text-align: center;
font-size: 3vh;
color: #fff;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
color: gray;
}
/* 赞助商屏幕样式 */
body {
font-family: 'Agency';
cursor: pointer;
@ -239,8 +230,8 @@ body {
/* Multi-layer button with images */
.multi-layer-button {
position: relative;
width: 39vh;
height: 14vh;
width: 38vh;
height: 13.5vh;
cursor: pointer;
display: flex;
justify-content: center;
@ -265,56 +256,6 @@ body {
transition: opacity 0.4s ease, filter 0.4s ease;
}
/* 闪光动画效果 */
.multi-layer-button::after {
content: "";
position: absolute;
top: -15.5%;
left: -26.5%;
width: 180%;
height: 180%;
pointer-events: none;
z-index: 5;
background: -webkit-linear-gradient(left, hsla(0,0%,100%,0), hsla(0,0%,100%,.5) 8%, #fff 16%, hsla(0,0%,100%,.5) 19%, hsla(0,0%,100%,0) 20%);
background-position: inherit;
-webkit-mask: url(../images/play-bg1.png) 0 0 no-repeat;
-webkit-mask-size: cover;
-webkit-transform: rotate(-30deg);
transform: rotate(-30deg);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
opacity: 0;
-webkit-animation: shine linear 8s infinite;
animation: shine linear 8s infinite;
}
@keyframes shine {
0% {
background-position: inherit;
opacity: 0
}
35% {
background-position: inherit;
opacity: 0
}
50% {
background-position: 60vh 0;
opacity: 1
}
75% {
background-position: 60vh 0;
opacity: 0
}
100% {
background-position: inherit;
opacity: 0
}
}
.button-layer {
position: absolute;
top: 0;
@ -457,6 +398,70 @@ body {
color: rgba(255, 255, 255, 0.5)
}
.friends-bar {
position: fixed;
bottom: 0;
left: 0.5vw;
display: flex;
align-items: center;
background-color: rgba(0, 0, 0, 0.4);
padding: 0.8vh 1.5vh 0.8vh 1vh;
border-radius: 4px 4px 0 0;
z-index: 100;
width: 13.5vw;
}
.friends-icon {
width: 2.5vh;
height: 2.5vh;
margin-right: 1vh;
margin-left: 1vh;
object-fit: contain;
}
.friends-text {
color: #fff;
font-family: 'Agency';
font-size: 2vh;
margin-right: 1.5vh;
}
.receive-invite-button {
background-color: #E3B62F;
color: #000;
font-family: 'Agency';
font-weight: bold;
font-size: 1.8vh;
padding: 0.1vh 2vh;
border: none;
border-radius: 3px;
cursor: pointer;
display: flex;
align-items: center;
position: fixed;
bottom: 0.8vh;
left: 13vw;
z-index: 101;
}
.tick-mark {
width: 2.2vh;
height: 2.2vh;
margin-right: 0.8vh;
object-fit: contain;
}
.tick-mark-true {
position: relative;
top: 0;
}
.tick-mark-false {
position: relative;
top: 0;
margin-top: -1.8vh;
}
@ -559,9 +564,9 @@ body {
}
.bp-icon {
width: 40px;
height: 40px;
margin-right: 3px;
width: 3vh;
height: 3vh;
margin-right: 4px;
}
/* 系统按钮占位符 */
@ -628,7 +633,6 @@ body {
align-items: flex-start;
}
/* Default text - CHOOSE YOUR REGION */
.multi-layer-button .default-text {
opacity: 1;
transition: opacity 0.3s ease;
@ -639,7 +643,7 @@ body {
z-index: 1;
}
/* Hover text - CLICK TO PLAY */
.multi-layer-button .hover-text {
opacity: 0;
transition: opacity 0.3s ease;
@ -692,4 +696,60 @@ body {
100% {
left: 100%;
}
}
.multi-layer-button.bro-loading {
position: relative;
overflow: visible;
}
.multi-layer-button.bro-loading:after {
content: "";
position: absolute;
top: -10%;
left: -10%;
width: 120%;
height: 120%;
pointer-events: none;
z-index: 5;
background: -webkit-linear-gradient(left, hsla(0,0%,100%,0), hsla(0,0%,100%,.8) 8%, #fff 16%, hsla(0,0%,100%,.8) 19%, hsla(0,0%,100%,0) 20%);
background-position: inherit;
-webkit-mask: url(../images/1.png) 0 0 no-repeat;
mask: url(../images/1.png) 0 0 no-repeat;
-webkit-mask-size: cover;
mask-size: cover;
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
opacity: 0;
-webkit-animation: shine linear 8s infinite;
animation: shine linear 8s infinite;
}
@keyframes shine {
0% {
background-position: inherit;
opacity: 0
}
35% {
background-position: inherit;
opacity: 0
}
50% {
background-position: 40vh 0;
opacity: 1
}
75% {
background-position: 40vh 0;
opacity: 0
}
to {
background-position: 0 0;
opacity: 0
}
}