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:
@@ -2515,7 +2515,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 设置视图 -->
|
<!-- 设置视图 -->
|
||||||
<div v-if="isLoggedIn && currentView === 'settings'" class="main-container">
|
<div v-if="isLoggedIn && currentView === 'settings'" class="main-container settings-main-container">
|
||||||
<div class="card settings-page-card">
|
<div class="card settings-page-card">
|
||||||
<div class="settings-page-head">
|
<div class="settings-page-head">
|
||||||
<h2 class="settings-page-title">
|
<h2 class="settings-page-title">
|
||||||
@@ -3125,7 +3125,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 分享视图 -->
|
<!-- 分享视图 -->
|
||||||
<div v-if="isLoggedIn && currentView === 'shares'" class="main-container">
|
<div v-if="isLoggedIn && currentView === 'shares'" class="main-container shares-main-container">
|
||||||
<div class="card shares-page-card">
|
<div class="card shares-page-card">
|
||||||
<header class="workspace-page-header shares-page-head">
|
<header class="workspace-page-header shares-page-head">
|
||||||
<div class="workspace-page-heading">
|
<div class="workspace-page-heading">
|
||||||
@@ -3134,21 +3134,21 @@
|
|||||||
<p>集中查看分享状态、访问数据和文件直链。</p>
|
<p>集中查看分享状态、访问数据和文件直链。</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="shares-page-actions">
|
<div class="shares-page-actions">
|
||||||
<button class="btn btn-secondary" @click="refreshShareResources">
|
<button type="button" class="btn btn-secondary share-refresh-btn" @click="refreshShareResources" aria-label="刷新分享资源">
|
||||||
<i class="fas fa-sync-alt"></i> 刷新
|
<i class="fas fa-sync-alt"></i><span class="share-action-label">刷新</span>
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-primary" @click="switchView('files')">
|
<button type="button" class="btn btn-primary share-create-btn" @click="switchView('files')">
|
||||||
<i class="fas fa-plus"></i> 创建分享
|
<i class="fas fa-plus"></i><span class="share-action-label">创建分享</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<nav class="share-resource-tabs" aria-label="分享资源分类">
|
<nav class="share-resource-tabs" aria-label="分享资源分类">
|
||||||
<button :class="{ active: shareResourceTab === 'shares' }" @click="shareResourceTab = 'shares'">
|
<button type="button" :class="{ active: shareResourceTab === 'shares' }" @click="shareResourceTab = 'shares'; showMobileShareFilters = false">
|
||||||
<i class="fas fa-share-alt"></i> 分享链接
|
<i class="fas fa-share-alt"></i> 分享链接
|
||||||
<span>{{ shares.length }}</span>
|
<span>{{ shares.length }}</span>
|
||||||
</button>
|
</button>
|
||||||
<button :class="{ active: shareResourceTab === 'directLinks' }" @click="shareResourceTab = 'directLinks'">
|
<button type="button" :class="{ active: shareResourceTab === 'directLinks' }" @click="shareResourceTab = 'directLinks'; showMobileShareFilters = false">
|
||||||
<i class="fas fa-link"></i> 文件直链
|
<i class="fas fa-link"></i> 文件直链
|
||||||
<span>{{ directLinks.length }}</span>
|
<span>{{ directLinks.length }}</span>
|
||||||
</button>
|
</button>
|
||||||
@@ -3161,12 +3161,22 @@
|
|||||||
<span><i class="fas fa-shield-alt"></i> 状态 <strong>运行正常</strong></span>
|
<span><i class="fas fa-shield-alt"></i> 状态 <strong>运行正常</strong></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="share-toolbar shares-toolbar">
|
<div class="share-toolbar shares-toolbar" :class="{ 'share-filters-open': showMobileShareFilters, 'share-toolbar-direct': shareResourceTab === 'directLinks' }">
|
||||||
<div class="share-search-field">
|
<div class="share-search-field">
|
||||||
<i class="fas fa-search"></i>
|
<i class="fas fa-search"></i>
|
||||||
<input type="text" v-model="shareFilters.keyword" :placeholder="shareResourceTab === 'shares' ? '搜索文件名、链接或分享码' : '搜索文件名或直链地址'">
|
<input type="text" v-model="shareFilters.keyword" :placeholder="shareResourceTab === 'shares' ? '搜索文件名、链接或分享码' : '搜索文件名或直链地址'">
|
||||||
</div>
|
</div>
|
||||||
<template v-if="shareResourceTab === 'shares'">
|
<button
|
||||||
|
v-if="shareResourceTab === 'shares'"
|
||||||
|
type="button"
|
||||||
|
class="mobile-share-filter-toggle"
|
||||||
|
:class="{ active: activeShareFilterCount > 0 }"
|
||||||
|
:aria-expanded="showMobileShareFilters"
|
||||||
|
@click="showMobileShareFilters = !showMobileShareFilters">
|
||||||
|
<i class="fas fa-sliders-h"></i><span>筛选</span>
|
||||||
|
<span v-if="activeShareFilterCount > 0" class="mobile-share-filter-count">{{ activeShareFilterCount }}</span>
|
||||||
|
</button>
|
||||||
|
<div v-if="shareResourceTab === 'shares'" class="share-filter-controls" :class="{ 'is-open': showMobileShareFilters }">
|
||||||
<select v-model="shareFilters.type" aria-label="分享类型">
|
<select v-model="shareFilters.type" aria-label="分享类型">
|
||||||
<option value="all">全部类型</option>
|
<option value="all">全部类型</option>
|
||||||
<option value="file">文件</option>
|
<option value="file">文件</option>
|
||||||
@@ -3188,7 +3198,7 @@
|
|||||||
<option value="downloads_desc">下载最多</option>
|
<option value="downloads_desc">下载最多</option>
|
||||||
<option value="expire_asc">最早到期</option>
|
<option value="expire_asc">最早到期</option>
|
||||||
</select>
|
</select>
|
||||||
</template>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="shareResourceTab === 'shares'" class="share-resource-panel">
|
<div v-if="shareResourceTab === 'shares'" class="share-resource-panel">
|
||||||
@@ -3300,7 +3310,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 管理员视图 -->
|
<!-- 管理员视图 -->
|
||||||
<div v-if="isLoggedIn && currentView === 'admin' && user && user.is_admin" class="main-container">
|
<div v-if="isLoggedIn && currentView === 'admin' && user && user.is_admin" class="main-container admin-main-container">
|
||||||
<!-- 管理员标签页导航 -->
|
<!-- 管理员标签页导航 -->
|
||||||
<div class="card admin-tabs-card" style="margin-bottom: 20px; padding: 0;">
|
<div class="card admin-tabs-card" style="margin-bottom: 20px; padding: 0;">
|
||||||
<div class="admin-tabs-nav">
|
<div class="admin-tabs-nav">
|
||||||
@@ -3320,9 +3330,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- ========== 概览标签页 ========== -->
|
<!-- ========== 概览标签页 ========== -->
|
||||||
<div v-show="adminTab === 'overview'">
|
<div v-show="adminTab === 'overview'" class="admin-overview-page">
|
||||||
<!-- 调试模式开关 -->
|
<!-- 调试模式开关 -->
|
||||||
<div class="card" style="margin-bottom: 30px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white;">
|
<div class="card admin-debug-card" style="margin-bottom: 30px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white;">
|
||||||
<div class="admin-debug-row" style="display: flex; align-items: center; justify-content: space-between;">
|
<div class="admin-debug-row" style="display: flex; align-items: center; justify-content: space-between;">
|
||||||
<div>
|
<div>
|
||||||
<h3 style="margin-bottom: 10px; color: white;">
|
<h3 style="margin-bottom: 10px; color: white;">
|
||||||
@@ -3340,7 +3350,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 服务器存储统计 -->
|
<!-- 服务器存储统计 -->
|
||||||
<div class="card" style="margin-bottom: 30px;">
|
<div class="card admin-storage-card" style="margin-bottom: 30px;">
|
||||||
<h3 style="margin-bottom: 20px;">
|
<h3 style="margin-bottom: 20px;">
|
||||||
<i class="fas fa-hdd"></i> 服务器存储统计
|
<i class="fas fa-hdd"></i> 服务器存储统计
|
||||||
</h3>
|
</h3>
|
||||||
@@ -4035,16 +4045,28 @@
|
|||||||
</div><!-- 监控标签页结束 -->
|
</div><!-- 监控标签页结束 -->
|
||||||
|
|
||||||
<!-- ========== 用户标签页 ========== -->
|
<!-- ========== 用户标签页 ========== -->
|
||||||
<div v-show="adminTab === 'users'">
|
<div v-show="adminTab === 'users'" class="admin-users-page">
|
||||||
<div class="card">
|
<div class="card admin-users-card">
|
||||||
<div class="admin-users-header">
|
<div class="admin-users-header">
|
||||||
<h3 style="margin: 0;">用户管理</h3>
|
<h3 style="margin: 0;">用户管理</h3>
|
||||||
<button class="btn btn-secondary" @click="loadUsers" :disabled="adminUsersLoading" style="min-width: 92px;">
|
<button
|
||||||
<i :class="adminUsersLoading ? 'fas fa-spinner fa-spin' : 'fas fa-rotate'"></i> 刷新
|
type="button"
|
||||||
|
class="mobile-admin-users-filter-toggle"
|
||||||
|
:class="{ active: showMobileAdminUserFilters || activeAdminUserFilterCount > 0 }"
|
||||||
|
:aria-expanded="showMobileAdminUserFilters ? 'true' : 'false'"
|
||||||
|
@click="showMobileAdminUserFilters = !showMobileAdminUserFilters"
|
||||||
|
>
|
||||||
|
<i class="fas fa-sliders"></i>
|
||||||
|
<span>筛选</span>
|
||||||
|
<span v-if="activeAdminUserFilterCount" class="mobile-admin-users-filter-count">{{ activeAdminUserFilterCount }}</span>
|
||||||
|
</button>
|
||||||
|
<button type="button" class="btn btn-secondary admin-users-refresh-btn" @click="loadUsers" :disabled="adminUsersLoading" style="min-width: 92px;" aria-label="刷新用户列表">
|
||||||
|
<i :class="adminUsersLoading ? 'fas fa-spinner fa-spin' : 'fas fa-rotate'"></i>
|
||||||
|
<span>刷新</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="admin-users-toolbar">
|
<div class="admin-users-toolbar" :class="{ 'is-open': showMobileAdminUserFilters }">
|
||||||
<div class="admin-users-filter admin-users-filter-search">
|
<div class="admin-users-filter admin-users-filter-search">
|
||||||
<label>搜索</label>
|
<label>搜索</label>
|
||||||
<input type="text" v-model.trim="adminUserFilters.keyword" @input="triggerAdminUsersKeywordSearch" placeholder="ID / 用户名 / 邮箱">
|
<input type="text" v-model.trim="adminUserFilters.keyword" @input="triggerAdminUsersKeywordSearch" placeholder="ID / 用户名 / 邮箱">
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ createApp({
|
|||||||
status: 'all', // all/active/expiring/expired/protected/public
|
status: 'all', // all/active/expiring/expired/protected/public
|
||||||
sort: 'created_desc' // created_desc/created_asc/views_desc/downloads_desc/expire_asc
|
sort: 'created_desc' // created_desc/created_asc/views_desc/downloads_desc/expire_asc
|
||||||
},
|
},
|
||||||
|
showMobileShareFilters: false,
|
||||||
|
|
||||||
// 文件重命名
|
// 文件重命名
|
||||||
showRenameModal: false,
|
showRenameModal: false,
|
||||||
@@ -216,6 +217,7 @@ createApp({
|
|||||||
storage: 'all', // all/local/oss/local_only/oss_only/user_choice
|
storage: 'all', // all/local/oss/local_only/oss_only/user_choice
|
||||||
sort: 'created_desc' // created_desc/created_asc/username_asc/username_desc/storage_usage_desc/download_usage_desc
|
sort: 'created_desc' // created_desc/created_asc/username_asc/username_desc/storage_usage_desc/download_usage_desc
|
||||||
},
|
},
|
||||||
|
showMobileAdminUserFilters: false,
|
||||||
showResetPwdModal: false,
|
showResetPwdModal: false,
|
||||||
resetPwdUser: {},
|
resetPwdUser: {},
|
||||||
newPassword: '',
|
newPassword: '',
|
||||||
@@ -642,6 +644,14 @@ createApp({
|
|||||||
},
|
},
|
||||||
|
|
||||||
// 分享筛选+排序后的列表
|
// 分享筛选+排序后的列表
|
||||||
|
activeShareFilterCount() {
|
||||||
|
return [
|
||||||
|
this.shareFilters.type !== 'all',
|
||||||
|
this.shareFilters.status !== 'all',
|
||||||
|
this.shareFilters.sort !== 'created_desc'
|
||||||
|
].filter(Boolean).length;
|
||||||
|
},
|
||||||
|
|
||||||
filteredShares() {
|
filteredShares() {
|
||||||
let list = [...this.shares];
|
let list = [...this.shares];
|
||||||
const keyword = this.shareFilters.keyword.trim().toLowerCase();
|
const keyword = this.shareFilters.keyword.trim().toLowerCase();
|
||||||
@@ -729,6 +739,17 @@ createApp({
|
|||||||
return list;
|
return list;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
activeAdminUserFilterCount() {
|
||||||
|
let count = 0;
|
||||||
|
if (String(this.adminUserFilters.keyword || '').trim()) count += 1;
|
||||||
|
if (this.adminUserFilters.role !== 'all') count += 1;
|
||||||
|
if (this.adminUserFilters.status !== 'all') count += 1;
|
||||||
|
if (this.adminUserFilters.storage !== 'all') count += 1;
|
||||||
|
if (this.adminUserFilters.sort !== 'created_desc') count += 1;
|
||||||
|
if (Number(this.adminUsersPageSize) !== 20) count += 1;
|
||||||
|
return count;
|
||||||
|
},
|
||||||
|
|
||||||
adminUsersFilteredCount() {
|
adminUsersFilteredCount() {
|
||||||
return Math.max(0, Number(this.adminUsersTotalCount) || 0);
|
return Math.max(0, Number(this.adminUsersTotalCount) || 0);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3401,3 +3401,889 @@ body.enterprise-netdisk .mobile-file-create-trigger {
|
|||||||
padding-inline: 2px;
|
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