Updated Branches: refs/heads/ui-restyle ee28bfdb4 -> d55ed9533
More accurate positioning of quickview tooltip Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d55ed953 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d55ed953 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d55ed953 Branch: refs/heads/ui-restyle Commit: d55ed953357f94881df9da477944eff74bf48aa5 Parents: ee28bfd Author: Brian Federle <brian.fede...@citrix.com> Authored: Tue Oct 15 12:37:48 2013 -0700 Committer: Brian Federle <brian.fede...@citrix.com> Committed: Tue Oct 15 12:37:48 2013 -0700 ---------------------------------------------------------------------- ui/scripts/ui/widgets/listView.js | 5 ++--- ui/stylesheets/_list-view.scss | 7 ++----- ui/stylesheets/cloudstack.css | 7 ++----- 3 files changed, 6 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d55ed953/ui/scripts/ui/widgets/listView.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index f89cd0d..f313064 100644 --- a/ui/scripts/ui/widgets/listView.js +++ b/ui/scripts/ui/widgets/listView.js @@ -1379,9 +1379,8 @@ }); $quickViewTooltip.css({ position: 'absolute', - left: $tr.width() + ($quickViewTooltip.width() - - ($quickViewTooltip.width() / 2)), - top: $quickView.offset().top - 50, + left: ($quickView.offset().left + $quickView.outerWidth()) - $quickViewTooltip.outerWidth(), + top: $quickView.offset().top, zIndex: $tr.closest('.panel').zIndex() + 1 }); http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d55ed953/ui/stylesheets/_list-view.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/_list-view.scss b/ui/stylesheets/_list-view.scss index b2302c4..b7aa766 100644 --- a/ui/stylesheets/_list-view.scss +++ b/ui/stylesheets/_list-view.scss @@ -109,11 +109,8 @@ overflow: hidden; background: white; position: absolute; - top: 0px; - left: 0px; box-shadow: 0px 5px 10px lighten(black, 45%); - margin-top: 50px; - margin-left: -($width) + 125px; + margin: 0; .ui-tabs-nav { display: none !important; } @@ -170,7 +167,7 @@ font-size: 18px; color: lighten(black, 25%); position: absolute; - left: $width - 55px; + left: $width - 44px; top: 16px; } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d55ed953/ui/stylesheets/cloudstack.css ---------------------------------------------------------------------- diff --git a/ui/stylesheets/cloudstack.css b/ui/stylesheets/cloudstack.css index 026b82a..aeaec7e 100644 --- a/ui/stylesheets/cloudstack.css +++ b/ui/stylesheets/cloudstack.css @@ -6363,11 +6363,8 @@ ul.ui-tabs-nav { overflow: hidden; background: white; position: absolute; - top: 0px; - left: 0px; box-shadow: 0px 5px 10px #737373; - margin-top: 50px; - margin-left: -475px; } + margin: 0; } .quick-view-tooltip .ui-tabs-nav { display: none !important; } .quick-view-tooltip .detail-group .main-groups { @@ -6435,7 +6432,7 @@ ul.ui-tabs-nav { font-size: 18px; color: #404040; position: absolute; - left: 545px; + left: 556px; top: 16px; } .detail-view .toolbar {