Skip to content

Commit 72658c0

Browse files
committed
IMPORT jquery updates.
1 parent 3796733 commit 72658c0

15 files changed

+324
-78
lines changed

jquery.com/i/try-jquery.png

62 KB
Loading

jquery.com/i/whos-using-sprite.png

27.2 KB
Loading

jquery.com/style.css

Lines changed: 111 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ a,
1212
color: #333;
1313
}
1414

15+
/* Home Page */
16+
1517
#banner-secondary a,
1618
#banner-secondary a:hover {
1719
color: #b3b3b3;
@@ -26,13 +28,13 @@ a,
2628
line-height: 1em;
2729
padding: 0;
2830
}
29-
.features-box .feature-box-image {
31+
32+
.feature-box-image {
3033
margin: 0 auto 1em auto;
3134
width: 120px;
3235
height: 107px;
3336
overflow: hidden;
3437
}
35-
3638
.lightweight-footprint .feature-box-image {
3739
background: url('i/feature-sprites.png') 0px 0px no-repeat;
3840
}
@@ -41,9 +43,55 @@ a,
4143
}
4244
.cross-browser .feature-box-image{
4345
background: url('i/feature-sprites.png') -278px 0px no-repeat;
46+
-webkit-transition: all 0.4s;
47+
transition: all 0.4s;
48+
position: relative;
49+
z-index: 10;
50+
}
51+
.cross-browser .feature-box-image:hover {
52+
-webkit-transition: all 0.7s linear;
53+
-webkit-transform: rotate(6.28rad);
54+
transition: all 0.7s;
55+
transform: rorate(6.28rad);
4456
}
4557

46-
#banner-secondary .downloads-box span.download {
58+
#content #banner-secondary .downloads-box p {
59+
margin: 15px 0 5px;
60+
}
61+
.download-options,
62+
.download-help {
63+
margin-top: 1em;
64+
}
65+
#banner-secondary .download-options a {
66+
display:block;
67+
}
68+
#banner-secondary .download-main .button {
69+
float: none;
70+
box-shadow: 0px 0px 20px rgba(209, 143, 79, 0.6);
71+
-webkit-box-shadow: 0px 0px 20px rgba(209, 143, 79, 0.6);
72+
border-radius: 0;
73+
border: none;
74+
-webkit-transition: -webkit-box-shadow 1s linear;
75+
transition: all 1s;
76+
}
77+
#banner-secondary .download-main .button:hover {
78+
box-shadow: 0px 0px 25px rgba(209, 143, 79, 0.9);
79+
-webkit-box-shadow: 0px 0px 25px rgba(209, 143, 79, 0.9);
80+
}
81+
#content #banner-secondary .download-main > a {
82+
display:block;
83+
padding: 0 0 .5em 0;
84+
font-size: 2em;
85+
width: 100%;
86+
text-align:center;
87+
text-decoration: none;
88+
line-height: 0.8em;
89+
}
90+
#content #banner-secondary .download-main > a span {
91+
display: block;
92+
font-size: 0.6em;
93+
}
94+
#content #banner-secondary .download-main > a span.download {
4795
background: url('i/download.png') 0px 0px;
4896
width: 44px;
4997
height:37px;
@@ -53,51 +101,78 @@ a,
53101
margin-right:0.5em;
54102
}
55103

56-
#banner-secondary .downloads-box p {
57-
margin: 15px 0 5px;
104+
.resources {
105+
padding-left: 60px;
58106
}
59107

60-
#banner-secondary .download-main {
61-
height: 107px;
62-
width: 90%;
63-
margin-left:5%;
64-
margin-bottom:1em;
108+
#content li.try-jquery {
109+
background: none;
110+
margin: 10px 0 0;
111+
padding: 0;
65112
}
66113

67-
#content #banner-secondary .download-main > a {
68-
display:block;
69-
padding: 0 0 .5em 0;
70-
font-size: 2em;
71-
width: 100%;
72-
text-align:center;
73-
text-decoration: none;
114+
#content li.try-jquery a {
115+
background: url('i/try-jquery.png') top left no-repeat;
116+
height: 221px;
117+
width: 220px;
118+
text-indent: -9999px;
119+
display: block;
74120
}
75121

122+
#content #whos-using li {
123+
background: none;
124+
}
76125

77-
#banner-secondary .download-main > a span {
78-
margin-top: 0.2em;
126+
#whos-using li a {
127+
background: url('i/whos-using-sprite.png') 0px 0px no-repeat;
79128
display: block;
80-
font-size: 0.4em;
129+
height: 80px;
130+
text-indent: -9999px;
131+
}
132+
133+
#whos-using li a.mediatemple {
134+
background-position: 0 -80px;
81135
}
82136

83-
#home-content h2 {
84-
margin-top:1em;
137+
#whos-using li a.backbone {
138+
background-position: 0 -160px;
85139
}
86-
#home-content h3 {
87-
margin-top:1.5em;
140+
141+
#whos-using li a.wikipedia {
142+
background-position: 0 -240px;
88143
}
89-
#home-content h2 + h3 {
90-
margin-top: 1em;
144+
145+
/* Project Tiles */
146+
147+
#content .project-tiles {
148+
margin: 0;
149+
}
150+
151+
.project-tile {
152+
padding-top: 1em;
153+
padding-bottom: 1em;
154+
text-align: center;
155+
}
156+
.project-tile a {
157+
text-indent: -9999px;
158+
display: inline-block;
159+
}
160+
161+
/* Browser Support */
162+
163+
#support-matrix {
164+
width: 100%;
165+
margin: 0 auto 1em;
166+
}
167+
168+
#support-matrix tbody tr {
169+
border-bottom: none;
170+
}
171+
172+
#support-matrix tbody tr:hover {
173+
background-color: transparent;
91174
}
92175

93-
@media all and (max-width: 820px) {
94-
#banner-secondary .downloads-box {
95-
float:none;
96-
width: 100%;
97-
margin-bottom: 1em;
98-
}
99-
#banner-secondary .features-box {
100-
float:none;
101-
width:100%;
102-
}
176+
#support-matrix td {
177+
text-align: center;
103178
}

jquery/css/base.css

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ h2 {
164164
}
165165

166166
h3 {
167-
font-size: 1.17em;
167+
font-size: 1.25em;
168168
margin: 0 0 0.67em;
169169
}
170170

@@ -655,6 +655,31 @@ table {
655655
border-spacing: 0;
656656
}
657657

658+
#content table {
659+
margin: 1em 2em;
660+
}
661+
662+
#content thead tr {
663+
border-bottom: 2px solid #666;
664+
}
665+
666+
#content tbody tr {
667+
border-bottom: 1px solid #666;
668+
}
669+
670+
#content tbody tr:hover {
671+
background-color: #eee;
672+
}
673+
674+
#content th {
675+
font-family: "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
676+
}
677+
678+
#content th,
679+
#content td {
680+
padding: .5em;
681+
}
682+
658683
/* ==========================================================================
659684
Font Awesome
660685
========================================================================== */
@@ -2576,6 +2601,14 @@ footer p.copyright a.mt-link {
25762601
padding-left: 31px;
25772602
}
25782603

2604+
footer p.copyright a.wp-link {
2605+
background: url(../images/logo-wordpress.png) left 1px no-repeat;
2606+
padding-left: 19px;
2607+
padding-top: 1px;
2608+
display: inline-block;
2609+
height: 16px;
2610+
}
2611+
25792612
footer .footer-site-links li {
25802613
position: relative;
25812614
background: none;
@@ -2882,6 +2915,19 @@ footer li img {
28822915
border-radius: 3px 3px 0 0;
28832916
}
28842917

2918+
#content .signature h4 a {
2919+
color: inherit;
2920+
text-decoration: none;
2921+
}
2922+
2923+
.signature h4 .icon-link {
2924+
margin-right: 0.5em;
2925+
}
2926+
2927+
.signature .event-properties {
2928+
margin: 15px 0 0 0;
2929+
}
2930+
28852931
.argument {
28862932
margin-top: 1em;
28872933
}
@@ -3965,6 +4011,10 @@ pre .chunk {
39654011
border-right: 2px solid #999;
39664012
}
39674013

4014+
#content .syntaxhighlighter tr {
4015+
border-bottom: none;
4016+
}
4017+
39684018
/* START Chosen.js CSS Stylings */
39694019
/* @group Base */
39704020
.chzn-container {

jquery/footer-mobile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<li><a class="icon-comments" href="http://irc.jquery.org/">IRC</a></li>
4040
</ul>
4141
<p class="copyright">
42-
Copyright <?php echo date('Y'); ?> <a href="http://jquery.org/team/">The jQuery Foundation</a>.<br>
43-
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://jquery.org/sponsors/">View sponsors</a></span>
42+
Copyright <?php echo date('Y'); ?> <a href="https://jquery.org/team/">The jQuery Foundation</a>.<br>
43+
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://wordpress.org/" class="wp-link">Powered by WordPress</a> | Thanks: <a href="https://jquery.org/members/">Members</a>, <a href="https://jquery.org/sponsors/">Sponsors</a></span>
4444
</p>
4545
</div>
4646
</div>

jquery/footer-qunit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
<li><a class="icon-comments" href="http://irc.jquery.org/">IRC</a></li>
3636
</ul>
3737
<p class="copyright">
38-
Copyright <?php echo date('Y'); ?> <a href="http://jquery.org/team/">The jQuery Foundation</a>.<br>
39-
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://jquery.org/sponsors/">View sponsors</a></span>
38+
Copyright <?php echo date('Y'); ?> <a href="https://jquery.org/team/">The jQuery Foundation</a>.<br>
39+
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://wordpress.org/" class="wp-link">Powered by WordPress</a> | Thanks: <a href="https://jquery.org/members/">Members</a>, <a href="https://jquery.org/sponsors/">Sponsors</a></span>
4040
</p>
4141
</div>
4242
</div>

jquery/footer-ui.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
<li><a class="icon-comments" href="http://irc.jquery.org/">IRC</a></li>
6464
</ul>
6565
<p class="copyright">
66-
Copyright <?php echo date('Y'); ?> <a href="http://jquery.org/team/">The jQuery Foundation</a>.<br>
67-
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://jquery.org/sponsors/">View sponsors</a></span>
66+
Copyright <?php echo date('Y'); ?> <a href="https://jquery.org/team/">The jQuery Foundation</a>.<br>
67+
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://wordpress.org/" class="wp-link">Powered by WordPress</a> | Thanks: <a href="https://jquery.org/members/">Members</a>, <a href="https://jquery.org/sponsors/">Sponsors</a></span>
6868
</p>
6969
</div>
7070
</div>

jquery/footer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<li><a class="icon-comments" href="http://irc.jquery.org/">IRC</a></li>
5858
</ul>
5959
<p class="copyright">
60-
Copyright <?php echo date('Y'); ?> <a href="http://jquery.org/team/">The jQuery Foundation</a>.<br>
61-
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://jquery.org/sponsors/">View sponsors</a></span>
60+
Copyright <?php echo date('Y'); ?> <a href="https://jquery.org/team/">The jQuery Foundation</a>.<br>
61+
<span class="sponsor-line"><a href="http://mediatemple.net" rel="noindex,nofollow" class="mt-link">Web hosting by Media Temple</a> | <a href="http://wordpress.org/" class="wp-link">Powered by WordPress</a> | Thanks: <a href="https://jquery.org/members/">Members</a>, <a href="https://jquery.org/sponsors/">Sponsors</a></span>
6262
</p>
6363
</div>
6464
</div>

jquery/header.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
3434
<script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.9.1.min.js"%3E%3C/script%3E'))</script>
35-
<script src="http://code.jquery.com/jquery-migrate-1.0.0.min.js"></script>
35+
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-migrate-1.1.1.min.js"></script>
3636

3737
<script src="<?php echo get_template_directory_uri(); ?>/js/plugins.js"></script>
3838
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js"></script>
@@ -79,8 +79,6 @@
7979
</li>
8080
<li class="dropdown"><a href="http://events.jquery.org/">Events</a>
8181
<ul>
82-
<li><a href="http://events.jquery.org/2013/eu/">Europe</a></li>
83-
<li><a href="http://jqueryto.com">Toronto</a></li>
8482
<li><a href="http://events.jquery.org/2013/uk/">UK</a></li>
8583
<li><a href="http://events.jquery.org/2013/portland/">Portland</a></li>
8684
</ul>
@@ -94,14 +92,13 @@
9492
<li><a href="http://stackoverflow.com/tags/jquery/info">Stack Overflow</a></li>
9593
</ul>
9694
</li>
97-
<li class="dropdown"><a href="http://jquery.org/">jQuery Foundation</a>
95+
<li class="dropdown"><a href="https://jquery.org/">jQuery Foundation</a>
9896
<ul>
99-
<li><a href="http://jquery.org/about/">About</a></li>
100-
<li><a href="http://jquery.org/history/">History</a></li>
101-
<li><a href="http://jquery.org/team/">Team</a></li>
102-
<li><a href="http://jquery.org/sponsors/">Sponsors</a></li>
103-
<li><a href="http://jquery.org/donate/">Donate</a></li>
97+
<li><a href="https://jquery.org/join/">Join</a></li>
98+
<li><a href="https://jquery.org/members/">Members</a></li>
99+
<li><a href="https://jquery.org/team/">Team</a></li>
104100
<li><a href="http://brand.jquery.org/">Brand Guide</a></li>
101+
<li><a href="https://jquery.org/donate/">Donate</a></li>
105102
</ul>
106103
</li>
107104
</ul>

jquery/images/logo-wordpress.png

847 Bytes
Loading

0 commit comments

Comments
 (0)