resignation-detail-panel.component.scss 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. .resignation-detail-panel {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100vh;
  5. background: #ffffff;
  6. border-radius: 12px;
  7. box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  8. overflow: hidden;
  9. .panel-header {
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. padding: 24px;
  14. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  15. color: white;
  16. .header-content {
  17. display: flex;
  18. align-items: center;
  19. gap: 16px;
  20. .reason-icon {
  21. font-size: 32px;
  22. width: 32px;
  23. height: 32px;
  24. }
  25. .header-text {
  26. h2 {
  27. margin: 0;
  28. font-size: 24px;
  29. font-weight: 600;
  30. }
  31. .category-chip {
  32. display: inline-block;
  33. background: rgba(255, 255, 255, 0.2);
  34. padding: 4px 12px;
  35. border-radius: 16px;
  36. font-size: 12px;
  37. margin-top: 4px;
  38. }
  39. }
  40. }
  41. button {
  42. color: white;
  43. }
  44. }
  45. .panel-content {
  46. flex: 1;
  47. overflow: auto;
  48. ::ng-deep .mat-mdc-tab-group {
  49. height: 100%;
  50. .mat-mdc-tab-header {
  51. border-bottom: 1px solid #e0e0e0;
  52. }
  53. .mat-mdc-tab-body-wrapper {
  54. flex: 1;
  55. overflow: auto;
  56. }
  57. }
  58. .tab-content {
  59. padding: 24px;
  60. }
  61. .stats-section {
  62. display: grid;
  63. grid-template-columns: repeat(3, 1fr);
  64. gap: 16px;
  65. margin-bottom: 32px;
  66. .stat-card {
  67. text-align: center;
  68. padding: 20px;
  69. background: #f8f9fa;
  70. border-radius: 12px;
  71. border: 1px solid #e9ecef;
  72. .stat-value {
  73. font-size: 28px;
  74. font-weight: 700;
  75. color: #2c3e50;
  76. margin-bottom: 8px;
  77. &.trend {
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. gap: 4px;
  82. &.trend-up {
  83. color: #e74c3c;
  84. }
  85. &.trend-down {
  86. color: #27ae60;
  87. }
  88. &.trend-stable {
  89. color: #f39c12;
  90. }
  91. mat-icon {
  92. font-size: 20px;
  93. width: 20px;
  94. height: 20px;
  95. }
  96. }
  97. }
  98. .stat-label {
  99. font-size: 14px;
  100. color: #6c757d;
  101. font-weight: 500;
  102. }
  103. }
  104. }
  105. .analysis-section {
  106. h3 {
  107. color: #2c3e50;
  108. font-size: 18px;
  109. font-weight: 600;
  110. margin: 24px 0 12px 0;
  111. border-bottom: 2px solid #667eea;
  112. padding-bottom: 8px;
  113. }
  114. .overview-text {
  115. line-height: 1.6;
  116. color: #495057;
  117. margin-bottom: 24px;
  118. }
  119. .factors-list {
  120. margin-bottom: 24px;
  121. ::ng-deep mat-chip {
  122. background: #e3f2fd;
  123. color: #1976d2;
  124. }
  125. }
  126. .impact-analysis {
  127. display: grid;
  128. grid-template-columns: 1fr 1fr;
  129. gap: 24px;
  130. margin-bottom: 24px;
  131. .impact-section {
  132. h4 {
  133. color: #495057;
  134. font-size: 16px;
  135. margin-bottom: 12px;
  136. }
  137. ul {
  138. list-style: none;
  139. padding: 0;
  140. li {
  141. padding: 8px 0;
  142. padding-left: 20px;
  143. position: relative;
  144. color: #6c757d;
  145. &::before {
  146. content: '•';
  147. color: #667eea;
  148. font-weight: bold;
  149. position: absolute;
  150. left: 0;
  151. }
  152. }
  153. }
  154. }
  155. }
  156. .time-distribution {
  157. .period-item {
  158. display: grid;
  159. grid-template-columns: 100px 1fr 60px;
  160. align-items: center;
  161. gap: 16px;
  162. margin-bottom: 12px;
  163. .period-label {
  164. font-weight: 500;
  165. color: #495057;
  166. }
  167. .period-bar {
  168. height: 8px;
  169. background: #e9ecef;
  170. border-radius: 4px;
  171. overflow: hidden;
  172. .bar-fill {
  173. height: 100%;
  174. background: linear-gradient(90deg, #667eea, #764ba2);
  175. border-radius: 4px;
  176. }
  177. }
  178. .period-count {
  179. text-align: right;
  180. font-weight: 500;
  181. color: #6c757d;
  182. }
  183. }
  184. }
  185. }
  186. .improvement-header {
  187. display: flex;
  188. align-items: center;
  189. justify-content: space-between;
  190. margin-bottom: 24px;
  191. padding: 16px;
  192. background: #f8f9fa;
  193. border-radius: 8px;
  194. .priority-badge {
  195. padding: 6px 16px;
  196. border-radius: 20px;
  197. font-weight: 600;
  198. font-size: 12px;
  199. &.priority-high {
  200. background: #ffebee;
  201. color: #c62828;
  202. }
  203. &.priority-medium {
  204. background: #fff3e0;
  205. color: #ef6c00;
  206. }
  207. &.priority-low {
  208. background: #e8f5e8;
  209. color: #2e7d32;
  210. }
  211. }
  212. .timeline {
  213. color: #6c757d;
  214. font-weight: 500;
  215. }
  216. }
  217. .expected-outcome {
  218. margin-bottom: 32px;
  219. h3 {
  220. color: #2c3e50;
  221. font-size: 18px;
  222. font-weight: 600;
  223. margin-bottom: 12px;
  224. }
  225. p {
  226. line-height: 1.6;
  227. color: #495057;
  228. }
  229. }
  230. .action-plan {
  231. margin-bottom: 32px;
  232. h3 {
  233. color: #2c3e50;
  234. font-size: 18px;
  235. font-weight: 600;
  236. margin-bottom: 16px;
  237. }
  238. .actions-list {
  239. .action-item {
  240. background: #f8f9fa;
  241. border-radius: 8px;
  242. padding: 20px;
  243. margin-bottom: 16px;
  244. border-left: 4px solid #667eea;
  245. .action-header {
  246. display: flex;
  247. align-items: center;
  248. justify-content: space-between;
  249. margin-bottom: 12px;
  250. h4 {
  251. margin: 0;
  252. color: #2c3e50;
  253. font-size: 16px;
  254. }
  255. .action-status {
  256. padding: 4px 12px;
  257. border-radius: 12px;
  258. font-size: 12px;
  259. font-weight: 500;
  260. &.status-pending {
  261. background: #fff3cd;
  262. color: #856404;
  263. }
  264. &.status-in_progress {
  265. background: #d1ecf1;
  266. color: #0c5460;
  267. }
  268. &.status-completed {
  269. background: #d4edda;
  270. color: #155724;
  271. }
  272. }
  273. }
  274. .action-description {
  275. color: #6c757d;
  276. line-height: 1.5;
  277. margin-bottom: 12px;
  278. }
  279. .action-meta {
  280. display: flex;
  281. gap: 24px;
  282. font-size: 14px;
  283. color: #6c757d;
  284. .responsible,
  285. .deadline {
  286. font-weight: 500;
  287. }
  288. }
  289. }
  290. }
  291. }
  292. .success-metrics {
  293. margin-bottom: 32px;
  294. h3 {
  295. color: #2c3e50;
  296. font-size: 18px;
  297. font-weight: 600;
  298. margin-bottom: 12px;
  299. }
  300. ul {
  301. list-style: none;
  302. padding: 0;
  303. li {
  304. padding: 8px 0;
  305. padding-left: 24px;
  306. position: relative;
  307. color: #495057;
  308. &::before {
  309. content: '✓';
  310. color: #27ae60;
  311. font-weight: bold;
  312. position: absolute;
  313. left: 0;
  314. }
  315. }
  316. }
  317. }
  318. .resources {
  319. h3 {
  320. color: #2c3e50;
  321. font-size: 18px;
  322. font-weight: 600;
  323. margin-bottom: 16px;
  324. }
  325. .resource-grid {
  326. display: grid;
  327. grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  328. gap: 20px;
  329. .resource-item {
  330. background: #f8f9fa;
  331. padding: 16px;
  332. border-radius: 8px;
  333. h4 {
  334. margin: 0 0 12px 0;
  335. color: #495057;
  336. font-size: 14px;
  337. font-weight: 600;
  338. }
  339. p {
  340. margin: 0;
  341. color: #6c757d;
  342. }
  343. .personnel-list,
  344. .tools-list {
  345. display: flex;
  346. flex-wrap: wrap;
  347. gap: 8px;
  348. ::ng-deep mat-chip {
  349. background: #e3f2fd;
  350. color: #1976d2;
  351. font-size: 12px;
  352. }
  353. }
  354. }
  355. }
  356. }
  357. }
  358. .panel-footer {
  359. display: flex;
  360. align-items: center;
  361. justify-content: flex-end;
  362. gap: 12px;
  363. padding: 20px 24px;
  364. border-top: 1px solid #e0e0e0;
  365. background: #fafafa;
  366. button {
  367. min-width: 100px;
  368. }
  369. }
  370. }
  371. @media (max-width: 768px) {
  372. .resignation-detail-panel {
  373. .panel-content {
  374. .stats-section {
  375. grid-template-columns: 1fr;
  376. }
  377. .analysis-section {
  378. .impact-analysis {
  379. grid-template-columns: 1fr;
  380. }
  381. .time-distribution {
  382. .period-item {
  383. grid-template-columns: 1fr;
  384. gap: 8px;
  385. text-align: center;
  386. }
  387. }
  388. }
  389. .resources {
  390. .resource-grid {
  391. grid-template-columns: 1fr;
  392. }
  393. }
  394. }
  395. .panel-footer {
  396. flex-direction: column;
  397. gap: 8px;
  398. button {
  399. width: 100%;
  400. }
  401. }
  402. }
  403. }