Skip to content

Commit

Permalink
fix color values for disabled fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nkan-aot2 committed Nov 19, 2024
1 parent 04c3c0c commit 78627fd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,20 @@

.MuiFormLabel-root.Mui-disabled {
font-family: "BCSans-Bold", sans-serif !important;
color: rgba(0, 0, 0, 0.58) !important;
color: black !important;
}

input.MuiInputBase-input.Mui-disabled {
.MuiInputBase-input.Mui-disabled {
background-color: #EEEEEE;
color: rgba(0, 0, 0, 0.58);
color: black;
}

// .Mui-disabled.MuiInputBase-root {
// background-color: #EEEEEE;
// }

.request-flag .MuiInputBase-input.Mui-disabled {
background-color: transparent !important;
}

.PrivateNotchedOutline-legendLabelled-4 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ export const CFRForm = ({
component="form"
sx={{
'& .MuiTextField-root': { my: 1, mx: 0 },
'& .Mui-disabled': { '-webkit-text-fill-color': "black !important" },
'& .MuiInputBase-root.Mui-disabled': { 'background-color': "#eee !important" },
}}
autoComplete="off"
>
Expand Down

0 comments on commit 78627fd

Please sign in to comment.