完成智慧法务前端调整20250522,还有登录和主页需要完善
This commit is contained in:
@@ -145,13 +145,73 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* 明确指定浅色模式 */
|
||||
.date-range-picker.color-mode-light .date-label {
|
||||
color: #666 !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-light .date-display {
|
||||
background-color: #fff !important;
|
||||
border-color: #e0e0e0 !important;
|
||||
color: #333 !important;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-light .date-display.placeholder {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-light .date-display:hover {
|
||||
border-color: #c0c0c0 !important;
|
||||
background-color: #fafafa !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-light .date-input-wrapper.focused .date-display {
|
||||
border-color: var(--primary-color) !important;
|
||||
box-shadow: 0 0 0 2px rgba(0,104,74, 0.2) !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-light .date-separator {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
/* 明确指定深色模式 */
|
||||
.date-range-picker.color-mode-dark .date-label {
|
||||
color: #b0b0b0 !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-dark .date-display {
|
||||
background-color: #1f1f1f !important;
|
||||
border-color: #444 !important;
|
||||
color: #e0e0e0 !important;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-dark .date-display.placeholder {
|
||||
color: #777 !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-dark .date-display:hover {
|
||||
border-color: #555 !important;
|
||||
background-color: #2a2a2a !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-dark .date-input-wrapper.focused .date-display {
|
||||
border-color: #177ddc !important;
|
||||
box-shadow: 0 0 0 2px rgba(23, 125, 220, 0.2) !important;
|
||||
}
|
||||
|
||||
.date-range-picker.color-mode-dark .date-separator {
|
||||
color: #888 !important;
|
||||
}
|
||||
|
||||
/* 深色模式支持 */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.date-label {
|
||||
.date-range-picker:not(.color-mode-light) .date-label {
|
||||
color: #b0b0b0;
|
||||
}
|
||||
|
||||
.date-display {
|
||||
.date-range-picker:not(.color-mode-light) .date-display {
|
||||
background-color: #1f1f1f;
|
||||
border-color: #444;
|
||||
color: #e0e0e0;
|
||||
@@ -159,40 +219,40 @@
|
||||
}
|
||||
|
||||
/* 深色模式占位符 */
|
||||
.date-display.placeholder {
|
||||
.date-range-picker:not(.color-mode-light) .date-display.placeholder {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
/* 深色模式悬停状态 */
|
||||
.date-display:hover {
|
||||
.date-range-picker:not(.color-mode-light) .date-display:hover {
|
||||
border-color: #555;
|
||||
background-color: #2a2a2a;
|
||||
}
|
||||
|
||||
/* 深色模式聚焦的输入容器 */
|
||||
.date-input-wrapper.focused .date-display {
|
||||
.date-range-picker:not(.color-mode-light) .date-input-wrapper.focused .date-display {
|
||||
border-color: #177ddc;
|
||||
box-shadow: 0 0 0 2px rgba(23, 125, 220, 0.2);
|
||||
}
|
||||
|
||||
.date-input:focus + .date-display {
|
||||
.date-range-picker:not(.color-mode-light) .date-input:focus + .date-display {
|
||||
border-color: #177ddc;
|
||||
box-shadow: 0 0 0 2px rgba(23, 125, 220, 0.2);
|
||||
}
|
||||
|
||||
/* 深色模式焦点状态 */
|
||||
.date-display:focus {
|
||||
.date-range-picker:not(.color-mode-light) .date-display:focus {
|
||||
border-color: #177ddc;
|
||||
box-shadow: 0 0 0 2px rgba(23, 125, 220, 0.2);
|
||||
}
|
||||
|
||||
/* 深色模式按下状态 */
|
||||
.date-display:active {
|
||||
.date-range-picker:not(.color-mode-light) .date-display:active {
|
||||
background-color: #2d2d2d;
|
||||
border-color: #666;
|
||||
}
|
||||
|
||||
.date-separator {
|
||||
.date-range-picker:not(.color-mode-light) .date-separator {
|
||||
color: #888;
|
||||
}
|
||||
}
|
||||
@@ -80,6 +80,31 @@
|
||||
@apply bg-purple-100 text-purple-800;
|
||||
}
|
||||
|
||||
/* 新增的文档类型样式 */
|
||||
/* 合同文档 */
|
||||
.file-type-tag-contract {
|
||||
background-color: #e8f5fd;
|
||||
color: #0077cc;
|
||||
}
|
||||
|
||||
/* 行政许可卷宗 */
|
||||
.file-type-tag-license-doc {
|
||||
background-color: #e8fdf5;
|
||||
color: #00a67e;
|
||||
}
|
||||
|
||||
/* 行政处罚卷宗 */
|
||||
.file-type-tag-punishment-doc {
|
||||
background-color: #fee7e7;
|
||||
color: #e53e3e;
|
||||
}
|
||||
|
||||
/* 其他文档 */
|
||||
.file-type-tag-other {
|
||||
background-color: #fef5e7;
|
||||
color: #dd6b20;
|
||||
}
|
||||
|
||||
/* 尺寸变体 */
|
||||
.file-type-tag-sm {
|
||||
padding: 2px 6px;
|
||||
@@ -139,35 +164,160 @@
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* 明确指定浅色模式 */
|
||||
.file-type-tag.color-mode-light {
|
||||
background-color: #f0f0f0 !important;
|
||||
color: #333 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-sales-contract {
|
||||
background-color: #e8f5fd !important;
|
||||
color: #0077cc !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-purchase-contract {
|
||||
background-color: #f5f0ff !important;
|
||||
color: #6b46c1 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-license {
|
||||
background-color: #fef5e7 !important;
|
||||
color: #dd6b20 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-punishment {
|
||||
background-color: #fee7e7 !important;
|
||||
color: #e53e3e !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-agreement {
|
||||
background-color: #e8fdf5 !important;
|
||||
color: #00a67e !important;
|
||||
}
|
||||
|
||||
/* 新增文档类型的浅色模式 */
|
||||
.file-type-tag.color-mode-light.file-type-tag-contract {
|
||||
background-color: #e8f5fd !important;
|
||||
color: #0077cc !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-tag-license-doc {
|
||||
background-color: #e8fdf5 !important;
|
||||
color: #00a67e !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-tag-punishment-doc {
|
||||
background-color: #fee7e7 !important;
|
||||
color: #e53e3e !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-light.file-type-tag-other {
|
||||
background-color: #fef5e7 !important;
|
||||
color: #dd6b20 !important;
|
||||
}
|
||||
|
||||
/* 明确指定深色模式 */
|
||||
.file-type-tag.color-mode-dark {
|
||||
background-color: #2d2d2d !important;
|
||||
color: #e0e0e0 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-sales-contract {
|
||||
background-color: rgba(0, 119, 204, 0.2) !important;
|
||||
color: #4db8ff !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-purchase-contract {
|
||||
background-color: rgba(107, 70, 193, 0.2) !important;
|
||||
color: #b794f4 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-license {
|
||||
background-color: rgba(221, 107, 32, 0.2) !important;
|
||||
color: #f6ad55 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-punishment {
|
||||
background-color: rgba(229, 62, 62, 0.2) !important;
|
||||
color: #fc8181 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-agreement {
|
||||
background-color: rgba(0, 166, 126, 0.2) !important;
|
||||
color: #68d5b1 !important;
|
||||
}
|
||||
|
||||
/* 新增文档类型的深色模式 */
|
||||
.file-type-tag.color-mode-dark.file-type-tag-contract {
|
||||
background-color: rgba(0, 119, 204, 0.2) !important;
|
||||
color: #4db8ff !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-tag-license-doc {
|
||||
background-color: rgba(0, 166, 126, 0.2) !important;
|
||||
color: #68d5b1 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-tag-punishment-doc {
|
||||
background-color: rgba(229, 62, 62, 0.2) !important;
|
||||
color: #fc8181 !important;
|
||||
}
|
||||
|
||||
.file-type-tag.color-mode-dark.file-type-tag-other {
|
||||
background-color: rgba(221, 107, 32, 0.2) !important;
|
||||
color: #f6ad55 !important;
|
||||
}
|
||||
|
||||
/* 适配深色模式 */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.file-type-tag {
|
||||
.file-type-tag:not(.color-mode-light) {
|
||||
background-color: #2d2d2d;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.file-type-sales-contract {
|
||||
.file-type-tag:not(.color-mode-light).file-type-sales-contract {
|
||||
background-color: rgba(0, 119, 204, 0.2);
|
||||
color: #4db8ff;
|
||||
}
|
||||
|
||||
.file-type-purchase-contract {
|
||||
.file-type-tag:not(.color-mode-light).file-type-purchase-contract {
|
||||
background-color: rgba(107, 70, 193, 0.2);
|
||||
color: #b794f4;
|
||||
}
|
||||
|
||||
.file-type-license {
|
||||
.file-type-tag:not(.color-mode-light).file-type-license {
|
||||
background-color: rgba(221, 107, 32, 0.2);
|
||||
color: #f6ad55;
|
||||
}
|
||||
|
||||
.file-type-punishment {
|
||||
.file-type-tag:not(.color-mode-light).file-type-punishment {
|
||||
background-color: rgba(229, 62, 62, 0.2);
|
||||
color: #fc8181;
|
||||
}
|
||||
|
||||
.file-type-agreement {
|
||||
.file-type-tag:not(.color-mode-light).file-type-agreement {
|
||||
background-color: rgba(0, 166, 126, 0.2);
|
||||
color: #68d5b1;
|
||||
}
|
||||
|
||||
/* 新增文档类型的深色模式自动适配 */
|
||||
.file-type-tag:not(.color-mode-light).file-type-tag-contract {
|
||||
background-color: rgba(0, 119, 204, 0.2);
|
||||
color: #4db8ff;
|
||||
}
|
||||
|
||||
.file-type-tag:not(.color-mode-light).file-type-tag-license-doc {
|
||||
background-color: rgba(0, 166, 126, 0.2);
|
||||
color: #68d5b1;
|
||||
}
|
||||
|
||||
.file-type-tag:not(.color-mode-light).file-type-tag-punishment-doc {
|
||||
background-color: rgba(229, 62, 62, 0.2);
|
||||
color: #fc8181;
|
||||
}
|
||||
|
||||
.file-type-tag:not(.color-mode-light).file-type-tag-other {
|
||||
background-color: rgba(221, 107, 32, 0.2);
|
||||
color: #f6ad55;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user