| | |
| | | .admin-table{ min-width: 100%; display: table; border-collapse: collapse; } |
| | | /*表格thead*/ |
| | | .admin-table-thead{ min-width: 100%; height: 0.23rem; display: table; table-layout: fixed; position: sticky; top: 0; border-collapse: collapse; background-color: #555555; } |
| | | .admin-table-th{ min-width: 1rem; padding: 10px; display: table-cell; border: 1px solid #4B4B4B; color: white; text-align: center; } |
| | | .admin-table-th{ min-width: 1rem; padding: 5px; display: table-cell; border: 1px solid #4B4B4B; color: white; text-align: center; } |
| | | /*表格tbody*/ |
| | | .admin-table-tbody{ min-width: 100%; height: auto; display: table; border-collapse: collapse; } |
| | | /*表格tr/td*/ |
| | | .admin-table-tr{ min-width: 100%; min-height: 0.5rem; display: table; table-layout: fixed; border-collapse: collapse; border-bottom: 1px solid #CCC; } |
| | | .admin-table-tr{ min-width: 100%; min-height: 0.3rem; display: table; table-layout: fixed; border-collapse: collapse; border-bottom: 1px solid #CCC; } |
| | | .admin-table-tr:nth-child(even){ background-color: white; } .admin-table-tr:nth-child(odd){ background-color: #F2F2F2; } |
| | | .admin-table-td{ min-width: 1rem; padding: 10px; display: table-cell; border-left: 1px solid #CCC; border-right: 1px solid #CCC; line-height: 1.5; text-align: center; transition-property: background-color; transition-duration: 0.3s; } |
| | | .admin-table-td{ min-width: 1rem; padding: 5px; display: table-cell; border-left: 1px solid #CCC; border-right: 1px solid #CCC; line-height: 1.5; text-align: center; transition-property: background-color; transition-duration: 0.3s; } |
| | | .admin-table-tr-check .admin-table-td{ background-color: #CBE5CB; } |
| | | /*表格底部工具栏*/ |
| | | .admin-table-tool{ width: calc(100% - 0.1rem - 10px); height: 0.25rem; padding: 0 10px; margin-left: 0.05rem; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; border: 1px solid #CCC; } |