feat: unify account permission workbenches
This commit is contained in:
@@ -21395,3 +21395,225 @@
|
||||
grid-column: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Semi UI account editor workbenches: the account and grant editors now share
|
||||
* the same title, summary and action hierarchy as the other configuration
|
||||
* surfaces while preserving one focused scroll area.
|
||||
*/
|
||||
.v2-user-editor-sidesheet.v2-workspace-editor-sidesheet .semi-sidesheet-inner {
|
||||
width: min(840px, 100vw) !important;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-summary {
|
||||
min-height: 72px;
|
||||
grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, .9fr);
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-summary strong {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.v2-user-editor-status-summary {
|
||||
display: inline-flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.v2-user-editor-status-summary > span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-content {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-form {
|
||||
width: 100%;
|
||||
flex: 1 1 0;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-footer > span {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-footer > div {
|
||||
min-width: 132px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-footer > div > .semi-button {
|
||||
width: 100%;
|
||||
min-width: 132px;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-content {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-summary {
|
||||
grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr) minmax(0, 1.05fr);
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-summary strong {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.v2-user-grant-form {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group {
|
||||
overflow: hidden;
|
||||
border: 1px solid #dce5ef;
|
||||
border-radius: 11px;
|
||||
background: #fff;
|
||||
box-shadow: 0 7px 22px rgba(31, 50, 76, .045);
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > header {
|
||||
display: flex;
|
||||
min-height: 54px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
border-bottom: 1px solid #e5ebf2;
|
||||
background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > header > span {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > header strong {
|
||||
color: #2a4058;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > header small {
|
||||
color: #8390a2;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > header > .semi-tag {
|
||||
min-height: 22px;
|
||||
flex: 0 0 auto;
|
||||
border-radius: 999px;
|
||||
font-size: 8px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > div {
|
||||
display: grid;
|
||||
gap: 13px;
|
||||
padding: 13px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group label {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
color: #53677f;
|
||||
font-size: 11px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group label > .semi-input-wrapper {
|
||||
min-height: 42px;
|
||||
border-color: #d5dfeb;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-footer > div {
|
||||
min-width: 96px;
|
||||
}
|
||||
|
||||
@media (max-width: 680px) {
|
||||
.v2-user-editor-sidesheet.v2-workspace-editor-sidesheet .semi-sidesheet-header {
|
||||
min-height: 68px;
|
||||
padding: 9px 11px 9px 13px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-title strong {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-summary {
|
||||
min-height: 64px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-summary > span {
|
||||
padding: 7px 8px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-summary strong {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-summary em {
|
||||
font-size: 7px;
|
||||
}
|
||||
|
||||
.v2-user-editor-status-summary {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.v2-user-editor-status-summary > span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-footer > span {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-footer > div {
|
||||
min-width: 0;
|
||||
flex: 1 1 0;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-workspace-config-footer > div > .semi-button {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet.v2-workspace-config-sidesheet.semi-sidesheet-bottom .semi-sidesheet-inner {
|
||||
width: 100% !important;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-title small {
|
||||
max-width: 245px;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-summary {
|
||||
min-height: 64px;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-summary > span {
|
||||
padding: 7px 8px;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-summary strong {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.v2-user-grant-sidesheet .v2-workspace-config-content {
|
||||
padding: 9px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > header {
|
||||
min-height: 48px;
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.v2-user-grant-field-group > div {
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user