/* User Permissions Component */ .vc-permviewer-userperms-title-container { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; margin-bottom: 6px; } .vc-permviewer-userperms-btns-container { display: flex; align-items: center; } .vc-permviewer-userperms-sortorder-btn { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; } .vc-permviewer-userperms-permdetails-btn { all: unset; cursor: pointer; display: flex; align-items: center; } .vc-permviewer-userperms-toggleperms-btn { all: unset; cursor: pointer; display: flex; align-items: center; } /* RolesAndUsersPermissions Component */ .vc-permviewer-perms-title { flex-grow: 1; } .vc-permviewer-perms-no-perms { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; } .vc-permviewer-perms-container { display: grid; grid-template-columns: 1fr 2fr; grid-template-areas: "list permissions"; padding: 16px 0; } .vc-permviewer-perms-list { grid-area: list; display: flex; flex-direction: column; gap: 2px; border-right: 2px solid var(--background-modifier-active); } .vc-permviewer-perms-list-item-btn { all: unset; cursor: pointer; } .vc-permviewer-perms-list-item { display: flex; align-items: center; padding: 8px 5px; cursor: pointer; width: 230px; border-radius: 5px; } .vc-permviewer-perms-list-item:hover { background-color: var(--background-modifier-hover); } .vc-permviewer-perms-list-item-active { background-color: var(--background-modifier-selected); } .vc-permviewer-perms-list-item > div { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .vc-permviewer-perms-role-circle { border-radius: 50%; width: 12px; height: 12px; margin-left: 3px; margin-right: 11px; flex-shrink: 0; } .vc-permviewer-perms-user-img { border-radius: 50%; width: 20px; height: 20px; margin-right: 6px; } .vc-permviewer-perms-perms { grid-area: permissions; display: flex; flex-direction: column; margin-left: 5px; } .vc-permviewer-perms-perms-item { position: relative; display: flex; align-items: center; padding: 10px; border-bottom: 2px solid var(--background-modifier-active); } .vc-permviewer-perms-perms-item:last-child { border: 0; } .vc-permviewer-perms-perms-item-icon { border: 1px solid var(--background-modifier-selected); width: 24px; height: 24px; margin-right: 5px; } .vc-permviewer-perms-perms-item .vc-info-icon { color: var(--interactive-muted); cursor: pointer; position: absolute; right: 0; scale: 0.9; transition: color ease-in 0.1s; } .vc-permviewer-perms-perms-item .vc-info-icon:hover { color: var(--interactive-active); }