scss: add :active style to custom check/radio boxes (#35359)

This commit is contained in:
Frédéric Péters 2019-08-12 08:33:06 +02:00
parent 41f0045cf4
commit b5923fa43b
1 changed files with 9 additions and 1 deletions

View File

@ -412,6 +412,14 @@ div.select2-search {
outline-offset: $widget-focus-outline-offset;
}
}
&:active + span {
&::before {
top: calc(0.33rem - 4px);
left: -4px;
border: 5px solid $widget-custom-radio-checkbox-color;
opacity: 0.5;
}
}
}
}
@ -424,7 +432,7 @@ div.select2-search {
.RadiobuttonsWidget {
input + span {
&::before {
border-radius: 6px;
border-radius: 16px;
}
&::after {
border-radius: 5px;