Refine map controls and compass auto-rotate highlights
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-end;
|
||||
padding: 0 24rpx 248rpx;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
@@ -118,7 +118,6 @@
|
||||
|
||||
.screen-button-layer {
|
||||
position: absolute;
|
||||
right: 24rpx;
|
||||
width: 116rpx;
|
||||
min-height: 116rpx;
|
||||
padding: 18rpx 0 14rpx;
|
||||
@@ -180,6 +179,90 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.screen-button-layer--bottom-left {
|
||||
left: 24rpx;
|
||||
bottom: 244rpx;
|
||||
}
|
||||
|
||||
.map-side-toggle {
|
||||
position: absolute;
|
||||
left: 24rpx;
|
||||
z-index: 19;
|
||||
}
|
||||
|
||||
.map-side-column {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16rpx;
|
||||
padding-top: 12rpx;
|
||||
z-index: 18;
|
||||
}
|
||||
|
||||
.map-side-column--left {
|
||||
left: 24rpx;
|
||||
}
|
||||
|
||||
.map-side-column--left-group {
|
||||
padding-top: 106rpx;
|
||||
}
|
||||
|
||||
.map-side-column--right-main {
|
||||
right: 118rpx;
|
||||
}
|
||||
|
||||
.map-side-column--right-sub {
|
||||
right: 24rpx;
|
||||
}
|
||||
|
||||
.map-side-button {
|
||||
width: 78rpx;
|
||||
height: 78rpx;
|
||||
border-radius: 22rpx;
|
||||
background: rgba(248, 251, 244, 0.96);
|
||||
box-shadow: 0 10rpx 26rpx rgba(22, 48, 32, 0.14);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.map-side-button--icon {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.map-side-button__image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.map-side-button__rotate-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 16rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.map-side-button__rotate-image--active {
|
||||
border: 1px solid rgba(231, 54, 33, 0.98);
|
||||
}
|
||||
.map-side-button--muted {
|
||||
background: rgba(229, 233, 230, 0.92);
|
||||
}
|
||||
|
||||
.map-side-button__text {
|
||||
font-size: 18rpx;
|
||||
line-height: 1.1;
|
||||
font-weight: 700;
|
||||
color: #163020;
|
||||
text-align: center;
|
||||
letter-spacing: 1rpx;
|
||||
}
|
||||
|
||||
.compass-widget {
|
||||
display: flex;
|
||||
@@ -208,6 +291,11 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.compass-widget__dial--active {
|
||||
border-color: rgba(250, 252, 187, 0.98);
|
||||
box-shadow: 0 0 0 2rpx rgba(253, 255, 214, 0.92), 0 0 18rpx rgba(247, 255, 173, 0.46), 0 6rpx 14rpx rgba(0, 0, 0, 0.14), inset 0 0 0 2rpx rgba(255, 255, 255, 0.28);
|
||||
}
|
||||
|
||||
.compass-widget__glass,
|
||||
.compass-widget__inner-shadow {
|
||||
position: absolute;
|
||||
@@ -706,7 +794,7 @@
|
||||
.debug-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-end;
|
||||
gap: 20rpx;
|
||||
padding: 28rpx 28rpx 20rpx;
|
||||
border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
|
||||
@@ -742,15 +830,15 @@
|
||||
|
||||
.info-panel__row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16rpx;
|
||||
gap: 24rpx;
|
||||
padding: 10rpx 0;
|
||||
border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
|
||||
}
|
||||
|
||||
.info-panel__row--stack {
|
||||
display: block;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.info-panel__row:last-of-type {
|
||||
@@ -758,26 +846,29 @@
|
||||
}
|
||||
|
||||
.info-panel__label {
|
||||
width: 148rpx;
|
||||
flex-shrink: 0;
|
||||
font-size: 22rpx;
|
||||
letter-spacing: 2rpx;
|
||||
color: #5f7a65;
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.info-panel__value {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 25rpx;
|
||||
line-height: 1.45;
|
||||
color: #163020;
|
||||
text-align: right;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.info-panel__row--stack .info-panel__value {
|
||||
display: block;
|
||||
margin-top: 10rpx;
|
||||
text-align: left;
|
||||
margin-top: 0;
|
||||
text-align: right;
|
||||
color: #45624b;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.control-row {
|
||||
@@ -785,7 +876,6 @@
|
||||
gap: 14rpx;
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
|
||||
.control-row--triple .control-chip {
|
||||
font-size: 23rpx;
|
||||
}
|
||||
@@ -866,6 +956,22 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user