Commit 445cf39f by Frances Botsford Committed by Diana Huang

updated styling for marketing side register button to accommodate second line of text

parent c8fdf6ad
...@@ -156,6 +156,19 @@ ...@@ -156,6 +156,19 @@
&.action-register, &.access-courseware { &.action-register, &.access-courseware {
@extend .m-btn-primary; @extend .m-btn-primary;
display: block; display: block;
.track {
@include transition(all 0.25s ease-in-out);
color: #fff;
display: block;
font-size: 13px;
line-height: 2;
opacity: .6;
}
&:hover .track {
opacity: 1;
}
} }
// already registered but course not started or registration is closed // already registered but course not started or registration is closed
......
...@@ -54,8 +54,9 @@ ...@@ -54,8 +54,9 @@
%elif allow_registration: %elif allow_registration:
<a class="action action-register register" href="#">${_("Register for")} <strong>${course.display_number_with_default | h}</strong> <a class="action action-register register" href="#">${_("Register for")} <strong>${course.display_number_with_default | h}</strong>
%if len(course_modes) > 1: %if len(course_modes) > 1:
<br /> <span class="track">
and choose your student track and choose your student track
</span>
%endif %endif
</a> </a>
%else: %else:
......
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