File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
app/design/frontend/Magento/blank/Magento_Swatches/web/css/source Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 6565// _____________________________________________
6666
6767& when (@media-common = true ) {
68-
6968 .swatch {
7069 &-attribute {
7170 &-label {
155154 padding : 4px 8px ;
156155
157156 & .selected {
158- .lib-css (background-color , @swatch-option-text__selected__background-color ) !important ;
157+ .lib-css (background-color , @swatch-option-text__selected__background-color );
159158 }
160159 }
161160
201200 top : 0 ;
202201 }
203202 }
203+
204204 &-disabled {
205205 border : 0 ;
206206 cursor : default ;
207207 outline : none !important ;
208208
209209 & :after {
210210 .lib-rotate (-30deg );
211+ .lib-css (background , @swatch-option__disabled__background );
211212 content : ' ' ;
212213 height : 2px ;
213214 left : -4px ;
214215 position : absolute ;
215216 top : 10px ;
216217 width : 42px ;
217218 z-index : 995 ;
218- .lib-css (background , @swatch-option__disabled__background );
219219 }
220220 }
221221
226226 &-tooltip {
227227 .lib-css (border , @swatch-option-tooltip__border );
228228 .lib-css (color , @swatch-option-tooltip__color );
229+ .lib-css (background , @swatch-option-tooltip__background );
229230 display : none ;
230231 max-height : 100% ;
231232 min-height : 20px ;
234235 position : absolute ;
235236 text-align : center ;
236237 z-index : 999 ;
237- .lib-css (background , @swatch-option-tooltip__background );
238238
239239 & ,
240240 &-layered {
278278 }
279279
280280 &-layered {
281+ .lib-css (background , @swatch-option-tooltip-layered__background );
281282 .lib-css (border , @swatch-option-tooltip-layered__border );
282283 .lib-css (color , @swatch-option-tooltip-layered__color );
283- .lib-css (background , @swatch-option-tooltip-layered__background );
284284 display : none ;
285285 left : -47px ;
286286 position : absolute ;
326326 margin : 2px 0 ;
327327 padding : 2px ;
328328 position : static ;
329- z-index : 1 ;
330329 }
331330
332331 &-visual-tooltip-layered {
You can’t perform that action at this time.
0 commit comments