misuzu/assets/less/classes/settings/role.less

67 lines
1.3 KiB
Text
Raw Normal View History

2018-11-17 20:37:18 +00:00
.settings__role {
border: 1px solid var(--accent-colour);
background-color: var(--accent-colour);
border-radius: 2px;
margin: 2px;
2018-11-17 21:59:01 +00:00
overflow: hidden;
2018-11-17 20:37:18 +00:00
width: 200px;
&__collection {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 2px;
}
&__content {
background-color: var(--background-colour-translucent);
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
&__name {
font-size: 1.2em;
line-height: 1.7em;
border-bottom: 1px solid var(--accent-colour);
padding: 0 5px;
}
&__description {
font-size: .9em;
line-height: 1.8em;
padding: 0 2px;
margin: 0 2px;
flex: 1 1 auto;
}
&__options {
flex: 0 0 auto;
display: flex;
font-size: 1.5em;
justify-content: space-evenly;
}
&__option {
border: 0;
background: transparent;
color: inherit;
font: inherit;
text-shadow: inherit;
transition: color .2s;
flex: 0 0 auto;
width: 40px;
height: 40px;
&:not(&--disabled):hover {
color: var(--accent-colour);
cursor: pointer;
}
&--disabled {
opacity: .2;
}
}
}