Skip to content

Commit

Permalink
Nest disabled File Upload button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickpatrickpatrick committed Feb 7, 2025
1 parent 82555b2 commit e9b6aaf
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@
box-shadow: inset 0 0 0 1px $govuk-focus-colour;
}
}

&:disabled {
pointer-events: none;
opacity: 0.5;
}
}

.govuk-file-upload-button--empty {
Expand All @@ -176,11 +181,6 @@
background-color: govuk-colour("light-grey");
}

.govuk-file-upload-button:disabled {
pointer-events: none;
opacity: 0.5;
}

.govuk-file-upload-button--dragging.govuk-file-upload-button {
background-color: govuk-tint(govuk-colour("mid-grey"), 20%);
}
Expand Down

0 comments on commit e9b6aaf

Please sign in to comment.