summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_tabsheet.scss
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-05-12 16:25:58 +0300
committerJouni Koivuviita <jouni@vaadin.com>2014-06-04 08:53:30 +0300
commit3a234228a3df575ce49b90368f966e6458fee757 (patch)
tree4d455205375e8757cb333e653eebfbcb8732275f /WebContent/VAADIN/themes/valo/components/_tabsheet.scss
parentad452a36795b764aeea2b00e3ceed2bae75d7949 (diff)
downloadvaadin-framework-3a234228a3df575ce49b90368f966e6458fee757.tar.gz
vaadin-framework-3a234228a3df575ce49b90368f966e6458fee757.zip
Rename $v-app-background-color to $v-background-color (#13670)
Top level background-color variable, which is then specialized by different components in the theme. Mass search-and-replace, tested that the theme works as expected. Added a new test UI class for the Valo theme. Updated .gitignore to ignore .sass-cache (command line Sass creates a cache folder when watching for changes) Change-Id: I574a393de059aec7b24cb6014d3192d9717688e5
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_tabsheet.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_tabsheet.scss8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_tabsheet.scss b/WebContent/VAADIN/themes/valo/components/_tabsheet.scss
index c78a9567f7..a50d020ed9 100644
--- a/WebContent/VAADIN/themes/valo/components/_tabsheet.scss
+++ b/WebContent/VAADIN/themes/valo/components/_tabsheet.scss
@@ -24,8 +24,8 @@ $v-tabsheet-content-animation-enabled: $v-animations-enabled !default;
@mixin valo-tabsheet ($primary-stylename: v-tabsheet) {
- $_scale: if( is-dark-color($v-app-background-color) , max(5%, $v-bevel-depth/2), min(-5%, -$v-bevel-depth/2) );
- $border-color: scale-color($v-app-background-color, $lightness: $_scale);
+ $_scale: if( is-dark-color($v-background-color) , max(5%, $v-bevel-depth/2), min(-5%, -$v-bevel-depth/2) );
+ $border-color: scale-color($v-background-color, $lightness: $_scale);
.#{$primary-stylename} {
&:not(.v-has-width) {
@@ -154,7 +154,7 @@ $v-tabsheet-content-animation-enabled: $v-animations-enabled !default;
right: 0;
top: 0;
padding-left: round($v-unit-size/2);
- @include linear-gradient(to left, $v-app-background-color 70%, rgba($v-app-background-color, 0) 100%, $fallback: transparent);
+ @include linear-gradient(to left, $v-background-color 70%, rgba($v-background-color, 0) 100%, $fallback: transparent);
pointer-events: none;
line-height: $v-unit-size;
@@ -171,7 +171,7 @@ $v-tabsheet-content-animation-enabled: $v-animations-enabled !default;
.v-ie8 &,
.v-ie9 & {
- background-color: $v-app-background-color;
+ background-color: $v-background-color;
&:after {
background-color: $border-color;