scratch-www/src/views/teacherregistration/teacherregistration.scss

206 lines
3.6 KiB
SCSS
Raw Normal View History

2016-06-15 15:08:56 -04:00
@import "../../colors";
2016-06-23 07:27:43 -04:00
@import "../../frameless";
@include responsive-layout (".teacher-registration", ".slide");
2016-06-15 15:08:56 -04:00
html,
body {
background-color: $ui-purple;
}
2016-04-07 13:45:30 -04:00
.teacher-registration {
2016-06-15 15:08:56 -04:00
background-color: $ui-purple;
2016-06-23 07:27:43 -04:00
.demographics-checkbox-is-robot {
display: none;
}
.gender-input,
.other-input {
float: right;
width: 90%;
.row {
margin-left: .5rem;
}
2016-06-23 07:27:43 -04:00
}
.username-step,
.name-step,
.address-step,
.email-step {
.help-block {
transform: translate(15.5rem, -4rem);
2016-06-15 15:08:56 -04:00
}
2016-04-07 13:45:30 -04:00
}
2016-06-23 07:27:43 -04:00
.demographics-step {
.gender-input {
margin-top: -5.5rem;
}
2016-06-23 07:27:43 -04:00
.help-block {
transform: translate(14rem, -4rem);
2016-06-15 15:08:56 -04:00
}
.radio {
margin-right: 2.5rem;
line-height: 3rem;
input {
margin-right: 1rem;
}
}
2016-06-15 15:08:56 -04:00
}
2016-06-23 07:27:43 -04:00
.phone-step {
.form-group {
margin-bottom: 2rem;
}
input {
&[type=checkbox] {
margin-bottom: 1.25rem;
}
}
.help-block {
margin-top: .7rem;
}
.checkbox-row {
.help-block {
margin-top: 0;
}
}
2016-04-07 13:45:30 -04:00
}
2016-06-23 07:27:43 -04:00
.organization-step {
.help-block {
transform: translate(16rem, -4rem);
}
.organization-type,
.url-input {
p {
margin: .25rem 0;
text-align: left;
color: $ui-dark-gray;
}
}
input {
&[value="8"] {
margin: 1rem 0;
}
}
.other-input {
margin-top: -5.75rem;
}
2016-06-16 10:54:36 -04:00
}
2016-06-23 07:27:43 -04:00
.usescratch-step {
.form {
.form-group {
margin-bottom: 0;
&.has-error {
.textarea {
border: 1px solid $ui-orange;
}
}
2016-06-23 07:27:43 -04:00
}
2016-06-23 07:27:43 -04:00
}
.help-block {
margin-top: .75rem;
}
p {
&.char-count {
margin-top: 0;
margin-bottom: 1rem;
text-align: right;
}
}
}
.last-step {
&.slide {
max-width: 38.75rem;
}
.card {
margin: 1rem 0;
padding: 1.5rem;
width: initial;
h4,
p {
text-align: left;
}
p {
margin: 0;
}
}
}
}
@media only screen and (max-width: $mobile - 1) {
.teacher-registration {
.demographics-step {
.radio {
width: 100%;
text-align: left;
}
}
.last-step {
.card {
margin: 0 auto;
width: 18.75rem;
}
}
}
}
2016-06-23 07:27:43 -04:00
@media only screen and (max-width: $desktop - 1) {
.teacher-registration {
.username-step,
.demographics-step,
.name-step {
2016-06-23 07:27:43 -04:00
.help-block {
transform: none;
}
}
.phone-step {
.checkbox,
.help-block {
text-align: left;
}
.checkbox {
margin-bottom: 1rem;
}
}
.organization-step {
.organization-type,
.url-input {
p {
text-align: center;
}
}
.checkbox-group {
text-align: left;
}
}
2016-06-06 15:50:31 -04:00
}
2016-04-07 13:45:30 -04:00
}