Updated Payment Buttons

The payment buttons now match the style of the verified upgrade buttons.

XCOM-422
This commit is contained in:
Clinton Blackburn
2015-06-19 01:19:36 -04:00
committed by Clinton Blackburn
parent 6d121dc5ad
commit 1281532be5
3 changed files with 6 additions and 3 deletions

View File

@@ -68,6 +68,9 @@ var edx = edx || {};
templateContext.requirements,
function( isVisible ) { return isVisible; }
),
// This a hack to appease /lms/static/js/spec/verify_student/pay_and_verify_view_spec.js,
// which does not load an actual template context.
processors = templateContext.processors || [],
self = this;
// Track a virtual pageview, for easy funnel reconstruction.
@@ -100,7 +103,7 @@ var edx = edx || {};
);
// create a button for each payment processor
_.each(templateContext.processors, function(processorName) {
_.each(processors.reverse(), function(processorName) {
$( 'div.payment-buttons' ).append( self._getPaymentButtonHtml(processorName) );
});

View File

@@ -69,7 +69,7 @@
@include margin-left( ($baseline/2) );
&.is-selected {
background: $m-blue-d3 !important;
background: $m-green-s1 !important;
}
}
}

View File

@@ -165,7 +165,7 @@
// elements - controls
.action-primary {
@extend %btn-primary-blue;
@extend %btn-verify-primary;
// needed for override due to .register a:link styling
border: 0 !important;
color: $white !important;