|
|
@@ -1407,7 +1407,12 @@
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
min-height: 280px;
|
|
|
- gap: 12px;
|
|
|
+ gap: 10px;
|
|
|
+ padding: 10px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: 1px solid #edf2f7;
|
|
|
+ border-radius: 8px;
|
|
|
+ background: #f7f9fc;
|
|
|
|
|
|
&.is-fullscreen {
|
|
|
position: fixed;
|
|
|
@@ -1418,7 +1423,7 @@
|
|
|
width: 100vw;
|
|
|
height: 100vh;
|
|
|
z-index: 9999;
|
|
|
- background: #fff;
|
|
|
+ background: #f6f8fb;
|
|
|
padding: 16px;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
@@ -1428,11 +1433,28 @@
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
gap: 8px;
|
|
|
+ min-height: 46px;
|
|
|
+ padding: 7px 10px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: 1px solid #e7edf5;
|
|
|
+ border-radius: 7px;
|
|
|
+ background: #fff;
|
|
|
+ box-shadow: 0 2px 8px rgba(31, 45, 61, 0.04);
|
|
|
}
|
|
|
.view-switch-left {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 8px;
|
|
|
+ gap: 10px;
|
|
|
+ min-width: 0;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
+ .view-switch ::v-deep .el-button {
|
|
|
+ border-radius: 4px;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ .view-switch ::v-deep .el-button--primary {
|
|
|
+ border-color: #1f8ceb;
|
|
|
+ background: #1f8ceb;
|
|
|
}
|
|
|
.calendar-view {
|
|
|
flex: 1;
|
|
|
@@ -1455,7 +1477,7 @@
|
|
|
min-height: 0;
|
|
|
display: flex;
|
|
|
align-items: stretch;
|
|
|
- gap: 12px;
|
|
|
+ gap: 10px;
|
|
|
}
|
|
|
.gantt-box {
|
|
|
flex: 1;
|
|
|
@@ -1463,9 +1485,10 @@
|
|
|
width: calc(100%);
|
|
|
height: calc(100%);
|
|
|
background: #fff;
|
|
|
- border: 1px solid #dfe6ec;
|
|
|
- border-radius: 4px;
|
|
|
+ border: 1px solid #e6edf5;
|
|
|
+ border-radius: 8px;
|
|
|
overflow: hidden;
|
|
|
+ box-shadow: 0 4px 14px rgba(31, 45, 61, 0.06);
|
|
|
}
|
|
|
.gantt-hover-tooltip {
|
|
|
position: fixed;
|
|
|
@@ -1479,8 +1502,8 @@
|
|
|
|
|
|
/* 周末高亮 */
|
|
|
:deep(.weekend) {
|
|
|
- background: #f3f3f3;
|
|
|
- color: #676767 !important;
|
|
|
+ background: #f7f9fb;
|
|
|
+ color: #7a8794 !important;
|
|
|
}
|
|
|
|
|
|
/* 今日高亮 */
|
|
|
@@ -1498,7 +1521,7 @@
|
|
|
|
|
|
:deep(.gantt_ver_scroll),
|
|
|
:deep(.gantt_hor_scroll) {
|
|
|
- background: #f8fafc;
|
|
|
+ background: #f4f7fb;
|
|
|
}
|
|
|
|
|
|
:deep(.gantt_ver_scroll::-webkit-scrollbar),
|
|
|
@@ -1523,33 +1546,34 @@
|
|
|
}
|
|
|
|
|
|
:deep(.gantt_task_scale) {
|
|
|
- border-bottom: 1px solid #dcdfe6;
|
|
|
+ border-bottom: 1px solid #dde7f0;
|
|
|
|
|
|
.gantt_scale_line > .gantt_scale_cell {
|
|
|
- color: #333333;
|
|
|
+ color: #3f4a56;
|
|
|
font-size: 11px;
|
|
|
- border-right: 1px solid #e5e5e5;
|
|
|
- background: #fafafa;
|
|
|
+ border-right: 1px solid #e6edf5;
|
|
|
+ background: #fbfdff;
|
|
|
|
|
|
&.today {
|
|
|
- background: #dbeeff;
|
|
|
- color: #1677c8 !important;
|
|
|
+ background: #e5f2ff;
|
|
|
+ color: #1683d8 !important;
|
|
|
+ box-shadow: inset 0 -2px 0 #1f8ceb;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
:deep(.gantt_scale_line) {
|
|
|
- border-bottom: 1px solid #dcdfe6;
|
|
|
+ border-bottom: 1px solid #dde7f0;
|
|
|
}
|
|
|
:deep(.gantt_scale_line:first-child .gantt_scale_cell) {
|
|
|
- height: 28px;
|
|
|
- line-height: 28px;
|
|
|
- font-size: 16px;
|
|
|
- font-weight: 500;
|
|
|
- color: #555;
|
|
|
- background: #efefef;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #2f3b4a;
|
|
|
+ background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
|
|
|
}
|
|
|
:deep(.gantt_scale_line:last-child .gantt_scale_cell) {
|
|
|
- height: 36px;
|
|
|
+ height: 38px;
|
|
|
padding: 0;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
@@ -1618,28 +1642,31 @@
|
|
|
}
|
|
|
}
|
|
|
:deep(.gantt_cell) {
|
|
|
- border-right: 1px solid #ebebeb;
|
|
|
+ border-right: 1px solid #edf2f7;
|
|
|
}
|
|
|
:deep(.gantt_task_bg) {
|
|
|
- border-right: 1px solid #ebebeb;
|
|
|
+ border-right: 1px solid #edf2f7;
|
|
|
}
|
|
|
:deep(.gantt_task_bg .gantt_task_row),
|
|
|
:deep(.gantt_task_row) {
|
|
|
- border-bottom: 1px solid #f3f5f7;
|
|
|
+ border-bottom: 1px solid #f1f5f9;
|
|
|
+ }
|
|
|
+ :deep(.gantt_task_bg .gantt_task_row:nth-child(odd)) {
|
|
|
+ background: #fcfdff;
|
|
|
}
|
|
|
:deep(.task-222) {
|
|
|
- height: 26px !important;
|
|
|
- line-height: 26px !important;
|
|
|
+ height: 28px !important;
|
|
|
+ line-height: 28px !important;
|
|
|
border: none !important;
|
|
|
- border-radius: 3px !important;
|
|
|
- box-shadow: none !important;
|
|
|
+ border-radius: 5px !important;
|
|
|
+ box-shadow: 0 2px 5px rgba(15, 23, 42, 0.14) !important;
|
|
|
filter: saturate(0.88) brightness(0.99);
|
|
|
overflow: hidden;
|
|
|
transition: box-shadow 0.18s ease, filter 0.18s ease;
|
|
|
}
|
|
|
:deep(.task-222:hover) {
|
|
|
filter: saturate(0.94) brightness(1);
|
|
|
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14) !important;
|
|
|
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18) !important;
|
|
|
}
|
|
|
:deep(.gantt_task_line.task-parent-red),
|
|
|
:deep(.gantt_task_line.task-parent-red .gantt_task_progress) {
|
|
|
@@ -1676,7 +1703,7 @@
|
|
|
color: #fff;
|
|
|
font-size: 12px;
|
|
|
font-weight: 500;
|
|
|
- line-height: 26px;
|
|
|
+ line-height: 28px;
|
|
|
white-space: nowrap;
|
|
|
text-overflow: ellipsis;
|
|
|
text-align: center;
|