refactor: converge account and access workspaces on semi ui

This commit is contained in:
lingniu
2026-07-19 15:24:03 +08:00
parent fb105a67c8
commit 81532d91b7
7 changed files with 247 additions and 15 deletions

View File

@@ -21800,10 +21800,100 @@
background: #fff;
}
.v2-workspace-date-time-field.semi-datepicker,
.v2-workspace-date-time-field .semi-datepicker-input,
.v2-workspace-date-time-field .semi-input-wrapper {
width: 100%;
}
.v2-workspace-date-time-field .semi-input-wrapper {
min-height: 42px;
border-color: #d5dfeb;
border-radius: 8px;
background: #fff;
}
.v2-workspace-date-time-field .semi-input-wrapper:hover {
border-color: #a9c6ef;
}
.v2-workspace-date-time-field .semi-input-wrapper-focus {
border-color: var(--v2-blue);
box-shadow: 0 0 0 3px rgba(18, 104, 243, .1);
}
.v2-user-grant-policy {
display: flex;
min-height: 56px;
align-items: center;
justify-content: space-between;
gap: 12px;
border: 1px solid #e0e7f0;
border-radius: 9px;
background: #f7f9fc;
padding: 9px 11px;
}
.v2-user-grant-policy > span {
display: grid;
min-width: 0;
gap: 3px;
}
.v2-user-grant-policy strong {
color: #30465f;
font-size: 11px;
}
.v2-user-grant-policy small {
color: #8290a2;
font-size: 9px;
font-weight: 500;
}
.v2-user-grant-policy > .semi-switch {
flex: 0 0 auto;
}
.v2-user-grant-sidesheet .v2-workspace-config-footer > div {
min-width: 96px;
}
.v2-access-inspector-v3 > .semi-card-body > .v2-access-inspector-footer {
display: grid;
align-items: center;
gap: 9px;
padding: 11px 12px 12px;
}
.v2-access-inspector-actions {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
}
.v2-access-inspector-actions a {
display: flex;
min-height: 34px;
align-items: center;
justify-content: center;
border: 1px solid #d9e4f1;
border-radius: 7px;
background: #f6f9fd;
color: var(--v2-blue);
font-size: 10px;
font-weight: 650;
text-decoration: none;
transition: border-color .14s ease, background .14s ease, transform .14s ease;
}
.v2-access-inspector-actions a:hover,
.v2-access-inspector-actions a:focus-visible {
border-color: #a9c9fa;
background: #eaf3ff;
transform: translateY(-1px);
}
@media (max-width: 680px) {
.v2-user-editor-sidesheet.v2-workspace-editor-sidesheet .semi-sidesheet-header {
min-height: 68px;
@@ -21886,6 +21976,15 @@
gap: 10px;
padding: 10px;
}
.v2-user-grant-policy {
min-height: 54px;
}
.v2-access-inspector-actions a {
min-height: 40px;
font-size: 11px;
}
}
/*