edx.org: adds custom styling for register button in case of verified option/content displayed
This commit is contained in:
@@ -170,6 +170,10 @@
|
||||
&:hover .track {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
&.has-option-verified {
|
||||
padding-top: 12px !important;
|
||||
}
|
||||
}
|
||||
|
||||
// already registered but course not started or registration is closed
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
<div class="action is-registered">${_("You Are Registered")}</div>
|
||||
%endif
|
||||
%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 ${'has-option-verified' if len(course_modes) > 1 else ''}" href="#">${_("Register for")} <strong>${course.display_number_with_default | h}</strong>
|
||||
%if len(course_modes) > 1:
|
||||
<span class="track">
|
||||
and choose your student track
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user