diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-03-23 15:28:37 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-03-23 15:28:37 +0200 |
commit | 6384bc7dee5ccbaaafbbf569b758b3e6fd8a2c8b (patch) | |
tree | 419be55a19b6c4ef65876392b6e31091e1ff5c28 /themes | |
parent | 17b3f23b0e526250dc134df1f7d2e6cd7f149ba5 (diff) | |
download | vaadin-framework-6384bc7dee5ccbaaafbbf569b758b3e6fd8a2c8b.tar.gz vaadin-framework-6384bc7dee5ccbaaafbbf569b758b3e6fd8a2c8b.zip |
Add feature to disable collapsing items in TreeGrid (#8879)
Fixes #8846
Diffstat (limited to 'themes')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss index 15c53f8cc9..8255d830eb 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss @@ -42,6 +42,11 @@ $tg-expander-padding: 10px !default; content: $tg-expander-char-collapsed; } } + + &.collapse-disabled { + @include opacity($v-disabled-opacity); + cursor: default; + } } // Hierarchy depth styling |