Merge lp:~gary/juju-gui/hidehelp into lp:juju-gui/experimental

Proposed by Gary Poster
Status: Merged
Merged at revision: 630
Proposed branch: lp:~gary/juju-gui/hidehelp
Merge into: lp:juju-gui/experimental
Diff against target: 43 lines (+6/-2)
2 files modified
lib/views/browser/main.less (+1/-1)
lib/views/stylesheet.less (+5/-1)
To merge this branch: bzr merge lp:~gary/juju-gui/hidehelp
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+161675@code.launchpad.net

Description of the change

Tweak help text to not obscure charm browser

https://codereview.appspot.com/9036047/

To post a comment you must log in.
Revision history for this message
Gary Poster (gary) wrote :

Reviewers: mp+161675_code.launchpad.net,

Message:
Please take a look.

Description:
Tweak help text to not obscure charm browser

Trivial.

https://code.launchpad.net/~gary/juju-gui/hidehelp/+merge/161675

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/9036047/

Affected files:
   A [revision details]
   M lib/views/browser/main.less
   M lib/views/stylesheet.less

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>

Index: lib/views/stylesheet.less
=== modified file 'lib/views/stylesheet.less'
--- lib/views/stylesheet.less 2013-04-28 20:03:01 +0000
+++ lib/views/stylesheet.less 2013-04-30 18:37:33 +0000
@@ -281,6 +281,10 @@
  #environment-help {
    color: #757575;
    text-align: center;
+ /* This is absolute so that it does not push the svg down when it is
+ visible. That's important for animations hiding and showing this
help,
+ and if we want the help to appear when a service is present (such as
the
+ GUI itself). */
    position: absolute;
    overflow: hidden;
    padding: 0;
@@ -291,7 +295,7 @@
    pointer-events: none;
    div.vertical-center-floater {
      height: 50%;
- margin-bottom: -225px;
+ margin-bottom: -250px;
      margin-top: 0;
      min-height: 225px;
    }

Index: lib/views/browser/main.less
=== modified file 'lib/views/browser/main.less'
--- lib/views/browser/main.less 2013-04-29 18:38:00 +0000
+++ lib/views/browser/main.less 2013-04-30 18:37:33 +0000
@@ -249,6 +249,7 @@
    #bws-fullscreen {
      bottom: @canvas-footer-nav-height;
      background-color: #f5f5f5;
+ z-index: 1;
    }
    .bws-view-data,
    #bws-sidebar .bws-content {
@@ -279,7 +280,6 @@
      }
    }
    #bws-sidebar {
- z-index: 1;
      right: auto;
      width: @bws-sidebar-width;
      overflow: hidden;

Revision history for this message
Gary Poster (gary) wrote :

*** Submitted:

Tweak help text to not obscure charm browser

R=
CC=
https://codereview.appspot.com/9036047

https://codereview.appspot.com/9036047/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/views/browser/main.less'
2--- lib/views/browser/main.less 2013-04-29 18:38:00 +0000
3+++ lib/views/browser/main.less 2013-04-30 18:49:27 +0000
4@@ -249,6 +249,7 @@
5 #bws-fullscreen {
6 bottom: @canvas-footer-nav-height;
7 background-color: #f5f5f5;
8+ z-index: 1;
9 }
10 .bws-view-data,
11 #bws-sidebar .bws-content {
12@@ -279,7 +280,6 @@
13 }
14 }
15 #bws-sidebar {
16- z-index: 1;
17 right: auto;
18 width: @bws-sidebar-width;
19 overflow: hidden;
20
21=== modified file 'lib/views/stylesheet.less'
22--- lib/views/stylesheet.less 2013-04-28 20:03:01 +0000
23+++ lib/views/stylesheet.less 2013-04-30 18:49:27 +0000
24@@ -281,6 +281,10 @@
25 #environment-help {
26 color: #757575;
27 text-align: center;
28+ /* This is absolute so that it does not push the svg down when it is
29+ visible. That's important for animations hiding and showing this help,
30+ and if we want the help to appear when a service is present (such as the
31+ GUI itself). */
32 position: absolute;
33 overflow: hidden;
34 padding: 0;
35@@ -291,7 +295,7 @@
36 pointer-events: none;
37 div.vertical-center-floater {
38 height: 50%;
39- margin-bottom: -225px;
40+ margin-bottom: -250px;
41 margin-top: 0;
42 min-height: 225px;
43 }

Subscribers

People subscribed via source and target branches