Merge pull request #886 from edx/talbs/lms-disabledui
LMS: General Disabled Link/Button State Styling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user