Commit 4e83f748 by Brian Talbot

pearson registration - revised contact calls to action and order in status…

pearson registration - revised contact calls to action and order in status section, edited flash message copy/styling, added in strawman state for disabled form/closed registration state of form, added in strawman state for demographics rejected flash message, revised accomodations text labe and isntructions
parent 8e059ff9
...@@ -10,6 +10,11 @@ $red: rgb(178, 6, 16); ...@@ -10,6 +10,11 @@ $red: rgb(178, 6, 16);
@include clearfix; @include clearfix;
padding: 60px 0px 120px; padding: 60px 0px 120px;
// reset - horrible, but necessary
p, a, h1, h2, h3, h4, h5, h6 {
font-family: $sans-serif !important;
}
// basic layout // basic layout
.introduction { .introduction {
width: flex-grid(12); width: flex-grid(12);
...@@ -74,7 +79,6 @@ $red: rgb(178, 6, 16); ...@@ -74,7 +79,6 @@ $red: rgb(178, 6, 16);
.instructions, .note { .instructions, .note {
margin: 0; margin: 0;
padding: ($baseline*1.5) ($baseline*1.5) 0 ($baseline*1.5); padding: ($baseline*1.5) ($baseline*1.5) 0 ($baseline*1.5);
font-family: $sans-serif;
font-size: 14px; font-size: 14px;
color: tint($base-font-color, 20%); color: tint($base-font-color, 20%);
...@@ -106,6 +110,11 @@ $red: rgb(178, 6, 16); ...@@ -106,6 +110,11 @@ $red: rgb(178, 6, 16);
letter-spacing: 0; letter-spacing: 0;
padding: ($baseline*0.75) $baseline; padding: ($baseline*0.75) $baseline;
text-align: center; text-align: center;
&:disabled {
opacity: 0.3;
}
} }
.action-primary { .action-primary {
...@@ -181,7 +190,6 @@ $red: rgb(178, 6, 16); ...@@ -181,7 +190,6 @@ $red: rgb(178, 6, 16);
border: 1px solid #C8C8C8; border: 1px solid #C8C8C8;
padding: $baseline ($baseline*0.75); padding: $baseline ($baseline*0.75);
background: #FAFAFA; background: #FAFAFA;
font-family: $sans-serif;
} }
} }
...@@ -278,6 +286,25 @@ $red: rgb(178, 6, 16); ...@@ -278,6 +286,25 @@ $red: rgb(178, 6, 16);
} }
} }
} }
&.disabled {
> .instructions {
display: none;
}
.field {
opacity: 0.5;
.label {
cursor: default;
}
}
.form-actions {
display: none;
}
}
} }
// form - specifics // form - specifics
...@@ -287,13 +314,19 @@ $red: rgb(178, 6, 16); ...@@ -287,13 +314,19 @@ $red: rgb(178, 6, 16);
&.is-shown { &.is-shown {
display: block; display: block;
} }
&.disabled {
fieldset {
opacity: 0.5;
}
}
} }
.form-fields-secondary-visibility { .form-fields-secondary-visibility {
display: block; display: block;
margin: 0; margin: 0;
padding: $baseline ($baseline*1.5) 0 ($baseline*1.5); padding: $baseline ($baseline*1.5) 0 ($baseline*1.5);
font-family: $sans-serif;
font-size: 13px; font-size: 13px;
&.is-hidden { &.is-hidden {
...@@ -321,7 +354,6 @@ $red: rgb(178, 6, 16); ...@@ -321,7 +354,6 @@ $red: rgb(178, 6, 16);
margin: 0 0 ($baseline/4) 0; margin: 0 0 ($baseline/4) 0;
padding: 0; padding: 0;
font-size: 13px; font-size: 13px;
font-family: $sans-serif;
} }
.label, .value { .label, .value {
...@@ -407,6 +439,12 @@ $red: rgb(178, 6, 16); ...@@ -407,6 +439,12 @@ $red: rgb(178, 6, 16);
color: green; color: green;
content: "processed"; content: "processed";
} }
&.status-registration {
.exam-link {
font-weight: 600 !important;
}
}
} }
&.status-pending { &.status-pending {
...@@ -473,6 +511,10 @@ $red: rgb(178, 6, 16); ...@@ -473,6 +511,10 @@ $red: rgb(178, 6, 16);
} }
// actions // actions
.contact-link {
font-weight: 600;
}
.actions { .actions {
@include box-shadow(inset 0 1px 1px 0px rgba(0,0,0,0.2)); @include box-shadow(inset 0 1px 1px 0px rgba(0,0,0,0.2));
border-top: 1px solid tint(rgb(0,0,0), 90%); border-top: 1px solid tint(rgb(0,0,0), 90%);
...@@ -565,6 +607,7 @@ $red: rgb(178, 6, 16); ...@@ -565,6 +607,7 @@ $red: rgb(178, 6, 16);
.value { .value {
color: rgb(0,0,0); color: rgb(0,0,0);
font-weight: 600;
} }
} }
...@@ -598,7 +641,6 @@ $red: rgb(178, 6, 16); ...@@ -598,7 +641,6 @@ $red: rgb(178, 6, 16);
} }
.message-copy { .message-copy {
font-family: $sans-serif;
font-size: 14px; font-size: 14px;
} }
...@@ -614,15 +656,18 @@ $red: rgb(178, 6, 16); ...@@ -614,15 +656,18 @@ $red: rgb(178, 6, 16);
font-size: 14px; font-size: 14px;
.message-title, .message-copy { .message-title, .message-copy {
font-family: $sans-serif;
font-size: 14px;
} }
.message-title { .message-title {
font-weight: bold; font-weight: bold;
font-size: 16px;
margin: 0 0 ($baseline/4) 0; margin: 0 0 ($baseline/4) 0;
} }
.message-copy {
font-size: 14px;
}
.contact-button { .contact-button {
@include button(simple, $blue); @include button(simple, $blue);
} }
......
...@@ -13,7 +13,8 @@ label { ...@@ -13,7 +13,8 @@ label {
textarea, textarea,
input[type="text"], input[type="text"],
input[type="email"], input[type="email"],
input[type="password"] { input[type="password"],
input[type="tel"] {
background: rgb(250,250,250); background: rgb(250,250,250);
border: 1px solid rgb(200,200,200); border: 1px solid rgb(200,200,200);
@include border-radius(3px); @include border-radius(3px);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment