Skip to content

Commit 13557dc

Browse files
authored
Remove unneeded CSS vendor prefixes
The non-prefixed alternatives have been available widely for some time now. Prefixed versions were only kept in vendored libraries.
1 parent 0ae7794 commit 13557dc

File tree

2 files changed

+2
-34
lines changed

2 files changed

+2
-34
lines changed

djangoproject/scss/_style.scss

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ button:focus {
6161
background-color: var(--selection);
6262
}
6363

64-
::-moz-selection {
65-
background-color: var(--selection);
66-
}
67-
6864
ol li,
6965
ul li {
7066
//list style
@@ -1209,8 +1205,7 @@ a.cta {
12091205
// Call To Action buttons
12101206
@include sans-serif;
12111207
font-weight: 700;
1212-
-webkit-appearance: none;
1213-
-moz-appearance: none;
1208+
appearance: none;
12141209
background: var(--primary);
12151210
border: none;
12161211
border-radius: 5px;
@@ -2464,11 +2459,7 @@ h2+.list-link-soup {
24642459
top: 0;
24652460
width: 100%;
24662461
padding: 8px 20px 8px;
2467-
-moz-box-sizing: border-box;
2468-
-webkit-box-sizing: border-box;
24692462
box-sizing: border-box;
2470-
background-image: -webkit-linear-gradient(-45deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
2471-
background-image: -moz-linear-gradient(-45deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
24722463
background-image: linear-gradient(135deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
24732464
@include sans-serif;
24742465
font-size: 14px;
@@ -2887,8 +2878,7 @@ form {
28872878
textarea {
28882879
@include sans-serif;
28892880
@include font-size(16);
2890-
-webkit-appearance: none;
2891-
-moz-appearance: none;
2881+
appearance: none;
28922882
background: var(--white-color);
28932883
border: 1px solid var(--hairline-color);
28942884
color: var(--body-fg);
@@ -2918,22 +2908,6 @@ form {
29182908
border-color: var(--secondary);
29192909
}
29202910

2921-
&::-webkit-input-placeholder {
2922-
color: var(--body-fg);
2923-
}
2924-
2925-
&:-ms-input-placeholder {
2926-
color: var(--body-fg);
2927-
}
2928-
2929-
&::-moz-placeholder {
2930-
color: var(--body-fg);
2931-
}
2932-
2933-
&:-moz-placeholder {
2934-
color: var(--body-fg);
2935-
}
2936-
29372911
&::placeholder {
29382912
color: var(--body-fg);
29392913
}
@@ -2964,8 +2938,6 @@ form {
29642938
}
29652939

29662940
button {
2967-
-moz-appearance: none;
2968-
-webkit-appearance: none;
29692941
appearance: none;
29702942

29712943
background: var(--secondary);
@@ -3304,8 +3276,6 @@ hr {
33043276
fill: rgba(50, 50, 50, 0.3);
33053277
stroke: #aaaaaa;
33063278
stroke-width: 2px;
3307-
-moz-user-select: none;
3308-
-ms-user-select: none;
33093279
-webkit-user-select: none;
33103280
user-select: none;
33113281
cursor: default;

djangoproject/scss/_styleguide.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060
width: 30%;
6161
height: 30px;
6262
margin-right: 2%;
63-
-moz-box-sizing: border-box;
64-
-webkit-box-sizing: border-box;
6563
box-sizing: border-box;
6664

6765
float: left;

0 commit comments

Comments
 (0)