From 1eb0c1f0d835e56662afe215f63042a26faa9945 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 19 Dec 2010 18:35:22 +0000 Subject: updated search box css git-svn-id: http://code.elgg.org/elgg/trunk@7686 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/search/views/default/search/css.php | 49 +++++++++++--------------- mod/search/views/default/search/search_box.php | 10 +++--- 2 files changed, 25 insertions(+), 34 deletions(-) (limited to 'mod/search/views/default') diff --git a/mod/search/views/default/search/css.php b/mod/search/views/default/search/css.php index 644833673..d6e905bf0 100644 --- a/mod/search/views/default/search/css.php +++ b/mod/search/views/default/search/css.php @@ -6,43 +6,36 @@ */ ?> - -#elgg-search { - bottom:5px; - height:23px; - position:absolute; - right:0; +.elgg-page-header .elgg-search { + bottom: 5px; + height: 23px; + position: absolute; + right: 0; } - -.elgg-page-header #elgg-search input.search-input { +.elgg-page-header .elgg-search input[type=text] { + width: 198px; +} +.elgg-search input[type=text] { -webkit-border-radius: 10px; -moz-border-radius: 10px; - background-color:transparent; - border:1px solid #71b9f7; - color:white; - font-size:12px; - font-weight:bold; - margin:0; - padding:2px 4px 2px 26px; - width:198px; + border: 1px solid #71b9f7; + color: white; + font-size: 12px; + font-weight: bold; + padding: 2px 4px 2px 26px; + background-color: transparent; background-image: url(_graphics/elgg_sprites.png); background-position: 2px -220px; background-repeat: no-repeat; } -.elgg-page-header #elgg-search input.search-input:focus { - background-color:white; - color:#0054A7; - border:1px solid white; - background-position: 2px -257px; -} -.elgg-page-header #elgg-search input.search-input:active { - background-color:white; - color:#0054A7; - border:1px solid white; +.elgg-search input[type=text]:focus, .elgg-search input[type=text]:active { + background-color: white; + color: #0054A7; + border: 1px solid white; background-position: 2px -257px; } -.elgg-page-header #elgg-search input.search-submit-button { - display:none; +.elgg-page-header .elgg-search input[type=submit] { + display: none; } .search_listing { diff --git a/mod/search/views/default/search/search_box.php b/mod/search/views/default/search/search_box.php index b42319520..1a02a9861 100644 --- a/mod/search/views/default/search/search_box.php +++ b/mod/search/views/default/search/search_box.php @@ -12,11 +12,9 @@ $value = stripslashes($value); ?> - \ No newline at end of file + + \ No newline at end of file -- cgit v1.2.3