Files
emsfront/src/assets/styles/common.scss

113 lines
2.2 KiB
SCSS
Raw Normal View History

/*
ems管理平台公共css样式
*/
//右侧内容区域
//父元素
.ems-dashboard-editor-container{
background-color: #F1F5FC;
padding: 24px;
font-size: 12px;
}
//除去顶部信息(如搜索栏、站点基本信息等)外的 白色背景内容区域
.ems-content-container{
background-color: #ffffff;
margin-top: 24px;
}
//需要设置内padding的白色背景区域
.ems-content-container-padding{
padding: 24px;
}
2025-06-17 00:46:20 +08:00
//card通用样式 标题、body
.common-card-container{
.el-card__header{
padding:14px;
border-bottom: none;
font-size: 12px;
background: #F1F5FB ;
.card-title{
font-weight: 500;
color:#333333;
}
.large-title{
font-size: 20px;
font-weight: 500;
line-height: 40px;
}
2025-06-17 00:46:20 +08:00
.el-button--text{
color: #666666;
}
}
}
.common-card-container-body-no-padding{
.el-card__body{
padding:0;
}
}
.common-card-container-no-title-bg {
.el-card__header{
background-color: transparent;
}
}
//描述样式 PCS、BMS总览、BMS电池簇页面公共样式
.descriptions-main{
padding:24px;
position: relative;
&.descriptions-main-bg-color{
background-color:#f1f5fc ;
.el-descriptions__body{
background-color:#f1f5fc ;
}
}
.el-descriptions-item__cell[colspan='1']{
width:25%
}
.el-descriptions__body .el-descriptions__table{
.descriptions-direction{
line-height: 19px;
color: #666666;
font-size: 16px;
font-weight: 500;
}
.descriptions-label{
line-height: 14px;
color: #666666;
font-size: 12px;
}
.danger{
color:#FC6B69;
}
.save{
color:#09ADA3;
}
.keep{
color:#3C81FF;
}
}
}
//公共表格样式
.common-table.el-table{
color:#333333;
.el-table__header-wrapper th, .el-table__fixed-header-wrapper th {
background: #f1f5fc;
border-bottom: none;
.table-head {
color: #515a6e;
}
}
.warning-status{
color:#FC6B69;
&.circle::before {
content: "";
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #FC6B69;
margin-right: 8px;
}
}
}