Updated margins on radio buttons
Flat UI style radio buttons on account page
This commit is contained in:
@ -1189,9 +1189,4 @@ input[type="color"],
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.radio + .radio,
|
|
||||||
.checkbox + .checkbox {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
}
|
@ -37,7 +37,10 @@ body {
|
|||||||
border-color: #333;
|
border-color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-horizontal .radio {
|
.form-horizontal .radio,
|
||||||
|
.form-horizontal .radio-inline {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 12px;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,12 +26,12 @@ block content
|
|||||||
.form-group
|
.form-group
|
||||||
label.col-sm-2.control-label(for='name') Gender
|
label.col-sm-2.control-label(for='name') Gender
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
label.radio-inline
|
label.radio
|
||||||
input(checked=user.profile.gender=='male', name='gender', type='radio', value='male')
|
input(type='radio', checked=user.profile.gender=='male', name='gender', value='male', data-toggle='radio')
|
||||||
span Male
|
| Male
|
||||||
label.radio-inline
|
label.radio
|
||||||
input(checked=user.profile.gender=='female', name='gender', type='radio', value='female')
|
input(type='radio', checked=user.profile.gender=='female', name='gender', value='female', data-toggle='radio')
|
||||||
span Female
|
| Female
|
||||||
.form-group
|
.form-group
|
||||||
// TODO: differentiate between username as email
|
// TODO: differentiate between username as email
|
||||||
label.col-sm-2.control-label(for='email') Email
|
label.col-sm-2.control-label(for='email') Email
|
||||||
|
Reference in New Issue
Block a user