Skip to content

Commit

Permalink
disabled state updates (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeteSchuster authored Feb 13, 2019
1 parent fe9ea10 commit a2dccf7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/sass/all-digital/components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@include button-active;
}

&.is-disabled,
&:disabled {
opacity: 0.4;
border-color: $button-border-color !important;
Expand Down Expand Up @@ -69,6 +70,7 @@
background-color: map-get($ui-blue-map, button-background-color-active);
}

&.is-disabled,
&:disabled {
color: map-get($ui-blue-map, button-text-color) !important;
border-color: map-get($ui-blue-map, button-border-color) !important;
Expand Down Expand Up @@ -117,6 +119,7 @@
background-color: $button-primary-background-color-active;
}

&.is-disabled,
&:disabled {
border-color: $button-primary-border-color !important;
background-color: $button-primary-background-color !important;
Expand Down Expand Up @@ -160,6 +163,7 @@
color: map-get($ui-blue-map, button-primary-text-color-active);
}

&.is-disabled,
&:disabled {
border-color: map-get($ui-blue-map, button-primary-border-color) !important;
background-color: map-get($ui-blue-map, button-primary-background-color) !important;
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/all-digital/components/_form-toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
}

input:disabled ~ & {
opacity: 0.8;
opacity: 0.4;
}

input:focus ~ & {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-digital",
"version": "2.6.0",
"version": "2.7.0",
"description": "CSS for All Digital",
"repository": {
"type": "git",
Expand Down

0 comments on commit a2dccf7

Please sign in to comment.