zcloud-gbs-bi-react/src/pages/Container/Share/components/MiddlePanel/index.less

112 lines
2.6 KiB
Plaintext

.white_share_middle{
width: 840px;
.block1{
width: 840px;
.block1_content{
width: 100%;
background-image: -moz-linear-gradient( 90deg, rgb(218,233,250) 39%, rgb(226,239,255) 100%);
background-image: -webkit-linear-gradient( 90deg, rgb(218,233,250) 39%, rgb(226,239,255) 100%);
background-image: -ms-linear-gradient( 90deg, rgb(218,233,250) 39%, rgb(226,239,255) 100%);
border: 2px solid transparent;
border-image: linear-gradient(180deg, rgba(255,255,255,0), #ffffff) 1;
border-radius: 2px;
display: flex;
.emergency_left{
width: 480px;
.top{
width: 100%;
display: flex;
justify-content: space-between;
padding: 5px;
box-sizing: border-box;
.item{
border-width: 1px;
border-color: rgb(255, 255, 255);
border-style: solid;
background-color: rgba(197, 224, 246, 0.8);
box-shadow: inset 1px 1.732px 1px 0 rgba(124, 163, 189, 0.3);
padding: 5px 12px;
text-align: center;
color: #3d5882;
border-radius: 4px;
p{
padding: 0;
margin: 0;
}
.num{
font-size: 20px;
color: #4387d6;
}
}
}
.emergency_left_main{
width: 470px;
margin: 0 5px 5px;
border-style: solid;
border-width: 1px;
border-color: #b5d7f7;
border-radius: 4px;
background-color: rgb(205, 233, 255);
padding: 5px;
box-sizing: border-box;
.table-style(109px, 1fr 1fr 1fr 1fr);
}
}
}
}
}
.table-style(@height, @grid-template-columns) {
.table {
border: 1px solid #fff;
.scroll {
height: @height;
overflow-y: hidden;
.tr {
&:nth-child(odd) {
background-color: transparent;
}
}
}
.tr {
display: grid;
grid-template-columns: @grid-template-columns;
background-color: #C4E2F8;
&:not(:last-child) {
border-bottom: 1px solid #fff;
}
.td, .th {
text-align: center;
font-size: 14px;
color: #3B445C;
border-right: 1px solid #fff;
height: 28px;
line-height: 28px;
&:last-child {
border-right: none;
}
}
.th {
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
}
}
}