This commit is contained in:
oneao committed 2026-04-28 21:47:04 +08:00
1 parent 2a00dc7ef4
commit c6d55b0f46
4 files changed
+801 -339

No files matched your search

+18 -30
View File
@@ -5,6 +5,11 @@
overflow: hidden;
border: 1px solid #eef0f2;
border-radius: 8px;
--g3-z-dropdown: 100;
--g3-z-modal: 200;
--g3-z-toast: 300;
--g3-z-task: 400;
--g3-z-lock: 500;
}
.g3-file-container.drag-over {
@@ -32,15 +37,13 @@
.g3-main {
flex: 1;
min-height: 0;
padding: 4px 0px;
padding: 10px;
overflow: auto;
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
align-content: flex-start;
}
.g3-main > * {
margin: 10px;
box-sizing: border-box;
}
.g3-empty-tip {
@@ -143,13 +146,15 @@
}
.g3-file-item {
width: calc(50% - 26px);
flex: none;
width: 100%;
position: relative;
cursor: pointer;
border: 1px solid #eef0f2;
border-radius: 8px;
background: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
box-sizing: border-box;
}
.g3-file-item:hover {
@@ -379,7 +384,7 @@
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 100;
z-index: var(--g3-z-dropdown);
font-size: 12px;
border: 1px solid #e8e8e8;
transition: all 0.2s ease;
@@ -537,7 +542,7 @@
.g3-global-menu {
position: fixed;
z-index: 9999;
z-index: var(--g3-z-dropdown);
width: 160px;
background: #fff;
border: 1px solid #eee;
@@ -578,7 +583,7 @@
position: fixed;
top: 20px;
right: 20px;
z-index: 9999;
z-index: var(--g3-z-toast);
display: flex;
flex-direction: column;
gap: 12px;
@@ -734,7 +739,7 @@
border: 1px solid #eef0f2;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 9999;
z-index: var(--g3-z-task);
display: none;
animation: taskCenterSlideIn 0.3s ease-out;
}
@@ -857,23 +862,6 @@
color: #ff4d4f;
}
.g3-complete-button {
width: 100%;
margin-top: 12px;
padding: 8px;
border: none;
background: #165dff;
color: #fff;
font-size: 13px;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
}
.g3-complete-button:hover {
filter: brightness(1.1);
}
.g3-ui-lock {
position: fixed;
top: 0;
@@ -881,7 +869,7 @@
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.05);
z-index: 9998;
z-index: var(--g3-z-lock);
display: none;
}