misuzu/assets/less/mio/classes/permissions.less

83 lines
1.6 KiB
Text
Raw Normal View History

2018-07-08 19:24:59 +00:00
.permissions {
display: flex;
flex-direction: column;
margin-bottom: 4px;
&__line {
display: flex;
font-size: .9em;
line-height: 1.2em;
2018-07-08 19:24:59 +00:00
&--header {
font-size: 1.2em;
line-height: 1.4em;
2018-09-09 22:44:10 +00:00
border-bottom: 1px solid var(--accent-colour);
2018-07-08 19:24:59 +00:00
padding-bottom: 1px;
font-family: @mio-font-heading;
2018-07-08 19:24:59 +00:00
&:not(:first-child) {
margin-top: 4px;
}
}
@media (max-width: @site-mobile-width) {
flex-wrap: wrap;
justify-content: right;
border-bottom: 1px solid #ded5e7;
}
2018-07-08 19:24:59 +00:00
}
&__title {
flex: 1 1 auto;
padding: 4px;
}
&__line:not(&__line--header) &__title {
border-bottom: 1px solid #ded5e7;
@media (max-width: @site-mobile-width) {
width: 100%;
border-bottom-width: 0;
}
}
2018-07-08 19:24:59 +00:00
&__input {
cursor: pointer;
}
&__choice {
width: 100px;
text-align: center;
padding: 4px;
@media (max-width: @site-mobile-width) {
border-left-width: 0;
padding: 10px;
}
2018-07-08 19:24:59 +00:00
&--radio {
cursor: pointer;
2018-09-09 22:44:10 +00:00
border-left: 1px solid var(--accent-colour);
2018-07-08 19:24:59 +00:00
}
&--yes {
&:hover {
background-color: #0a0;
}
@media (max-width: @site-mobile-width) {
border-left-width: 0;
}
2018-07-08 19:24:59 +00:00
}
&--no:hover {
background-color: #a00;
}
&--never:hover {
background-color: #400;
}
}
}