|
@@ -1,15 +1,15 @@
|
|
|
.hr-dashboard-container {
|
|
|
- padding: 20px;
|
|
|
+ padding: 16px;
|
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
|
min-height: 100vh;
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
|
|
.top-navigation {
|
|
|
- margin-bottom: 30px;
|
|
|
+ margin-bottom: 20px;
|
|
|
|
|
|
.nav-buttons {
|
|
|
display: flex;
|
|
|
- gap: 15px;
|
|
|
+ gap: 12px;
|
|
|
justify-content: center;
|
|
|
flex-wrap: wrap;
|
|
|
|
|
@@ -40,26 +40,36 @@
|
|
|
|
|
|
// 数据可视化页面样式
|
|
|
.visualization-page {
|
|
|
- .main-layout {
|
|
|
- display: grid;
|
|
|
- grid-template-columns: 2fr 1fr;
|
|
|
- gap: 30px;
|
|
|
- min-height: 80vh;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 20px;
|
|
|
|
|
|
+ // 顶部三个图表一排显示
|
|
|
+ .top-charts-row {
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: 1fr 1fr 1fr;
|
|
|
+ gap: 16px;
|
|
|
+
|
|
|
@media (max-width: 1200px) {
|
|
|
+ grid-template-columns: 1fr 1fr;
|
|
|
+ .chart-card:last-child {
|
|
|
+ grid-column: 1 / -1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @media (max-width: 768px) {
|
|
|
grid-template-columns: 1fr;
|
|
|
- gap: 20px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .left-panel {
|
|
|
- display: grid;
|
|
|
- grid-template-columns: 1fr 1fr;
|
|
|
- gap: 20px;
|
|
|
+ // 离职原因分析区域占满整行
|
|
|
+ .resignation-analysis-section {
|
|
|
+ width: 100%;
|
|
|
|
|
|
- @media (max-width: 768px) {
|
|
|
- grid-template-columns: 1fr;
|
|
|
+ .analysis-card {
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
.chart-card {
|
|
|
background: rgba(255, 255, 255, 0.95);
|
|
@@ -78,7 +88,7 @@
|
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
color: white;
|
|
|
border-radius: 20px 20px 0 0;
|
|
|
- padding: 20px;
|
|
|
+ padding: 16px;
|
|
|
|
|
|
mat-card-title {
|
|
|
display: flex;
|
|
@@ -100,7 +110,7 @@
|
|
|
}
|
|
|
|
|
|
mat-card-content {
|
|
|
- padding: 25px;
|
|
|
+ padding: 20px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -610,12 +620,12 @@
|
|
|
}
|
|
|
|
|
|
mat-card-content {
|
|
|
- padding: 24px;
|
|
|
+ padding: 20px;
|
|
|
|
|
|
.comparison-selectors {
|
|
|
display: flex;
|
|
|
- gap: 24px;
|
|
|
- margin-bottom: 24px;
|
|
|
+ gap: 20px;
|
|
|
+ margin-bottom: 20px;
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
.selector-group {
|
|
@@ -911,8 +921,8 @@
|
|
|
|
|
|
// 对比图表样式
|
|
|
.comparison-chart-section {
|
|
|
- margin-top: 32px;
|
|
|
- padding-top: 24px;
|
|
|
+ margin-top: 24px;
|
|
|
+ padding-top: 20px;
|
|
|
border-top: 1px solid #e9ecef;
|
|
|
|
|
|
.chart-header {
|
|
@@ -1163,7 +1173,7 @@
|
|
|
.resignation-reasons-analysis {
|
|
|
display: grid;
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
- gap: 32px;
|
|
|
+ gap: 24px;
|
|
|
margin-bottom: 32px;
|
|
|
|
|
|
@media (max-width: 1200px) {
|
|
@@ -1213,6 +1223,31 @@
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
+ .reasons-list-container {
|
|
|
+ max-height: 480px; // 限制高度,大约显示两个项目
|
|
|
+ overflow-y: auto;
|
|
|
+ padding-right: 8px;
|
|
|
+
|
|
|
+ // 自定义滚动条样式
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ width: 6px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-track {
|
|
|
+ background: #f1f1f1;
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
+ border-radius: 3px;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.reasons-list {
|
|
|
.reason-item {
|
|
|
background: #f8f9fa;
|
|
@@ -1415,41 +1450,7 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .resignation-trends {
|
|
|
- .trends-header {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- margin-bottom: 20px;
|
|
|
-
|
|
|
- h3 {
|
|
|
- margin: 0;
|
|
|
- color: #333;
|
|
|
- font-weight: 600;
|
|
|
- }
|
|
|
-
|
|
|
- mat-button-toggle-group {
|
|
|
- .mat-button-toggle {
|
|
|
- border: 1px solid #e0e0e0;
|
|
|
-
|
|
|
- &.mat-button-toggle-checked {
|
|
|
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
- color: white;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .trends-chart-container {
|
|
|
- background: #f8f9fa;
|
|
|
- border-radius: 12px;
|
|
|
- padding: 20px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- min-height: 300px;
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1613,7 +1614,9 @@
|
|
|
|
|
|
// 响应式设计
|
|
|
@media (max-width: 768px) {
|
|
|
- padding: 15px;
|
|
|
+ .hr-dashboard-container {
|
|
|
+ padding: 15px;
|
|
|
+ }
|
|
|
|
|
|
.top-navigation {
|
|
|
margin-bottom: 20px;
|
|
@@ -1627,11 +1630,8 @@
|
|
|
}
|
|
|
|
|
|
.visualization-page {
|
|
|
- .main-layout {
|
|
|
- gap: 15px;
|
|
|
- }
|
|
|
-
|
|
|
- .left-panel {
|
|
|
+ .top-charts-row {
|
|
|
+ flex-direction: column;
|
|
|
gap: 15px;
|
|
|
|
|
|
.chart-card {
|
|
@@ -1648,6 +1648,10 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .resignation-analysis-section {
|
|
|
+ margin-top: 15px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1668,11 +1672,40 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .stages-timeline-container {
|
|
|
+ position: relative;
|
|
|
+ margin: 20px 0;
|
|
|
+ }
|
|
|
+
|
|
|
.stages-timeline {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
gap: 20px;
|
|
|
- margin: 20px 0;
|
|
|
+ max-height: 480px; // 限制显示约2个项目的高度
|
|
|
+ overflow-y: auto;
|
|
|
+ padding-right: 10px;
|
|
|
+
|
|
|
+ // 自定义滚动条样式
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ width: 6px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-track {
|
|
|
+ background: rgba(0, 0, 0, 0.1);
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
+ background: linear-gradient(135deg, #2196f3, #03a9f4);
|
|
|
+ border-radius: 3px;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: linear-gradient(135deg, #1976d2, #0288d1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 滚动动画
|
|
|
+ scroll-behavior: smooth;
|
|
|
|
|
|
.timeline-item {
|
|
|
display: flex;
|
|
@@ -1860,6 +1893,61 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 滑动指示器样式
|
|
|
+ .scroll-indicator {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 20px;
|
|
|
+ padding: 15px 20px;
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
+ border-radius: 12px;
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
+
|
|
|
+ .scroll-dots {
|
|
|
+ display: flex;
|
|
|
+ gap: 8px;
|
|
|
+
|
|
|
+ .scroll-dot {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: rgba(0, 0, 0, 0.3);
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &.active {
|
|
|
+ background: linear-gradient(135deg, #2196f3, #03a9f4);
|
|
|
+ transform: scale(1.2);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(33, 150, 243, 0.6);
|
|
|
+ transform: scale(1.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .scroll-hint {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 8px;
|
|
|
+ color: #666;
|
|
|
+ font-size: 14px;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 18px;
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ color: #2196f3;
|
|
|
+ }
|
|
|
+
|
|
|
+ span {
|
|
|
+ font-weight: 500;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.probation-link-section {
|
|
|
margin-top: 30px;
|
|
|
|
|
@@ -1953,66 +2041,560 @@
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
.upload-zone {
|
|
|
- border: 2px dashed #ddd;
|
|
|
- border-radius: 10px;
|
|
|
- padding: 40px 20px;
|
|
|
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
|
|
|
+ border: 2px dashed rgba(59, 130, 246, 0.3);
|
|
|
+ border-radius: 20px;
|
|
|
+ padding: 32px 24px;
|
|
|
text-align: center;
|
|
|
cursor: pointer;
|
|
|
- transition: all 0.3s ease;
|
|
|
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
|
|
|
+ opacity: 0;
|
|
|
+ transition: opacity 0.3s ease;
|
|
|
+ }
|
|
|
|
|
|
&:hover {
|
|
|
- border-color: #2196F3;
|
|
|
- background: rgba(33, 150, 243, 0.05);
|
|
|
+ border-color: rgba(59, 130, 246, 0.6);
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-icon {
|
|
|
+ transform: scale(1.1);
|
|
|
+ color: #3b82f6;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-title {
|
|
|
+ color: #1e40af;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.drag-over {
|
|
|
+ border-color: #3b82f6;
|
|
|
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
|
|
|
+ transform: scale(1.02);
|
|
|
+
|
|
|
+ .upload-icon {
|
|
|
+ animation: bounce 0.6s ease-in-out;
|
|
|
+ color: #3b82f6;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.upload-icon {
|
|
|
- font-size: 48px;
|
|
|
- color: #2196F3;
|
|
|
- margin-bottom: 10px;
|
|
|
+ font-size: 56px;
|
|
|
+ background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
+ background-clip: text;
|
|
|
+ margin-bottom: 16px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
}
|
|
|
|
|
|
- p {
|
|
|
- margin: 5px 0;
|
|
|
-
|
|
|
- &.upload-hint {
|
|
|
- font-size: 12px;
|
|
|
- color: #666;
|
|
|
+ .upload-title {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #1f2937;
|
|
|
+ margin: 8px 0;
|
|
|
+ transition: color 0.3s ease;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-hint {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #6b7280;
|
|
|
+ margin: 8px 0 24px 0;
|
|
|
+ line-height: 1.5;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-actions {
|
|
|
+ .mat-stroked-button {
|
|
|
+ background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
|
|
|
+ color: white;
|
|
|
+ border: none;
|
|
|
+ border-radius: 12px;
|
|
|
+ padding: 12px 24px;
|
|
|
+ font-weight: 600;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
|
|
|
+ }
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ margin-right: 8px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .analysis-results {
|
|
|
- .skills-match {
|
|
|
- h4 {
|
|
|
- margin-bottom: 15px;
|
|
|
+ @keyframes bounce {
|
|
|
+ 0%, 20%, 50%, 80%, 100% {
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+ 40% {
|
|
|
+ transform: translateY(-10px);
|
|
|
+ }
|
|
|
+ 60% {
|
|
|
+ transform: translateY(-5px);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .analysis-progress {
|
|
|
+ background: rgba(255, 255, 255, 0.95);
|
|
|
+ border-radius: 15px;
|
|
|
+ padding: 16px;
|
|
|
+ margin: 16px 0;
|
|
|
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
|
+ border: 1px solid rgba(33, 150, 243, 0.2);
|
|
|
+
|
|
|
+ .progress-header {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 15px;
|
|
|
+
|
|
|
+ .analyzing-icon {
|
|
|
+ color: #2196F3;
|
|
|
+ margin-right: 10px;
|
|
|
+ animation: pulse 2s infinite;
|
|
|
+ }
|
|
|
+
|
|
|
+ .progress-text {
|
|
|
+ font-weight: 500;
|
|
|
color: #333;
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+ mat-progress-bar {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ height: 8px;
|
|
|
+ border-radius: 4px;
|
|
|
+
|
|
|
+ ::ng-deep .mat-progress-bar-fill::after {
|
|
|
+ background: linear-gradient(45deg, #2196F3, #21CBF3);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .progress-details {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 14px;
|
|
|
+
|
|
|
+ .file-name {
|
|
|
+ color: #666;
|
|
|
+ max-width: 200px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+
|
|
|
+ .progress-percentage {
|
|
|
+ color: #2196F3;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @keyframes pulse {
|
|
|
+ 0% { transform: scale(1); }
|
|
|
+ 50% { transform: scale(1.1); }
|
|
|
+ 100% { transform: scale(1); }
|
|
|
+ }
|
|
|
+
|
|
|
+ .analysis-results {
|
|
|
+ animation: slideInUp 0.6s ease-out;
|
|
|
+
|
|
|
+ h4 {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #1f2937;
|
|
|
+ margin: 24px 0 16px 0;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ margin-right: 12px;
|
|
|
+ color: #3b82f6;
|
|
|
+ font-size: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .match-dimensions {
|
|
|
+ margin-bottom: 24px;
|
|
|
|
|
|
- .skill-item {
|
|
|
+ .dimension-tags {
|
|
|
display: flex;
|
|
|
- align-items: center;
|
|
|
- gap: 15px;
|
|
|
- margin-bottom: 10px;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ gap: 10px;
|
|
|
|
|
|
- span:first-child {
|
|
|
- min-width: 80px;
|
|
|
- font-weight: 500;
|
|
|
+ mat-chip-set {
|
|
|
+ mat-chip {
|
|
|
+ background: rgba(255, 255, 255, 0.9);
|
|
|
+ border: 1px solid rgba(59, 130, 246, 0.2);
|
|
|
+ border-radius: 16px;
|
|
|
+ padding: 12px 16px;
|
|
|
+ font-weight: 500;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
|
|
|
+ }
|
|
|
+
|
|
|
+ &.match-level-high {
|
|
|
+ background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
|
|
|
+ border-color: rgba(34, 197, 94, 0.3);
|
|
|
+ color: #059669;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ color: #10b981;
|
|
|
+ }
|
|
|
+
|
|
|
+ .match-score {
|
|
|
+ background: rgba(34, 197, 94, 0.2);
|
|
|
+ color: #065f46;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.match-level-medium {
|
|
|
+ background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
|
|
|
+ border-color: rgba(251, 191, 36, 0.3);
|
|
|
+ color: #d97706;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ color: #f59e0b;
|
|
|
+ }
|
|
|
+
|
|
|
+ .match-score {
|
|
|
+ background: rgba(251, 191, 36, 0.2);
|
|
|
+ color: #92400e;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.match-level-low {
|
|
|
+ background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
|
|
|
+ border-color: rgba(239, 68, 68, 0.3);
|
|
|
+ color: #dc2626;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ color: #ef4444;
|
|
|
+ }
|
|
|
+
|
|
|
+ .match-score {
|
|
|
+ background: rgba(239, 68, 68, 0.2);
|
|
|
+ color: #991b1b;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ margin-right: 8px;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .match-score {
|
|
|
+ margin-left: 8px;
|
|
|
+ padding: 4px 8px;
|
|
|
+ border-radius: 8px;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-section {
|
|
|
+ margin-bottom: 24px;
|
|
|
+
|
|
|
+ .recommendation-card {
|
|
|
+ background: rgba(255, 255, 255, 0.95);
|
|
|
+ border-radius: 20px;
|
|
|
+ padding: 20px;
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
|
|
|
}
|
|
|
|
|
|
- mat-progress-bar {
|
|
|
- flex: 1;
|
|
|
+ &.recommendation-recommend {
|
|
|
+ border-left: 4px solid #10b981;
|
|
|
+ background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
|
|
|
}
|
|
|
|
|
|
- span:last-child {
|
|
|
- min-width: 40px;
|
|
|
- text-align: right;
|
|
|
- font-weight: 600;
|
|
|
- color: #2196F3;
|
|
|
+ &.recommendation-consider {
|
|
|
+ border-left: 4px solid #f59e0b;
|
|
|
+ background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
|
|
|
+ }
|
|
|
+
|
|
|
+ &.recommendation-reject {
|
|
|
+ border-left: 4px solid #ef4444;
|
|
|
+ background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-header {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 16px;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 24px;
|
|
|
+ margin-right: 12px;
|
|
|
+
|
|
|
+ .recommendation-recommend & {
|
|
|
+ color: #10b981;
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-consider & {
|
|
|
+ color: #f59e0b;
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-reject & {
|
|
|
+ color: #ef4444;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-title {
|
|
|
+ flex: 1;
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #1f2937;
|
|
|
+ }
|
|
|
+
|
|
|
+ mat-chip {
|
|
|
+ border-radius: 12px;
|
|
|
+ font-weight: 600;
|
|
|
+
|
|
|
+ &.level-recommend {
|
|
|
+ background: rgba(16, 185, 129, 0.2);
|
|
|
+ color: #065f46;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.level-consider {
|
|
|
+ background: rgba(245, 158, 11, 0.2);
|
|
|
+ color: #92400e;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.level-reject {
|
|
|
+ background: rgba(239, 68, 68, 0.2);
|
|
|
+ color: #991b1b;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-content {
|
|
|
+ .recommendation-summary {
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 1.6;
|
|
|
+ color: #4b5563;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ padding: 16px;
|
|
|
+ background: rgba(248, 250, 252, 0.8);
|
|
|
+ border-radius: 12px;
|
|
|
+ border-left: 3px solid #3b82f6;
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-reasons,
|
|
|
+ .recommendation-concerns {
|
|
|
+ margin-bottom: 16px;
|
|
|
+
|
|
|
+ h5 {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #374151;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ width: 4px;
|
|
|
+ height: 16px;
|
|
|
+ background: #3b82f6;
|
|
|
+ border-radius: 2px;
|
|
|
+ margin-right: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ ul {
|
|
|
+ list-style: none;
|
|
|
+ padding: 0;
|
|
|
+ margin: 0;
|
|
|
+
|
|
|
+ li {
|
|
|
+ padding: 8px 0;
|
|
|
+ padding-left: 24px;
|
|
|
+ position: relative;
|
|
|
+ color: #6b7280;
|
|
|
+ line-height: 1.5;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '•';
|
|
|
+ position: absolute;
|
|
|
+ left: 8px;
|
|
|
+ color: #3b82f6;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .recommendation-concerns {
|
|
|
+ h5::before {
|
|
|
+ background: #f59e0b;
|
|
|
+ }
|
|
|
+
|
|
|
+ ul li::before {
|
|
|
+ color: #f59e0b;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-info {
|
|
|
+ .screening-list {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 12px;
|
|
|
+
|
|
|
+ .screening-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 16px 20px;
|
|
|
+ background: rgba(255, 255, 255, 0.9);
|
|
|
+ border-radius: 16px;
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateX(4px);
|
|
|
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-icon {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ border-radius: 12px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ margin-right: 16px;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-content {
|
|
|
+ flex: 1;
|
|
|
+
|
|
|
+ .screening-title {
|
|
|
+ font-weight: 600;
|
|
|
+ color: #1f2937;
|
|
|
+ margin-bottom: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-detail {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #6b7280;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-status {
|
|
|
+ mat-chip {
|
|
|
+ border-radius: 12px;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status-pass {
|
|
|
+ border-left: 4px solid #10b981;
|
|
|
+
|
|
|
+ .screening-icon {
|
|
|
+ background: rgba(16, 185, 129, 0.1);
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ color: #10b981;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-status mat-chip {
|
|
|
+ background: rgba(16, 185, 129, 0.2);
|
|
|
+ color: #065f46;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status-warning {
|
|
|
+ border-left: 4px solid #f59e0b;
|
|
|
+
|
|
|
+ .screening-icon {
|
|
|
+ background: rgba(245, 158, 11, 0.1);
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ color: #f59e0b;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-status mat-chip {
|
|
|
+ background: rgba(245, 158, 11, 0.2);
|
|
|
+ color: #92400e;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status-fail {
|
|
|
+ border-left: 4px solid #ef4444;
|
|
|
+
|
|
|
+ .screening-icon {
|
|
|
+ background: rgba(239, 68, 68, 0.1);
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ color: #ef4444;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .screening-status mat-chip {
|
|
|
+ background: rgba(239, 68, 68, 0.2);
|
|
|
+ color: #991b1b;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ @keyframes slideInUp {
|
|
|
+ from {
|
|
|
+ opacity: 0;
|
|
|
+ transform: translateY(30px);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.recruitment-stages {
|
|
@@ -2924,4 +3506,498 @@
|
|
|
box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+
|
|
|
+ // iOS风格悬浮待办事项按钮
|
|
|
+ .ios-floating-todo-container {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 32px;
|
|
|
+ right: 32px;
|
|
|
+ z-index: 1000;
|
|
|
+
|
|
|
+ .ios-floating-todo-btn {
|
|
|
+ width: 64px;
|
|
|
+ height: 64px;
|
|
|
+ border-radius: 50%;
|
|
|
+ border: none;
|
|
|
+ background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
|
|
|
+ color: white;
|
|
|
+ box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
|
|
|
+ transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-4px) scale(1.05);
|
|
|
+ box-shadow: 0 16px 48px rgba(0, 122, 255, 0.4);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ transform: translateY(-2px) scale(1.02);
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-btn-content {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 28px;
|
|
|
+ width: 28px;
|
|
|
+ height: 28px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-todo-badge {
|
|
|
+ position: absolute;
|
|
|
+ top: -8px;
|
|
|
+ right: -8px;
|
|
|
+ background: #FF3B30;
|
|
|
+ color: white;
|
|
|
+ border-radius: 50%;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 700;
|
|
|
+ border: 3px solid white;
|
|
|
+ box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 背景遮罩
|
|
|
+ .ios-panel-backdrop {
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100vw;
|
|
|
+ height: 100vh;
|
|
|
+ background: rgba(0, 0, 0, 0.4);
|
|
|
+ backdrop-filter: blur(8px);
|
|
|
+ opacity: 0;
|
|
|
+ visibility: hidden;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ z-index: 998;
|
|
|
+
|
|
|
+ &.visible {
|
|
|
+ opacity: 1;
|
|
|
+ visibility: visible;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // iOS风格待办事项面板
|
|
|
+ .ios-todo-panel {
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ right: -420px;
|
|
|
+ width: 420px;
|
|
|
+ height: 100vh;
|
|
|
+ background: rgba(255, 255, 255, 0.95);
|
|
|
+ backdrop-filter: blur(20px);
|
|
|
+ -webkit-backdrop-filter: blur(20px);
|
|
|
+ border-left: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
+ transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
|
+ z-index: 999;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &.open {
|
|
|
+ right: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 面板头部
|
|
|
+ .ios-panel-header {
|
|
|
+ position: relative;
|
|
|
+ padding: 60px 24px 20px;
|
|
|
+ background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
|
|
|
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
+
|
|
|
+ .ios-header-blur {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
+ backdrop-filter: blur(20px);
|
|
|
+ -webkit-backdrop-filter: blur(20px);
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-header-content {
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ h3 {
|
|
|
+ margin: 0;
|
|
|
+ color: #1D1D1F;
|
|
|
+ font-size: 28px;
|
|
|
+ font-weight: 700;
|
|
|
+ letter-spacing: -0.5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-close-btn {
|
|
|
+ width: 36px;
|
|
|
+ height: 36px;
|
|
|
+ border-radius: 50%;
|
|
|
+ border: none;
|
|
|
+ background: rgba(0, 0, 0, 0.05);
|
|
|
+ color: #007AFF;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.2s ease;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(0, 0, 0, 0.1);
|
|
|
+ transform: scale(1.1);
|
|
|
+ }
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 20px;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 面板内容
|
|
|
+ .ios-panel-content {
|
|
|
+ flex: 1;
|
|
|
+ overflow-y: auto;
|
|
|
+ padding: 16px;
|
|
|
+ scroll-behavior: smooth;
|
|
|
+
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ width: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-track {
|
|
|
+ background: transparent;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
+ background: rgba(0, 0, 0, 0.2);
|
|
|
+ border-radius: 2px;
|
|
|
+ }
|
|
|
+
|
|
|
+ // iOS风格待办事项
|
|
|
+ .ios-todo-item {
|
|
|
+ background: rgba(255, 255, 255, 0.9);
|
|
|
+ border-radius: 16px;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
|
|
|
+ transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
+ overflow: hidden;
|
|
|
+ display: flex;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
|
+ }
|
|
|
+
|
|
|
+ &.completed {
|
|
|
+ opacity: 0.7;
|
|
|
+ background: rgba(52, 199, 89, 0.05);
|
|
|
+ border-color: rgba(52, 199, 89, 0.2);
|
|
|
+
|
|
|
+ .ios-todo-title {
|
|
|
+ text-decoration: line-through;
|
|
|
+ color: #8E8E93;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.in-progress {
|
|
|
+ border-left: 4px solid #FF9500;
|
|
|
+ background: rgba(255, 149, 0, 0.05);
|
|
|
+ }
|
|
|
+
|
|
|
+ // 拖拽手柄
|
|
|
+ .ios-drag-handle {
|
|
|
+ width: 24px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ background: rgba(0, 0, 0, 0.02);
|
|
|
+ cursor: grab;
|
|
|
+ transition: background 0.2s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(0, 0, 0, 0.05);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ cursor: grabbing;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-drag-dots {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 2px;
|
|
|
+
|
|
|
+ span {
|
|
|
+ width: 3px;
|
|
|
+ height: 3px;
|
|
|
+ background: #C7C7CC;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 待办事项内容
|
|
|
+ .ios-todo-content {
|
|
|
+ flex: 1;
|
|
|
+ padding: 16px;
|
|
|
+
|
|
|
+ .ios-todo-header {
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
+ gap: 12px;
|
|
|
+ margin-bottom: 12px;
|
|
|
+
|
|
|
+ .ios-todo-icon {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ border-radius: 12px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ flex-shrink: 0;
|
|
|
+
|
|
|
+ &.type-resume {
|
|
|
+ background: linear-gradient(135deg, #007AFF, #5856D6);
|
|
|
+ color: white;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.type-onboarding {
|
|
|
+ background: linear-gradient(135deg, #34C759, #30D158);
|
|
|
+ color: white;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.type-resignation {
|
|
|
+ background: linear-gradient(135deg, #FF3B30, #FF6B6B);
|
|
|
+ color: white;
|
|
|
+ }
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 20px;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-todo-title-section {
|
|
|
+ flex: 1;
|
|
|
+
|
|
|
+ .ios-todo-title {
|
|
|
+ margin: 0 0 4px 0;
|
|
|
+ color: #1D1D1F;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ line-height: 1.3;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-todo-description {
|
|
|
+ margin: 0;
|
|
|
+ color: #8E8E93;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 1.4;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-todo-meta {
|
|
|
+ display: flex;
|
|
|
+ gap: 12px;
|
|
|
+ margin-bottom: 16px;
|
|
|
+
|
|
|
+ .ios-priority-indicator {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 6px;
|
|
|
+ padding: 4px 8px;
|
|
|
+ border-radius: 8px;
|
|
|
+ background: rgba(0, 0, 0, 0.05);
|
|
|
+
|
|
|
+ .ios-priority-dot {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-priority-text {
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #8E8E93;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.priority-high {
|
|
|
+ background: rgba(255, 59, 48, 0.1);
|
|
|
+ .ios-priority-dot { background: #FF3B30; }
|
|
|
+ .ios-priority-text { color: #FF3B30; }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.priority-medium {
|
|
|
+ background: rgba(255, 149, 0, 0.1);
|
|
|
+ .ios-priority-dot { background: #FF9500; }
|
|
|
+ .ios-priority-text { color: #FF9500; }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.priority-low {
|
|
|
+ background: rgba(52, 199, 89, 0.1);
|
|
|
+ .ios-priority-dot { background: #34C759; }
|
|
|
+ .ios-priority-text { color: #34C759; }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-status-indicator {
|
|
|
+ padding: 4px 8px;
|
|
|
+ border-radius: 8px;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 500;
|
|
|
+
|
|
|
+ &.status-pending {
|
|
|
+ background: rgba(142, 142, 147, 0.1);
|
|
|
+ color: #8E8E93;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status-in_progress {
|
|
|
+ background: rgba(255, 149, 0, 0.1);
|
|
|
+ color: #FF9500;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.status-completed {
|
|
|
+ background: rgba(52, 199, 89, 0.1);
|
|
|
+ color: #34C759;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ios-todo-actions {
|
|
|
+ display: flex;
|
|
|
+ gap: 8px;
|
|
|
+
|
|
|
+ .ios-action-btn {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 6px;
|
|
|
+ padding: 8px 12px;
|
|
|
+ border-radius: 12px;
|
|
|
+ border: none;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 500;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.2s ease;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 16px;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.ios-complete-btn {
|
|
|
+ background: rgba(52, 199, 89, 0.1);
|
|
|
+ color: #34C759;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(52, 199, 89, 0.2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.ios-start-btn {
|
|
|
+ background: rgba(0, 122, 255, 0.1);
|
|
|
+ color: #007AFF;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(0, 122, 255, 0.2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.ios-reset-btn {
|
|
|
+ background: rgba(142, 142, 147, 0.1);
|
|
|
+ color: #8E8E93;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(142, 142, 147, 0.2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 空状态
|
|
|
+ .ios-empty-state {
|
|
|
+ text-align: center;
|
|
|
+ padding: 60px 20px;
|
|
|
+ color: #8E8E93;
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 64px;
|
|
|
+ width: 64px;
|
|
|
+ height: 64px;
|
|
|
+ margin-bottom: 16px;
|
|
|
+ opacity: 0.5;
|
|
|
+ }
|
|
|
+
|
|
|
+ h4 {
|
|
|
+ margin: 0 0 8px 0;
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+
|
|
|
+ p {
|
|
|
+ margin: 0;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 面板底部
|
|
|
+ .ios-panel-footer {
|
|
|
+ padding: 16px 24px 32px;
|
|
|
+ background: rgba(255, 255, 255, 0.9);
|
|
|
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
+
|
|
|
+ .ios-add-todo-btn {
|
|
|
+ width: 100%;
|
|
|
+ padding: 16px;
|
|
|
+ border-radius: 12px;
|
|
|
+ border: none;
|
|
|
+ background: linear-gradient(135deg, #007AFF, #5856D6);
|
|
|
+ color: white;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.2s ease;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 8px;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-1px);
|
|
|
+ box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
|
|
|
+ }
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ font-size: 20px;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|