updated styling for marketing side register button to accommodate second line of text
This commit is contained in:
committed by
Diana Huang
parent
c8fdf6ad29
commit
445cf39f8b
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user