changed close icon positioning to abs

This commit is contained in:
Scott Jehl 2008-12-12 19:14:50 +00:00
parent b94e8d292a
commit 52e1236cda

View File

@ -1,9 +1,9 @@
/* Dialog
----------------------------------*/
.ui-dialog {position: relative; padding: .2em; width: 300px; }
.ui-dialog-titlebar { padding: .5em .3em .3em 1em; }
.ui-dialog-title { float: left; margin: 2px 0; }
.ui-dialog-titlebar-close { float: right; width: 19px; margin: -.2em 0 0 0; padding: 1px; height: 18px; }
.ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
.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-content {border: 0; padding: .5em 1em; background: none; }