Commit 66af4db9 by cahrens

Explicitly declare disabled button css opacity.

Previously this was happening in LMS through edx-platform CSS, but it was not happening in Studio.
parent dfe669e7
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
color: $action-primary-color-disabled; color: $action-primary-color-disabled;
border-color: $action-primary-color-disabled; border-color: $action-primary-color-disabled;
background: $action-primary-color-disabled-back; background: $action-primary-color-disabled-back;
opacity: 1;
} }
} }
...@@ -134,5 +135,6 @@ ...@@ -134,5 +135,6 @@
background: $white; background: $white;
border-color: $action-primary-color-disabled; border-color: $action-primary-color-disabled;
color: $action-primary-color-disabled; color: $action-primary-color-disabled;
opacity: 1;
} }
} }
...@@ -288,6 +288,14 @@ ...@@ -288,6 +288,14 @@
} }
/** /**
* Set opacity on buttons to 50% (which matches LMS styling).
*/
button[disabled] {
opacity: 0.5;
}
/**
* Remove inner padding and border in Firefox 4+. * Remove inner padding and border in Firefox 4+.
*/ */
......
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