From c6f185a1c420af5ca67a5dc9200db15dcc8e2365 Mon Sep 17 00:00:00 2001 From: Denis Anisimov Date: Sun, 4 Jan 2015 16:02:32 +0200 Subject: Fix opacity value for disabled label and non-collapsible column (#15489) Change-Id: I0d669f1c85feebcaa01c58fb81b5e20802440ef2 --- themes/src/main/themes/VAADIN/themes/valo/components/_label.scss | 4 ++++ themes/src/main/themes/VAADIN/themes/valo/components/_table.scss | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'themes/src') diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_label.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_label.scss index 95500ceafe..3403260220 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_label.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_label.scss @@ -109,6 +109,10 @@ $v-letter-spacing--h4: 0 !default; .#{$primary-stylename} { @include user-select(text); + + &.v-disabled { + @include opacity($v-disabled-opacity); + } } .#{$primary-stylename}-undef-w { diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss index a832b3a4da..86efb96637 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss @@ -456,6 +456,10 @@ $v-table-background-color: null !default; div { display: inline; } + + &.v-disabled { + @include opacity($v-disabled-opacity); + } } .v-off:before { visibility: hidden; -- cgit v1.2.3