aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Jehl <scott@scottjehl.com>2008-12-23 15:17:57 +0000
committerScott Jehl <scott@scottjehl.com>2008-12-23 15:17:57 +0000
commite3b9588a585dc902177e828f674c0faa81e655ea (patch)
tree5eda7fb3a6768f1720761c60990ed0d43b12bad7
parent9d7d011aa14ed4257dd57176a9d6a957bcec05bc (diff)
downloadjquery-ui-e3b9588a585dc902177e828f674c0faa81e655ea.tar.gz
jquery-ui-e3b9588a585dc902177e828f674c0faa81e655ea.zip
added padding: 0; rule to .ui-dialog-titlebar-close:focus as well as .ui-dialog-titlebar-close:hover
-rw-r--r--themes/base/ui.dialog.css2
-rw-r--r--themes/default/ui.dialog.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/base/ui.dialog.css b/themes/base/ui.dialog.css
index 86ab203d3..76806b369 100644
--- a/themes/base/ui.dialog.css
+++ b/themes/base/ui.dialog.css
@@ -5,7 +5,7 @@
.ui-dialog-title { float: left; margin: .1em 0 .2em; }
.ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog-titlebar-close span { display: block; margin: 1px; }
-.ui-dialog-titlebar-close:hover { padding: 0; }
+.ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; }
.ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
diff --git a/themes/default/ui.dialog.css b/themes/default/ui.dialog.css
index 468a3d421..746c8df4a 100644
--- a/themes/default/ui.dialog.css
+++ b/themes/default/ui.dialog.css
@@ -5,7 +5,7 @@
.ui-dialog-title { float: left; margin: .1em 0 .2em; }
.ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog-titlebar-close span { display: block; margin: 1px; }
-.ui-dialog-titlebar-close:hover { padding: 0; }
+.ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; }
.ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }