refine Semi UI account workspace
This commit is contained in:
@@ -8210,3 +8210,292 @@
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Semi UI account inspector: keep the directory stable and edit in a native SideSheet. */
|
||||
.v2-customer-list-scroll {
|
||||
min-height: 0;
|
||||
flex: 1 1 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.v2-customer-list-scroll > .v2-customer-list.semi-list {
|
||||
min-height: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.v2-customer-list-scroll:focus-visible {
|
||||
outline: 2px solid rgba(18, 104, 243, .35);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .semi-sidesheet-inner {
|
||||
overflow: hidden;
|
||||
border-left: 1px solid #d8e2ee;
|
||||
background: #f6f8fb;
|
||||
box-shadow: -20px 0 58px rgba(27, 47, 73, .16);
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .semi-sidesheet-header {
|
||||
min-height: 76px;
|
||||
border-bottom: 1px solid #e2e9f1;
|
||||
background: #fff;
|
||||
padding: 12px 18px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title > span {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title strong {
|
||||
overflow: hidden;
|
||||
color: #20364e;
|
||||
font-size: 18px;
|
||||
font-weight: 750;
|
||||
letter-spacing: -.025em;
|
||||
line-height: 1.25;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title small {
|
||||
overflow: hidden;
|
||||
color: #7b899a;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title .v2-user-status {
|
||||
display: flex;
|
||||
min-width: 92px;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 7px;
|
||||
color: #53667c;
|
||||
font-size: 10px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .semi-sidesheet-body {
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
background: #f6f8fb;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.v2-user-editor-form {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs.semi-tabs {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
flex: 1 1 0;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: #f6f8fb;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-bar {
|
||||
min-height: 52px;
|
||||
flex: 0 0 auto;
|
||||
border-bottom: 1px solid #e2e9f1;
|
||||
background: #fff;
|
||||
padding-inline: 18px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-bar .semi-tabs-tab {
|
||||
min-height: 51px;
|
||||
font-size: 11px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-content {
|
||||
min-height: 0;
|
||||
flex: 1 1 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
background: #f6f8fb;
|
||||
padding: 12px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-content:focus-visible {
|
||||
outline: 2px solid rgba(18, 104, 243, .35);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-section.semi-card {
|
||||
margin: 0;
|
||||
border: 1px solid #dce5ef;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 6px 22px rgba(31, 53, 80, .05);
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .semi-sidesheet-footer {
|
||||
min-height: 64px;
|
||||
border-top: 1px solid #e2e9f1;
|
||||
background: #fff;
|
||||
padding: 10px 14px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-footer {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-footer .v2-user-feedback.semi-typography {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
font-size: 10px;
|
||||
line-height: 1.45;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-footer > .semi-button {
|
||||
min-width: 132px;
|
||||
min-height: 40px;
|
||||
flex: 0 0 auto;
|
||||
border-radius: 9px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media (max-width: 680px) {
|
||||
.v2-customer-list-scroll {
|
||||
scrollbar-width: auto;
|
||||
touch-action: pan-y;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.v2-customer-list-scroll::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.v2-customer-list-scroll::-webkit-scrollbar-thumb {
|
||||
border: 3px solid transparent;
|
||||
border-radius: 999px;
|
||||
background: #9cacc0;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .semi-sidesheet-inner {
|
||||
width: 100% !important;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .semi-sidesheet-header {
|
||||
min-height: 66px;
|
||||
padding: 9px 10px 9px 12px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title {
|
||||
gap: 8px;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title strong {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title small {
|
||||
max-width: 226px;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title .v2-user-status {
|
||||
min-width: 34px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-title .v2-user-status > span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-bar {
|
||||
min-height: 48px;
|
||||
overflow-x: auto;
|
||||
padding-inline: 10px;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-bar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-bar .semi-tabs-tab {
|
||||
min-height: 47px;
|
||||
flex: 0 0 auto;
|
||||
margin-right: 14px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-content {
|
||||
padding: 7px;
|
||||
scrollbar-width: auto;
|
||||
touch-action: pan-y;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-content::-webkit-scrollbar {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .v2-user-editor-tabs > .semi-tabs-content::-webkit-scrollbar-thumb {
|
||||
border: 3px solid transparent;
|
||||
border-radius: 999px;
|
||||
background: #9cacc0;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
.v2-user-editor-sidesheet .semi-sidesheet-footer {
|
||||
min-height: 62px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-footer {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-footer .v2-user-feedback.semi-typography {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v2-user-editor-sheet-footer > .semi-button {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 44px;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user