Skip to content

Commit 0fcdf10

Browse files
committed
Final 4.7.x build
1 parent c5b7fcd commit 0fcdf10

File tree

8 files changed

+115
-93
lines changed

8 files changed

+115
-93
lines changed

dist/four-point-seven/styles/default.css

Lines changed: 53 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ main {
1111
display: block;
1212
}
1313

14+
/**
15+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
16+
*/
17+
progress {
18+
vertical-align: baseline;
19+
}
20+
1421
/**
1522
* Add the correct display in all browsers.
1623
*/
@@ -656,7 +663,7 @@ bdo[dir=rtl] {
656663
[dir=rtl] menu,
657664
[dir=rtl] ol,
658665
[dir=rtl] ul {
659-
padding: 0 1.75em 0 0;
666+
padding: 0 2em 0 0;
660667
}
661668

662669
[dir=rtl] .site-navigation ul,
@@ -668,7 +675,7 @@ bdo[dir=rtl] {
668675
* Swap definition description margin positions in RTL languages.
669676
*/
670677
[dir=rtl] dd {
671-
margin: 0 1.75em 0 0;
678+
margin: 0 2em 0 0;
672679
}
673680

674681
/**
@@ -749,10 +756,10 @@ video {
749756
}
750757

751758
/**
752-
* Address margin not present in Safari.
759+
* Consistent margins on `figure`.
753760
*/
754761
figure {
755-
margin: 0;
762+
margin: 1em 0;
756763
}
757764

758765
/* Tables
@@ -828,7 +835,7 @@ tfoot td {
828835
menu,
829836
ol,
830837
ul {
831-
padding: 0 0 0 1.75em;
838+
padding: 0 0 0 2em;
832839
}
833840

834841
/**
@@ -850,7 +857,7 @@ li > ol {
850857
* Address margins set differently.
851858
*/
852859
dd {
853-
margin: 0 0 0 1.75em;
860+
margin: 0 0 0 2em;
854861
}
855862

856863
/**
@@ -908,13 +915,6 @@ li > ol {
908915
white-space: normal;
909916
}
910917

911-
/**
912-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
913-
*/
914-
progress {
915-
vertical-align: baseline;
916-
}
917-
918918
/**
919919
* Show the overflow in Edge.
920920
*/
@@ -946,13 +946,6 @@ textarea {
946946
vertical-align: baseline;
947947
}
948948

949-
/**
950-
* Remove the inner padding in Chrome and Safari on macOS.
951-
*/
952-
[type=search]::-webkit-search-decoration {
953-
-webkit-appearance: none;
954-
}
955-
956949
/**
957950
* Styling of form input fields.
958951
*
@@ -1032,6 +1025,14 @@ textarea:focus {
10321025
height: auto;
10331026
}
10341027

1028+
/**
1029+
* Remove the inner padding in Chrome and Safari on macOS.
1030+
*/
1031+
[type=search]::-webkit-search-decoration {
1032+
/* autoprefixer: off */
1033+
appearance: none;
1034+
}
1035+
10351036
/**
10361037
* Use indicator icon to signify the drop-down ability of `select`.
10371038
*/
@@ -1131,16 +1132,6 @@ span.disabled {
11311132
cursor: default !important;
11321133
}
11331134

1134-
/**
1135-
* Styling for form field validation.
1136-
*/
1137-
input:focus:invalid,
1138-
select:focus:invalid,
1139-
textarea:focus:invalid {
1140-
border-color: #9d261d;
1141-
box-shadow: none;
1142-
}
1143-
11441135
/**
11451136
* Width display options for `input` fields. Height display options
11461137
* for textareas.
@@ -1166,6 +1157,26 @@ textarea:focus:invalid {
11661157
height: 9.75em;
11671158
}
11681159

1160+
/**
1161+
* Styling for form field validation.
1162+
*/
1163+
input:focus:invalid,
1164+
select:focus:invalid,
1165+
textarea:focus:invalid {
1166+
border-color: #9d261d;
1167+
box-shadow: none;
1168+
}
1169+
1170+
/**
1171+
* Styling for Firefox-specfic form field validation.
1172+
*/
1173+
input:-moz-ui-invalid,
1174+
select:-moz-ui-invalid,
1175+
textarea:-moz-ui-invalid {
1176+
border-color: #9d261d;
1177+
box-shadow: none;
1178+
}
1179+
11691180
/**
11701181
* Normalize form placeholder style across browsers.
11711182
*
@@ -1212,7 +1223,7 @@ textarea:focus:invalid {
12121223
========================================================================== */
12131224
/**
12141225
* 1. Address `overflow` set to `hidden` in IE 11.
1215-
* 2. Correct `button` style inheritance in Firefox, IE 11, and Opera.
1226+
* 2. Remove the inheritance of text transform in Edge, Firefox, and IE 11.
12161227
*/
12171228
button {
12181229
/* 1 */
@@ -1221,6 +1232,17 @@ textarea:focus:invalid {
12211232
text-transform: none;
12221233
}
12231234

1235+
/**
1236+
* Remove the inner border and padding in Firefox.
1237+
*/
1238+
button::-moz-focus-inner,
1239+
[type=button]::-moz-focus-inner,
1240+
[type=reset]::-moz-focus-inner,
1241+
[type=submit]::-moz-focus-inner {
1242+
padding: 0;
1243+
border-style: none;
1244+
}
1245+
12241246
/**
12251247
* 1. Remove browser-specific default styling.
12261248
* 2. Improve usability and consistency of cursor style between image-type
@@ -1289,17 +1311,6 @@ textarea:focus:invalid {
12891311
top: 2px !important;
12901312
}
12911313

1292-
/**
1293-
* Remove the inner border and padding in Firefox.
1294-
*/
1295-
button::-moz-focus-inner,
1296-
[type=button]::-moz-focus-inner,
1297-
[type=reset]::-moz-focus-inner,
1298-
[type=submit]::-moz-focus-inner {
1299-
padding: 0;
1300-
border-style: none;
1301-
}
1302-
13031314
/* Comments
13041315
========================================================================== */
13051316
/**
@@ -1357,7 +1368,6 @@ textarea:focus:invalid {
13571368
*/
13581369
.comments_error {
13591370
border-color: #9d261d;
1360-
box-shadow: 0 0 4px 2px #9d261d;
13611371
}
13621372

13631373
/* Popup comments (can be removed if you don't use popups)

src/scss/modules/_base.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ main {
1010
display: block;
1111
}
1212

13+
/**
14+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
15+
*/
16+
17+
progress {
18+
vertical-align: baseline;
19+
}
20+
1321
/**
1422
* Add the correct display in all browsers.
1523
*/

src/scss/modules/_buttons.scss

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
/**
55
* 1. Address `overflow` set to `hidden` in IE 11.
6-
* 2. Correct `button` style inheritance in Firefox, IE 11, and Opera.
6+
* 2. Remove the inheritance of text transform in Edge, Firefox, and IE 11.
77
*/
88

99
button {
@@ -13,6 +13,18 @@ button {
1313
text-transform: none;
1414
}
1515

16+
/**
17+
* Remove the inner border and padding in Firefox.
18+
*/
19+
20+
button::-moz-focus-inner,
21+
[type="button"]::-moz-focus-inner,
22+
[type="reset"]::-moz-focus-inner,
23+
[type="submit"]::-moz-focus-inner {
24+
padding: 0;
25+
border-style: none;
26+
}
27+
1628
/**
1729
* 1. Remove browser-specific default styling.
1830
* 2. Improve usability and consistency of cursor style between image-type
@@ -74,15 +86,3 @@ button[disabled],
7486
[type="submit"][disabled] {
7587
top: 2px !important;
7688
}
77-
78-
/**
79-
* Remove the inner border and padding in Firefox.
80-
*/
81-
82-
button::-moz-focus-inner,
83-
[type="button"]::-moz-focus-inner,
84-
[type="reset"]::-moz-focus-inner,
85-
[type="submit"]::-moz-focus-inner {
86-
padding: 0;
87-
border-style: none;
88-
}

src/scss/modules/_comments.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565

6666
.comments_error {
6767
border-color: $color-error-text;
68-
box-shadow: 0 0 4px 2px $color-error-text;
6968
}
7069

7170

src/scss/modules/_embedded-content.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ img {
5454
}
5555

5656
/**
57-
* Address margin not present in Safari.
57+
* Consistent margins on `figure`.
5858
*/
5959

6060
figure {
61-
margin: 0;
61+
margin: 1em 0;
6262
}

src/scss/modules/_forms.scss

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ legend {
3838
white-space: normal;
3939
}
4040

41-
/**
42-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
43-
*/
44-
45-
progress {
46-
vertical-align: baseline;
47-
}
48-
4941
/**
5042
* Show the overflow in Edge.
5143
*/
@@ -79,14 +71,6 @@ textarea {
7971
vertical-align: baseline;
8072
}
8173

82-
/**
83-
* Remove the inner padding in Chrome and Safari on macOS.
84-
*/
85-
86-
[type="search"]::-webkit-search-decoration {
87-
-webkit-appearance: none;
88-
}
89-
9074
/**
9175
* Styling of form input fields.
9276
*
@@ -153,6 +137,15 @@ textarea {
153137
height: auto;
154138
}
155139

140+
/**
141+
* Remove the inner padding in Chrome and Safari on macOS.
142+
*/
143+
144+
[type="search"]::-webkit-search-decoration {
145+
/* autoprefixer: off */
146+
appearance: none;
147+
}
148+
156149
/**
157150
* Use indicator icon to signify the drop-down ability of `select`.
158151
*/
@@ -263,20 +256,6 @@ span.disabled {
263256
cursor: default !important;
264257
}
265258

266-
267-
/**
268-
* Styling for form field validation.
269-
*/
270-
271-
input,
272-
select,
273-
textarea {
274-
&:focus:invalid {
275-
border-color: $color-error-text;
276-
box-shadow: none; // Normalize Firefox styling
277-
}
278-
}
279-
280259
/**
281260
* Width display options for `input` fields. Height display options
282261
* for textareas.
@@ -309,6 +288,32 @@ textarea {
309288
}
310289
}
311290

291+
/**
292+
* Styling for form field validation.
293+
*/
294+
295+
input,
296+
select,
297+
textarea {
298+
&:focus:invalid {
299+
border-color: $color-error-text;
300+
box-shadow: none; // Normalize Firefox styling
301+
}
302+
}
303+
304+
/**
305+
* Styling for Firefox-specfic form field validation.
306+
*/
307+
308+
input,
309+
select,
310+
textarea {
311+
&:-moz-ui-invalid {
312+
border-color: $color-error-text;
313+
box-shadow: none;
314+
}
315+
}
316+
312317
/**
313318
* Normalize form placeholder style across browsers.
314319
*

src/scss/modules/_internationalization.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ bdo[dir="rtl"] {
113113
menu,
114114
ol,
115115
ul {
116-
padding: 0 1.75em 0 0;
116+
padding: 0 2em 0 0;
117117
}
118118
}
119119

@@ -129,7 +129,7 @@ bdo[dir="rtl"] {
129129
*/
130130

131131
[dir="rtl"] dd {
132-
margin: 0 1.75em 0 0;
132+
margin: 0 2em 0 0;
133133
}
134134

135135
/**

0 commit comments

Comments
 (0)