.menu-group a.active {
|
color: #fff;
|
background: rgba(255, 255, 255, 0.18);
|
font-weight: 700;
|
}
|
|
.role-page,
|
.role-form-page {
|
flex: 1;
|
padding: 12px 16px 24px;
|
background: #f6f8fb;
|
}
|
|
.role-card,
|
.role-form-card {
|
min-height: calc(100vh - 108px);
|
padding: 0 14px 28px;
|
border: 1px solid #d8dce2;
|
background: #fff;
|
}
|
|
.role-card h1,
|
.role-form-header h1 {
|
margin: 0;
|
color: #111827;
|
font-size: 16px;
|
font-weight: 800;
|
}
|
|
.role-card h1 {
|
height: 38px;
|
display: flex;
|
align-items: center;
|
}
|
|
.role-query {
|
min-height: 88px;
|
display: grid;
|
grid-template-columns: 260px 1fr;
|
align-items: center;
|
gap: 16px;
|
padding: 0 28px;
|
border: 1px solid #cfd5de;
|
border-radius: 4px;
|
}
|
|
.role-query label {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
color: #111827;
|
font-size: 12px;
|
font-weight: 700;
|
}
|
|
.role-query input {
|
width: 142px;
|
height: 26px;
|
padding: 0 8px;
|
border: 1px solid #cbd2dc;
|
outline: 0;
|
color: #1f2d3d;
|
background: #fff;
|
font-size: 12px;
|
}
|
|
.role-query-actions {
|
display: flex;
|
justify-content: flex-end;
|
gap: 24px;
|
}
|
|
.role-reset,
|
.role-search,
|
.role-toolbar button,
|
.role-back {
|
height: 28px;
|
min-width: 64px;
|
border-radius: 4px;
|
font-size: 12px;
|
cursor: pointer;
|
}
|
|
.role-reset,
|
.role-back {
|
border: 1px solid #cdd8e5;
|
color: #111827;
|
background: #fff;
|
}
|
|
.role-search,
|
.role-toolbar button {
|
border: 1px solid #1685ff;
|
color: #fff;
|
background: #1685ff;
|
}
|
|
.role-toolbar {
|
height: 58px;
|
display: flex;
|
align-items: flex-end;
|
justify-content: flex-end;
|
}
|
|
.role-toolbar button {
|
width: 104px;
|
height: 32px;
|
}
|
|
.role-table {
|
width: 100%;
|
border-collapse: collapse;
|
table-layout: fixed;
|
border: 1px solid #d8dce2;
|
color: #111827;
|
font-size: 14px;
|
}
|
|
.role-table th,
|
.role-table td {
|
height: 36px;
|
padding: 0 12px;
|
text-align: left;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.role-table th {
|
background: #ececec;
|
font-weight: 700;
|
}
|
|
.role-table tbody tr:nth-child(even) {
|
background: #f1f1f1;
|
}
|
|
.role-table th:nth-child(1),
|
.role-table td:nth-child(1) {
|
width: 64px;
|
}
|
|
.role-table th:nth-child(2),
|
.role-table td:nth-child(2) {
|
width: 170px;
|
}
|
|
.role-table th:nth-child(3),
|
.role-table td:nth-child(3) {
|
width: 140px;
|
}
|
|
.role-table th:nth-child(4),
|
.role-table td:nth-child(4) {
|
width: 190px;
|
}
|
|
.role-table th:nth-child(6),
|
.role-table td:nth-child(6) {
|
width: 200px;
|
text-align: center;
|
}
|
|
.role-actions {
|
display: flex;
|
justify-content: center;
|
gap: 12px;
|
}
|
|
.role-actions button {
|
border: 0;
|
color: #1685ff;
|
background: transparent;
|
font-size: 13px;
|
cursor: pointer;
|
}
|
|
.role-actions button:disabled {
|
color: #b6beca;
|
cursor: not-allowed;
|
}
|
|
.role-empty {
|
padding: 34px;
|
border: 1px solid #d8dce2;
|
border-top: 0;
|
color: #8a9ab0;
|
text-align: center;
|
font-size: 13px;
|
}
|
|
.role-pagination {
|
height: 60px;
|
display: flex;
|
align-items: center;
|
justify-content: flex-end;
|
gap: 18px;
|
color: #606f83;
|
font-size: 12px;
|
}
|
|
.role-pagination button {
|
min-width: 22px;
|
height: 22px;
|
border: 0;
|
color: #606f83;
|
background: transparent;
|
cursor: pointer;
|
}
|
|
.role-pagination button.active {
|
color: #1685ff;
|
}
|
|
.role-pagination select,
|
.role-pagination input {
|
height: 24px;
|
border: 1px solid #d8e2ee;
|
color: #606f83;
|
background: #fff;
|
font-size: 12px;
|
}
|
|
.role-pagination input {
|
width: 42px;
|
padding: 0 6px;
|
}
|
|
.role-form-card {
|
padding: 0 18px 96px;
|
position: relative;
|
}
|
|
.role-form-header {
|
height: 50px;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
}
|
|
.role-back {
|
width: 96px;
|
height: 34px;
|
}
|
|
.role-form {
|
display: grid;
|
grid-template-columns: 280px minmax(360px, 582px);
|
gap: 220px;
|
padding: 6px 28px 22px;
|
}
|
|
.role-field {
|
display: grid;
|
gap: 12px;
|
color: #111827;
|
font-size: 14px;
|
font-weight: 700;
|
}
|
|
.role-field.required > span::before,
|
.role-permission-section h2 span {
|
content: "*";
|
margin-right: 8px;
|
color: #f15a5a;
|
font-weight: 400;
|
}
|
|
.role-field input {
|
width: 100%;
|
height: 38px;
|
padding: 0 10px;
|
border: 1px solid #cbd2dc;
|
border-radius: 4px;
|
outline: 0;
|
color: #1f2d3d;
|
}
|
|
.role-field input:disabled {
|
color: #111827;
|
border-color: transparent;
|
background: transparent;
|
font-weight: 700;
|
}
|
|
.role-divider {
|
height: 6px;
|
margin: 0 -18px 18px;
|
background: #edf0f3;
|
}
|
|
.role-permission-section {
|
padding: 0 34px;
|
}
|
|
.role-permission-section h2 {
|
margin: 0 0 26px;
|
color: #111827;
|
font-size: 15px;
|
font-weight: 800;
|
}
|
|
.role-detail-tab {
|
width: 32px;
|
margin: 8px 0 18px;
|
padding-bottom: 6px;
|
border-bottom: 2px solid #1685ff;
|
color: #1685ff;
|
font-weight: 700;
|
}
|
|
.permission-table {
|
width: min(100%, 1096px);
|
border-collapse: collapse;
|
table-layout: fixed;
|
border: 1px solid #d7dce4;
|
color: #111827;
|
font-size: 14px;
|
}
|
|
.permission-table th,
|
.permission-table td {
|
min-height: 36px;
|
height: 36px;
|
padding: 0 12px;
|
border: 1px solid #d7dce4;
|
vertical-align: middle;
|
}
|
|
.permission-table th {
|
text-align: center;
|
font-weight: 400;
|
}
|
|
.permission-table th:nth-child(1),
|
.permission-table td:nth-child(1) {
|
width: 180px;
|
}
|
|
.permission-table th:nth-child(2),
|
.permission-table td:nth-child(2) {
|
width: 180px;
|
}
|
|
.permission-check {
|
display: inline-flex;
|
align-items: center;
|
gap: 8px;
|
min-width: 106px;
|
margin: 4px 8px 4px 0;
|
color: #111827;
|
white-space: nowrap;
|
}
|
|
.permission-check input {
|
width: 14px;
|
height: 14px;
|
}
|
|
.permission-check input:disabled + span {
|
color: #c3c9d2;
|
}
|
|
.role-form-actions {
|
position: absolute;
|
right: 42px;
|
bottom: 28px;
|
display: flex;
|
gap: 22px;
|
}
|
|
.role-form-actions button {
|
width: 72px;
|
height: 30px;
|
}
|
|
@media (max-width: 1360px) {
|
.role-form {
|
grid-template-columns: 280px minmax(360px, 1fr);
|
gap: 140px;
|
}
|
}
|