diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-02-08 19:35:10 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-02-08 19:35:10 +0000 |
commit | aa1abbf82a2d91f064e58572412e1ffb968b010f (patch) | |
tree | c7f280fef11b72073ec1d2d42cf35c6ba829749f | |
parent | 8e3bb143c9354db5f38d9a3b8377c087b0ec4520 (diff) |
Let the theme control overlay opacity for dialogs.
-rw-r--r-- | lib/gallery.dialog.js | 4 | ||||
-rw-r--r-- | themes/default/css/screen.css | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index 6f40bdae..a7f66cce 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -28,10 +28,6 @@ function openDialog(element, on_success) { height: "auto", width: "auto", modal: true, - overlay: { - opacity: 0.7, - background: "black" - }, resizable: true, close: function (event, ui) { $("#gDialog").dialog("destroy").remove(); diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index ca850114..d1900a7a 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -725,6 +725,12 @@ form p.gError { text-align: left; } +.ui-widget-overlay { + background: #000; + opacity: .7; + filter: Alpha(Opacity=70); +} + #gDialog form { width: 500px; } |