Skip to content

Reworked styling for search box based on existing HTML markup. #91

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

Merged
merged 3 commits into from
Oct 16, 2012
Merged
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
4 changes: 0 additions & 4 deletions themes/jquery.org/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -477,10 +477,6 @@ nav#main ul {
width: 80%;
}

nav#main .children{
display: none;
}

@media only screen and (max-width: 767px) {
.sponsors-page ul.block-grid li img {
float: none;
Expand Down
21 changes: 19 additions & 2 deletions themes/jquery/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1391,11 +1391,23 @@ nav#main .searchform input {
background-color: transparent;
border-style: none;
color: #fff;
line-height: 1.3;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.76);
width: 75%;
width: 85%;
}

nav#main .searchform i {
nav#main .searchform input:focus {
outline: none;
}

nav#main .searchform input::-webkit-input-placeholder,
nav#main .searchform input::-ms-input-placeholder,
nav#main .searchform input::-moz-placeholder,
nav#main .searchform input::placeholder {
color: #fff;
}

nav#main .searchform .icon-search {
position: absolute;
right: 10px;
top: 3px;
Expand All @@ -1406,6 +1418,11 @@ nav#main .searchform i {
color: #fff;
}

nav#main .searchform label span{
left: -9999em;
position: absolute;
}

/* Typography & Global Styles
========================================================================== */

Expand Down
2 changes: 1 addition & 1 deletion themes/jquery/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!--End Footer ===================================================================-->

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.8.1.min.js"%3E%3C/script%3E')</script>
<script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.8.1.min.js"%3E%3C/script%3E'))</script>

<script src="<?php echo get_template_directory_uri(); ?>/js/plugins.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js"></script>
Expand Down