2023-04-25 10:48:27 +08:00

79 lines
1.3 KiB
SCSS

$primary: #409eff;
.unit-table {
margin-top: 80px;
.form {
display: flex;
justify-content: space-between;
.form-item {
width: 45%;
.search {
position: absolute;
top: 0;
right: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
&:not(:first-child) {
margin-right: 0;
}
}
}
.table {
margin-top: 15px;
.input {
display: flex;
align-items: center;
font-size: 12px;
.selectFile {
flex-shrink: 0;
padding: 2px 6px;
font-size: 13px;
color: $primary;
cursor: pointer;
background-color: transparent;
border: 1px solid $primary;
border-radius: 3px;
outline: none;
}
> span {
flex-shrink: 0;
width: 50%;
padding-top: 2px;
margin-left: 5px;
overflow: hidden;
color: #999999;
text-align: start;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.position {
position: relative;
.divide {
position: absolute;
top: 50%;
left: -124px;
display: flex;
color: #333333;
transform: translateY(-50%);
.index {
margin-right: 15px;
}
.line {
position: absolute;
top: calc(100% + 6px);
left: 12px;
width: 1px;
height: 285px;
background-color: #999999;
}
}
}
&:last-child {
.line {
display: none;
}
}
}