aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-04-17 09:42:07 +0300
committerPekka Hyvönen <pekka@vaadin.com>2015-04-17 09:42:52 +0300
commit33c61533ad8a3ed8a38ea606aa9e3d5f4da4dae8 (patch)
tree3d4edf6b9676e0967b7a08e11642c66cf1abfe0c /WebContent/VAADIN/themes/valo
parent6ed28680346c648a6b4e974568a56f6d4d0e000b (diff)
parent0636e2d177a933dae13e50eb1b1f4609855f735e (diff)
downloadvaadin-framework-33c61533ad8a3ed8a38ea606aa9e3d5f4da4dae8.tar.gz
vaadin-framework-33c61533ad8a3ed8a38ea606aa9e3d5f4da4dae8.zip
Merge branch 'master' into grid-7.5
Change-Id: I6175398df4c3a07656a2682843615a0d7bd32a45
Diffstat (limited to 'WebContent/VAADIN/themes/valo')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_table.scss50
1 files changed, 23 insertions, 27 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_table.scss b/WebContent/VAADIN/themes/valo/components/_table.scss
index 019d8673ce..aa0465d860 100644
--- a/WebContent/VAADIN/themes/valo/components/_table.scss
+++ b/WebContent/VAADIN/themes/valo/components/_table.scss
@@ -137,6 +137,9 @@ $v-table-background-color: null !default;
position: relative;
background: $v-background-color;
color: valo-font-color($v-background-color);
+
+ // Hide row focus outline
+ overflow: hidden;
}
.#{$primary-stylename}-header table,
@@ -381,7 +384,7 @@ $v-table-background-color: null !default;
.#{$primary-stylename}-focus-slot-right {
border-right: $v-table-border-width + 2px solid $v-focus-color;
right: -$v-table-border-width - 1px;
- margin-left: -$v-table-resizer-width - $v-table-border-width - 2px;
+ margin-left: -$v-table-resizer-width - $v-table-border-width - 2px !important;
}
.#{$primary-stylename}-focus-slot-left {
@@ -394,33 +397,34 @@ $v-table-background-color: null !default;
}
.#{$primary-stylename}-column-selector {
- @include valo-button-style;
+ @include valo-button-style($shadow: null);
position: absolute;
z-index: 2;
- top: round($v-unit-size/-4);
- right: round($v-unit-size/-4);
+ top: 0;
+ right: 0;
+ width: round($v-unit-size/2);
height: round($v-unit-size/2);
line-height: round($v-unit-size/2);
- width: round($v-unit-size/2);
padding: 0;
- border-radius: 50%;
+ border-top-width: 0;
+ border-right-width: 0;
+ border-radius: 0 0 0 $v-border-radius;
cursor: pointer;
text-align: center;
@include opacity(0);
@if $v-animations-enabled {
- @include transition(opacity 200ms 1s);
+ @include transition(opacity 200ms 2s);
}
&:after {
content: "";
position: absolute;
- $v-button-border-width: first-number($v-border);
- top: -$v-button-border-width;
- right: -$v-button-border-width;
- bottom: -$v-button-border-width;
- left: -$v-button-border-width;
- border-radius: inherit;
+ border: none;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
}
&:active:after {
@include valo-button-active-style;
@@ -430,22 +434,9 @@ $v-table-background-color: null !default;
}
}
- .v-scrollable > .#{$primary-stylename} .#{$primary-stylename}-column-selector {
- right: 0;
- top: 0;
- border-top: none;
- border-right: none;
- border-radius: 0 0 0 50%;
-
- &:after {
- top: 0;
- right: 0;
- }
- }
-
.#{$primary-stylename}-header-wrap:hover .#{$primary-stylename}-column-selector {
@include opacity(1);
- @include transition-delay(100ms);
+ @include transition-delay(200ms);
}
.v-on,
@@ -505,6 +496,11 @@ $v-table-background-color: null !default;
// Drag'n'drop styles
+ .#{$primary-stylename}-drag {
+ // Show drag focus outline
+ overflow: visible;
+ }
+
.#{$primary-stylename}-drag .#{$primary-stylename}-body {
@include box-shadow(0 0 0 2px rgba($v-focus-color, .5));