summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/chameleon.scss
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-12-14 01:07:51 +0200
committerLeif Åstrand <leif@vaadin.com>2014-12-17 10:45:59 +0000
commit48904a34a20f2d501da1b6055143fd73b5b90d50 (patch)
treee09ad53536e5eba691d62411ea72a671b9babb55 /WebContent/VAADIN/themes/chameleon/chameleon.scss
parentb08392ecae421e6778cac9671908768e6495c759 (diff)
downloadvaadin-framework-48904a34a20f2d501da1b6055143fd73b5b90d50.tar.gz
vaadin-framework-48904a34a20f2d501da1b6055143fd73b5b90d50.zip
Grid theme API changes and style fixes
Renamed decorative element style names: - “headercorner” -> “header-deco” - “footercorner” -> “footer-deco” - “horizontalscrollbarbackground” -> “horizontal-scrollbar-deco” The “-stripe” style name is now added for odd rows, not even (like in all Table themes). Re-implemented the Base mixins for Grid and Escalator. They are now used for all themes, which should make future development easier because things should only be implemented in one place. This change makes the theme also less brittle hopefully, because it reduces the amount of pixel calculations for paddings etc. and relies more on plain CSS. The Base theme now offers many variables for extending themes. This reduces unnecessary CSS output, and makes it easier to maintain multiple themes for the Grid. Added a box-shadow and box-sizing mixins to Base. Converted all CSS comments to Sass comments. Change-Id: Iba925062c754c115b5f15e155659cfdccc702945
Diffstat (limited to 'WebContent/VAADIN/themes/chameleon/chameleon.scss')
-rw-r--r--WebContent/VAADIN/themes/chameleon/chameleon.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/chameleon/chameleon.scss b/WebContent/VAADIN/themes/chameleon/chameleon.scss
index 95f81f69c1..b315678308 100644
--- a/WebContent/VAADIN/themes/chameleon/chameleon.scss
+++ b/WebContent/VAADIN/themes/chameleon/chameleon.scss
@@ -1,10 +1,11 @@
+$font-size: 13px !default;
+$line-height: 1.4 !default;
+
@import "../base/base.scss";
@import "common/common.scss";
@import "components/components.scss";
@import "compound/compound.scss";
-$font-size: 13px;
-$line-height: 1.4;
@mixin chameleon {
// TODO move this?
@include base;