From e7c0a60b50ff23d2dda194135ec7580152841c1d Mon Sep 17 00:00:00 2001 From: Rolux Date: Sat, 6 Mar 2010 10:13:17 +0100 Subject: [PATCH] use unicode symbols for input --- build/css/ox.ui.css | 9 ++++++--- build/js/ox.ui.js | 13 ++++++++----- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/build/css/ox.ui.css b/build/css/ox.ui.css index eb47d96..b26739e 100644 --- a/build/css/ox.ui.css +++ b/build/css/ox.ui.css @@ -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; diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index cc3b9f1..8721bc4 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -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);