hb_zhgd_screen/pages/web/css/table.css

62 lines
1.1 KiB
CSS

.custom-table {
width: 100%;
box-sizing: border-box;
overflow-y: auto;
}
.custom-table> li {
box-sizing: border-box;
display: flex;
}
.custom-table>li:not(.custom-table__title) {
border-bottom: 1px solid #34E7FE;
}
.custom-table>li>div {
box-sizing: border-box;
line-height: 40px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 0 5px;
text-align: center;
}
.custom-table>li>div:first-of-type {
width: 10%;
}
.custom-table>li>div:nth-of-type(2) {
width: 35%;
}
.custom-table>li>div:nth-of-type(3) {
width: 25%;
}
.custom-table>li>div:nth-of-type(4) {
width: 15%;
}
.custom-table>li>div:last-of-type {
width: 15%;
}
.custom-table>.custom-table__title {
line-height: 32px !important;
height: 32px !important;
background-color: rgba(52, 231, 254, 0.1);
color: #8BFFFF;
}
.custom-table>.custom-table__title>div {
text-align: center;
height: 32px !important;
line-height: 32px !important;
}
#alarm-reminder-table>li>div {
width: 50% !important;
}