Skip to content

Commit

Permalink
EPMRPP-81548 || Update components colors and opacity
Browse files Browse the repository at this point in the history
-Dropdown
-Field text
  • Loading branch information
Dzmitry Kosarau authored and Dzmitry Kosarau committed Oct 18, 2023
1 parent 841163a commit c9cdbf9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 9 additions & 1 deletion app/src/componentLibrary/dropdown/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
}

@mixin disabled-state {
opacity: 0.3;
pointer-events: none;
background-color: $COLOR--bg-100;
}

@mixin value($color: $COLOR--almost-black) {
Expand Down Expand Up @@ -159,6 +159,10 @@

&.disabled {
@include disabled-state;

.value {
color: $COLOR--e-300;
}
}

&.error.touched {
Expand Down Expand Up @@ -227,6 +231,10 @@

&.disabled {
@include disabled-state;

.value {
color: $COLOR--e-300;
}
}

&.error.touched {
Expand Down
5 changes: 3 additions & 2 deletions app/src/componentLibrary/fieldText/fieldText.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
}

@mixin disabled-state {
opacity: 0.3;
pointer-events: none;
background-color: $COLOR--bg-100;
}

@mixin additional-text($color) {
Expand Down Expand Up @@ -200,7 +201,7 @@
}

&.placeholder {
@include input-text($COLOR--e-200);
@include input-text($COLOR--e-300);
position: absolute;
top: 2px;
left: 0;
Expand Down

0 comments on commit c9cdbf9

Please sign in to comment.