Permalink
Browse files

updated search field css adding search icon to search field background

  • Loading branch information...
1 parent e642da7 commit 0a0682df3cb40941edbe46c56f88b7808a8f3d29 @marpa committed Jul 22, 2012
Showing with 24 additions and 6 deletions.
  1. BIN images/search.png
  2. +24 −6 options-css.php
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -510,27 +510,45 @@ function translucence_options_css() {
/* Begin sidebar search form */
#tertiary #searchform #s {
+ background: url(<?php print get_template_directory_uri() ?>/images/search.png) no-repeat 5px 6px;
background-color: <?php print $translucence_options['searchbox-color']?>;
color: <?php print $translucence_options['linkcolor']?>;
border: 1px solid #999999;
- width: 80%;
- padding: 2px;
+ width: 70%;
+ -moz-border-radius: 2px;
+ border-radius: 2px;
+ font-size: 14px;
+ height: 22px;
+ line-height: 1.2em;
+ padding: 4px 10px 4px 28px;
}
#primary #searchform #s {
+ background: url(<?php print get_template_directory_uri() ?>/images/search.png) no-repeat 5px 6px;
background-color: <?php print $translucence_options['searchbox-color']?>;
color: <?php print $translucence_options['linkcolor']?>;
border: 1px solid #999999;
- width: 80%;
- padding: 2px;
+ width: 70%;
+ -moz-border-radius: 2px;
+ border-radius: 2px;
+ font-size: 14px;
+ height: 22px;
+ line-height: 1.2em;
+ padding: 4px 10px 4px 28px;
}
#secondary #searchform #s {
+ background: url(<?php print get_template_directory_uri() ?>/images/search.png) no-repeat 5px 6px;
background-color: <?php print $translucence_options['searchbox-color']?>;
color: <?php print $translucence_options['linkcolor']?>;
border: 1px solid #999999;
- width: 80%;
- padding: 2px;
+ width: 70%;
+ -moz-border-radius: 2px;
+ border-radius: 2px;
+ font-size: 14px;
+ height: 22px;
+ line-height: 1.2em;
+ padding: 4px 10px 4px 28px;
}
/* End widget search form */

0 comments on commit 0a0682d

Please sign in to comment.