fixing css

This commit is contained in:
Rolux 2010-02-19 20:25:10 +05:30
parent ff8f286f77
commit 001dd19126
3 changed files with 9 additions and 8 deletions

View file

@ -195,9 +195,11 @@ input::-moz-focus-inner {
border: none; border: none;
} }
.OxButton.OxSymbol, .OxButton.OxSymbol,
.OxButton.OxSymbol:active { .OxButton.OxSymbol:active,
.OxButton.OxSymbol:focus {
border: 1px solid rgba(0, 0, 0, 0); border: 1px solid rgba(0, 0, 0, 0);
background: rgba(0, 0, 0, 0); background: rgba(0, 0, 0, 0);
-moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
} }
/* /*
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -295,8 +297,7 @@ div.OxInput > .OxButton:last-child {
} }
input.OxInput { input.OxInput {
float: left; float: left;
margin-left: -1px; margin: -1px -1px 0 -1px;
margin-top: -1px;
} }
/* /*
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1705,7 +1705,7 @@ requires
} }
function callback(items) { function callback(items) {
var selected = -1; var selected = items.length == 1 ? 0 : -1;
if (items.length) { if (items.length) {
items = $.map(items, function(title, position) { items = $.map(items, function(title, position) {
if (that.$input.val().toLowerCase() == Ox.stripTags(title.toLowerCase())) { if (that.$input.val().toLowerCase() == Ox.stripTags(title.toLowerCase())) {
@ -1820,8 +1820,8 @@ requires
that.width = function(value) { that.width = function(value) {
that.$element.width(value); that.$element.width(value);
that.$input.width(value - 2 - self.options.labelWidth - that.$input.width(value - 2 - self.options.labelWidth -
(self.options.placeholder.length > 1) * 21 - (self.options.placeholder.length > 1) * 26 -
self.options.clear * 21); self.options.clear * 15);
return that; return that;
} }

View file

@ -101,7 +101,7 @@
] ]
}, },
clear: true, clear: true,
highlight: true, highlight: false,
id: "find", id: "find",
placeholder: ["Find: Title", "Find: Director", "Find: Country"], placeholder: ["Find: Title", "Find: Director", "Find: Country"],
}).width(256) }).width(256)
@ -441,7 +441,7 @@
"Wyoming" "Wyoming"
] ]
}, },
clear: true, clear: false,
highlight: true, highlight: true,
id: "citystate", id: "citystate",
placeholder: ["City", "State"], placeholder: ["City", "State"],