Skip to content

Commit

Permalink
Update disabled field style
Browse files Browse the repository at this point in the history
  • Loading branch information
dacook committed Nov 29, 2023
1 parent aa79234 commit 9ce511f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/webpacker/css/admin_v3/globals/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ $color-sel-hover-bg: $lighter-grey !default;
$color-txt-brd: $color-border !default;
$color-txt-text: $near-black !default;
$color-txt-hover-brd: $teal !default;
$color-txt-changed-brd: $bright-orange !default;
$color-txt-disabled-text: $medium-grey !default;
$color-txt-disabled-brd: $light-grey !default;
$color-txt-changed-brd: $bright-orange !default;
$vpadding-txt: 5px;
$hpadding-txt: 8px;

Expand Down
3 changes: 2 additions & 1 deletion app/webpacker/css/admin_v3/shared/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ fieldset {
}

&[disabled] {
opacity: 0.7;
color: $color-txt-disabled-text;
border-color: $color-txt-disabled-brd;
}

&.changed {
Expand Down

0 comments on commit 9ce511f

Please sign in to comment.