Skip to content

All Sites: Remove quick access from footer. #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed themes/jquery/content/presentations/addyosmani-2.jpg
Binary file not shown.
Binary file not shown.
183 changes: 20 additions & 163 deletions themes/jquery/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -2380,82 +2380,6 @@ footer strong {
text-decoration: none;
}

footer .cdn {
border-radius: 4px;
background: repeat-x center center #000;
width: 96%;
margin-left: 2%;
height: 30px;
line-height: 30px;
position: relative;
overflow: hidden;
white-space: nowrap;
-webkit-box-shadow: rgba(255,255,255,0.15) 0 1px 0;
box-shadow: rgba(255,255,255,0.15) 0 1px 0;
}

footer .cdn ~ .cdn { margin-top: 5px; }

footer .cdn ~ .cdn strong { text-align: right; }

footer .cdn strong {
text-align: center;
height: 26px;
text-align: left;
padding: 0 6px 0 6px;
line-height: 28px;
display: inline-block;
margin: 2px 0 0 2px;
position: relative;
border-radius: 3px 0 0 3px;
background: #777;
color: #fff;
text-shadow: #000 0 -1px 0;
font-weight: bold;
background-color: #7a7a7a;
background-image: -webkit-linear-gradient(#7a7a7a, #5e5e5e); /* Chrome 10+, Saf6 */
background-image: linear-gradient(top, #7a7a7a, #5e5e5e);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#7a7a7a', EndColorStr='#5e5e5e'); /* IE6–IE9 */
font-family: "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

footer .cdn strong:after {
content: "";
display: block;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: solid 1px rgba(255,255,255,0.2);
border-radius: 3px 0 0 3px;
}

footer .cdn strong em {
font-style: normal;
color: #ccc;
font-family: "source-code-pro", Consolas, monospace;
display: inline-block;
width: 35px;
padding-left: 5px;
padding-right: 4px;
text-align: right;
}

footer .cdn input {
display: inline-block;
width: 100%;
background: transparent;
border: 0;
font-family: "source-code-pro", Consolas, monospace;
padding-left: 5px;
white-space: nowrap;
color: #ccc;
font-size: 12px;
}

footer .cdn input:focus { outline: none; }

footer .download {
text-align: center;
color: #fff;
Expand All @@ -2476,14 +2400,6 @@ footer .download a em {

footer .download a:hover { border-bottom: solid 1px #888; }

footer .footer-icon-links {
padding: 15px 0;
margin: 0 2%;
border-top: solid 1px #333;
-webkit-box-shadow: #000 0 -1px 0;
box-shadow: #000 0 -1px 0;
}

footer .footer-icon-links li {
width: 22%;
margin-left: 11%;
Expand Down Expand Up @@ -2671,8 +2587,6 @@ footer ul li {
line-height: 30px;
}

footer .bottom { margin: 0 10% 0 0; }

footer #legal {
clear: left;
display: block;
Expand All @@ -2682,97 +2596,42 @@ footer #legal {
box-shadow: #000 0 -1px 0;
}

footer .presentations li {
footer .books li {
float: left;
width: 45%;
min-width: 142px;
margin-left: 3.5%;
width: 30%;
min-width: 95px;
margin-left: 2.8%;
margin-bottom: 15px;
line-height: 130%;
font-size: 11px;
text-align: center;
}

footer .presentations li a > span,
footer .books li a > span {
display: block;
border-radius: 5px;
border: solid 1px #000;
position: relative;
width: 142px;
height: 92px;
margin-bottom: 5px;
overflow: hidden;
background-clip: padding-box;
}

footer .presentations li a:hover > span,
footer .books li a:hover > span {
border-color: white;
footer .books li:first-child {
margin-left: 2%;
}

footer .presentations li a > span:after,
footer .books li a > span:after {
content: "";
footer .books li a img {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 5px;
border: solid 1px rgba(255,255,255,0.2);
border-radius: 4px;
width: 92px;
height: 114px;
margin: 0 auto 5px;
}

footer .presentations li a > span img {
max-width: 100%;
height: auto;
footer .books li a:hover img {
border-color: #fff;
}

footer .presentations li a > br,
footer .books li a > br { display: none; }

footer .presentations li a cite,
footer .books li a cite {
font-style: normal;
footer .books li a cite {
display: block;
margin-top: 3px;
font-style: normal;
font-size: 9px;
line-height: 1.5em;
color: #aaa;
}

footer .presentations li a cite,
footer .presentations li a strong,
footer .books li a cite,
footer .books li a strong {
line-height: 130%;
display: block;
font-weight: normal;
}

footer .books li {
float: left;
width: 30%;
min-width: 95px;
margin-left: 2.8%;
margin-bottom: 15px;
line-height: 130%;
font-size: 11px;
}

footer .books li:first-child { margin-left: 2%; }

footer .books li a > span {
width: 90px;
height: 114px;
}

footer .books li a > span.top { background-position: center top;}
footer .books li a > span.bottom { background-position: center bottom;}
footer .books li a > span { background-position: center center;}

footer li img {
border-radius: 4px;
}



/* General Styles
Expand Down Expand Up @@ -3261,7 +3120,6 @@ footer li img {
padding: 0;
}

footer .presentations li,
footer .books li {
clear: both;
margin-bottom: 10px;
Expand All @@ -3271,7 +3129,6 @@ footer li img {
text-align: center;
}

footer .presentations li span,
footer .books li span {
display: block;
margin-left: auto;
Expand Down Expand Up @@ -3366,16 +3223,16 @@ footer li img {
#banner-secondary {
margin-left: -25px;
margin-right: -25px;

}

footer .footer-icon-links li a:before {
display: none;
}

footer .footer-icon-links li:first-child {
margin-left: 0;
}

footer .download > span {
white-space: normal;
}
Expand Down
27 changes: 0 additions & 27 deletions themes/jquery/footer-mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,6 @@

<footer class="clearfix simple">
<div class="constrain">
<div class="row">
<div class="eight columns centered">
<h3><span>Quick Access</span></h3>
<div class="cdn">
<strong>CDN <em>CSS</em></strong>
<input value="//code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.css" readonly>
</div>
<div class="cdn">
<strong>CDN <em>JS</em></strong>
<input value="//code.jquery.com/jquery-1.10.2.min.js" readonly>
</div>
<div class="cdn">
<strong>CDN <em>JS</em></strong>
<input value="//code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.js" readonly>
</div>
<div class="download">
<strong>Download jQuery Mobile 1.4.1:</strong>
<span><a href="http://jquerymobile.com/resources/download/jquery.mobile-1.4.1.zip">Zip File <em>(JavaScript, CSS, and images)</em></a></span>
</div>
<ul class="footer-icon-links">
<li><a class="icon-github" href="http://github.com/jquery/jquery-mobile">GitHub <small>jQuery Mobile <br>Source</small></a></li>
<li><a class="icon-group" href="http://forum.jquery.com/jquery-mobile">Forum <small>Community <br>Support</small></a></li>
<li><a class="icon-warning-sign" href="http://github.com/jquery/jquery-mobile/issues">Bugs <small>Issue <br>Tracker</small></a></li>
</ul>
</div>
</div>

<div id="legal">
<ul class="footer-site-links">
<li><a class="icon-pencil" href="http://learn.jquery.com/">Learning Center</a></li>
Expand Down
23 changes: 0 additions & 23 deletions themes/jquery/footer-qunit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,6 @@

<footer class="clearfix simple">
<div class="constrain">
<div class="row">
<div class="six columns centered">
<h3><span>Quick Access</span></h3>
<div class="cdn">
<strong>CDN <em>CSS</em></strong>
<input value="//code.jquery.com/qunit/qunit-1.14.0.css" readonly>
</div>
<div class="cdn">
<strong>CDN <em>JS</em></strong>
<input value="//code.jquery.com/qunit/qunit-1.14.0.js" readonly>
</div>
<div class="download">
<strong>Download QUnit 1.14.0:</strong>
<span><a href="http://code.jquery.com/qunit/qunit-1.14.0.js">qunit.js</a><a href="http://code.jquery.com/qunit/qunit-1.14.0.css">qunit.css</a></span>
</div>
<ul class="footer-icon-links">
<li><a class="icon-github" href="http://github.com/jquery/qunit">GitHub <small>QUnit <br>Source</small></a></li>
<li><a class="icon-group" href="http://forum.jquery.com/qunit-and-testing">Forum <small>Community <br>Support</small></a></li>
<li><a class="icon-warning-sign" href="http://github.com/jquery/qunit/issues">Bugs <small>Issue <br>Tracker</small></a></li>
</ul>
</div>
</div>

<div id="legal">
<ul class="footer-site-links">
<li><a class="icon-pencil" href="http://learn.jquery.com/">Learning Center</a></li>
Expand Down
43 changes: 7 additions & 36 deletions themes/jquery/footer-ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,13 @@
<footer class="clearfix simple">
<div class="constrain">
<div class="row">
<div class="eight columns">
<h3><span>Quick Access</span></h3>
<div class="cdn">
<strong>CDN <em>CSS</em></strong>
<input value="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" readonly>
</div>
<div class="cdn">
<strong>CDN <em>JS</em></strong>
<input value="//code.jquery.com/jquery-1.10.2.js" readonly>
</div>
<div class="cdn">
<strong>CDN <em>JS</em></strong>
<input value="//code.jquery.com/ui/1.10.4/jquery-ui.js" readonly>
</div>
<div class="download">
<div><strong>Download jQuery UI 1.10.4 (for jQuery 1.6+):</strong></div>
<span>
<a href="http://jqueryui.com/resources/download/jquery-ui-1.10.4.zip">Development Bundle</a>
<a href="http://jqueryui.com/resources/download/jquery-ui-themes-1.10.4.zip">Themes</a>
<a href="http://jqueryui.com/download/">Download Builder →</a>
</span>
</div>
<ul class="footer-icon-links">
<li><a class="icon-github" href="http://github.com/jquery/jquery-ui">GitHub <small>jQuery UI <br>Source</small></a></li>
<li><a class="icon-group" href="http://forum.jquery.com/using-jquery-ui">Forum <small>Community <br>Support</small></a></li>
<li><a class="icon-warning-sign" href="http://bugs.jqueryui.com">Bugs <small>Issue <br>Tracker</small></a></li>
</ul>
</div>

<div class="four columns">
<div class="six columns offset-by-three">
<h3><span>Books</span></h3>
<ul class="books">
<!--<li>
<a href="http://link.packtpub.com/SHnqUf">
<span class="bottom"><img src="<?php echo get_template_directory_uri(); ?>/content/books/jquery-ui-1.8.jpg" alt="jQuery UI 1.8: The User Interface Library for jQuery by Dan Wellman" width="92" height="114"></span>
<strong>jQuery UI 1.8: The User Interface Library for jQuery</strong><br>
<img src="<?php echo get_template_directory_uri(); ?>/content/books/jquery-ui-1.8.jpg" alt="jQuery UI 1.8: The User Interface Library for jQuery by Dan Wellman" width="92" height="114">
<span class="book-title">jQuery UI 1.8: The User Interface Library for jQuery</span>
<cite>Dan Wellman</cite>
</a>
</li>-->
Expand All @@ -52,15 +23,15 @@
</li>
<li>
<a href="http://link.packtpub.com/PG9pAC">
<span><img src="<?php echo get_template_directory_uri(); ?>/content/books/jquery-ui-themes.jpg" alt="jQuery UI Themes by Adam Boduch" width="92" height="114"></span>
<strong>jQuery UI Themes</strong><br>
<img src="<?php echo get_template_directory_uri(); ?>/content/books/jquery-ui-themes.jpg" alt="jQuery UI Themes by Adam Boduch" width="92" height="114">
<span class="book-title">jQuery UI Themes</span>
<cite>Adam Boduch</cite>
</a>
</li>
<li>
<a href="http://www.packtpub.com/jquery-userinterface-cookbook/book">
<span><img src="<?php echo get_template_directory_uri(); ?>/content/books/jquery-ui-cookbook.jpg" alt="jQuery UI Cookbook by Adam Boduch" width="92" height="114"></span>
<strong>jQuery UI Cookbook</strong><br>
<img src="<?php echo get_template_directory_uri(); ?>/content/books/jquery-ui-cookbook.jpg" alt="jQuery UI Cookbook by Adam Boduch" width="92" height="114">
<span class="book-title">jQuery UI Cookbook</span>
<cite>Adam Boduch</cite>
</a>
</li>
Expand Down
Loading