Skip to content

Commit

Permalink
Merge pull request #35 from LazeMSS/development
Browse files Browse the repository at this point in the history
Quick fix for broken disabled buttons
  • Loading branch information
LazeMSS authored Oct 24, 2021
2 parents d89526c + c3d1a3a commit d4b63e4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions css/darkgreen.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ h1, h2, h3, h4 {
background-color: var(--lighterish);
color: var(--white);
}
.btn .btn-primary, .btn-primary[disabled] {
.btn .btn-primary {
background-color: var(--green);
background-image: -moz-linear-gradient(top var(--green), var(--darkgreen));
background-image: -webkit-gradient(linear,0 0,0 100%,from(var(--green)),to(var(--darkgreen)));
Expand All @@ -154,6 +154,14 @@ h1, h2, h3, h4 {
outline: 0;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0);
}
.btn.disabled,
.btn[disabled] {
background-color: transparent!important;
background-image: repeating-linear-gradient(-60deg, var(--grey4), var(--grey4) .25rem, transparent 0, transparent .5rem)!important;
color: var(--quiteWhite-dark);
opacity: .65;
}

.btn-primary {
background-color: var(--green);
background-image: -moz-linear-gradient(top var(--green), var(--darkgreen));
Expand Down Expand Up @@ -193,7 +201,7 @@ h1, h2, h3, h4 {
color: var(--white);
}
.btn.disabled, .btn[disabled] {
background-color: var(--greyple);
background-color: var(--greyple) !important;
color: var(--darkwhite);
}
.btn.disabled:hover, .btn[disabled]:hover {
Expand Down

0 comments on commit d4b63e4

Please sign in to comment.