add permisson for create admin block

This commit is contained in:
smanylov
2026-05-20 16:23:19 +07:00
parent 5117878185
commit 85281f1fb1
13 changed files with 405 additions and 201 deletions
+28 -7
View File
@@ -6,6 +6,19 @@
overflow-y: auto;
background: white;
border-radius: 12px;
}
.create-staff-window {
background: var(--surface);
box-shadow: var(--shadow);
border-radius: 12px;
overflow: hidden;
margin-bottom: 24px;
padding: 1.5rem;
}
.edit-permissions-modal,
.create-staff-window {
.modal-header {
margin-bottom: 24px;
@@ -20,6 +33,21 @@
}
}
.permissions-section-title {
border-top: 1px solid #e9ecef;
margin-bottom: 20px;
padding-top: 20px;
}
.checkbox-label {
display: flex;
gap: 10px;
input {
width: auto;
}
}
.permissions-list {
display: flex;
flex-direction: column;
@@ -27,17 +55,10 @@
margin-bottom: 28px;
.permission-item {
/* border: 1px solid #e9ecef; */
border-radius: 12px;
transition: all 0.2s ease;
/* &:hover {
border-color: #dee2e6;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
} */
.permission-header {
/* padding: 20px; */
display: flex;
align-items: center;
justify-content: space-between;
+5
View File
@@ -289,4 +289,9 @@
.password-wrapper {
position: relative;
}
.checkbox-label {
display: flex;
gap: 10px;
}