fix:照明系统设备点阵实现 / 电梯系统悬浮框样式修改

This commit is contained in:
chenpingsen
2024-08-13 14:41:21 +08:00
parent fb38527edf
commit 790c8a3962
5 changed files with 141 additions and 114 deletions

View File

@@ -174,20 +174,20 @@
.info-box {
// 字体颜色变量
--text: rgb(20, 255, 255);
width: 224.54px;
height: 110px;
width: 180px;
height: 95px;
display: flex;
gap: 5px;
flex-direction: column;
background: rgb(17, 44, 86, 0.9);
border-radius: 8px;
box-sizing: border-box;
padding: 8px;
padding: 4px 6px;
border: 2px solid var(--text);
transform: translateY(-50%);
cursor: pointer;
// 面板标题
.box-title {
font-size: 14px;
height: auto;
color: var(--text);
// 标题前小方块
@@ -222,12 +222,12 @@
justify-content: center;
// border: 1px solid red;
.icon {
width: 45px;
height: 45px;
width: 40px;
height: 40px;
background-image: url(../image/box.svg);
background-size: 130% 130%;
background-repeat: no-repeat;
background-position: left -6.5px top -3px;
background-position: left -5px top -2px;
// border: 1px solid red;
position: relative;
.icon-item {
@@ -247,7 +247,7 @@
}
}
.item-text {
margin-top: 2px;
margin-top: 0px;
height: 20px;
text-align: center;
font-size: 12px;