edx.org: revises iframe-based register/status buttons to match revised styles

This commit is contained in:
Brian Talbot
2013-07-24 11:40:37 -04:00
committed by Don Mitchell
parent cc95d004b5
commit 3094471efc
3 changed files with 11 additions and 11 deletions

View File

@@ -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

View File

@@ -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