Commit 96ca09f4 by Chris Rodriguez

Membership page label additions and fixes

parent 07fb1645
...@@ -755,7 +755,7 @@ class MembershipPageAutoEnrollSection(PageObject): ...@@ -755,7 +755,7 @@ class MembershipPageAutoEnrollSection(PageObject):
""" """
Fill in the form with the provided email and submit it. Fill in the form with the provided email and submit it.
""" """
email_selector = "{} >p>textarea".format(self.batch_enrollment_selector) email_selector = "{} textarea".format(self.batch_enrollment_selector)
enrollment_button = "{} .enrollment-button[data-action='enroll']".format(self.batch_enrollment_selector) enrollment_button = "{} .enrollment-button[data-action='enroll']".format(self.batch_enrollment_selector)
# Fill the email addresses after the email selector is visible. # Fill the email addresses after the email selector is visible.
......
...@@ -435,6 +435,12 @@ ...@@ -435,6 +435,12 @@
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
legend {
// use the same styles as H3s
font-size: 1.2em;
margin-bottom: 15px;
}
} }
.batch-enrollment, .batch-beta-testers { .batch-enrollment, .batch-beta-testers {
...@@ -478,19 +484,15 @@ ...@@ -478,19 +484,15 @@
margin: ($baseline/2) 0; margin: ($baseline/2) 0;
position: relative; position: relative;
label {
border-bottom: 1px dotted $base-font-color;
}
.hint { .hint {
@extend %t-copy-sub2; @extend %t-copy-sub2;
display: none; display: block;
position: absolute; position: absolute;
top: 15px; top: ($baseline/2);
@include left($baseline*10); left: -9999em;
padding: ($baseline/2); padding: ($baseline/2);
width: 50%; width: 50%;
background-color: $light-gray; background-color: $light-gray3;
box-shadow: 2px 2px 3px $shadow; box-shadow: 2px 2px 3px $shadow;
.hint-caret { .hint-caret {
...@@ -498,30 +500,24 @@ ...@@ -498,30 +500,24 @@
position: absolute; position: absolute;
top: 0; top: 0;
@include left(-15px); @include left(-15px);
@include border-right(8px solid $light-gray); @include border-right(8px solid $light-gray3);
@include border-left(8px solid transparent); @include border-left(8px solid transparent);
border-top: 8px solid $light-gray; border-top: 8px solid $light-gray3;
border-bottom: 8px solid transparent; border-bottom: 8px solid transparent;
} }
} }
}
/* ***
label[for="auto-enroll"]:hover + .auto-enroll-hint { * Ideally we want to handle functionality with JS.
display: block; * This functionality should eventually be moved into CS/JS, and out of here. */
} .has-hint:hover > .hint {
@include left($baseline*10);
label[for="auto-enroll-beta"]:hover + .auto-enroll-beta-hint { }
width: 30%;
display: block; .has-hint input:focus ~ .hint {
} @include left($baseline*10);
}
label[for="email-students"]:hover + .email-students-hint { /* *** */
display: block;
}
label[for="email-students-beta"]:hover + .email-students-beta-hint {
width: 30%;
display: block;
} }
.enroll-actions { .enroll-actions {
...@@ -595,6 +591,7 @@ ...@@ -595,6 +591,7 @@
border-bottom: 1px solid $light-gray; border-bottom: 1px solid $light-gray;
} }
th,
td { td {
@extend %t-copy-sub1; @extend %t-copy-sub1;
vertical-align: middle; vertical-align: middle;
......
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