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

This commit is contained in:
Frances Botsford
2013-08-16 09:18:23 -04:00
committed by Diana Huang
parent c8fdf6ad29
commit 445cf39f8b
2 changed files with 15 additions and 1 deletions

View File

@@ -156,6 +156,19 @@
&.action-register, &.access-courseware {
@extend .m-btn-primary;
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

View File

@@ -54,8 +54,9 @@
%elif allow_registration:
<a class="action action-register register" href="#">${_("Register for")} <strong>${course.display_number_with_default | h}</strong>
%if len(course_modes) > 1:
<br />
<span class="track">
and choose your student track
</span>
%endif
</a>
%else: