Skip to content

Commit

Permalink
ENGCOM-8341: Remove incorrect use important in swatches option text #…
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov committed Oct 15, 2020
2 parents 03a3450 + f0edebd commit 77f02f0
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
// _____________________________________________

& when (@media-common = true) {

.swatch {
&-attribute {
&-label {
Expand Down Expand Up @@ -155,7 +154,7 @@
padding: 4px 8px;

&.selected {
.lib-css(background-color, @swatch-option-text__selected__background-color) !important;
.lib-css(background-color, @swatch-option-text__selected__background-color);
}
}

Expand Down Expand Up @@ -201,21 +200,22 @@
top: 0;
}
}

&-disabled {
border: 0;
cursor: default;
outline: none !important;

&:after {
.lib-rotate(-30deg);
.lib-css(background, @swatch-option__disabled__background);
content: '';
height: 2px;
left: -4px;
position: absolute;
top: 10px;
width: 42px;
z-index: 995;
.lib-css(background, @swatch-option__disabled__background);
}
}

Expand All @@ -226,6 +226,7 @@
&-tooltip {
.lib-css(border, @swatch-option-tooltip__border);
.lib-css(color, @swatch-option-tooltip__color);
.lib-css(background, @swatch-option-tooltip__background);
display: none;
max-height: 100%;
min-height: 20px;
Expand All @@ -234,7 +235,6 @@
position: absolute;
text-align: center;
z-index: 999;
.lib-css(background, @swatch-option-tooltip__background);

&,
&-layered {
Expand Down Expand Up @@ -278,9 +278,9 @@
}

&-layered {
.lib-css(background, @swatch-option-tooltip-layered__background);
.lib-css(border, @swatch-option-tooltip-layered__border);
.lib-css(color, @swatch-option-tooltip-layered__color);
.lib-css(background, @swatch-option-tooltip-layered__background);
display: none;
left: -47px;
position: absolute;
Expand Down Expand Up @@ -326,7 +326,6 @@
margin: 2px 0;
padding: 2px;
position: static;
z-index: 1;
}

&-visual-tooltip-layered {
Expand Down

0 comments on commit 77f02f0

Please sign in to comment.