Skip to content

Commit 4d46e7d

Browse files
arthurvrscottgonzalez
authored andcommitted
All sites: Revisit CSS prefixes
Fixes gh-335 Closes gh-340
1 parent a401407 commit 4d46e7d

File tree

8 files changed

+17
-121
lines changed

8 files changed

+17
-121
lines changed

themes/contribute.jquery.org/style.css

+3-17
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,14 @@ em.color {
1515

1616
.example {
1717
border: 1px solid #dadada;
18-
-webkit-border-radius: 3px;
19-
-moz-border-radius: 3px;
20-
border-radius: 3px;
21-
padding: 0 20px;
22-
margin-bottom: 30px;
18+
border-radius: 3px;
19+
padding: 0 20px;
20+
margin-bottom: 30px;
2321
}
2422

2523
.example pre {
2624
clear: both;
2725
margin:0 -20px;
28-
-webkit-border-bottom-right-radius: 3px;
29-
-webkit-border-bottom-left-radius: 3px;
30-
-moz-border-radius-bottomright: 3px;
31-
-moz-border-radius-bottomleft: 3px;
3226
border-bottom-right-radius: 3px;
3327
border-bottom-left-radius: 3px;
3428
}
@@ -37,10 +31,6 @@ em.color {
3731
background-color: #f1f1f1;
3832
margin: 0 -20px 15px;
3933
padding: 20px;
40-
-webkit-border-top-left-radius: 3px;
41-
-webkit-border-top-right-radius: 3px;
42-
-moz-border-radius-topleft: 3px;
43-
-moz-border-radius-topright: 3px;
4434
border-top-left-radius: 3px;
4535
border-top-right-radius: 3px;
4636
}
@@ -49,10 +39,6 @@ em.color {
4939
background-color: #fff;
5040
margin:0 0 10px 0;
5141
padding: 0px;
52-
-webkit-border-top-left-radius: 0px;
53-
-webkit-border-top-right-radius: 0px;
54-
-moz-border-radius-topleft: 0px;
55-
-moz-border-radius-topright: 0px;
5642
border-top-left-radius: 0px;
5743
border-top-right-radius: 0px;
5844
}

themes/jquery.com/style.css

+2-6
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ a,
4747
}
4848
.cross-browser .feature-box-image{
4949
background: url('i/feature-sprites.png') -278px 0px no-repeat;
50-
-webkit-transition: all 0.4s;
5150
transition: all 0.4s;
5251
position: relative;
5352
z-index: 10;
5453
}
5554
.cross-browser .feature-box-image:hover {
56-
-webkit-transition: all 0.7s linear;
55+
transition: all 0.7s;
5756
-webkit-transform: rotate(6.28rad);
58-
transition: all 0.7s;
57+
-ms-transform: rotate(6.28rad);
5958
transform: rotate(6.28rad);
6059
}
6160

@@ -72,15 +71,12 @@ a,
7271
#banner-secondary .download-main .button {
7372
float: none;
7473
box-shadow: 0px 0px 20px rgba(209, 143, 79, 0.6);
75-
-webkit-box-shadow: 0px 0px 20px rgba(209, 143, 79, 0.6);
7674
border-radius: 0;
7775
border: none;
78-
-webkit-transition: -webkit-box-shadow 1s linear;
7976
transition: all 1s;
8077
}
8178
#banner-secondary .download-main .button:hover {
8279
box-shadow: 0px 0px 25px rgba(209, 143, 79, 0.9);
83-
-webkit-box-shadow: 0px 0px 25px rgba(209, 143, 79, 0.9);
8480
}
8581
#content #banner-secondary .download-main > a {
8682
display:block;

themes/jquery.org/style.css

-14
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ a, #sidebar h3 {
3737
height: 360px;
3838
background: url(images/header-join-page.jpg) no-repeat center;
3939
background-size: cover;
40-
-webkit-background-size: cover;
41-
-moz-background-size: cover;
42-
-o-background-size: cover;
4340
display: block;
4441
position: relative;
4542
}
@@ -58,9 +55,6 @@ a, #sidebar h3 {
5855
height: 360px;
5956
background: url(images/header-join-page.jpg) no-repeat center;
6057
background-size: cover;
61-
-webkit-background-size: cover;
62-
-moz-background-size: cover;
63-
-o-background-size: cover;
6458
display: block;
6559
position: relative;
6660
}
@@ -396,13 +390,11 @@ a.icon-search::before {
396390
padding: 8px 12px;
397391
border: 1px solid rgba(192,192,192,1);
398392
border-radius: 2px;
399-
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
400393
box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
401394
}
402395

403396
#content .choose-gifts input:focus, #content .choose-gifts input[type=text]:focus, #content .choose-gifts textarea:focus {
404397
border: 1px solid #78CFF5;
405-
-webkit-box-shadow: none;
406398
box-shadow: none;
407399
}
408400

@@ -634,9 +626,6 @@ nav#main ul {
634626
height: 200px;
635627
background: url(images/header-join-page.jpg) no-repeat center;
636628
background-size: cover;
637-
-webkit-background-size: cover;
638-
-moz-background-size: cover;
639-
-o-background-size: cover;
640629
display: block;
641630
position: relative;
642631
}
@@ -692,9 +681,6 @@ nav#main ul {
692681
height: 200px;
693682
background: url(images/header-join-page.jpg) no-repeat center;
694683
background-size: cover;
695-
-webkit-background-size: cover;
696-
-moz-background-size: cover;
697-
-o-background-size: cover;
698684
display: block;
699685
position: relative;
700686
}

themes/jquery/css/base.css

+4-52
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,7 @@ input[type="radio"] {
476476
*/
477477

478478
input[type="search"] {
479-
-webkit-appearance: textfield; /* 1 */
480-
-moz-box-sizing: content-box;
481-
-webkit-box-sizing: content-box; /* 2 */
479+
-webkit-appearance: textfield;
482480
box-sizing: content-box;
483481
}
484482

@@ -530,8 +528,7 @@ textarea {
530528
border: 1px solid rgba(192,192,192,0.49);
531529
border-radius: 2px;
532530

533-
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
534-
box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
531+
box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
535532
}
536533

537534
/*
@@ -565,11 +562,8 @@ textarea {
565562

566563
border: 1px solid #B24926;
567564

568-
-webkit-box-shadow: 0px 0px 6px rgba(23,138,156,0.5),
569-
inset 0px 1px 3px rgba(0,0,0,0.2);
570-
571-
box-shadow: 0px 0px 6px rgba(23,138,156,0.5),
572-
inset 0px 1px 3px rgba(0,0,0,0.2);
565+
box-shadow: 0px 0px 6px rgba(23,138,156,0.5),
566+
inset 0px 1px 3px rgba(0,0,0,0.2);
573567
}
574568

575569
/**
@@ -827,35 +821,27 @@ ul.icons li [class*=" icon-"] {
827821
.icon-border {
828822
border: solid 1px #eeeeee;
829823
padding: .2em .25em .15em;
830-
-webkit-border-radius: 3px;
831-
-moz-border-radius: 3px;
832824
border-radius: 3px;
833825
}
834826
.icon-2x {
835827
font-size: 2em;
836828
}
837829
.icon-2x.icon-border {
838830
border-width: 2px;
839-
-webkit-border-radius: 4px;
840-
-moz-border-radius: 4px;
841831
border-radius: 4px;
842832
}
843833
.icon-3x {
844834
font-size: 3em;
845835
}
846836
.icon-3x.icon-border {
847837
border-width: 3px;
848-
-webkit-border-radius: 5px;
849-
-moz-border-radius: 5px;
850838
border-radius: 5px;
851839
}
852840
.icon-4x {
853841
font-size: 4em;
854842
}
855843
.icon-4x.icon-border {
856844
border-width: 4px;
857-
-webkit-border-radius: 6px;
858-
-moz-border-radius: 6px;
859845
border-radius: 6px;
860846
}
861847
.pull-right {
@@ -913,22 +899,10 @@ ul.icons li [class*=" icon-"] {
913899
-webkit-animation: spin 2s infinite linear;
914900
animation: spin 2s infinite linear;
915901
}
916-
@-moz-keyframes spin {
917-
0% { -moz-transform: rotate(0deg); }
918-
100% { -moz-transform: rotate(359deg); }
919-
}
920902
@-webkit-keyframes spin {
921903
0% { -webkit-transform: rotate(0deg); }
922904
100% { -webkit-transform: rotate(359deg); }
923905
}
924-
@-o-keyframes spin {
925-
0% { -o-transform: rotate(0deg); }
926-
100% { -o-transform: rotate(359deg); }
927-
}
928-
@-ms-keyframes spin {
929-
0% { -ms-transform: rotate(0deg); }
930-
100% { -ms-transform: rotate(359deg); }
931-
}
932906
@keyframes spin {
933907
0% { transform: rotate(0deg); }
934908
100% { transform: rotate(359deg); }
@@ -1283,7 +1257,6 @@ iframe {
12831257

12841258
#content-wrapper {
12851259
background-color: #fff;
1286-
-webkit-box-shadow: -3px 0 5px -3px rgba(1, 1, 1, 0.87), 3px 0 5px -3px rgba(1, 1, 1, 0.87);
12871260
box-shadow: -3px 0 5px -3px rgba(1, 1, 1, 0.87), 3px 0 5px -3px rgba(1, 1, 1, 0.87);
12881261
padding: 20px 0;
12891262
border-top: 1px solid #333;
@@ -1399,7 +1372,6 @@ iframe {
13991372
position: relative;
14001373
top: 1px;
14011374
cursor: pointer;
1402-
-webkit-transition: all 0.2s;
14031375
transition: all 0.2s;
14041376
text-shadow: 0 0px 2px #000;
14051377
border-left: 1px solid rgba(255, 255, 255, 0.0976562);
@@ -1436,9 +1408,7 @@ iframe {
14361408
display: none;
14371409
opacity: 0;
14381410
visibility: hidden;
1439-
-webkit-transiton: opacity 0.2s;
14401411
transition: opacity 0.2s;
1441-
-webkit-box-shadow: 0 43px 5px rgba(0, 0, 0, 0.4);
14421412
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
14431413
z-index: 400;
14441414
}
@@ -1730,9 +1700,7 @@ nav#main {
17301700
border-right: 1px solid rgba(2, 2, 2, 0.28);
17311701
border-left: 1px solid rgba(2, 2, 2, 0.28);
17321702
border-top: 1px solid rgba(250, 250, 250, 0.27);
1733-
-webkit-box-shadow: rgba(255,255,255,0.3) 0 1px 0, rgba(0,0,0,0.3) 0 -1px 0;
17341703
box-shadow: rgba(255,255,255,0.3) 0 1px 0, rgba(0,0,0,0.3) 0 -1px 0;
1735-
-webkit-box-shadow: 0 0 3px rgba(1, 1, 1, 0.7);
17361704
box-shadow: 0 0 5px rgba(1, 1, 1, 0.7);
17371705
}
17381706

@@ -1784,7 +1752,6 @@ nav#main li a:hover,
17841752
nav#main li.current a,
17851753
nav#main .searchform {
17861754
background: none;
1787-
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0, 0.4), rgba(255,255,255,0.1) 0 1px 0;
17881755
box-shadow: inset 0 0 5px rgba(0,0,0, 0.4), rgba(255,255,255,0.1) 0 1px 0;
17891756
border-radius: 4px;
17901757
border: 1px solid rgba(0,0,0,0.25);
@@ -2273,12 +2240,6 @@ a.button,
22732240
input[type="submit"] {
22742241
border-radius: 5px;
22752242
border: 1px solid #999;
2276-
-webkit-box-shadow:
2277-
0 0 5px rgba(0, 0, 0, 0.28),
2278-
inset 0 1px 0 rgba(255, 255, 255, 0.45),
2279-
inset 0px -1px 0px rgba(255, 255, 255, 0.45),
2280-
inset 1px 0px 0px rgba(255, 255, 255, 0.45),
2281-
inset -1px 1px 0px rgba(255, 255, 255, 0.45);
22822243
box-shadow:
22832244
0 0 5px rgba(0, 0, 0, 0.28),
22842245
inset 0 1px 0 rgba(255, 255, 255, 0.45),
@@ -2290,7 +2251,6 @@ input[type="submit"] {
22902251
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35);
22912252
padding: 8px 15px;
22922253
font: bold 16px/16px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
2293-
-webkit-transition: all 0.2s;
22942254
transition: all 0.2s;
22952255
background-color: #d18f4f;
22962256
float: left;
@@ -2590,7 +2550,6 @@ footer ul li {
25902550
footer #legal {
25912551
margin-top: 1em;
25922552
border-top: solid 1px #333;
2593-
-webkit-box-shadow: #000 0 -1px 0;
25942553
box-shadow: #000 0 -1px 0;
25952554
}
25962555

@@ -2954,12 +2913,7 @@ footer .books li a cite {
29542913
margin: 0;
29552914
border-top: 1px solid #e7e7e7;
29562915
border-left: none;
2957-
-moz-border-image: none;
2958-
-webkit-border-image: none;
2959-
-webkit-border-image: none;
2960-
-o-border-image: none;
29612916
border-image: none;
2962-
-webkit-box-shadow: none;
29632917
box-shadow: none;
29642918
background-image: none;
29652919
background-image: none;
@@ -3034,7 +2988,6 @@ footer .books li a cite {
30342988
border-right: none;
30352989
border-left: none;
30362990
border-top: none;
3037-
-webkit-box-shadow: none;
30382991
box-shadow: none;
30392992
padding-top: 10px;
30402993
}
@@ -3067,7 +3020,6 @@ footer .books li a cite {
30673020
nav#main li a:hover,
30683021
nav#main li.current a {
30693022
background: none;
3070-
-webkit-box-shadow: none;
30713023
box-shadow: none;
30723024
border-radius: 4px;
30733025
border: 1px solid rgba(0,0,0,0.0);

themes/jquerymobile.com/style.css

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ a, .title, .entry-title { color: #108040; }
1919
#container header nav {
2020
border-top: solid 1px rgba(136,196,26,0.3);
2121
background: rgba(80,118,17,0.4);
22-
-webkit-box-shadow: rgba(255,255,255,0.1) 0 1px 0, rgba(0,0,0,0.2) 0 -1px 0, inset rgba(80,118,17,0.5) 0 -3px 5px;
2322
box-shadow: rgba(255,255,255,0.1) 0 1px 0, rgba(0,0,0,0.2) 0 -1px 0, inset rgba(80,118,17,0.5) 0 -3px 5px;
2423
}
2524

@@ -44,9 +43,7 @@ a, .title, .entry-title { color: #108040; }
4443
#banner-secondary .download-box {
4544
border: 1px solid #aaa;
4645
background: #333;
47-
background: -moz-linear-gradient(left, #333 0%, #444 100%);
4846
background: -webkit-linear-gradient(left, #333 0%, #444 100%);
49-
background: -o-linear-gradient(left, #333 0%, #444 100%);
5047
background: linear-gradient(to right, #333 0%, #444 100%);
5148
float: right;
5249
width: 335px;

themes/jqueryui.com/style.css

-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ a,
2121
#banner-secondary .download-box {
2222
border: 1px solid #aaa;
2323
background: #333;
24-
background: -moz-linear-gradient(left, #333 0%, #444 100%);
2524
background: -webkit-linear-gradient(left, #333 0%, #444 100%);
26-
background: -o-linear-gradient(left, #333 0%, #444 100%);
2725
background: linear-gradient(to right, #333 0%, #444 100%);
2826
float: right;
2927
width: 40%;

0 commit comments

Comments
 (0)