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.

191 lines
3.1 KiB
Plaintext

.licenseManagementContainer {
height: 100vh;
.topSectionContainer {
padding: 0;
margin: 15px 0px 15px 5px;
height: 35%;
display: flex;
gap: 15px;
align-items: stretch;
.firstBlock {
width: 30%;
background-color: #fff;
display: flex;
flex-direction: column;
padding: 10px 16px;
border-radius: 2px;
.chartHeader {
display: flex;
align-items: center;
margin-bottom: 16px;
.colorBlock {
width: 2px;
height: 18px;
background-color: #2E4CD4;
margin-right: 8px;
border-radius: 1px;
}
.chartTitle {
font-size: 16px;
font-weight: 500;
color: #333333;
line-height: 18px;
}
}
.chartContainer {
flex: 1;
width: 100%;
position: relative;
.chart {
width: 100%;
height: 100%;
min-height: 200px;
}
}
}
.secondBlock {
width: 30%;
background-color: #fff;
display: flex;
flex-direction: column;
padding: 10px 16px;
border-radius: 2px;
.chartHeader {
display: flex;
align-items: center;
margin-bottom: 16px;
// height: 18px;
.colorBlock {
width: 2px;
height: 18px;
background-color: #2E4CD4;
margin-right: 8px;
border-radius: 1px;
}
.chartTitle {
font-size: 16px;
font-weight: 500;
color: #333333;
line-height: 18px;
}
}
}
.thirdBlock {
flex: 1;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
color: #333;
}
}
.listCard {
border: none;
border-radius: 8px;
box-shadow: none;
.listTitle {
margin-bottom: 20px;
font-size: 16px;
font-weight: 600;
color: #333;
}
.listToolbar {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 20px;
.searchInput {
width: 300px;
}
.typeFilter {
width: 120px;
}
.addButton {
margin-left: auto;
}
}
.licenseTable {
.ant-table-thead>tr>th {
background-color: #fafafa;
font-weight: 600;
color: #333;
}
.ant-table-tbody>tr>td {
border-bottom: 1px solid #f0f0f0;
}
.ant-pagination {
margin-top: 20px;
text-align: right;
}
}
}
}
// 覆盖Ant Design默认样式
.licenseManagementContainer {
.ant-card {
box-shadow: none;
}
.ant-card-body {
padding: 20px;
}
.ant-table {
font-size: 14px;
}
.ant-tag {
border-radius: 4px;
font-size: 12px;
padding: 2px 8px;
}
.ant-btn-link {
padding: 0;
height: auto;
font-size: 14px;
}
.ant-input-search {
.ant-input {
border-radius: 6px;
}
}
.ant-select {
.ant-select-selector {
border-radius: 6px;
}
}
.ant-btn-primary {
border-radius: 6px;
}
}