Files
gofly-platform-services/zlt-web/yingyan/src/pages/client/components/RightPanel/index.less
T
2026-03-11 21:29:55 +08:00

224 lines
3.6 KiB
Plaintext

.panel {
height: 100%;
padding: 0;
display: flex;
flex-direction: column;
overflow-y: auto;
}
.section {
padding: 16px;
border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}
.sectionTitle {
font-size: 14px;
font-weight: 600;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 16px;
}
/* ========== 罗盘 ========== */
.compassWrapper {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 12px;
}
.compass {
width: 180px;
height: 180px;
position: relative;
}
.compassSvg {
width: 100%;
height: 100%;
}
.headingText {
display: flex;
align-items: baseline;
gap: 6px;
margin-top: 4px;
}
.headingLabel {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
}
.headingValue {
font-size: 22px;
font-weight: bold;
color: #0070d4;
}
/* ========== 左转/右转 ========== */
.turnRow {
display: flex;
justify-content: center;
gap: 16px;
margin-bottom: 16px;
}
.turnBtn {
width: 48px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
border: 1px solid rgba(0, 150, 220, 0.4);
background: rgba(0, 60, 100, 0.35);
color: rgba(255, 255, 255, 0.8);
font-size: 16px;
cursor: pointer;
transition: all 0.15s;
padding: 0;
&:hover {
background: rgba(0, 100, 160, 0.5);
border-color: rgba(0, 180, 255, 0.6);
color: #fff;
}
&:active {
background: rgba(0, 130, 200, 0.7);
border-color: #00b4ff;
transform: scale(0.95);
}
}
/* ========== 速度滑块 ========== */
.speedRow {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 16px;
padding: 0 4px;
}
.speedLabel {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
flex-shrink: 0;
}
.speedSlider {
flex: 1;
:global(.ant-slider-rail) {
background: rgba(255, 255, 255, 0.1);
}
:global(.ant-slider-track) {
background: #0070d4;
}
:global(.ant-slider-handle)::after {
box-shadow: 0 0 6px rgba(0, 112, 212, 0.6);
}
}
.speedValue {
font-size: 13px;
font-weight: 600;
color: #0070d4;
flex-shrink: 0;
min-width: 60px;
text-align: right;
}
/* ========== 紧急停靠 ========== */
.emergencyBtn {
height: 42px;
border-radius: 6px;
border: none;
background: #d4380d;
color: #fff;
font-size: 15px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
cursor: pointer;
transition: all 0.2s;
letter-spacing: 2px;
&:hover {
background: #e84820;
}
&:active {
background: #cf1322;
transform: scale(0.98);
}
}
/* ========== 实时数据卡片 ========== */
.dataCard {
border-radius: 8px;
padding: 12px;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
/* 三级透明层次 */
.dataCardLevel1 {
background: rgba(0, 112, 212, 0.12);
border: 1px solid rgba(0, 112, 212, 0.25);
}
.dataCardLevel2 {
background: rgba(0, 180, 150, 0.08);
border: 1px solid rgba(0, 180, 150, 0.2);
}
.dataCardLevel3 {
background: rgba(0, 212, 255, 0.05);
border: 1px solid rgba(0, 212, 255, 0.15);
}
.dataCardHeader {
font-size: 12px;
font-weight: 600;
color: #0070d4;
margin-bottom: 8px;
padding-bottom: 6px;
border-bottom: 1px solid rgba(0, 112, 212, 0.15);
}
.dataCardHeaderGreen {
color: #00b496;
border-bottom-color: rgba(0, 180, 150, 0.15);
}
.dataCardHeaderCyan {
color: #00a0cc;
border-bottom-color: rgba(0, 212, 255, 0.12);
}
.dataRow {
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px 0;
}
.dataLabel {
font-size: 12px;
color: rgba(255, 255, 255, 0.45);
}
.dataValue {
font-size: 13px;
color: rgba(255, 255, 255, 0.9);
font-weight: 500;
}