edx.org: revises iframe-based register/status buttons to match revised styles
This commit is contained in:
committed by
Don Mitchell
parent
cc95d004b5
commit
3094471efc
@@ -43,9 +43,14 @@
|
||||
text-align: center;
|
||||
text-shadow: none;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0;
|
||||
|
||||
&.disabled, &[disabled] {
|
||||
&.disabled, &[disabled], &.is-disabled {
|
||||
background: $m-gray-d3;
|
||||
|
||||
&:hover {
|
||||
background: $m-gray-d3 !important; // needed for IE currently
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,6 +78,7 @@
|
||||
|
||||
&.disabled, &[disabled] {
|
||||
box-shadow: none;
|
||||
background: $m-gray-d3; // needed for IE currently
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,6 +106,7 @@
|
||||
|
||||
&.disabled, &[disabled] {
|
||||
box-shadow: none;
|
||||
background: $m-gray-d3; // needed for IE currently
|
||||
}
|
||||
}
|
||||
|
||||
@@ -142,7 +149,7 @@
|
||||
}
|
||||
|
||||
.action {
|
||||
@include font-size(16);
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
|
||||
// register or access courseware
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
%elif allow_registration:
|
||||
<a class="action action-register register" href="#">Register for <strong>${course.number}</strong></a>
|
||||
%else:
|
||||
<div class="action registration-closed">Registration Is Closed</div>
|
||||
<div class="action registration-closed is-disabled">Registration Is Closed</div>
|
||||
%endif
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user