use unicode symbols for input

This commit is contained in:
Rolux 2010-03-06 10:13:17 +01:00
parent c58e5b9a03
commit e7c0a60b50
2 changed files with 14 additions and 8 deletions

View File

@ -207,7 +207,8 @@ input[type=image].OxLarge {
input[type=image].OxLarge {
width: 18px;
}
input[type=image].OxMedium {
input[type=image].OxMedium,
.OxButton.OxSymbol.OxMedium {
width: 14px;
}
input[type=image].OxSmall {
@ -227,6 +228,7 @@ textarea {
.OxButton.OxSymbol,
.OxButton.OxSymbol:active,
.OxButton.OxSymbol:focus {
padding: 0;
border: 1px solid rgba(0, 0, 0, 0);
background: rgba(0, 0, 0, 0);
-moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
@ -326,12 +328,13 @@ div.OxInput > .OxInputLabel {
}
div.OxInput > .OxButton {
float: left;
margin-top: -1px;
//margin-left: 1px;
margin-top: -2px;
}
div.OxInput > .OxButton:last-child {
float: left;
margin-left: -1px;
margin-top: -1px;
margin-top: -2px;
}
input.OxInput {
float: left;

View File

@ -59,7 +59,8 @@ requires
burn: "\u2622",
caps_lock: "\u21EA",
check: "\u2713",
clear: "\u2327",
//clear: "\u2327",
clear: "\u00D7",
click: "\uF803",
close: "\u2715",
command: "\u2318",
@ -1771,8 +1772,9 @@ requires
that.$label && that.$label.click(select);
that.$select = new Ox.Button({
style: "symbol",
type: "image",
value: "select"
// type: "image",
// value: "select"
value: oxui.symbols.select
})
.click(select)
.appendTo(that);
@ -1816,8 +1818,9 @@ requires
if (self.options.clear) {
that.$clear = new Ox.Button({
style: "symbol",
type: "image",
value: "clear"
//type: "image",
//value: "clear"
value: oxui.symbols.clear
})
.click(clear)
.appendTo(that);