u
This commit is contained in:
1 parent
b2d113db38
commit
2a00dc7ef4
7 files changed
+980
-735
No files matched your search
+137
-192
@@ -12,7 +12,7 @@
|
||||
border: 2px dashed #165dff;
|
||||
}
|
||||
|
||||
.g3-file-left-panel {
|
||||
.g3-left-panel {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -20,7 +20,7 @@
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
.g3-file-container .header {
|
||||
.g3-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
@@ -29,7 +29,7 @@
|
||||
border-bottom: 1px solid #eef0f2;
|
||||
}
|
||||
|
||||
.g3-file-container .main {
|
||||
.g3-main {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
padding: 4px 0px;
|
||||
@@ -39,11 +39,11 @@
|
||||
align-content: flex-start;
|
||||
}
|
||||
|
||||
.g3-file-container .main > * {
|
||||
.g3-main > * {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.g3-file-container .empty-tip {
|
||||
.g3-empty-tip {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
@@ -54,7 +54,7 @@
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.g3-file-container .footer {
|
||||
.g3-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -63,26 +63,26 @@
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.g3-file-container .header,
|
||||
.g3-file-container .footer {
|
||||
.g3-header,
|
||||
.g3-footer {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.footer div {
|
||||
.g3-footer div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer .pending-count {
|
||||
.g3-pending-count {
|
||||
margin-right: 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.footer .pending-count .pending-number {
|
||||
.g3-pending-count .g3-pending-number {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.g3-file-container .check-all {
|
||||
.g3-check-all {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 12px;
|
||||
@@ -90,17 +90,17 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.g3-file-container .check-all input {
|
||||
.g3-check-all input {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.g3-file-container .check-all span {
|
||||
.g3-check-all span {
|
||||
margin-left: 4px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.g3-file-container button {
|
||||
.g3-btn {
|
||||
font-size: 13px;
|
||||
border-radius: 4px;
|
||||
background: #165dff;
|
||||
@@ -117,32 +117,32 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.g3-file-container .g3-file-left-panel button svg {
|
||||
.g3-btn svg {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.g3-file-container button + button {
|
||||
.g3-btn + .g3-btn {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.g3-file-container button:hover:not(:disabled) {
|
||||
.g3-btn:hover:not(:disabled) {
|
||||
filter: brightness(1.2);
|
||||
}
|
||||
|
||||
.g3-file-container button:active:not(:disabled) {
|
||||
.g3-btn:active:not(:disabled) {
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
.g3-file-container button:disabled {
|
||||
.g3-btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.g3-file-container .delete-all {
|
||||
.g3-btn-delete-all {
|
||||
background: #ff4d4f;
|
||||
}
|
||||
|
||||
.g3-file-container .g3-file-item {
|
||||
.g3-file-item {
|
||||
width: calc(50% - 26px);
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
@@ -152,11 +152,11 @@
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.g3-file-container .g3-file-item:hover {
|
||||
.g3-file-item:hover {
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-preview {
|
||||
.g3-file-preview {
|
||||
height: 100px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@@ -165,17 +165,17 @@
|
||||
background-color: #fafbfc;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-preview .g3-file-img {
|
||||
.g3-file-preview .g3-file-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-preview svg {
|
||||
.g3-file-preview svg {
|
||||
height: 86px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-preview .g3-img-container {
|
||||
.g3-file-preview .g3-img-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
@@ -184,7 +184,7 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-preview .g3-img-container.is-error .g3-img-error {
|
||||
.g3-file-preview .g3-img-container.is-error .g3-img-error {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -193,7 +193,7 @@
|
||||
background-color: #f0f2f5;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-preview .g3-img-container .g3-img-error {
|
||||
.g3-file-preview .g3-img-container .g3-img-error {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -202,13 +202,13 @@
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-preview .g3-img-container .g3-img-error svg {
|
||||
.g3-file-preview .g3-img-container .g3-img-error svg {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-info {
|
||||
.g3-file-info {
|
||||
padding: 8px;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
@@ -221,7 +221,7 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-info span {
|
||||
.g3-file-info span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
@@ -232,12 +232,12 @@
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-info .g3-file-name {
|
||||
.g3-file-info .g3-file-name {
|
||||
font-size: 13px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-actions {
|
||||
.g3-file-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
@@ -245,7 +245,7 @@
|
||||
border-top: 1px solid #f0f2f5;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-action {
|
||||
.g3-file-action {
|
||||
padding: 8px 2px;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
@@ -257,37 +257,37 @@
|
||||
border-right: 1px solid #f0f2f5;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-action:hover {
|
||||
.g3-file-action:hover {
|
||||
background-color: #f5f6f8;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-action:active {
|
||||
.g3-file-action:active {
|
||||
background: rgba(22, 93, 255, 0.12);
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-action.is-disabled {
|
||||
.g3-file-action.is-disabled {
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-action:first-child {
|
||||
.g3-file-action:first-child {
|
||||
border-radius: 0 0 0 8px;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-action:last-child {
|
||||
.g3-file-action:last-child {
|
||||
border-right: none;
|
||||
border-radius: 0 0 8px 0;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-action svg {
|
||||
.g3-file-action svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-checkbox {
|
||||
.g3-file-checkbox {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
@@ -298,7 +298,7 @@
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-checkbox + .g3-checkbox-label {
|
||||
.g3-checkbox-label {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
@@ -312,12 +312,12 @@
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-checkbox:checked + .g3-checkbox-label {
|
||||
.g3-file-checkbox:checked + .g3-checkbox-label {
|
||||
background: #165dff;
|
||||
border-color: #165dff;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-checkbox:checked + .g3-checkbox-label::after {
|
||||
.g3-file-checkbox:checked + .g3-checkbox-label::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
@@ -329,65 +329,44 @@
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-checkbox:hover + .g3-checkbox-label {
|
||||
.g3-file-checkbox:hover + .g3-checkbox-label {
|
||||
border-color: #165dff;
|
||||
box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-checkbox:disabled + .g3-checkbox-label {
|
||||
.g3-file-checkbox:disabled + .g3-checkbox-label {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-pending-badge {
|
||||
.g3-status-badge {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.g3-status-pending {
|
||||
background: #ff9800;
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-uploading-badge {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
.g3-status-uploading {
|
||||
background: #165dff;
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-failed-badge {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
.g3-status-failed {
|
||||
background: #ff4d4f;
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.g3-file-item .g3-file-uploaded-badge {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
.g3-status-uploaded {
|
||||
background: #52c41a;
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.g3-file-container .g3-file-delete-btn {
|
||||
.g3-file-delete-btn {
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
right: -8px;
|
||||
@@ -406,18 +385,18 @@
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.g3-file-container .g3-file-delete-btn:hover {
|
||||
.g3-file-delete-btn:hover {
|
||||
background: #ff4d4f;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.g3-file-container .g3-file-item .g3-file-delete-btn.is-disabled {
|
||||
.g3-file-item .g3-file-delete-btn.is-disabled {
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.g3-file-preview-panel {
|
||||
.g3-preview-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -436,13 +415,21 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-nav {
|
||||
.g3-preview-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-btn {
|
||||
.g3-preview-nav .g3-preview-counter {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
font-weight: 500;
|
||||
min-width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.g3-preview-btn {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 1px solid #d9d9d9;
|
||||
@@ -456,45 +443,34 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-btn:hover:not(:disabled) {
|
||||
.g3-preview-btn:hover:not(:disabled) {
|
||||
border-color: #165dff;
|
||||
background: rgba(22, 93, 255, 0.05);
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-btn:disabled {
|
||||
.g3-preview-btn:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-btn svg {
|
||||
.g3-preview-btn svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-btn:hover:not(:disabled) svg {
|
||||
.g3-preview-btn:hover:not(:disabled) svg {
|
||||
color: #165dff;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-info .preview-name {
|
||||
font-size: 13px;
|
||||
.g3-preview-name {
|
||||
font-size: 15px;
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.g3-preview-toolbar .preview-info .preview-counter {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
max-width: 250px;
|
||||
}
|
||||
|
||||
.g3-preview-content {
|
||||
@@ -508,27 +484,10 @@
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-placeholder {
|
||||
.g3-preview-content .g3-preview-placeholder {
|
||||
text-align: center;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-placeholder svg {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-placeholder h3 {
|
||||
font-size: 14px;
|
||||
margin-bottom: 8px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-placeholder p {
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-image {
|
||||
@@ -543,7 +502,7 @@
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-iframe {
|
||||
.g3-preview-content .g3-preview-iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
@@ -566,52 +525,24 @@
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-file-info .status-uploaded {
|
||||
.g3-preview-content .preview-file-info .g3-status-uploaded {
|
||||
color: #52c41a;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-file-info .status-pending {
|
||||
.g3-preview-content .preview-file-info .g3-status-pending {
|
||||
color: #ff9800;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-file-info .cannot-preview {
|
||||
margin-top: 12px;
|
||||
padding: 8px 12px;
|
||||
background: rgba(255, 77, 79, 0.08);
|
||||
color: #ff4d4f;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.g3-preview-content .preview-file-info .upload-tip {
|
||||
margin-top: 12px;
|
||||
padding: 8px 12px;
|
||||
background: rgba(255, 152, 0, 0.08);
|
||||
color: #ff9800;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.g3-preview-content .url-error {
|
||||
margin-top: 12px;
|
||||
padding: 8px 12px;
|
||||
background: rgba(255, 77, 79, 0.08);
|
||||
color: #ff4d4f;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.g3-global-menu {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
width: 160px;
|
||||
background: #fff;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
|
||||
position: fixed;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -637,6 +568,12 @@
|
||||
background-color: #e8e8e8;
|
||||
}
|
||||
|
||||
.g3-global-menu .g3-action-menu-item.is-disabled {
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.g3-toast-container {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
@@ -686,7 +623,7 @@
|
||||
animation: toastSlideOut 0.3s ease-out forwards;
|
||||
}
|
||||
|
||||
.g3-toast .toast-icon {
|
||||
.g3-toast-icon {
|
||||
flex-shrink: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
@@ -697,69 +634,77 @@
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.g3-toast.toast-success {
|
||||
.g3-toast-success {
|
||||
border-left-color: #52c41a;
|
||||
}
|
||||
.g3-toast.toast-success .toast-icon {
|
||||
|
||||
.g3-toast-success .g3-toast-icon {
|
||||
background: rgba(82, 196, 26, 0.1);
|
||||
color: #52c41a;
|
||||
}
|
||||
.g3-toast.toast-success .toast-title {
|
||||
|
||||
.g3-toast-success .g3-toast-title {
|
||||
color: #52c41a;
|
||||
}
|
||||
|
||||
.g3-toast.toast-error {
|
||||
.g3-toast-error {
|
||||
border-left-color: #ff4d4f;
|
||||
}
|
||||
.g3-toast.toast-error .toast-icon {
|
||||
|
||||
.g3-toast-error .g3-toast-icon {
|
||||
background: rgba(255, 77, 79, 0.1);
|
||||
color: #ff4d4f;
|
||||
}
|
||||
.g3-toast.toast-error .toast-title {
|
||||
|
||||
.g3-toast-error .g3-toast-title {
|
||||
color: #ff4d4f;
|
||||
}
|
||||
|
||||
.g3-toast.toast-info {
|
||||
.g3-toast-info {
|
||||
border-left-color: #165dff;
|
||||
}
|
||||
.g3-toast.toast-info .toast-icon {
|
||||
|
||||
.g3-toast-info .g3-toast-icon {
|
||||
background: rgba(22, 93, 255, 0.1);
|
||||
color: #165dff;
|
||||
}
|
||||
.g3-toast.toast-info .toast-title {
|
||||
|
||||
.g3-toast-info .g3-toast-title {
|
||||
color: #165dff;
|
||||
}
|
||||
|
||||
.g3-toast.toast-warning {
|
||||
.g3-toast-warning {
|
||||
border-left-color: #ff9800;
|
||||
}
|
||||
.g3-toast.toast-warning .toast-icon {
|
||||
|
||||
.g3-toast-warning .g3-toast-icon {
|
||||
background: rgba(255, 152, 0, 0.1);
|
||||
color: #ff9800;
|
||||
}
|
||||
.g3-toast.toast-warning .toast-title {
|
||||
|
||||
.g3-toast-warning .g3-toast-title {
|
||||
color: #ff9800;
|
||||
}
|
||||
|
||||
.g3-toast .toast-content {
|
||||
.g3-toast-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.g3-toast .toast-title {
|
||||
.g3-toast-title {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.g3-toast .toast-message {
|
||||
.g3-toast-message {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.g3-toast .toast-close {
|
||||
.g3-toast-close {
|
||||
flex-shrink: 0;
|
||||
margin-left: 12px;
|
||||
width: 20px;
|
||||
@@ -775,7 +720,7 @@
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.g3-toast .toast-close:hover {
|
||||
.g3-toast-close:hover {
|
||||
background: #f0f2f5;
|
||||
color: #333;
|
||||
}
|
||||
@@ -809,7 +754,7 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.g3-task-center .task-header {
|
||||
.g3-task-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -819,13 +764,13 @@
|
||||
border-radius: 8px 8px 0 0;
|
||||
}
|
||||
|
||||
.g3-task-center .task-header .task-title {
|
||||
.g3-task-header .g3-task-title {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.g3-task-center .task-header .task-close {
|
||||
.g3-task-header .g3-task-close {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
@@ -840,16 +785,16 @@
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.g3-task-center .task-header .task-close:hover {
|
||||
.g3-task-header .g3-task-close:hover {
|
||||
background: #f0f2f5;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.g3-task-center .task-body {
|
||||
.g3-task-body {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.g3-task-center .current-item {
|
||||
.g3-current-item {
|
||||
font-size: 13px;
|
||||
color: #666;
|
||||
margin-bottom: 12px;
|
||||
@@ -858,7 +803,7 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.g3-task-center .progress-bar {
|
||||
.g3-progress-bar {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
background: #f0f2f5;
|
||||
@@ -867,52 +812,52 @@
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.g3-task-center .progress-bar .progress-inner {
|
||||
.g3-progress-bar .g3-progress-inner {
|
||||
height: 100%;
|
||||
background: #165dff;
|
||||
border-radius: 3px;
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
.g3-task-center .progress-text {
|
||||
.g3-progress-text {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
text-align: right;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.g3-task-center .result-section {
|
||||
.g3-result-section {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid #f0f2f5;
|
||||
}
|
||||
|
||||
.g3-task-center .result-item {
|
||||
.g3-result-item {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.g3-task-center .result-item .result-value {
|
||||
.g3-result-item .g3-result-value {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.g3-task-center .result-item .result-label {
|
||||
.g3-result-item .g3-result-label {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.g3-task-center .result-item.result-success .result-value {
|
||||
.g3-result-item.g3-result-success .g3-result-value {
|
||||
color: #52c41a;
|
||||
}
|
||||
|
||||
.g3-task-center .result-item.result-failed .result-value {
|
||||
.g3-result-item.g3-result-failed .g3-result-value {
|
||||
color: #ff4d4f;
|
||||
}
|
||||
|
||||
.g3-task-center .complete-button {
|
||||
.g3-complete-button {
|
||||
width: 100%;
|
||||
margin-top: 12px;
|
||||
padding: 8px;
|
||||
@@ -925,7 +870,7 @@
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.g3-task-center .complete-button:hover {
|
||||
.g3-complete-button:hover {
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user