Skip to content

Commit

Permalink
Merge pull request #2892 from cisagov/bob/2225-disabled-styles-2
Browse files Browse the repository at this point in the history
#2225: Match disabled styles with USWDS - [BOB]
  • Loading branch information
rachidatecs authored Oct 3, 2024
2 parents 9aa3504 + 8d8b592 commit de4f2fc
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/registrar/assets/sass/_theme/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,6 @@ legend.float-left-tablet + button.float-right-tablet {
}
}

// Custom style for disabled inputs
@media (prefers-color-scheme: light) {
.usa-input:disabled, .usa-select:disabled, .usa-textarea:disabled {
background-color: #eeeeee;
color: #666666;
}
}

@media (prefers-color-scheme: dark) {
.usa-input:disabled, .usa-select:disabled, .usa-textarea:disabled {
background-color: var(--body-fg);
color: var(--close-button-hover-bg);
}
}

.read-only-label {
font-size: size('body', 'sm');
color: color('primary-dark');
Expand Down

0 comments on commit de4f2fc

Please sign in to comment.