Files
offerpai_web/src/assets/styles/components/job-page-header.scss
T

177 lines
3.3 KiB
SCSS

@use '../variables' as *;
/* ==================== 岗位统计卡片 ==================== */
.job-stats-cards {
display: flex;
align-items: center;
gap: 0.16rem;
margin-left: auto;
filter: drop-shadow(0px 2px 10px rgba(0, 221, 179, 0.16));
/* 全网实时岗位卡片 */
&__count-card {
position: relative;
height: 0.43rem;
background: #0A171C;
border: 1px solid #1C4C55;
border-radius: 0.05rem;
}
/* 状态指示圆点 */
&__dot {
//position: absolute;
width: 0.08rem;
height: 0.08rem;
background: #2FE9F4;
border-radius: 50%;
box-shadow: 0px 0px 4px rgba(47, 233, 244, 0.75);
}
/* 岗位数字 */
&__count-num {
font-family: 'MiSans';
font-weight: 630;
font-size: 0.16rem;
line-height: 0.21rem;
color: #F4FFFF;
}
/* 岗位标签文字 */
&__count-label {
font-family: 'MiSans';
font-weight: 330;
font-size: 0.10rem;
line-height: 0.13rem;
color: #8AA8AF;
}
/* 可投率卡片 */
&__match-card {
position: relative;
width: 0.52rem;
height: 0.42rem;
background: #08161B;
border: 1px solid #20626D;
border-radius: 0.05rem;
}
/* 可投率数字 */
&__match-num {
position: absolute;
left: 0.08rem;
top: 0.04rem;
font-family: 'MiSans';
font-weight: 630;
font-size: 0.16rem;
line-height: 0.21rem;
color: #2FE9F4;
}
/* 可投率标签文字 */
&__match-label {
position: absolute;
left: 0.08rem;
top: 0.245rem;
font-family: 'MiSans';
font-weight: 620;
font-size: 0.10rem;
line-height: 0.13rem;
color: #8FB7BE;
}
}
.job-page-header {
&__title {
font-size: 0.18rem;
font-weight: 700;
color: $text-dark;
margin: 0 !important;
padding: 0;
line-height: 1.1;
}
&__subtitle {
font-size: 0.13rem;
color: $text-light;
}
&__tabs {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 0.04rem;
background: $bg-white;
border-radius: 0.22rem;
padding: 0.04rem;
}
&__goal-btn {
font-size: 0.12rem;
font-weight: 700;
color: $text-dark;
background: $bg-main;
border-radius: 0.2rem;
border: 0.01rem solid $border-color;
cursor: pointer;
padding: 0.04rem 0.16rem;
white-space: nowrap;
transition: color 0.2s;
margin-left: auto;
&:hover {
color: $accent-hover;
}
}
&__tab {
font-size: 0.13rem;
color: $text-middle;
cursor: pointer;
padding: 0.06rem 0.20rem;
border-radius: 0.08rem;
transition: all 0.25s ease;
user-select: none;
font-weight: 500;
display: flex;
align-items: center;
gap: 0.06rem;
&:hover {
color: $text-dark;
background: $theme-color;
}
&--active {
background: $accent;
color: $bg-white;
font-weight: 600;
box-shadow: 0 0.02rem 0.08rem rgba(79, 194, 201, 0.3);
&:hover {
background: $accent-hover;
color: $bg-white;
}
}
}
/* 计数圆形徽章 */
&__tab-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 0.20rem;
height: 0.20rem;
padding: 0 0.05rem;
border-radius: 0.1rem;
background: #F3F4F6;
font-size: 0.11rem;
font-weight: 500;
color: $text-middle;
line-height: 1;
}
}