MonScoDocEssai/app/static/css/role_editor.css

42 lines
566 B
CSS

.help {
margin-bottom: 24px;
}
section#roles {
background-color: #fffaf4;
}
.role {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-bottom: 32px;
}
.role>div, .role span {
display: block;
padding: 4px 8px;
border: 1px solid #aaa;
border-radius: 4px;
}
.role input {
display: none;
}
.role input:checked:not([value=aucun])+span {
background: rgb(165, 6, 59);
border-color: rgb(165, 6, 59);
color: #fff;
}
.role>:nth-child(1) {
background: #09c;
border-color: #09c;
color: #fff;
}
.permission-roles label {
font-weight: normal;
}