Commit 0052b87c by Brian Talbot

Merge pull request #886 from edx/talbs/lms-disabledui

LMS: General Disabled Link/Button State Styling
parents b53d5554 422c6282
......@@ -82,6 +82,12 @@ a:link, a:visited {
&:hover {
text-decoration: underline;
}
&:disabled, &.is-disabled, &.disabled {
pointer-events: none;
opacity: 0.5;
cursor: not-allowed;
}
}
a:focus {
......
......@@ -43,8 +43,7 @@ textarea {
input[type="submit"],
input[type="button"],
button,
.button {
button,.button {
border-radius: 3px;
@include button(shiny, $button-color);
font: normal 1.2rem/1.6rem $sans-serif;
......@@ -53,4 +52,10 @@ button,
text-transform: uppercase;
vertical-align: top;
-webkit-font-smoothing: antialiased;
&:disabled, &.is-disabled, &.disabled {
pointer-events: none;
opacity: 0.5;
cursor: not-allowed;
}
}
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