Files
jiaowu-test/src/pages/JobStrategyDetailPage/index.css

207 lines
4.7 KiB
CSS
Raw Normal View History

.job-strategy-detail-page {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 20px;
/* 返回按钮样式 */
.back-button-wrapper {
position: absolute;
top: 30px;
left: 30px;
z-index: 10;
}
.back-button {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background-color: #ffffff;
border: 1px solid #e5e6eb;
border-radius: 6px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 14px;
font-weight: 500;
color: #4e5969;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
&:hover {
background-color: #f7f8fa;
border-color: #2c7aff;
color: #2c7aff;
transform: translateX(-2px);
box-shadow: 0 4px 8px rgba(44, 122, 255, 0.15);
}
&:active {
transform: scale(0.98) translateX(-2px);
}
.back-icon {
font-size: 18px;
line-height: 1;
font-weight: 600;
}
.back-text {
font-size: 14px;
}
}
.job-strategy-detail-wrapper {
width: 100%;
height: 100%;
border-radius: 16px;
background-image: linear-gradient(180deg, #d7e5ff, #eff4fb);
box-sizing: border-box;
padding: 20px;
border: 2px solid #fff;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
position: relative;
.job-strategy-detail-header {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
width: 310px;
height: 50px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #fff;
border-radius: 25px;
box-sizing: border-box;
padding: 10px;
z-index: 5;
.nav-item {
color: #86909c;
background-color: #f4f7f9;
font-size: 14px;
font-weight: 700;
width: 140px;
height: 34px;
line-height: 34px;
cursor: pointer;
border-radius: 25px;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 12px;
&:hover {
background-color: #e8f3ff;
}
.nav-icon {
width: 16px;
height: 16px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
display: inline-block;
flex-shrink: 0;
}
.nav-text {
font-size: 14px;
font-weight: 700;
white-space: nowrap;
}
/* 优先目标岗位图标 */
.target-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuUY5qlmzVhH.png");
}
/* 曲线就业方案图标 */
.curved-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuVUShwMZfFm.png");
}
}
.item-active {
background-color: #0077ff !important;
color: #fff !important;
/* 选中状态的优先目标岗位图标 */
.target-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuUY5s6knA9u.png");
}
/* 选中状态的曲线就业方案图标 */
.curved-icon {
background-image: url("https://ddcz-1315997005.cos.ap-nanjing.myqcloud.com/static/img/teach_sys_icon/recuVUSJS109uJ.png");
}
}
}
.job-strategy-detail-content {
width: 100%;
height: calc(100% - 80px);
position: relative;
overflow-y: auto;
margin-top: 80px;
}
}
.job-strategy-detail-body {
width: 100%;
height: 100%;
border-radius: 16px;
background-image: linear-gradient(180deg, #d7e5ff, #eff4fb);
box-sizing: border-box;
padding: 20px;
border: 2px solid #fff;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
.job-strategy-detail-header {
width: 310px;
height: 50px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #fff;
border-radius: 25px;
box-sizing: border-box;
padding: 10px;
> div {
color: #86909c;
background-color: #f4f7f9;
font-size: 14px;
font-weight: 700;
width: 140px;
height: 34px;
line-height: 34px;
text-align: center;
cursor: pointer;
border-radius: 25px;
}
.item-active {
background-color: #f2f3f5;
color: #fff;
background-color: #0077ff;
}
}
}
.job-strategy-detail-content {
width: 100%;
height: 100%;
position: relative;
}
}