feat(frontend): polish shared space settings and join preview UI
Redesign organization settings with grouped navigation, table-based member and shared resource views, and anchored popups for invites and permission upgrades. Refresh the join-space confirmation flow and soften global input focus styling to a thin brand border without the heavy outer glow.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -5172,6 +5172,29 @@ export default {
|
||||
joinFailed: 'Failed to join space',
|
||||
manageMembers: 'Manage Members',
|
||||
noMembers: 'No members',
|
||||
members: {
|
||||
listTitle: 'Space members',
|
||||
searchPlaceholder: 'Search members…',
|
||||
loading: 'Loading members…',
|
||||
emptySearch: 'No members matching "{q}"',
|
||||
columns: {
|
||||
member: 'Member',
|
||||
role: 'Role',
|
||||
joinedAt: 'Joined',
|
||||
operations: 'Actions',
|
||||
},
|
||||
},
|
||||
sharedResources: {
|
||||
kbListTitle: 'Shared knowledge bases',
|
||||
agentListTitle: 'Shared agents',
|
||||
loading: 'Loading…',
|
||||
columns: {
|
||||
name: 'Name',
|
||||
sharedBy: 'Shared by',
|
||||
sharedAt: 'Shared at',
|
||||
permission: 'Permission',
|
||||
},
|
||||
},
|
||||
roleUpdated: 'Role updated',
|
||||
roleUpdateFailed: 'Failed to update role',
|
||||
memberRemoved: 'Member removed',
|
||||
@@ -5205,6 +5228,7 @@ export default {
|
||||
detailTitle: 'Space Details',
|
||||
myRoleDesc: 'Your role in this space determines your permissions',
|
||||
membersDesc: 'View and manage space members and their roles. Each member represents a workspace — all users in the same workspace share access to this space.',
|
||||
permissionsIconHint: 'View role permissions',
|
||||
sharedDesc: 'View all knowledge bases shared to this space',
|
||||
noSharedKB: 'No shared knowledge bases yet',
|
||||
noSharedKBTip: 'Knowledge base owners can share their knowledge bases to this space in KB settings',
|
||||
@@ -5215,9 +5239,9 @@ export default {
|
||||
sharedAgentsKbHintShort: 'Agent-linked knowledge is read-only in chat; share the KB to this space if members should see or edit it in the list.',
|
||||
noSharedAgentsTip: 'Admins can share agents to this space from agent settings',
|
||||
sharePermissionLabel: 'Space permission',
|
||||
myPermissionLabel: 'My actual permission',
|
||||
permissionCalcFormula: 'Space permission is what was set when the KB was shared to this space; my actual permission = min(space permission, my role in this space)',
|
||||
permissionCalcTip: 'My actual permission = min(space permission, my role in this space). As a viewer in the space, I have at most read-only on this KB; as editor or admin, my permission is capped by the space permission.',
|
||||
myPermissionLabel: 'Effective',
|
||||
permissionCalcFormula: 'Space permission is set when sharing; effective permission is the lower of that and your space role',
|
||||
permissionCalcTip: 'Effective permission is the lower of space permission and your role here; viewers get at most read-only on this KB.',
|
||||
inviteMembers: 'Invite Members',
|
||||
inviteMembersDesc: 'Invite others to join the space via code or link',
|
||||
inviteLink: 'Invite Link',
|
||||
@@ -5255,6 +5279,11 @@ export default {
|
||||
rejectSuccess: 'Request rejected',
|
||||
reviewFailed: 'Operation failed, please try again',
|
||||
},
|
||||
navGroups: {
|
||||
basic: 'Basic',
|
||||
management: 'Members & Collaboration',
|
||||
resources: 'Shared Resources',
|
||||
},
|
||||
editor: {
|
||||
navBasic: 'Basic Info',
|
||||
navPermissions: 'Permissions',
|
||||
@@ -5292,13 +5321,15 @@ export default {
|
||||
step3: 'Paste the invite code in the input field above',
|
||||
},
|
||||
upgrade: {
|
||||
requestUpgrade: 'Request Permission Upgrade',
|
||||
pending: 'Request Submitted',
|
||||
dialogTitle: 'Request Permission Upgrade',
|
||||
requestUpgrade: 'Request upgrade',
|
||||
pending: 'Pending review',
|
||||
dialogTitle: 'Request upgrade',
|
||||
dialogDesc: 'Your role updates after a space admin approves.',
|
||||
currentRole: 'Current Role',
|
||||
selectRole: 'Request Role',
|
||||
reason: 'Reason (Optional)',
|
||||
reasonPlaceholder: 'Please briefly explain why you need higher permissions...',
|
||||
submitBtn: 'Submit Request',
|
||||
submitSuccess: 'Upgrade request submitted, waiting for admin approval',
|
||||
submitFailed: 'Failed to submit request',
|
||||
upgradeRequest: 'Permission Upgrade',
|
||||
|
||||
@@ -5181,6 +5181,29 @@ export default {
|
||||
joinFailed: "스페이스에 참여하지 못했습니다.",
|
||||
manageMembers: "회원관리",
|
||||
noMembers: "아직 회원이 없습니다.",
|
||||
members: {
|
||||
listTitle: "스페이스 구성원",
|
||||
searchPlaceholder: "구성원 검색…",
|
||||
loading: "구성원 로딩 중…",
|
||||
emptySearch: "「{q}」와(과) 일치하는 구성원이 없습니다",
|
||||
columns: {
|
||||
member: "구성원",
|
||||
role: "역할",
|
||||
joinedAt: "가입일",
|
||||
operations: "작업",
|
||||
},
|
||||
},
|
||||
sharedResources: {
|
||||
kbListTitle: "공유 지식베이스",
|
||||
agentListTitle: "공유 에이전트",
|
||||
loading: "로딩 중…",
|
||||
columns: {
|
||||
name: "이름",
|
||||
sharedBy: "공유자",
|
||||
sharedAt: "공유 시간",
|
||||
permission: "권한",
|
||||
},
|
||||
},
|
||||
roleUpdated: "역할이 업데이트되었습니다.",
|
||||
roleUpdateFailed: "역할을 업데이트하지 못했습니다.",
|
||||
memberRemoved: "회원이 삭제되었습니다.",
|
||||
@@ -5215,6 +5238,7 @@ export default {
|
||||
detailTitle: "스페이스 세부정보",
|
||||
myRoleDesc: "이 스페이스에서의 귀하의 역할은 귀하의 권한 범위를 결정합니다.",
|
||||
membersDesc: "스페이스 구성원과 역할을 조회·관리합니다. 각 구성원은 하나의 워크스페이스를 의미하며, 같은 워크스페이스의 모든 사용자가 이 스페이스 접근 권한을 공유합니다.",
|
||||
permissionsIconHint: "역할별 권한 보기",
|
||||
sharedDesc: "이 스페이스에 공유된 모든 지식베이스 보기",
|
||||
noSharedKB: "아직 공유 지식베이스가 없습니다.",
|
||||
noSharedKBTip:
|
||||
@@ -5228,11 +5252,11 @@ export default {
|
||||
"에이전트 바인딩 지식은 대화 내에서만 읽을 수 있습니다. 목록에서 보거나 수정하고 싶으시면 지식베이스를 별도로 공유해주세요.",
|
||||
noSharedAgentsTip: "관리자는 에이전트 설정에서 이 스페이스에 에이전트를 공유할 수 있습니다.",
|
||||
sharePermissionLabel: "스페이스 허가",
|
||||
myPermissionLabel: "내 실제 권한",
|
||||
myPermissionLabel: "적용 권한",
|
||||
permissionCalcFormula:
|
||||
"스페이스 권한은 공유 시 해당 스페이스에 대해 설정된 권한입니다. 내 실제 권한 = min(스페이스 권한, 이 스페이스에서의 내 역할)",
|
||||
"스페이스 권한은 공유 시 설정되며, 적용 권한은 스페이스 권한과 내 역할 중 낮은 값입니다",
|
||||
permissionCalcTip:
|
||||
"내 실제 권한 = min(스페이스 권한, 이 스페이스에서의 내 역할). 스페이스에서 읽기 전용이면 이 지식베이스는 최대 읽기 전용입니다. 편집자/관리자여도 스페이스 권한을 넘을 수 없습니다.",
|
||||
"적용 권한은 스페이스 권한과 내 역할 중 낮은 값이며, 읽기 전용 구성원은 이 지식베이스에 읽기만 가능합니다.",
|
||||
inviteMembers: "회원 초대",
|
||||
inviteMembersDesc: "초대 코드 또는 링크를 통해 다른 사람을 스페이스에 초대하세요.",
|
||||
inviteLink: "초대링크",
|
||||
@@ -5274,6 +5298,11 @@ export default {
|
||||
rejectSuccess: "신청이 거부됨",
|
||||
reviewFailed: "작업이 실패했습니다. 다시 시도해 주세요.",
|
||||
},
|
||||
navGroups: {
|
||||
basic: "기본",
|
||||
management: "멤버 및 협업",
|
||||
resources: "공유 리소스",
|
||||
},
|
||||
editor: {
|
||||
navBasic: "기본정보",
|
||||
navPermissions: "권한 설명",
|
||||
@@ -5313,13 +5342,15 @@ export default {
|
||||
step3: "위의 입력창에 초대코드를 붙여넣으세요",
|
||||
},
|
||||
upgrade: {
|
||||
requestUpgrade: "권한 업그레이드 신청",
|
||||
pending: "신청서 제출됨",
|
||||
dialogTitle: "권한 업그레이드 신청",
|
||||
requestUpgrade: "업그레이드 신청",
|
||||
pending: "검토 중",
|
||||
dialogTitle: "업그레이드 신청",
|
||||
dialogDesc: "관리자 승인 후 역할이 업데이트됩니다.",
|
||||
currentRole: "현재 역할",
|
||||
selectRole: "역할에 지원하세요",
|
||||
reason: "신청 이유(선택)",
|
||||
reasonPlaceholder: "더 높은 권한을 요청하는 이유를 간략하게 설명해주세요..",
|
||||
submitBtn: "신청 제출",
|
||||
submitSuccess: "권한 업그레이드 신청서가 제출되었으며 관리자의 검토를 기다리고 있습니다.",
|
||||
submitFailed: "신청서를 제출하지 못했습니다.",
|
||||
upgradeRequest: "권한 승격",
|
||||
|
||||
@@ -5815,6 +5815,29 @@ export default {
|
||||
joinFailed: 'Failed to join space',
|
||||
manageMembers: 'Manage Members',
|
||||
noMembers: 'No members',
|
||||
members: {
|
||||
listTitle: 'Space members',
|
||||
searchPlaceholder: 'Search members…',
|
||||
loading: 'Loading members…',
|
||||
emptySearch: 'No members matching "{q}"',
|
||||
columns: {
|
||||
member: 'Member',
|
||||
role: 'Role',
|
||||
joinedAt: 'Joined',
|
||||
operations: 'Actions',
|
||||
},
|
||||
},
|
||||
sharedResources: {
|
||||
kbListTitle: 'Shared knowledge bases',
|
||||
agentListTitle: 'Shared agents',
|
||||
loading: 'Loading…',
|
||||
columns: {
|
||||
name: 'Name',
|
||||
sharedBy: 'Shared by',
|
||||
sharedAt: 'Shared at',
|
||||
permission: 'Permission',
|
||||
},
|
||||
},
|
||||
roleUpdated: 'Role updated',
|
||||
roleUpdateFailed: 'Failed to update role',
|
||||
memberRemoved: 'Member removed',
|
||||
@@ -5848,6 +5871,7 @@ export default {
|
||||
detailTitle: 'Space Details',
|
||||
myRoleDesc: 'Your role in this space determines your permissions',
|
||||
membersDesc: 'Просмотр и управление участниками пространства и их ролями. Каждый участник представляет одно рабочее пространство: все его пользователи получают одинаковый доступ к общему пространству.',
|
||||
permissionsIconHint: 'Просмотр прав по ролям',
|
||||
sharedDesc: 'View all knowledge bases shared to this space',
|
||||
noSharedKB: 'No shared knowledge bases yet',
|
||||
noSharedKBTip: 'Knowledge base owners can share their knowledge bases to this space in KB settings',
|
||||
@@ -5858,9 +5882,9 @@ export default {
|
||||
sharedAgentsKbHintShort: 'Agent-linked knowledge is read-only in chat; share the KB to this space if members should see or edit it in the list.',
|
||||
noSharedAgentsTip: 'Admins can share agents to this space from agent settings',
|
||||
sharePermissionLabel: 'Space permission',
|
||||
myPermissionLabel: 'My actual permission',
|
||||
permissionCalcFormula: 'Space permission is what was set when the KB was shared to this space; my actual permission = min(space permission, my role in this space)',
|
||||
permissionCalcTip: 'My actual permission = min(space permission, my role in this space). As a viewer in the space, I have at most read-only on this KB; as editor or admin, my permission is capped by the space permission.',
|
||||
myPermissionLabel: 'Effective',
|
||||
permissionCalcFormula: 'Space permission is set when sharing; effective permission is the lower of that and your space role',
|
||||
permissionCalcTip: 'Effective permission is the lower of space permission and your role here; viewers get at most read-only on this KB.',
|
||||
inviteMembers: 'Invite Members',
|
||||
inviteMembersDesc: 'Invite others to join the space via code or link',
|
||||
inviteLink: 'Invite Link',
|
||||
@@ -5898,6 +5922,11 @@ export default {
|
||||
rejectSuccess: 'Request rejected',
|
||||
reviewFailed: 'Operation failed, please try again'
|
||||
},
|
||||
navGroups: {
|
||||
basic: 'Basic',
|
||||
management: 'Members & Collaboration',
|
||||
resources: 'Shared Resources'
|
||||
},
|
||||
editor: {
|
||||
navBasic: 'Basic Info',
|
||||
navPermissions: 'Permissions',
|
||||
@@ -5935,13 +5964,15 @@ export default {
|
||||
step3: 'Paste the invite code in the input field above'
|
||||
},
|
||||
upgrade: {
|
||||
requestUpgrade: 'Request Permission Upgrade',
|
||||
pending: 'Request Submitted',
|
||||
dialogTitle: 'Request Permission Upgrade',
|
||||
requestUpgrade: 'Request upgrade',
|
||||
pending: 'Pending review',
|
||||
dialogTitle: 'Request upgrade',
|
||||
dialogDesc: 'Your role updates after a space admin approves.',
|
||||
currentRole: 'Current Role',
|
||||
selectRole: 'Request Role',
|
||||
reason: 'Reason (Optional)',
|
||||
reasonPlaceholder: 'Please briefly explain why you need higher permissions...',
|
||||
submitBtn: 'Submit Request',
|
||||
submitSuccess: 'Upgrade request submitted, waiting for admin approval',
|
||||
submitFailed: 'Failed to submit request',
|
||||
upgradeRequest: 'Permission Upgrade'
|
||||
|
||||
@@ -5226,6 +5226,29 @@ export default {
|
||||
joinFailed: "加入空间失败",
|
||||
manageMembers: "成员管理",
|
||||
noMembers: "暂无成员",
|
||||
members: {
|
||||
listTitle: "空间成员",
|
||||
searchPlaceholder: "搜索成员…",
|
||||
loading: "加载成员中…",
|
||||
emptySearch: "未找到匹配「{q}」的成员",
|
||||
columns: {
|
||||
member: "成员",
|
||||
role: "角色",
|
||||
joinedAt: "加入时间",
|
||||
operations: "操作",
|
||||
},
|
||||
},
|
||||
sharedResources: {
|
||||
kbListTitle: "共享知识库",
|
||||
agentListTitle: "共享智能体",
|
||||
loading: "加载中…",
|
||||
columns: {
|
||||
name: "名称",
|
||||
sharedBy: "共享者",
|
||||
sharedAt: "共享时间",
|
||||
permission: "权限",
|
||||
},
|
||||
},
|
||||
roleUpdated: "角色已更新",
|
||||
roleUpdateFailed: "更新角色失败",
|
||||
memberRemoved: "成员已移除",
|
||||
@@ -5259,6 +5282,7 @@ export default {
|
||||
detailTitle: "空间详情",
|
||||
myRoleDesc: "您在此空间中的角色决定了您的权限范围",
|
||||
membersDesc: "查看和管理共享空间成员、调整成员角色。成员的最小单位是空间——加入后该空间下的所有用户都将获得访问权限。",
|
||||
permissionsIconHint: "查看各角色权限说明",
|
||||
sharedDesc: "查看共享到此空间的所有知识库",
|
||||
noSharedKB: "暂无共享的知识库",
|
||||
noSharedKBTip: "知识库拥有者可以在知识库设置中将其共享到此空间",
|
||||
@@ -5269,9 +5293,9 @@ export default {
|
||||
sharedAgentsKbHintShort: "智能体绑定知识仅对话内只读;需在列表看到或编辑请单独共享知识库",
|
||||
noSharedAgentsTip: "管理员可将智能体从智能体设置中共享到本空间",
|
||||
sharePermissionLabel: "空间权限",
|
||||
myPermissionLabel: "我的实际权限",
|
||||
permissionCalcFormula: "空间权限为共享时给该空间设定的权限;我的实际权限 = min(空间权限, 我在本空间的角色)",
|
||||
permissionCalcTip: "我的实际权限 = min(空间权限, 我在本空间的角色)。我在空间内是只读时,对此知识库最多只读;是编辑或管理员时,不超过空间权限。",
|
||||
myPermissionLabel: "生效权限",
|
||||
permissionCalcFormula: "空间权限为共享时设定;生效权限取空间权限与你的空间角色中较低值",
|
||||
permissionCalcTip: "生效权限取空间权限与你的空间角色中较低值;只读成员对此库最多只读。",
|
||||
inviteMembers: "邀请成员",
|
||||
inviteMembersDesc: "通过邀请码或链接邀请他人加入空间",
|
||||
inviteLink: "邀请链接",
|
||||
@@ -5309,6 +5333,11 @@ export default {
|
||||
rejectSuccess: "已拒绝申请",
|
||||
reviewFailed: "操作失败,请重试",
|
||||
},
|
||||
navGroups: {
|
||||
basic: "基础",
|
||||
management: "成员与协作",
|
||||
resources: "共享资源",
|
||||
},
|
||||
editor: {
|
||||
navBasic: "基本信息",
|
||||
navPermissions: "权限说明",
|
||||
@@ -5346,13 +5375,15 @@ export default {
|
||||
step3: "将邀请码粘贴到上方输入框",
|
||||
},
|
||||
upgrade: {
|
||||
requestUpgrade: "申请权限升级",
|
||||
pending: "已提交申请",
|
||||
dialogTitle: "申请权限升级",
|
||||
requestUpgrade: "申请升级",
|
||||
pending: "审核中",
|
||||
dialogTitle: "申请升级",
|
||||
dialogDesc: "管理员审核通过后更新您的角色。",
|
||||
currentRole: "当前角色",
|
||||
selectRole: "申请角色",
|
||||
reason: "申请理由(选填)",
|
||||
reasonPlaceholder: "请简要说明申请更高权限的原因...",
|
||||
submitBtn: "提交申请",
|
||||
submitSuccess: "权限升级申请已提交,等待管理员审核",
|
||||
submitFailed: "提交申请失败",
|
||||
upgradeRequest: "权限升级",
|
||||
|
||||
@@ -1752,6 +1752,7 @@ defineExpose({
|
||||
border-radius: 6px !important;
|
||||
color: var(--td-text-color-secondary);
|
||||
cursor: pointer;
|
||||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--td-bg-color-container) 72%, transparent);
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -1899,6 +1899,7 @@ const handleUploadFinishedEvent = (event: Event) => {
|
||||
border-radius: 6px !important;
|
||||
color: var(--td-text-color-secondary);
|
||||
cursor: pointer;
|
||||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--td-bg-color-container) 72%, transparent);
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
|
||||
&:hover {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1500,7 +1500,7 @@ watch(
|
||||
color: var(--td-text-color-secondary);
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
margin: 6px 0 0 0;
|
||||
margin: 8px 0 0;
|
||||
max-width: 52rem;
|
||||
}
|
||||
}
|
||||
@@ -1516,8 +1516,13 @@ watch(
|
||||
.section-header-titlewrap {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
line-height: 1.25;
|
||||
}
|
||||
}
|
||||
|
||||
/* 顶部右侧的「审计日志」入口。t-button variant="text" 自带颜色
|
||||
@@ -1571,8 +1576,9 @@ watch(
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex-shrink: 0;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
@@ -1580,8 +1586,13 @@ watch(
|
||||
background: transparent;
|
||||
color: var(--td-text-color-secondary);
|
||||
cursor: pointer;
|
||||
line-height: 0;
|
||||
transition: background-color 0.2s ease, color 0.2s ease;
|
||||
|
||||
:deep(.t-icon) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--td-bg-color-secondarycontainer);
|
||||
color: var(--td-brand-color);
|
||||
@@ -2309,6 +2320,137 @@ watch(
|
||||
</style>
|
||||
|
||||
<style lang="less">
|
||||
/* 权限说明弹出层(t-popup 挂到 body,须全局样式) */
|
||||
.permissions-popup-overlay {
|
||||
z-index: 3050 !important;
|
||||
|
||||
.t-popup__content {
|
||||
padding: 0 !important;
|
||||
border-radius: 12px !important;
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 0.5px solid var(--td-component-stroke) !important;
|
||||
box-shadow:
|
||||
0 0 0 0.5px rgba(0, 0, 0, 0.03),
|
||||
0 2px 4px rgba(0, 0, 0, 0.04),
|
||||
0 8px 24px rgba(0, 0, 0, 0.1) !important;
|
||||
backdrop-filter: blur(20px) saturate(180%) !important;
|
||||
-webkit-backdrop-filter: blur(20px) saturate(180%) !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.permissions-compact.permissions-compact--popover {
|
||||
padding: 12px 14px;
|
||||
margin: 0;
|
||||
max-height: min(392px, calc(65vh - 8px));
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
.permissions-compact-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.permissions-compact-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--td-text-color-primary);
|
||||
}
|
||||
|
||||
.permissions-compact-desc {
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
color: var(--td-text-color-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
.permissions-compact-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.perm-role-block {
|
||||
border: 1px solid var(--td-component-stroke);
|
||||
border-radius: 6px;
|
||||
padding: 8px 10px;
|
||||
background: var(--td-bg-color-container);
|
||||
|
||||
&.is-me {
|
||||
border-color: var(--td-brand-color);
|
||||
background: var(--td-brand-color-light);
|
||||
}
|
||||
|
||||
.perm-role-tag {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--td-text-color-primary);
|
||||
margin-bottom: 6px;
|
||||
|
||||
.me-badge {
|
||||
margin-left: auto;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
color: var(--td-brand-color);
|
||||
padding: 1px 5px;
|
||||
background: var(--td-brand-color-light);
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.perm-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
|
||||
.perm-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 4px;
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
color: var(--td-text-color-secondary);
|
||||
|
||||
.t-icon {
|
||||
margin-top: 1px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&.has .t-icon {
|
||||
color: var(--td-brand-color);
|
||||
}
|
||||
|
||||
&.no {
|
||||
color: var(--td-text-color-disabled);
|
||||
|
||||
.t-icon {
|
||||
color: var(--td-text-color-disabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:root[theme-mode='dark'] .permissions-popup-overlay .t-popup__content {
|
||||
background: rgba(36, 36, 36, 0.92) !important;
|
||||
border-color: rgba(255, 255, 255, 0.08) !important;
|
||||
box-shadow:
|
||||
0 0 0 0.5px rgba(255, 255, 255, 0.05),
|
||||
0 2px 4px rgba(0, 0, 0, 0.12),
|
||||
0 8px 32px rgba(0, 0, 0, 0.28) !important;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.permissions-popup-overlay .permissions-compact.permissions-compact--popover .permissions-compact-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* t-popup 挂到 body,需全局样式;z-index 需高于设置全屏遮罩(2000)。 */
|
||||
.member-invite-popup-overlay {
|
||||
z-index: 3050 !important;
|
||||
|
||||
Reference in New Issue
Block a user