mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 10:26:21 +00:00
129 lines
2.4 KiB
CSS
129 lines
2.4 KiB
CSS
|
/* User Permissions Component */
|
||
|
|
||
|
.vc-permviewer-userperms-title-container {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
.vc-permviewer-userperms-title {
|
||
|
margin-top: 10px;
|
||
|
margin-bottom: 6px;
|
||
|
}
|
||
|
|
||
|
.vc-permviewer-userperms-permdetails-btn {
|
||
|
all: unset;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.vc-permviewer-userperms-toggleperms-btn {
|
||
|
all: unset;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
/* 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;
|
||
|
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: 165px;
|
||
|
}
|
||
|
|
||
|
.vc-permviewer-perms-list-item > div {
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.vc-permviewer-perms-list-item-active {
|
||
|
background-color: var(--background-modifier-selected);
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.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: 25px;
|
||
|
height: 25px;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
|
||
|
.vc-permviewer-perms-perms-item .vc-info-icon {
|
||
|
color: var(--interactive-muted);
|
||
|
cursor: pointer;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
scale: 0.9;
|
||
|
}
|
||
|
|
||
|
.vc-permviewer-perms-perms-item .vc-info-icon:hover {
|
||
|
color: var(--interactive-active);
|
||
|
}
|