diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_tabsheet.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_tabsheet.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_tabsheet.scss index e0fa665020..2b98bcbbaf 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_tabsheet.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_tabsheet.scss @@ -246,6 +246,10 @@ $v-tabsheet-content-animation-enabled: $v-animations-enabled !default; margin-left: 0; } + &:not([aria-hidden="true"]) ~ td .v-caption { + margin-left: round($v-unit-size/2); + } + &:focus { outline: none; @@ -443,6 +447,10 @@ $v-tabsheet-content-animation-enabled: $v-animations-enabled !default; margin-left: 0; } + :not([aria-hidden="true"]) ~ td .v-caption { + margin-left: $tab-spacing or first-number($v-border) * -1; + } + @if $frame-inactive-tabs { .#{$primary-stylename}-tabitem .v-caption { border-color: first-color(valo-border($color: $v-app-background-color, $strength: 0.5)); |