Small tweaks

1. left-align form elements even in mobile
2. Bolden input labels, except for checkboxes and radio elements

/cc @carljbowman
This commit is contained in:
Matthew Taylor 2016-06-23 15:44:14 -04:00
parent 6aeee284bc
commit 0c1abada3a
4 changed files with 26 additions and 11 deletions

View file

@ -1,6 +1,14 @@
@import "../../colors";
@import "../../frameless";
.row {
.checkbox {
label {
font-weight: 300;
}
}
}
input {
&[type=checkbox] {
display: block;

View file

@ -4,6 +4,12 @@
$base-bg: $ui-light-gray;
$pass-bg: lighten($ui-aqua, 35%);
.row {
label {
font-weight: 500;
}
}
.input {
transition: all .5s ease;
margin: .75rem 0;
@ -29,8 +35,4 @@ $pass-bg: lighten($ui-aqua, 35%);
border: 1px solid $active-dark-gray;
background-color: $pass-bg;
}
label {
font-weight: 500;
}
}

View file

@ -1,5 +1,13 @@
@import "../../colors";
.row {
.radio {
label {
font-weight: 300;
}
}
}
.col-sm-9 {
display: flex;
flex-flow: row wrap;

View file

@ -170,6 +170,10 @@ body {
@media only screen and (max-width: $desktop - 1) {
.teacher-registration {
.form {
text-align: left;
}
.username-step,
.demographics-step,
.name-step {
@ -190,13 +194,6 @@ body {
}
.organization-step {
.organization-type,
.url-input {
p {
text-align: center;
}
}
.checkbox-group {
text-align: left;
}