From f283d5ebeadb94718c14a11f995a66add8b17845 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 2 Aug 2012 18:10:03 +0800 Subject: [PATCH] css/button.css --- css/button.css | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/css/button.css b/css/button.css index da063e5bc6..3f79e684c9 100644 --- a/css/button.css +++ b/css/button.css @@ -29,10 +29,10 @@ .x-btn-left, .x-btn-right -{ - font-size:1px; +{ + font-size:1px; line-height:1px; - width: 3px; + width: 3px; } @@ -51,7 +51,7 @@ } -/* -------- BUTTON BACKGROUND IMAGE -------------- */ +/* -------- BUTTON BACKGROUND IMAGE -------------- */ .x-btn-left, .x-btn-center, .x-btn-right @@ -61,15 +61,16 @@ background-repeat: no-repeat; /* might have height, and padding / margin zero'd */ height:21px; + vertical-align: middle; + - } .x-btn-left { background-position:0 0; } .x-btn-right -{ +{ background-position:0 -21px; } .x-btn-center @@ -120,8 +121,8 @@ background-position:0 -126px; } -/* -------------------------- BUTTON FOCUS -------------------------- */ -/* ??? any special settings ?? */ +/* -------------------------- BUTTON FOCUS -------------------------- */ +/* ??? any special settings ?? */ /* -------------------------- BUTTON DISABLED -------------------------- */ .x-btn .x-btn-disabled @@ -155,7 +156,7 @@ { padding-left: 0px; padding-right: 0px; -} +} /* -------------------------- BUTTON WITH ICONS -------------------------- */ .x-btn-text-icon .x-btn-center .x-btn-text { @@ -191,5 +192,5 @@ button.x-btn-menu-arrow-el /* padding : 3px 0 2px 18px; */ padding : 0 0 2px 0px; } - + \ No newline at end of file -- 2.39.2