老产品前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

159 lines
3.4 KiB

.warning-box {
box-sizing: border-box;
// width: 1881px;
width: 100%;
// height: 100%;
min-height: 100%;
margin: auto;
color: #fff;
// background: url("../../../img/modules/visual/warning-box.png") no-repeat center;
background-size: 100% 100%;
padding: 45px 21px 35px 24px;
&-top {
display: flex;
// justify-content: space-around;
justify-content: flex-start;
flex-wrap: nowrap;
// overflow-y: auto;
min-height: 190px;
.top-item-active {
background: linear-gradient(0deg, #1a5afd86, #26c5ff75);
}
.top-item {
flex: 0 0 280px;
box-sizing: border-box;
// width: 280px;
height: 190px;
padding: 10px 22px 14px 21px;
// background: rgba(255, 255, 255, 0);
border: 1px solid #1043c0;
box-shadow: 0px 83px 150px 0px #002790;
border-radius: 8px;
margin-top: 10px;
margin-left: 10px;
margin-right: 15px;
margin-bottom: 20px;
cursor: pointer;
&-img {
display: flex;
align-items: center;
img {
width: 78px;
height: 78px;
margin-right: 16px;
margin-bottom: 10px;
}
.top-item-left {
display: flex;
flex-direction: column;
span {
display: inline-block;
}
span:nth-child(1) {
font-size: 18px;
font-weight: 400;
color: #ffffff;
}
span:nth-child(2) {
font-size: 28px;
font-weight: bold;
color: #00fffc;
margin-top: 10px;
}
}
}
&-num {
width: 100%;
display: flex;
position: relative;
justify-content: space-between;
align-items: flex-start;
margin-top: 10px;
// border: 1px solid red;
.item_left {
font-size: 16px;
font-family: PingFang SC;
font-weight: 400;
color: #ffffff;
}
.item_right {
width: 110px;
display: flex;
flex-direction: column;
align-items: space-between;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: #ffffff;
.item_right_row {
display: flex;
justify-content: space-between;
.item_right_title {
}
}
.row2 {
margin-top: 10px;
}
}
.num-item {
position: relative;
width: 100%;
height: 35px;
display: flex;
border-radius: 4px;
align-items: center;
justify-content: space-between;
padding: 0 10px 0 9px;
div:nth-child(1) {
font-size: 16px;
font-family: PingFang SC;
font-weight: 400;
color: #ffffff;
}
div:nth-child(2) {
display: flex;
align-items: center;
justify-content: space-between;
// width: 70%;
display: flex;
font-size: 20px;
font-family: PingFang SC;
font-weight: 500;
color: #ffffff;
}
}
.num-item:nth-child(2) {
margin-top: 10px;
}
}
}
}
&-bottom {
box-sizing: border-box;
width: 100%;
height: calc(100% - 300px);
min-height: 300px;
margin-top: 60px;
}
}