incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: CS-15315: Fix overlay positioning
Date Tue, 26 Jun 2012 17:25:01 GMT
Updated Branches:
  refs/heads/master 7b7d51cec -> 80b851534


CS-15315: Fix overlay positioning

Original patch by: olga.smola
reviewed-by: brian


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/80b85153
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/80b85153
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/80b85153

Branch: refs/heads/master
Commit: 80b8515347d2f51a978a231bdf351ae34dd2702f
Parents: 7b7d51c
Author: bfederle <bfederle@gmail.com>
Authored: Tue Jun 26 10:23:33 2012 -0700
Committer: bfederle <bfederle@gmail.com>
Committed: Tue Jun 26 10:24:54 2012 -0700

----------------------------------------------------------------------
 ui/css/cloudstack3.css           |    1 +
 ui/scripts/ui/widgets/overlay.js |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/80b85153/ui/css/cloudstack3.css
----------------------------------------------------------------------
diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css
index ffa0aeb..d1d53b3 100644
--- a/ui/css/cloudstack3.css
+++ b/ui/css/cloudstack3.css
@@ -2831,6 +2831,7 @@ Dialogs*/
   -webkit-box-shadow: 0px -4px 15px #4C4A4A;
   -o-box-shadow: 0px -4px 15px #4C4A4A;
   box-shadow: 0px -4px 15px #4C4A4A;
+  position:absolute;
 }
 
 .ui-dialog .ui-widget-content {

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/80b85153/ui/scripts/ui/widgets/overlay.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/overlay.js b/ui/scripts/ui/widgets/overlay.js
index 296b58a..ecf12e6 100644
--- a/ui/scripts/ui/widgets/overlay.js
+++ b/ui/scripts/ui/widgets/overlay.js
@@ -43,4 +43,8 @@
 
     return this;
   };
+  
+  $(window).bind('resize scroll', function() {
+	  $('.overlay').css( 'top', $(window).scrollTop());
+  });
 })(window.jQuery);


Mime
View raw message