Skip to content

Commit d651b84

Browse files
committed
WooCommerce: Reviews section style enhancements
1 parent 7504dca commit d651b84

File tree

8 files changed

+48
-19
lines changed

8 files changed

+48
-19
lines changed

dist/css/woocommerce/style-rtl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/woocommerce/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/blocks/nova-blocks/opentable-reservation/_style.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,14 @@
105105
}
106106

107107
.picker__frame {
108-
// --font-size: 16px;
109108

110109
.picker__box {
111110

112111
}
113112

114113
.picker__table {
115114
margin-top: 0;
116-
115+
117116
thead {
118117
border: none;
119118
}

src/scss/components/comments/_comment-form.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
label {
2121
@include label;
2222
display: block;
23-
--font-size-modifier: 0.9;
2423
}
2524

2625
input[type="checkbox"] {
@@ -33,18 +32,18 @@
3332
}
3433

3534
.comment-notes {
36-
font-size: 85%;
35+
--font-size-modifier: 0.85;
3736
}
3837

3938
.comment-form-author,
4039
.comment-form-email {
41-
flex: 0 0 47%;
40+
flex: 0 0 48%;
4241
}
4342

4443
@include above(lap) {
4544
.comment-form-subscriptions,
4645
.comment-form .form-submit {
47-
flex: 0 0 47%;
46+
// flex: 0 0 47%;
4847
}
4948

5049
.comment-form .form-submit {
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
.comment-reply-title[class] {
22
margin-bottom: var(--theme-spacing-normal);
3+
4+
@include apply-font(heading-3);
35
}
46

57
.comment-reply-title {
68
small {
79
font: inherit;
8-
910
}
1011
}

src/scss/woocommerce/style.scss

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,32 @@ $assets-folder-path: '../../../assets';
4646
}
4747
}
4848

49-
.woocommerce #review_form #respond [id="commentform"] {
50-
@include space-children-y(var(--theme-spacing));
49+
.woocommerce {
50+
#review_form {
51+
#respond {
5152

52-
> p {
53-
margin-bottom: 0;
54-
}
53+
[id="commentform"] {
54+
@include space-children-y(var(--theme-spacing));
5555

56-
> .form-submit {
57-
margin-left: auto;
58-
}
56+
> p {
57+
margin-bottom: 0;
58+
}
59+
60+
> .form-submit {
61+
margin-left: auto;
62+
63+
.submit {
64+
@include button;
65+
@include button-fill(false);
66+
}
67+
}
68+
}
69+
}
70+
}
5971
}
6072

73+
74+
6175
.comment-form-rating .stars > span {
6276
display: flex;
6377
}
@@ -67,6 +81,22 @@ $assets-folder-path: '../../../assets';
6781
}
6882

6983
.woocommerce {
84+
p.stars {
85+
86+
> span {
87+
gap: 0.25em;
88+
}
89+
90+
a {
91+
width: 1.5em;
92+
height: 1.5em;
93+
}
94+
95+
a:before {
96+
font-size: 1.5em;
97+
}
98+
}
99+
70100
.star-rating {
71101
float: none;
72102

style-rtl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)