diff options
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/base/grid/grid.scss | 23 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/valo/components/_grid.scss | 4 |
2 files changed, 13 insertions, 14 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss index 79909a0b93..e1941826ca 100644 --- a/WebContent/VAADIN/themes/base/grid/grid.scss +++ b/WebContent/VAADIN/themes/base/grid/grid.scss @@ -21,7 +21,7 @@ $v-grid-footer-background-color: $v-grid-header-background-color !default; $v-grid-cell-padding-horizontal: 5px !default; -$v-grid-editor-row-background-color: $v-grid-row-background-color !default; +$v-grid-editor-background-color: $v-grid-row-background-color !default; @import "../escalator/escalator"; @@ -198,14 +198,14 @@ $v-grid-editor-row-background-color: $v-grid-row-background-color !default; display: block; } - // Editor row + // Editor - .#{$primaryStyleName}-editor-row { + .#{$primaryStyleName}-editor { // TODO should be fixed in offset calculations margin-top: -1px; position: absolute; overflow-y: visible; - background: $v-grid-editor-row-background-color; + background: $v-grid-editor-background-color; @include box-shadow(0 0 10px 1px rgba(0,0,0,.3)); > div { @@ -226,7 +226,6 @@ $v-grid-editor-row-background-color: $v-grid-row-background-color !default; max-height: 100%; border: none; border-radius: 0; - } .v-textfield-focus, @@ -235,13 +234,13 @@ $v-grid-editor-row-background-color: $v-grid-row-background-color !default; z-index: 1; } } + } - > .v-editor-row-save, - > .v-editor-row-cancel { - position: absolute; - // TODO remove the inline size from the widgets - width: auto !important; - height: auto !important; - } + .#{$primaryStyleName}-editor-save, + .#{$primaryStyleName}-editor-cancel { + position: absolute; + // TODO remove the inline size from the widgets + width: auto !important; + height: auto !important; } } diff --git a/WebContent/VAADIN/themes/valo/components/_grid.scss b/WebContent/VAADIN/themes/valo/components/_grid.scss index 7e1882472a..2e76434709 100644 --- a/WebContent/VAADIN/themes/valo/components/_grid.scss +++ b/WebContent/VAADIN/themes/valo/components/_grid.scss @@ -66,8 +66,8 @@ $v-grid-cell-padding-horizontal: $v-table-cell-padding-horizontal !default; } } - .v-editor-row-save, - .v-editor-row-cancel { + .#{$primary-stylename}-editor-save, + .#{$primary-stylename}-editor-cancel { @include valo-button-static-style; @include valo-button-style($unit-size: $v-unit-size--small, $font-size: $v-font-size--small); } |