Skip to content

Commit

Permalink
ENGCOM-4145: focus-not-proper-on-configurable-product-swatches:: focu…
Browse files Browse the repository at this point in the history
…s not proper … #20992
  • Loading branch information
sidolov authored Feb 12, 2019
2 parents cb02a87 + df3efc9 commit 2574519
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,19 @@
&-options {
margin-top: @indent__s;

&:focus {
box-shadow: none;
}

.swatch-option-tooltip-layered .title {
.lib-css(color, @swatch-option-tooltip-layered-title__color);
width: 100%;
height: 20px;
position: absolute;
bottom: -5px;
height: 20px;
left: 0;
text-align: center;
margin-bottom: @indent__s;
position: absolute;
text-align: center;
width: 100%;
}
}

Expand Down Expand Up @@ -132,15 +136,19 @@
text-align: center;
text-overflow: ellipsis;

&:focus {
box-shadow: @focus__box-shadow;
}

&.text {
.lib-css(background, @swatch-option-text__background);
.lib-css(color, @swatch-option-text__color);
font-size: @font-size__s;
font-weight: @font-weight__bold;
line-height: 20px;
padding: 4px 8px;
min-width: 22px;
margin-right: 7px;
min-width: 22px;
padding: 4px 8px;

&.selected {
.lib-css(background-color, @swatch-option-text__selected__background-color) !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@
}

.product-options-wrapper {
.fieldset {
&:focus {
box-shadow: none;
}
}

.fieldset-product-options-inner {
.legend {
.lib-css(font-weight, @font-weight__semibold);
Expand Down

0 comments on commit 2574519

Please sign in to comment.