Skip to content

Commit

Permalink
Merge pull request #3971 from open-formulieren/fix/3958-read-only-field
Browse files Browse the repository at this point in the history
💄 [#3958] removed styling for the read-only field
  • Loading branch information
nikkiysendoorn1 authored Mar 6, 2024
2 parents 35fc9c6 + 05e0515 commit eda569e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/openforms/scss/admin/themes/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
--default-button-hover-bg: #888;

--form-input-bg: #232222;
--form-input-bg-readonly: #1a1818;
--react-tab-border-color: var(--hairline-color);
--list-item-active-bg: #333;
--list-item-active-fg: #2fc0ec;
Expand Down Expand Up @@ -65,6 +66,9 @@
select,
.vTextField {
background-color: var(--form-input-bg);
&:read-only {
background-color: var(--form-input-bg-readonly);
}
}

input[type='checkbox'],
Expand Down
1 change: 1 addition & 0 deletions src/openforms/scss/admin/themes/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

// custom variables
--form-input-bg: var(--body-bg);
--form-input-bg-readonly: #e9ecef;
--react-tab-border-color: #ddd;
--list-item-active-bg: #f3f3f3;
--list-item-active-fg: var(--primary);
Expand Down
6 changes: 0 additions & 6 deletions src/openforms/scss/components/builder/_builder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,6 @@ div.flatpickr-calendar.open {
border-color: var(--body-quiet-color);
color: var(--body-fg);
}

&:read-only {
background-color: var(--form-input-bg);
border-color: var(--border-color);
color: var(--body-fg);
}
}

.table {
Expand Down

0 comments on commit eda569e

Please sign in to comment.