Skip to content

Commit

Permalink
EPMRPP-81518 || Update components colors and opacity for icons
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazarQSO committed Nov 11, 2023
1 parent 88b9128 commit 16741b6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
8 changes: 8 additions & 0 deletions app/src/componentLibrary/dropdown/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
box-sizing: border-box;
transition: border-color 200ms linear;
cursor: pointer;

@include arrow-color($COLOR--e-300);
}

@mixin arrow-color($arrowColor) {
Expand Down Expand Up @@ -79,6 +81,12 @@
@mixin disabled-state {
pointer-events: none;
background-color: $COLOR--bg-100;

.arrow {
svg path {
opacity: 0.4;
}
}
}

@mixin value($color: $COLOR--almost-black) {
Expand Down
6 changes: 5 additions & 1 deletion app/src/componentLibrary/fieldNumber/fieldNumber.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
flex-direction: column;

&.disabled {
opacity: 0.3;
opacity: 0.4;
}
}

Expand All @@ -40,6 +40,10 @@
height: 16px;
cursor: pointer;

svg {
fill: $COLOR--e-300;
}

&.disabled {
cursor: default;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
width: 16px;
height: 16px;
cursor: pointer;

path {
fill: $COLOR--e-300;
}

path:first-child {
stroke: $COLOR--e-300;
fill: none;
}
}
.show-hint-text {
color: $COLOR--almost-black;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,6 @@
justify-content: center;
width: 100%;
margin-top: 5px;

svg path {
fill: $COLOR--e-300;
}

i {
svg {
path:first-child {
stroke: $COLOR--e-300;
fill: none !important;
}
}
}
}

.block-header {
Expand Down

0 comments on commit 16741b6

Please sign in to comment.