1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-02-01 22:48:06 +08:00
1Panel/frontend/src/styles/element.scss
2023-01-31 14:18:52 +08:00

165 lines
3.3 KiB
SCSS

.el-notification {
z-index: 99999 !important;
}
.el-message {
z-index: 99999 !important;
}
.table-box {
display: flex;
flex-direction: column;
height: 100%;
.table-search {
display: flex;
margin-bottom: 10px;
.el-form {
max-width: 1260px;
.el-form-item {
margin-right: 5px;
.el-input,
.el-select,
.el-date-editor--timerange {
width: 210px;
}
.el-date-editor--datetimerange,
.el-date-editor--daterange {
width: 400px;
}
.el-range-editor.el-input__wrapper {
padding: 0 10px;
}
.el-select__tags {
overflow: hidden;
white-space: nowrap;
}
}
.more-item {
display: inline;
}
}
.search-operation {
margin-left: 15px;
white-space: nowrap;
.search-isOpen {
margin-left: 20px;
}
}
}
.table-header {
.header-button-lf {
float: left;
.el-button {
margin-bottom: 20px;
}
}
.header-button-ri {
float: right;
.el-button {
margin-bottom: 20px;
}
}
}
.el-table {
flex: 1;
.el-table__header th,
.el-table__body td {
text-align: center;
}
.el-table__header th {
height: 50px;
font-size: 15px;
font-weight: bold;
color: #252525;
background: #fafafa;
}
.table-image {
width: 50px;
height: 50px;
border-radius: 50%;
}
.el-table__header .el-table__cell > .cell {
white-space: nowrap;
}
.el-table__row {
height: 52px;
}
.el-table__empty-block {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.table-empty {
line-height: 30px;
}
}
.el-pagination {
display: flex;
justify-content: flex-end;
margin: 23px 0 10px;
}
}
.el-drawer {
.el-drawer__header {
padding: 15px 20px 14px;
margin-bottom: 0;
border-bottom: 1px solid #ebeef5;
span {
font-size: 17px;
color: #303133;
}
}
.el-drawer__footer {
border-top: 1px solid #ebeef5;
}
.el-select {
width: 100%;
}
.drawer-multiColumn-form {
display: flex;
flex-wrap: wrap;
.el-form-item {
width: 47%;
&:nth-child(2n-1) {
margin-right: 5%;
}
}
}
}
.el-dialog {
.el-dialog__header {
padding: 15px 20px;
margin: 0;
border-bottom: 1px solid #f0f0f0;
.el-dialog__title {
font-size: 17px;
}
}
border-radius: 5px;
}
.row-box {
display: flex;
flex-flow: wrap;
}
.row-box .el-card {
min-width: 100%;
height: 100%;
margin-right: 20px;
border: 0;
}