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.

204 lines
4.5 KiB
Plaintext

.regulationContainer {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
.searchSection {
padding: 20px;
background-color: #fff;
:global {
.ant-form-inline {
display: flex;
.ant-form-item {
margin-right: 16px;
margin-bottom: 0;
}
.ant-form-item:nth-last-child(2) {
margin-left: auto;
}
.ant-form-item:last-child {
margin-right: 0;
}
}
.ant-form-item-label {
font-weight: 500;
label {
color: #666666;
font-size: 13px;
}
}
.ant-input::placeholder,
.ant-picker-input input::placeholder {
color: #00000040;
font-size: 13px;
}
}
}
.tableSection {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 20px;
.blocksContainer {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, 1fr);
gap: 20px;
margin-bottom: 20px;
}
.regulationBlock {
background-color: #fff;
// border: 1px solid #EEEEEE;
border-radius: 2px;
// padding: 8px 16px;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 120px;
}
.regulationTitle {
font-size: 14px;
font-weight: 500;
color: #333333;
padding: 8px 16px;
border: 1px solid #EEEEEE;
border-bottom: none;
margin-bottom: 0;
display: flex;
align-items: center;
}
.regulationInfo {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 15px;
border: 1px solid #EEEEEE;
border-bottom: none;
margin-bottom: 0;
}
.publishDate {
font-size: 12px;
color: #666666;
font-weight: 400;
margin-bottom: 6px;
}
.publishDepartment {
font-size: 12px;
color: #666666;
font-weight: 400;
}
.actionButtons {
display: flex;
justify-content: center;
gap: 8px;
width: 100%;
// margin-bottom: 0;
border: 1px solid #EEEEEE;
border-bottom: none;
// padding-top: 4px;
}
.actionButton {
width: calc(50% - 4px);
height: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border-radius: 2px;
transition: background-color 0.2s;
&:hover {
background-color: #f5f5f5;
}
}
}
.paginationContainer {
position: fixed;
bottom: 10px;
right: 10px;
z-index: 1000;
}
.pagination {
display: flex;
align-items: center;
gap: 8px;
// background: #fff;
padding: 8px 30px;
border-radius: 4px;
// box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.totalItems {
font-size: 12px;
color: #666;
margin-right: 8px;
}
.pageSizeSelect {
font-size: 12px;
border: 1px solid #d9d9d9;
border-radius: 2px;
padding: 2px 6px;
margin-right: 8px;
background: #fff;
}
.pageButton {
width: 28px;
height: 28px;
border: 1px solid #d9d9d9;
background: #fff;
color: #333;
font-size: 12px;
border-radius: 2px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
&:hover {
border-color: #00D48A;
color: #00D48A;
}
&.active {
background: #00D48A;
border-color: #00D48A;
color: #fff;
}
}
.ellipsis {
font-size: 12px;
color: #999;
padding: 0 4px;
}
}