Revert correct .button-link.disabled styles from 441af50

This commit is contained in:
Giuseppe Criscione 2019-03-12 13:57:15 +01:00
parent fefc7d02cc
commit 6668080ba1
3 changed files with 16 additions and 6 deletions

View File

@ -418,9 +418,11 @@ button,
border-color: #e4e4e4;
background-color: #e4e4e4;
color: #444; }
button[disabled], button[disabled]:hover,
button[disabled], .button.disabled, button[disabled]:hover, .button.disabled:hover, button.disabled, button.disabled:hover,
.button[disabled],
.button[disabled]:hover {
.button[disabled]:hover,
.button.disabled,
.button.disabled:hover {
border-color: #f8f8f8;
background-color: #f8f8f8;
color: #cacaca;
@ -481,7 +483,7 @@ a.button {
color: #3498da; }
.button-link:focus {
box-shadow: none; }
.button-link[disabled], .button-link[disabled]:hover {
.button-link[disabled], .button-link[disabled]:hover, .button-link.disabled, .button-link.disabled:hover {
background-color: transparent;
cursor: default; }

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,9 @@ button,
@extend .focused;
}
&[disabled],
&[disabled]:hover {
&[disabled]:hover,
&.disabled,
&.disabled:hover {
border-color: $color-gray-xxlight;
background-color: $color-gray-xxlight;
color: $color-gray;
@ -41,6 +43,10 @@ a.button {
text-align: center;
}
.button.disabled {
@extend button[disabled];
}
.button-right {
float: right;
margin-right: 0;
@ -109,7 +115,9 @@ a.button {
box-shadow: none;
}
&[disabled],
&[disabled]:hover {
&[disabled]:hover,
&.disabled,
&.disabled:hover {
background-color: transparent;
cursor: default;
}