From d03e9947f09dd4caf9806f9cf84258f15d6e4ba2 Mon Sep 17 00:00:00 2001 From: Rob Cameron Date: Wed, 26 Feb 2014 15:50:08 -0800 Subject: [PATCH] Adds Zen-specific styles --- index.less | 1 + stylesheets/editor.less | 15 ++++----------- stylesheets/panels.less | 1 - stylesheets/ui-variables.less | 2 +- stylesheets/zen.less | 7 +++++++ 5 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 stylesheets/zen.less diff --git a/index.less b/index.less index fa81889..8ae3018 100644 --- a/index.less +++ b/index.less @@ -15,3 +15,4 @@ @import "stylesheets/tooltips"; @import "stylesheets/tree-view"; @import "stylesheets/utilities"; +@import "stylesheets/zen"; diff --git a/stylesheets/editor.less b/stylesheets/editor.less index 1a4529f..a2e97d1 100644 --- a/stylesheets/editor.less +++ b/stylesheets/editor.less @@ -6,22 +6,15 @@ background-color: @input-background-color; border-radius: @component-border-radius; padding-left: @component-padding/2; - + .placeholder-text { + color: @text-color-subtle; + } .cursor { border-color: #fff; } .selection .region { background-color: lighten(@input-background-color, 10%); } } .editor { - background-color: @editor-background-color; -} -.editor .gutter { - background-color: @editor-background-color; -} -.editor.mini { - background-color: @editor-background-color; - .placeholder-text { - color: @text-color-subtle; - } + background-color: @app-background-color; } .editor.editor-colors.mini.is-focused { diff --git a/stylesheets/panels.less b/stylesheets/panels.less index e9a6902..ade6077 100644 --- a/stylesheets/panels.less +++ b/stylesheets/panels.less @@ -31,7 +31,6 @@ .text(normal); background-color: transparent; - background-image: -webkit-linear-gradient(@panel-heading-background-color, darken(@panel-heading-background-color, 10%)); .btn { padding-left: 8px; diff --git a/stylesheets/ui-variables.less b/stylesheets/ui-variables.less index 70e3bf8..4e0c319 100644 --- a/stylesheets/ui-variables.less +++ b/stylesheets/ui-variables.less @@ -26,7 +26,7 @@ @editor-background-color: #2B303B; @tree-background-color: #232830; -@app-background-color: #232830; +@app-background-color: #2B303B; @base-background-color: lighten(@tool-panel-background-color, 5%); @base-border-color: rgba(0, 0, 0, 0.5); diff --git a/stylesheets/zen.less b/stylesheets/zen.less new file mode 100644 index 0000000..eca874a --- /dev/null +++ b/stylesheets/zen.less @@ -0,0 +1,7 @@ +@import "ui-variables"; + +.zen { + .panes .pane { + background-color: @app-background-color; + } +}