SEC_Warehouse/src/components/empty/index.module.scss

220 lines
3.8 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.empty {
display: flex;
flex-direction: column;
align-items: center;
padding: 80px 0;
}
.iconWrap {
width: 160px;
height: 160px;
border-radius: $radius-circle;
background: $color-bg-white;
box-shadow: $shadow-card;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 28px;
}
.text {
font-size: 28px;
color: $color-text-secondary;
}
.subText {
margin-top: 12px;
font-size: 24px;
color: $color-text-tertiary;
}
// ===== message:铃铛(浅绿底块 + 品牌绿铃舌) =====
.bell {
position: relative;
width: 66px;
height: 66px;
}
.bellTop {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 15px;
height: 15px;
border-radius: $radius-circle;
background: $color-primary-light-bg;
}
.bellBody {
position: absolute;
top: 6px;
left: 50%;
transform: translateX(-50%);
width: 62px;
height: 48px;
background: $color-primary-light-bg;
border-radius: 31px 31px 8px 8px;
}
.bellBase {
position: absolute;
bottom: 4px;
left: 50%;
transform: translateX(-50%);
width: 24px;
height: 15px;
border-radius: 0 0 12px 12px;
background: $color-primary-light-bg;
}
.bellClapper {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%) rotate(18deg);
width: 5px;
height: 37px;
border-radius: 3px;
background: $color-primary;
}
.bellHammer {
position: absolute;
bottom: -6px;
left: 50%;
transform: translateX(-50%);
width: 20px;
height: 8px;
border-radius: 0 0 8px 8px;
background: $color-primary;
}
// ===== list:清单板(浅绿板 + 中间绿底条 + 三行勾选框/横线) =====
.listIcon {
position: relative;
width: 60px;
height: 66px;
}
.listBoard {
position: absolute;
inset: 0;
background: $color-primary-light-bg;
border-radius: 10px 10px 14px 14px;
}
.listFoot {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 6px;
background: #b8ecd8;
border-radius: 0 0 14px 14px;
}
.listRow {
position: absolute;
left: 13px;
right: 13px;
display: flex;
align-items: center;
}
.listRow1 { top: 15px; }
.listRow2 { top: 31px; }
.listRow3 { top: 47px; }
.listBox {
width: 13px;
height: 13px;
border-radius: 3px;
background: $color-primary;
}
.listLine {
flex: 1;
height: 5px;
margin-left: 7px;
border-radius: 2px;
background: #b8ecd8;
}
// ===== wifi:信号(品牌绿点 + 两道弧线) =====
.wifiIcon {
position: relative;
width: 73px;
height: 60px;
}
.wifiDot {
position: absolute;
bottom: 6px;
left: 50%;
transform: translateX(-50%);
width: 17px;
height: 17px;
border-radius: $radius-circle;
background: $color-primary;
}
.wifiArcMid {
position: absolute;
bottom: 13px;
left: 50%;
transform: translateX(-50%) rotate(-45deg);
width: 36px;
height: 13px;
border-top: 5px solid #b8ecd8;
border-radius: 18px 18px 0 0;
}
.wifiArcOuter {
position: absolute;
bottom: 23px;
left: 50%;
transform: translateX(-50%) rotate(-45deg);
width: 63px;
height: 20px;
border-top: 5px solid $color-primary-light-bg;
border-radius: 32px 32px 0 0;
}
// ===== error:警示三角(浅红底 + 深红感叹号;clip-path 真机不兼容时降级圆角矩形) =====
.warnIcon {
position: relative;
width: 66px;
height: 59px;
}
.warnTriangle {
position: absolute;
inset: 0;
background: $color-danger-light-bg;
border-radius: 10px;
clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.warnBar {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
width: 7px;
height: 20px;
border-radius: 3px;
background: $color-danger-deep;
}
.warnDot {
position: absolute;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
width: 7px;
height: 7px;
border-radius: $radius-circle;
background: $color-danger-deep;
}