use unicode symbols for input

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

View file

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

View file

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