From bc11d0e0a4c328d4a0f3ea8f23e760b9f0f26786 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 15 Jan 2014 04:42:02 -0700 Subject: [PATCH 1/3] Gives panes the app-background-color In the post-empty-panes world, there will always be a single root pane, so the true background of workspace will never be visible. --- stylesheets/panes.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stylesheets/panes.less b/stylesheets/panes.less index 9eaf958..d7838eb 100644 --- a/stylesheets/panes.less +++ b/stylesheets/panes.less @@ -9,6 +9,10 @@ } .panes { + .pane { + background-color: @app-background-color; + } + .pane-row .pane { border-right: 1px solid @pane-item-border-color; &:last-child { border-right: none; } From bf27632810fa9fa369a1536a0763f2fbece74efa Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 15 Jan 2014 11:54:25 -0700 Subject: [PATCH 2/3] Apply a blue inner glow to focused empty panes --- stylesheets/panes.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stylesheets/panes.less b/stylesheets/panes.less index d7838eb..e2098bc 100644 --- a/stylesheets/panes.less +++ b/stylesheets/panes.less @@ -11,6 +11,10 @@ .panes { .pane { background-color: @app-background-color; + + &:focus .item-views { + box-shadow: inset 0 0 7px #6aa5e9; + } } .pane-row .pane { From c07ca791d4fcbb0ac4e99d9780be3f6e68aab1dc Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 15 Jan 2014 14:58:32 -0700 Subject: [PATCH 3/3] Use slightly darker background color rather than glow to indicate focus --- stylesheets/panes.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stylesheets/panes.less b/stylesheets/panes.less index e2098bc..f3e502c 100644 --- a/stylesheets/panes.less +++ b/stylesheets/panes.less @@ -10,10 +10,10 @@ .panes { .pane { - background-color: @app-background-color; + background-color: lighten(@app-background-color, 4%); - &:focus .item-views { - box-shadow: inset 0 0 7px #6aa5e9; + &:focus { + background-color: @app-background-color; } }