This commit is contained in:
Karen 2011-10-25 23:47:54 +05:30
commit f4eac1be73
2 changed files with 17 additions and 5 deletions

View File

@ -540,7 +540,8 @@ color:#F7BD00;
font-family:'Century Gothic', Helvetica, Arial, 'DejaVu Sans', sans-serif; font-family:'Century Gothic', Helvetica, Arial, 'DejaVu Sans', sans-serif;
text-transform:uppercase; text-transform:uppercase;
margin-bottom:12px; margin-bottom:12px;
vertical-align:bottom;} vertical-align:bottom;
text-align:left;}
#id_q { #id_q {
width:150px; width:150px;
@ -598,6 +599,17 @@ border-radius: 6px;
padding: 3px 24px; padding: 3px 24px;
border: 1px solid transparent; border: 1px solid transparent;
margin-top: 7px; margin-top: 7px;
margin-bottom:14px; margin-bottom:24px;
font-family:'Century Gothic', Helvetica, Arial, 'DejaVu Sans', sans-serif; font-family:'Century Gothic', Helvetica, Arial, 'DejaVu Sans', sans-serif;
} cursor:pointer;}
#searchItf table th
{width:40%;}
.id_models_0
{color:#F7BD00;
font-size:12px;
text-align:left;}
.id_q
{text-align:left;}

View File

@ -1,5 +1,5 @@
var labelMap = { var labelMap = {
'id_q': '<h2>Search</h2>', 'id_q': '<h2>Search:</h2>',
'id_models_0': 'You could also narrow your search.<br />Select a category.' 'id_models_0': 'You could also narrow your search.<br />Select a category.'
} }
@ -7,7 +7,7 @@ $(function() {
for (var i in labelMap) { for (var i in labelMap) {
if (labelMap.hasOwnProperty(i)) { if (labelMap.hasOwnProperty(i)) {
if ($('label[for=' + i + ']').length > 0) { if ($('label[for=' + i + ']').length > 0) {
$('label[for=' + i + ']').eq(0).html(labelMap[i]); $('label[for=' + i + ']').eq(0).addClass(i).html(labelMap[i]);
} }
} }
} }