[Frontend] New custom radio mctControl

open #638
Markup and initial CSS
This commit is contained in:
Charles Hacskaylo
2016-02-02 09:39:29 -08:00
committed by Henry
parent 6fb6761abf
commit f1b6d7f749
4 changed files with 265 additions and 206 deletions

View File

@@ -109,7 +109,8 @@
font-size: 0.7rem;
}
label.checkbox.custom {
label.checkbox.custom,
label.radio.custom {
$bg: pullForward($colorBodyBg, 10%);
$d: $formRowCtrlsH;
cursor: pointer;
@@ -157,11 +158,13 @@ label.checkbox.custom {
&:checked ~ em:before {
background: $colorCheck;
color: lighten($colorCheck, 50%);
content: "2";
}
}
}
label.checkbox.custom input:checked ~ em:before { content: "\32"; }
label.radio.custom input:checked ~ em:before { content: "\e607"; }
.input-labeled {
margin-left: $interiorMargin;
label {