From 4dd7b708b24a40ed90ed324d9853aa87b3ec46a0 Mon Sep 17 00:00:00 2001 From: shadlaws Date: Fri, 15 Feb 2013 19:31:20 +0100 Subject: Dialog sizing, titles, and z-index. This should ensure the small <500px dialogs are correct, all titles are correctly sized, and the dialog boxes go to the top for older themes, too. --- modules/gallery/css/gallery.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/gallery/css') diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css index 7e711156..d3f7dcca 100644 --- a/modules/gallery/css/gallery.css +++ b/modules/gallery/css/gallery.css @@ -149,6 +149,15 @@ text-align: center; } +/* Dialogs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ +/** + * Newer Themeroller-based themes do this on their own, but older + * themes need help ensuring that dialogs and overlays are on top + */ +.ui-front { + z-index: 1000 +} + /** ******************************************************************* * 2) Admin **********************************************************************/ -- cgit v1.2.3 From 4bf41377b8aca8dff15ccce398662e428268fa09 Mon Sep 17 00:00:00 2001 From: shadlaws Date: Mon, 18 Feb 2013 18:29:31 +0100 Subject: Moved autocomplete CSS to gallery.css to ensure it works for all themes (including admin_wind). --- modules/gallery/css/gallery.css | 6 ++++++ themes/wind/css/screen.css | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/gallery/css') diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css index d3f7dcca..73b8ab4e 100644 --- a/modules/gallery/css/gallery.css +++ b/modules/gallery/css/gallery.css @@ -158,6 +158,12 @@ z-index: 1000 } +/* Autocomplete ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +.ui-autocomplete { + text-align: left; +} + /** ******************************************************************* * 2) Admin **********************************************************************/ diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css index 6f98cbba..0ece722e 100644 --- a/themes/wind/css/screen.css +++ b/themes/wind/css/screen.css @@ -948,12 +948,6 @@ button { display: inline-block; } -/* Autocomplete */ - -.ui-autocomplete { - text-align: left; -} - /* Status and validation messages ~~~~ */ .g-message-block { -- cgit v1.2.3 From 62335da79177414094cc143c41901a7c0605b5d1 Mon Sep 17 00:00:00 2001 From: shadlaws Date: Tue, 26 Feb 2013 13:07:00 +0100 Subject: Follow-on from autocomplete updates. (9345dde83e1f092a9309c45282dc21e3fd408875, d632ef3e50252d388c272cacd29e8cc6e4949cec) - gallery module: added loading-small.gif (so all themes have it by default) - gallery module: added css for .ui-autocomplete-loading (copied from .g-loading-small in wind, but without !important so other themes can override it) - gallery module: updated upgrader.html.php to use new image (removes theme dependence) - wind theme: removed outdated css for .ac_loading (not used in v3.0.5, either) - server_add module: removed multiple argument from autocomplete (doesn't work well with it) --- modules/gallery/css/gallery.css | 4 ++++ modules/gallery/images/loading-small.gif | Bin 0 -> 673 bytes modules/gallery/views/upgrader.html.php | 2 +- modules/server_add/views/admin_server_add.html.php | 2 +- themes/wind/css/screen.css | 6 ------ 5 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 modules/gallery/images/loading-small.gif (limited to 'modules/gallery/css') diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css index 73b8ab4e..323c2e83 100644 --- a/modules/gallery/css/gallery.css +++ b/modules/gallery/css/gallery.css @@ -164,6 +164,10 @@ text-align: left; } +.ui-autocomplete-loading { + background: #e8e8e8 url('../images/loading-small.gif') no-repeat center center; +} + /** ******************************************************************* * 2) Admin **********************************************************************/ diff --git a/modules/gallery/images/loading-small.gif b/modules/gallery/images/loading-small.gif new file mode 100644 index 00000000..d0bce154 Binary files /dev/null and b/modules/gallery/images/loading-small.gif differ diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php index 4c611f7e..2e485c08 100644 --- a/modules/gallery/views/upgrader.html.php +++ b/modules/gallery/views/upgrader.html.php @@ -17,7 +17,7 @@