Commit 1281532b by Clinton Blackburn Committed by Clinton Blackburn

Updated Payment Buttons

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

XCOM-422
parent 6d121dc5
......@@ -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) );
});
......
......@@ -69,7 +69,7 @@
@include margin-left( ($baseline/2) );
&.is-selected {
background: $m-blue-d3 !important;
background: $m-green-s1 !important;
}
}
}
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment