259 lines
4.5 KiB
SCSS
259 lines
4.5 KiB
SCSS
@use '../variables' as *;
|
|
|
|
// ==================== 简历列表页 ====================
|
|
.resume-page {
|
|
&__content {
|
|
margin-left: 2rem;
|
|
flex: 1;
|
|
padding: 0.12rem 0.36rem;
|
|
height: 100vh;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
background: $bg-main;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
&__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
&__title {
|
|
font-size: 0.24rem;
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
margin: 0;
|
|
}
|
|
|
|
&__upload-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.06rem;
|
|
background: $btn-dark;
|
|
color: $bg-white;
|
|
border: none;
|
|
border-radius: 0.2rem;
|
|
padding: 0.08rem 0.2rem;
|
|
font-size: 0.13rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
|
|
&:hover {
|
|
background: $btn-dark-hover;
|
|
}
|
|
}
|
|
|
|
&__upload-icon {
|
|
width: 0.14rem;
|
|
height: 0.14rem;
|
|
}
|
|
|
|
// 表格容器
|
|
&__table-wrap {
|
|
background: $bg-white;
|
|
border-radius: 0.12rem;
|
|
}
|
|
|
|
&__table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
&__th {
|
|
text-align: left;
|
|
padding: 0.14rem 0.2rem;
|
|
font-size: 0.12rem;
|
|
font-weight: 600;
|
|
color: $text-dark;
|
|
border-bottom: 1px solid $border-color;
|
|
white-space: nowrap;
|
|
|
|
&--action {
|
|
width: 0.5rem;
|
|
}
|
|
}
|
|
|
|
&__row {
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
|
|
&:hover {
|
|
background: $theme-color;
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 1px solid $border-color;
|
|
}
|
|
}
|
|
|
|
&__td {
|
|
padding: 0.16rem 0.2rem;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
vertical-align: middle;
|
|
|
|
&--action {
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
// 简历名称单元格
|
|
&__name-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
&__avatar {
|
|
width: 0.3rem;
|
|
height: 0.3rem;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: $bg-white;
|
|
font-size: 0.13rem;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&__name {
|
|
font-weight: 500;
|
|
}
|
|
|
|
&__default-tag {
|
|
font-size: 0.1rem;
|
|
color: $text-light;
|
|
background: $bg-main;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.04rem;
|
|
padding: 0.02rem 0.06rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
// 更多按钮
|
|
&__more-btn {
|
|
background: none;
|
|
border: none;
|
|
color: $text-light;
|
|
cursor: pointer;
|
|
padding: 0.04rem;
|
|
border-radius: 0.04rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s;
|
|
|
|
&:hover {
|
|
color: $text-dark;
|
|
background: $bg-main;
|
|
}
|
|
}
|
|
|
|
&__more-svg {
|
|
width: 0.16rem;
|
|
height: 0.16rem;
|
|
}
|
|
|
|
// 弹出菜单
|
|
&__popup {
|
|
position: absolute;
|
|
right: 0.46rem;
|
|
top: 0.18rem;
|
|
background: $bg-white;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.1rem;
|
|
padding: 0.06rem 0;
|
|
box-shadow: 0 0.06rem 0.2rem rgba(0, 0, 0, 0.1);
|
|
z-index: 10;
|
|
min-width: 1.2rem;
|
|
}
|
|
|
|
&__popup-item {
|
|
padding: 0.08rem 0.2rem;
|
|
font-size: 0.12rem;
|
|
color: $text-dark;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: all 0.15s;
|
|
|
|
&:hover {
|
|
background: $theme-color;
|
|
color: $accent-hover;
|
|
}
|
|
}
|
|
}
|
|
|
|
// ==================== 上传简历加载提示 ====================
|
|
.resume-upload-loading {
|
|
.el-loading-spinner {
|
|
.circular .path {
|
|
stroke: $accent;
|
|
}
|
|
|
|
.el-loading-text {
|
|
color: $accent;
|
|
}
|
|
}
|
|
}
|
|
|
|
// ==================== 导出简历弹窗样式修正 ====================
|
|
.resume-export-dialog {
|
|
font-size: 0.14rem;
|
|
.el-dialog__title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.el-dialog__body {
|
|
padding: 0.2rem 0.3rem 0.1rem;
|
|
}
|
|
|
|
/* 修正 radio 组件在 100px 基准下的尺寸 */
|
|
&__radio-group {
|
|
display: flex;
|
|
gap: 0.16rem;
|
|
|
|
.el-radio {
|
|
font-size: 14px;
|
|
height: auto;
|
|
line-height: normal;
|
|
|
|
.el-radio__inner {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.el-radio__label {
|
|
font-size: 14px;
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.el-dialog__footer {
|
|
padding: 0.12rem 0.3rem 0.24rem;
|
|
|
|
.el-button {
|
|
font-size: 13px;
|
|
padding: 8px 20px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.el-button--primary {
|
|
background: $btn-dark;
|
|
border-color: $btn-dark;
|
|
|
|
&:hover {
|
|
background: $btn-dark-hover;
|
|
border-color: $btn-dark-hover;
|
|
}
|
|
}
|
|
}
|
|
}
|