Skip to content

Commit a02c49f

Browse files
authored
Update _module.less
1 parent ecaabe4 commit a02c49f

File tree

1 file changed

+19
-18
lines changed
  • app/design/frontend/Magento/luma/Magento_Review/web/css/source

1 file changed

+19
-18
lines changed

app/design/frontend/Magento/luma/Magento_Review/web/css/source/_module.less

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// _____________________________________________
1515

1616
& when (@media-common = true) {
17-
1817
.data.switch .counter {
1918
.lib-css(color, @text__color__muted);
2019

@@ -118,13 +117,13 @@
118117

119118
strong {
120119
display: block;
121-
font-weight: 600;
120+
font-weight: @font-weight__semibold;
122121
}
123122
}
124123

125124
.fieldset &-field-ratings {
126125
> .label {
127-
font-weight: 600;
126+
font-weight: @font-weight__semibold;
128127
margin-bottom: @indent__s;
129128
padding: 0;
130129
}
@@ -140,11 +139,11 @@
140139

141140
&-field-rating {
142141
.label {
143-
font-weight: 600;
142+
font-weight: @font-weight__semibold;
144143
}
145144

146145
.control {
147-
margin-bottom: 1.2*@indent__xl;
146+
margin-bottom: 1.2 * @indent__xl;
148147
margin-top: @indent__s;
149148
}
150149
}
@@ -181,7 +180,7 @@
181180
display: inline;
182181

183182
.review-details-value {
184-
font-weight: 400;
183+
font-weight: @font-weight__regular;
185184
}
186185
}
187186

@@ -341,7 +340,7 @@
341340
.block-reviews-dashboard {
342341
.items {
343342
.item {
344-
.lib-css(margin-bottom, @indent__base);
343+
margin-bottom: @indent__base;
345344

346345
&:last-child {
347346
margin-bottom: 0;
@@ -353,22 +352,22 @@
353352
display: inline-block;
354353

355354
&:not(:last-child) {
356-
.lib-css(margin-bottom, @indent__xs);
355+
margin-bottom: @indent__xs;
357356
}
358357
}
359358

360359
.rating-summary {
361360
.label {
362-
.lib-css(font-weight, @font-weight__semibold);
363-
.lib-css(margin-right, @indent__s);
361+
font-weight: @font-weight__semibold;
362+
margin-right: @indent__s;
364363
}
365364
}
366365
}
367366

368367
.table-reviews,
369368
.block-reviews-dashboard {
370369
.product-name {
371-
.lib-css(font-weight, @font-weight__regular);
370+
font-weight: @font-weight__regular;
372371
}
373372
}
374373

@@ -416,6 +415,7 @@
416415
.product-details {
417416
&:extend(.abs-add-clearfix all);
418417
&:extend(.abs-margin-for-blocks-and-widgets all);
418+
419419
.rating-average-label {
420420
&:extend(.abs-visually-hidden all);
421421
}
@@ -436,9 +436,10 @@
436436
}
437437

438438
.customer-review-rating {
439-
.lib-css(margin-bottom, @indent__base);
439+
margin-bottom: @indent__base;
440+
440441
.item {
441-
.lib-css(margin-bottom, @indent__s);
442+
margin-bottom: @indent__s;
442443

443444
&:last-child {
444445
margin-bottom: 0;
@@ -450,13 +451,13 @@
450451

451452
.review-title {
452453
.lib-heading(h3);
453-
.lib-css(font-weight, @font-weight__semibold);
454-
.lib-css(margin-bottom, @indent__base);
454+
font-weight: @font-weight__semibold;
455+
margin-bottom: @indent__base;
455456
}
456457

457458
.review-content {
458459
margin: 0;
459-
.lib-css(margin-bottom, @indent__base);
460+
margin-bottom: @indent__base;
460461
}
461462

462463
.review-date {
@@ -473,13 +474,13 @@
473474
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
474475
.customer-review {
475476
.product-name {
476-
.lib-css(margin-bottom, @indent__xs);
477+
margin-bottom: @indent__xs;
477478
}
478479

479480
.product-reviews-summary {
480481
.rating-summary {
481482
display: block;
482-
.lib-css(margin-bottom, @indent__xs);
483+
margin-bottom: @indent__xs;
483484
}
484485
}
485486
}

0 commit comments

Comments
 (0)