Files
jiaowu-test/src/pages/CompanyJobsPage/components/InterviewStatusDropdown/index.css
KQL 481999f963 fix: 修复面试状态下拉栏显示问题
- 将下拉栏定位从absolute改为fixed
- 修复位置计算,使用像素单位(px)
- 下拉栏居中显示在按钮下方
- 添加最大高度限制防止内容过长

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 05:29:30 +08:00

95 lines
1.8 KiB
CSS

.interview-status-dropdown-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.3);
z-index: 999;
}
.interview-status-dropdown {
position: fixed;
background: white;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
width: 360px;
z-index: 1000;
animation: slideDown 0.3s ease-out;
overflow: hidden;
max-height: 500px;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.interview-status-dropdown-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
border-bottom: 1px solid #e5e6eb;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.interview-status-dropdown-header h3 {
margin: 0;
font-size: 16px;
font-weight: 600;
color: white;
}
.interview-status-dropdown-header .close-btn {
background: rgba(255, 255, 255, 0.2);
border: none;
color: white;
font-size: 24px;
width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.interview-status-dropdown-header .close-btn:hover {
background: rgba(255, 255, 255, 0.3);
transform: rotate(90deg);
}
.interview-status-dropdown-content {
padding: 20px;
background: #f7f8fa;
}
.animation-container {
width: 100%;
height: 200px;
background: white;
border-radius: 8px;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.status-description {
padding: 16px;
background: white;
border-radius: 8px;
font-size: 14px;
line-height: 1.6;
color: #4e5969;
border-left: 4px solid #667eea;
}