Files
offerpai_web/src/assets/styles/components/agent-apply-progress-panel.scss
T

267 lines
4.4 KiB
SCSS

@use '../variables' as *;
/* 申请进度面板样式 */
.agent-apply-progress-panel {
display: flex;
flex-direction: column;
height: 100%;
background: $bg-white;
border-radius: 0.2rem;
overflow: hidden;
/* 顶部标题栏 */
&__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.16rem 0.2rem;
}
&__title {
font-size: 0.16rem;
font-weight: 600;
color: $text-dark;
}
/* 关闭按钮 */
&__close-btn {
width: 0.28rem;
height: 0.28rem;
border: none;
background: none;
cursor: pointer;
padding: 0;
svg {
width: 100%;
height: 100%;
}
}
/* 筛选栏 */
&__filter {
display: flex;
align-items: center;
gap: 0.1rem;
padding: 0 0.2rem 0.14rem;
}
/* 下拉选择容器 */
&__select-wrap {
flex-shrink: 0;
}
&__select {
padding: 0.08rem 0.12rem;
border: 1px solid $border-color;
border-radius: 0.06rem;
font-size: 0.13rem;
color: $text-dark;
background: $bg-white;
cursor: pointer;
outline: none;
min-width: 1rem;
&:focus {
border-color: $accent;
}
}
/* 搜索框 */
&__search {
flex: 1;
padding: 0.08rem 0.12rem;
border: 1px solid $border-color;
border-radius: 0.06rem;
font-size: 0.13rem;
color: $text-dark;
outline: none;
&::placeholder {
color: $text-light;
}
&:focus {
border-color: $accent;
}
}
/* 列表区域(可滚动) */
&__list {
flex: 1;
overflow-y: auto;
padding: 0 0.2rem 0.2rem;
}
/* 单个岗位项 */
&__item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.14rem 0.16rem;
background: $bg-main;
border-radius: 0.12rem;
margin-bottom: 0.1rem;
&:last-child {
margin-bottom: 0;
}
}
/* 左侧信息区域 */
&__info {
display: flex;
align-items: center;
gap: 0.12rem;
flex: 1;
min-width: 0;
}
/* 公司 Logo */
&__logo {
width: 0.4rem;
height: 0.4rem;
border-radius: 0.08rem;
background: $bg-middle;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
svg {
width: 0.22rem;
height: 0.22rem;
color: $text-middle;
}
}
/* 岗位详情 */
&__detail {
min-width: 0;
}
&__company {
font-size: 0.13rem;
font-weight: 500;
color: $text-dark;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&__position {
font-size: 0.12rem;
color: $text-middle;
margin-top: 0.02rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* 标签 */
&__tags {
display: flex;
gap: 0.06rem;
margin-top: 0.06rem;
flex-wrap: wrap;
}
&__tag {
font-size: 0.11rem;
color: $text-middle;
background: $bg-white;
padding: 0.02rem 0.08rem;
border-radius: 0.04rem;
}
/* 右侧区域 */
&__right {
display: flex;
align-items: center;
gap: 0.1rem;
flex-shrink: 0;
}
/* 匹配度环 */
&__score {
position: relative;
width: 0.4rem;
height: 0.4rem;
}
&__ring {
width: 100%;
height: 100%;
}
&__score-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 0.1rem;
font-weight: 600;
color: $text-dark;
}
/* 状态下拉 */
&__status-select {
padding: 0.05rem 0.1rem;
border: 1px solid $border-color;
border-radius: 0.04rem;
font-size: 0.12rem;
color: $text-dark;
background: $bg-white;
cursor: pointer;
outline: none;
&:focus {
border-color: $accent;
}
}
/* 删除按钮 */
&__delete-btn {
width: 0.2rem;
height: 0.2rem;
border: none;
background: none;
cursor: pointer;
padding: 0;
flex-shrink: 0;
svg {
width: 100%;
height: 100%;
}
&:hover svg circle {
fill: $danger;
}
}
/* 加载中 */
&__loading {
text-align: center;
padding: 0.16rem 0;
font-size: 0.12rem;
color: $text-light;
}
/* 暂无更多数据 */
&__no-more {
text-align: center;
padding: 0.16rem 0;
font-size: 0.12rem;
color: $text-light;
}
/* 空状态 */
&__empty {
text-align: center;
padding: 0.4rem 0;
font-size: 0.13rem;
color: $text-light;
}
}