You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
2.2 KiB
SCSS

.deviceSetting_wrap {
height: 100vh;
background: #fff;
border-radius: 2px;
& > header {
box-sizing: border-box;
padding: 16px;
height: 62px;
font-family: Douyin Sans, Douyin Sans;
font-weight: bold;
font-size: 20px;
color: #333333;
border-bottom: 1px solid rgba(21, 77, 221, 0.2);
h3 {
box-sizing: border-box;
padding: 20px 0;
height: 62px;
font-weight: bold;
font-size: 16px;
color: #333333;
border-bottom: 1px solid rgba(21, 77, 221, 0.2);
}
}
.main_content {
height: calc(100vh - 160px);
margin: 16px 16px 0;
.el-tabs {
.el-tabs__header {
background: rgba(21, 77, 221, 0.1);
border-radius: 4px;
margin: 0 0 16px;
}
.el-tabs__nav-wrap {
.el-tabs__item {
padding-left: 16px;
padding-right: 16px;
margin-right: 16px;
height: 46px;
line-height: 22px;
color: #666666;
&.is-active {
font-weight: bold;
color: var(--el-color-primary) !important;
}
}
&::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 0px !important;
}
}
}
.device_add_wrap {
width: 57.64vw;
margin: 0 auto;
padding-top: 40px;
.bg_preview {
height: 412px;
border: 1px dashed #ddd;
}
}
.point_detail_wrap {
.deviceOfPoint_wrap {
border: 1px dashed #ddd;
height: calc(100vh - 290px);
}
.footer_btns {
padding: 16px 0;
}
}
}
/* TODO 待使用 */
.right-bar {
margin-left: 16px;
width: 241px;
height: calc(100vh - 300px);
overflow-y: scroll;
}
#workspace {
flex: 1;
width: 100%;
position: relative;
overflow: hidden;
}
}
/* 选择设备栏位 */
.deviceSelect_toolbar {
.deviceSelect_list {
li {
border-radius: 2px;
height: 40px;
&.active {
background: rgba(21, 77, 221, 0.1);
}
}
}
}
/* 设备属性栏位 */
.deviceAtrr_toolbar {
.el-radio__label {
display: flex;
align-items: center;
}
}