Skip to content

Commit

Permalink
EPMRPP-81518 || Update components colors and opacity for icons, buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazarQSO committed Oct 29, 2023
1 parent 770e295 commit 0a14a12
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 30 deletions.
4 changes: 2 additions & 2 deletions app/src/components/inputs/inputWithEye/inputWithEye.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
}

&.disabled {
opacity: 0.3;
opacity: 0.4;
cursor: default;

svg path {
fill: $COLOR--e-200;
fill: $COLOR--e-300;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
cursor: pointer;
outline: none;
path {
fill: $COLOR--e-200;
fill: $COLOR--e-300;
}
&:hover {
path {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@
justify-content: center;
width: 100%;
margin-top: 5px;

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

[class*="with-popover"] {
path:first-child {
stroke: $COLOR--e-300;
fill: none !important;
}
}
}

.block-header {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

.field-caption {
font-size: 13px;
color: $COLOR--gray-60;
color: $COLOR--e-300;
}

.dependent-control-field {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,16 @@
svg {
width: 6px;
height: 16px;
fill: $COLOR--gray-60;
fill: $COLOR--e-300;
&:hover {
fill: $COLOR--black-2;
fill: $COLOR--e-400;
}
}

&.disabled {
cursor: default;
pointer-events: none;
svg {
fill: $COLOR--gray-80;
}
opacity: 0.4;
}
}

Expand Down Expand Up @@ -93,37 +91,23 @@
vertical-align: middle;

svg {
stroke: $COLOR--gray-60;
stroke: $COLOR--e-300;
&:hover {
stroke: $COLOR--black-2;
stroke: $COLOR--e-400;
}
}

&.filled {
svg {
fill: $COLOR--gray-60;
fill: $COLOR--e-300;
&:hover {
fill: $COLOR--black-2;
fill: $COLOR--e-400;
}
}
}

&.disabled {
cursor: default;
svg:not(.filled) {
stroke: $COLOR--gray-80;
&:hover {
stroke: $COLOR--gray-80;
}
}

&.filled {
svg {
fill: $COLOR--gray-80;
&:hover {
fill: $COLOR--gray-80;
}
}
}
opacity: 0.4;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ $DEFECT_NAME_PADDING: 16px;
width: 40px;
height: 14px;
margin: 0;

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

Expand All @@ -117,7 +126,7 @@ $DEFECT_NAME_PADDING: 16px;
.delete-button,
.copy-button {
path {
fill: $COLOR--e-200;
fill: $COLOR--e-300;
}
&:hover path {
fill: $COLOR--e-400;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,15 @@ $DEFECT_NAME_PADDING: 16px;
}

.group-create {
@include fill-svg($COLOR--e-300);
position: relative;
display: inline-block;
width: 16px;
height: 16px;
cursor: pointer;

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
}

.icon {
@include fill-svg($COLOR--e-300);
display: inline-flex;
width: 16px;
height: 16px;
Expand Down

0 comments on commit 0a14a12

Please sign in to comment.