Skip to content

Commit

Permalink
🚧 TMP trying to fix input colour
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Oct 17, 2022
1 parent fd5fc54 commit cf5080b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/openforms/scss/admin/_admin_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ DO NOT PUT ANY TARGET APP-SPECIFIC RULES HERE.

// custom variables
--form-input-bg: var(--body-bg);
--form-input-bg-disabled: $color_dark_light;
--react-tab-border-color: #{$color-secondary-dark};
--list-item-active-bg: #{$color-secondary};
--list-item-active-fg: var(--primary);
Expand Down
4 changes: 4 additions & 0 deletions src/openforms/scss/components/form/_form-control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@
.body {
display: block;
}

&:disabled {
background-color: var(--form-input-bg-disabled) !important;
}
}

0 comments on commit cf5080b

Please sign in to comment.