feat: prioritize mobile workspace content
Some checks failed
Build and tests / test (push) Has been cancelled
Some checks failed
Build and tests / test (push) Has been cancelled
This commit is contained in:
@@ -3401,3 +3401,889 @@ body.enterprise-netdisk .mobile-file-create-trigger {
|
||||
padding-inline: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content-first mobile layout for shares, settings and administration. */
|
||||
body.enterprise-netdisk .mobile-share-filter-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-filter-controls {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .mobile-admin-users-filter-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
body.enterprise-netdisk .shares-main-container,
|
||||
body.enterprise-netdisk .settings-main-container {
|
||||
padding: 0 0 calc(66px + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card,
|
||||
body.enterprise-netdisk .settings-page-card {
|
||||
min-height: calc(100vh - 66px);
|
||||
min-height: calc(100dvh - 66px - env(safe-area-inset-bottom));
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Share links should reach the viewport before secondary controls. */
|
||||
body.enterprise-netdisk .shares-page-head {
|
||||
min-height: 62px;
|
||||
padding: 10px 14px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
border-bottom: 1px solid #edf1f6;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-head .workspace-page-heading {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-head .workspace-kicker,
|
||||
body.enterprise-netdisk .shares-page-head .workspace-page-heading p {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-head .workspace-page-heading h1 {
|
||||
margin: 0;
|
||||
font-size: 21px;
|
||||
line-height: 1.2;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-actions {
|
||||
width: auto;
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-actions .btn {
|
||||
min-width: 0;
|
||||
min-height: 40px;
|
||||
padding: 0 11px;
|
||||
gap: 6px;
|
||||
border-radius: 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-actions .share-refresh-btn {
|
||||
width: 40px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-refresh-btn .share-action-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-tabs {
|
||||
min-height: 46px;
|
||||
padding: 0 14px;
|
||||
align-items: flex-end;
|
||||
gap: 22px;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-tabs button {
|
||||
min-height: 45px;
|
||||
padding: 0;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-tabs button > span {
|
||||
min-width: 19px;
|
||||
height: 19px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-card {
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-inline-stats {
|
||||
min-height: 36px;
|
||||
padding: 0 14px;
|
||||
gap: 16px;
|
||||
overflow-x: auto;
|
||||
border-bottom: 1px solid #edf1f6;
|
||||
background: #fbfcfe;
|
||||
font-size: 10px;
|
||||
white-space: nowrap;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-inline-stats::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-inline-stats > span {
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-inline-stats > span:last-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-card .share-toolbar {
|
||||
margin: 9px 14px 8px;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-card .share-search-field {
|
||||
min-width: 0;
|
||||
min-height: 42px;
|
||||
padding: 0 11px;
|
||||
border: 1px solid #dce4ef;
|
||||
border-radius: 10px;
|
||||
background: #f7f9fc;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-card .share-search-field input,
|
||||
body.enterprise-netdisk .share-resource-card .share-search-field input:focus {
|
||||
min-height: 38px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-toolbar-direct .share-search-field {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .mobile-share-filter-toggle {
|
||||
min-width: 72px;
|
||||
min-height: 42px;
|
||||
padding: 0 10px;
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
border: 1px solid #dce4ef;
|
||||
border-radius: 10px;
|
||||
color: #52627a;
|
||||
background: #f7f9fc;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .mobile-share-filter-toggle.active,
|
||||
body.enterprise-netdisk .mobile-share-filter-toggle[aria-expanded="true"] {
|
||||
color: var(--ww-blue);
|
||||
border-color: #abc9f8;
|
||||
background: #eef5ff;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .mobile-share-filter-count {
|
||||
min-width: 17px;
|
||||
height: 17px;
|
||||
padding: 0 4px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 999px;
|
||||
color: #fff;
|
||||
background: var(--ww-blue);
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-filter-controls {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-filter-controls.is-open {
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-card .share-filter-controls select {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 38px;
|
||||
padding: 0 7px;
|
||||
border: 1px solid #dce4ef;
|
||||
border-radius: 9px;
|
||||
background-color: #f7f9fc;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-panel {
|
||||
min-height: 0;
|
||||
overflow: visible;
|
||||
border-top: 1px solid #edf1f6;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-panel .share-section-head {
|
||||
min-height: 46px;
|
||||
padding: 6px 14px;
|
||||
position: static;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-panel .share-section-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex-basis: 28px;
|
||||
border-radius: 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-section-head > div {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-section-head strong {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-section-head small {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-table-wrap {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table {
|
||||
min-width: 0;
|
||||
display: block;
|
||||
table-layout: auto;
|
||||
background: #f7f9fc;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table tbody {
|
||||
padding: 8px 12px 16px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table tbody tr {
|
||||
padding: 11px 12px;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto minmax(0, 1fr) auto;
|
||||
gap: 5px 9px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #e2e9f3;
|
||||
border-radius: 12px;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 12px rgba(30, 55, 91, 0.04);
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td {
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-width: 0;
|
||||
padding: 0 !important;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
font-size: 10px;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(1) {
|
||||
grid-row: 1;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(2) {
|
||||
grid-row: 2;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(3) {
|
||||
grid-row: 3;
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(4) {
|
||||
grid-row: 3;
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(5) {
|
||||
grid-row: 3;
|
||||
grid-column: 3;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(6) {
|
||||
grid-row: 3;
|
||||
grid-column: 4;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(3)::before {
|
||||
content: "访问 ";
|
||||
color: var(--ww-muted);
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .shares-page-card .share-list-table td:nth-child(4)::before {
|
||||
content: "下载 ";
|
||||
color: var(--ww-muted);
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-list-resource {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-list-link-text {
|
||||
color: #3773ca;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-number-cell,
|
||||
body.enterprise-netdisk .share-expire-cell {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-list-actions {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-list-actions .btn {
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
min-height: 30px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-empty-state,
|
||||
body.enterprise-netdisk .share-empty-state.compact {
|
||||
min-height: 220px;
|
||||
padding: 32px 16px;
|
||||
}
|
||||
|
||||
/* Settings: one compact identity row, then the active setting content. */
|
||||
body.enterprise-netdisk .settings-page-head {
|
||||
min-height: 58px;
|
||||
padding: 12px 14px 10px;
|
||||
border-bottom: 1px solid #edf1f6;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-page-title {
|
||||
font-size: 21px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-page-title i {
|
||||
margin-right: 6px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-page-subtitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-tabs {
|
||||
min-height: 46px;
|
||||
padding: 0 14px;
|
||||
align-items: flex-end;
|
||||
gap: 20px;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-tab {
|
||||
min-height: 45px;
|
||||
padding: 0;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-page-card > .settings-section,
|
||||
body.enterprise-netdisk .settings-page-card > .settings-section-title,
|
||||
body.enterprise-netdisk .settings-page-card > .settings-panel {
|
||||
margin-right: 12px !important;
|
||||
margin-left: 12px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-page-card > .settings-section {
|
||||
margin-top: 12px !important;
|
||||
margin-bottom: 14px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-page-card > .settings-section-title {
|
||||
margin-top: 14px !important;
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-section-title {
|
||||
margin-bottom: 9px !important;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-panel,
|
||||
body.enterprise-netdisk .settings-theme-panel,
|
||||
body.enterprise-netdisk .settings-devices-panel,
|
||||
body.enterprise-netdisk .settings-account-panel {
|
||||
padding: 12px !important;
|
||||
border-radius: 11px !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-subpanel {
|
||||
padding: 10px !important;
|
||||
border-radius: 9px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-local-tip,
|
||||
body.enterprise-netdisk .settings-oss-tip,
|
||||
body.enterprise-netdisk .traffic-report-note {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-traffic-toolbar > div:first-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .settings-traffic-toolbar {
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .traffic-kpi-grid,
|
||||
body.enterprise-netdisk .traffic-summary-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
gap: 8px !important;
|
||||
}
|
||||
|
||||
/* Admin: one-row navigation and operational data before debug controls. */
|
||||
body.enterprise-netdisk .admin-main-container {
|
||||
padding: 8px 10px calc(76px + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-tabs-card {
|
||||
margin: 0 0 10px !important;
|
||||
padding: 4px !important;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 22;
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-tabs-nav {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-tab-btn {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 40px;
|
||||
padding: 0 4px;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
border-radius: 9px;
|
||||
font-size: 11px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-overview-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-debug-card {
|
||||
order: 99;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-overview-page > .card {
|
||||
margin-bottom: 10px !important;
|
||||
padding: 13px !important;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-overview-page > .card h3 {
|
||||
margin-bottom: 10px !important;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-storage-card > div[style*="display: grid"] {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
gap: 8px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-storage-card > div[style*="display: grid"] > div {
|
||||
min-width: 0;
|
||||
padding: 11px !important;
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-storage-card i[style*="font-size: 48px"] {
|
||||
font-size: 30px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-storage-card div[style*="font-size: 28px"] {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-debug-row {
|
||||
align-items: stretch !important;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-debug-toggle-btn {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
padding: 0 14px !important;
|
||||
font-size: 13px !important;
|
||||
}
|
||||
|
||||
/* User records stay visible; the long query form opens only when requested. */
|
||||
body.enterprise-netdisk .admin-users-page {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-card {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow: hidden;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-header {
|
||||
min-height: 52px;
|
||||
padding: 8px 12px !important;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-header h3 {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .mobile-admin-users-filter-toggle {
|
||||
min-width: 68px;
|
||||
min-height: 38px;
|
||||
padding: 0 9px;
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
border: 1px solid #dce4ef;
|
||||
border-radius: 9px;
|
||||
color: #52627a;
|
||||
background: #f7f9fc;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .mobile-admin-users-filter-toggle.active,
|
||||
body.enterprise-netdisk .mobile-admin-users-filter-toggle[aria-expanded="true"] {
|
||||
color: var(--ww-blue);
|
||||
border-color: #abc9f8;
|
||||
background: #eef5ff;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .mobile-admin-users-filter-count {
|
||||
min-width: 16px;
|
||||
height: 16px;
|
||||
padding: 0 4px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 999px;
|
||||
color: #fff;
|
||||
background: var(--ww-blue);
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-refresh-btn {
|
||||
width: 38px;
|
||||
min-width: 38px !important;
|
||||
min-height: 38px;
|
||||
padding: 0 !important;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-refresh-btn span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-toolbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open {
|
||||
margin: 0 10px 8px !important;
|
||||
padding: 10px !important;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open .admin-users-filter-search,
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open .admin-users-filter-reset {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open .admin-users-filter {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open label {
|
||||
margin-bottom: 3px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open input,
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open select,
|
||||
body.enterprise-netdisk .admin-users-toolbar.is-open .btn {
|
||||
min-height: 36px;
|
||||
padding: 0 9px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-stats {
|
||||
min-height: 34px;
|
||||
padding: 4px 12px 7px !important;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-stat-chip {
|
||||
min-width: 0;
|
||||
padding: 5px 7px;
|
||||
overflow: hidden;
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-stat-chip:nth-child(n + 4) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table-wrap {
|
||||
margin: 0 !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table {
|
||||
min-width: 0 !important;
|
||||
display: block;
|
||||
table-layout: auto !important;
|
||||
background: #f7f9fc;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody {
|
||||
padding: 8px 10px 12px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody tr {
|
||||
padding: 11px 12px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 6px 10px;
|
||||
border: 1px solid #e2e9f3 !important;
|
||||
border-radius: 11px;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 12px rgba(30, 55, 91, 0.04);
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td {
|
||||
width: auto !important;
|
||||
min-width: 0;
|
||||
padding: 0 !important;
|
||||
display: block !important;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
font-size: 10px !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(1),
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(6) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(2) {
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
font-size: 14px !important;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(3) {
|
||||
grid-row: 1;
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(4) {
|
||||
grid-row: 2;
|
||||
grid-column: 1 / -1;
|
||||
color: var(--ww-muted) !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(5) {
|
||||
grid-row: 3;
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(9) {
|
||||
grid-row: 3;
|
||||
grid-column: 2;
|
||||
justify-self: end;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(7),
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(8) {
|
||||
grid-row: 4;
|
||||
padding: 7px 8px !important;
|
||||
border-radius: 8px;
|
||||
background: #f7f9fc;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(7) {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(8) {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(7)::before,
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(8)::before {
|
||||
margin-bottom: 2px;
|
||||
display: block;
|
||||
color: var(--ww-muted);
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(7)::before {
|
||||
content: "存储配额";
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(8)::before {
|
||||
content: "下载流量";
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-table tbody td:nth-child(10) {
|
||||
grid-row: 5;
|
||||
grid-column: 1 / -1;
|
||||
padding-top: 3px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-user-actions {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 5px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-user-action-btn {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 32px;
|
||||
padding: 0 5px !important;
|
||||
justify-content: center;
|
||||
font-size: 10px !important;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .admin-users-pagination {
|
||||
margin: 0 10px 8px;
|
||||
}
|
||||
|
||||
/* The file page follows the same compact title scale. */
|
||||
body.enterprise-netdisk .files-page-header {
|
||||
padding: 12px 14px 10px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .files-page-header .workspace-page-heading h1 {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .storage-meter-card {
|
||||
padding: 8px 10px 7px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .storage-meter-track {
|
||||
margin: 6px 0 4px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 380px) {
|
||||
body.enterprise-netdisk .shares-page-head,
|
||||
body.enterprise-netdisk .settings-page-head {
|
||||
padding-inline: 11px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-tabs,
|
||||
body.enterprise-netdisk .settings-tabs {
|
||||
padding-inline: 11px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-card .share-toolbar {
|
||||
margin-inline: 11px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-filter-controls.is-open {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-resource-card .share-filter-controls select {
|
||||
padding-inline: 5px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
body.enterprise-netdisk .share-list-actions .btn {
|
||||
width: 28px;
|
||||
min-width: 28px;
|
||||
min-height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user