Add config-driven game host updates
This commit is contained in:
@@ -299,6 +299,10 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.map-side-button--default {
|
||||
background: rgba(248, 251, 244, 0.96);
|
||||
}
|
||||
|
||||
.map-side-button--icon {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
@@ -327,6 +331,16 @@
|
||||
background: rgba(229, 233, 230, 0.92);
|
||||
}
|
||||
|
||||
.map-side-button--muted .map-side-button__action-image {
|
||||
opacity: 0.46;
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
.map-side-button--active {
|
||||
background: rgba(255, 226, 88, 0.98);
|
||||
box-shadow: 0 0 0 4rpx rgba(255, 241, 158, 0.18), 0 12rpx 28rpx rgba(120, 89, 0, 0.2);
|
||||
}
|
||||
|
||||
.map-side-button__text {
|
||||
font-size: 18rpx;
|
||||
line-height: 1.1;
|
||||
@@ -336,6 +350,16 @@
|
||||
letter-spacing: 1rpx;
|
||||
}
|
||||
|
||||
.map-side-button__action-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 22rpx;
|
||||
}
|
||||
|
||||
.map-side-button--active .map-side-button__action-image {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.compass-widget {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -1019,6 +1043,92 @@
|
||||
.race-panel__chevron--offset {
|
||||
right: 0;
|
||||
}
|
||||
.game-info-modal {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
padding: 0 20rpx 28rpx;
|
||||
box-sizing: border-box;
|
||||
background: rgba(7, 18, 12, 0.34);
|
||||
z-index: 31;
|
||||
}
|
||||
|
||||
.game-info-modal__dialog {
|
||||
width: 100%;
|
||||
max-height: 72vh;
|
||||
border-radius: 36rpx;
|
||||
background: rgba(248, 251, 244, 0.98);
|
||||
box-shadow: 0 20rpx 60rpx rgba(7, 18, 12, 0.24);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.game-info-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24rpx;
|
||||
padding: 22rpx 28rpx 18rpx;
|
||||
border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
|
||||
}
|
||||
|
||||
.game-info-modal__header-main {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.game-info-modal__header-actions {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.game-info-modal__eyebrow {
|
||||
font-size: 22rpx;
|
||||
font-weight: 800;
|
||||
letter-spacing: 4rpx;
|
||||
color: #5f7a65;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.game-info-modal__title {
|
||||
margin-top: 12rpx;
|
||||
font-size: 42rpx;
|
||||
line-height: 1.08;
|
||||
font-weight: 700;
|
||||
color: #163020;
|
||||
}
|
||||
|
||||
.game-info-modal__subtitle {
|
||||
margin-top: 10rpx;
|
||||
font-size: 22rpx;
|
||||
line-height: 1.3;
|
||||
color: #5f7a65;
|
||||
}
|
||||
|
||||
.game-info-modal__close {
|
||||
flex-shrink: 0;
|
||||
min-width: 108rpx;
|
||||
padding: 14rpx 22rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #163020;
|
||||
color: #f7fbf2;
|
||||
font-size: 24rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.game-info-modal__content {
|
||||
max-height: calc(72vh - 132rpx);
|
||||
padding: 12rpx 24rpx 30rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.debug-section--info {
|
||||
margin-top: 14rpx;
|
||||
}
|
||||
|
||||
.debug-modal {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
|
||||
Reference in New Issue
Block a user