summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/grid
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2014-12-18 18:43:21 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2014-12-30 08:09:50 +0000
commit8355e9d00fd6025ce390293f9cf5fc8fdd45d0e8 (patch)
tree9fde24695348bd5416921483619e78a830bb50fc /WebContent/VAADIN/themes/base/grid
parent181b598714e979ad26236a3677f9e825f74ca282 (diff)
downloadvaadin-framework-8355e9d00fd6025ce390293f9cf5fc8fdd45d0e8.tar.gz
vaadin-framework-8355e9d00fd6025ce390293f9cf5fc8fdd45d0e8.zip
Make disabled Grid nonfocusable and ignore events (#13334)
Change-Id: Ie017b0449c84ec1afd902503712133ab095282d8
Diffstat (limited to 'WebContent/VAADIN/themes/base/grid')
-rw-r--r--WebContent/VAADIN/themes/base/grid/grid.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss
index e1941826ca..310e37d0fb 100644
--- a/WebContent/VAADIN/themes/base/grid/grid.scss
+++ b/WebContent/VAADIN/themes/base/grid/grid.scss
@@ -198,6 +198,11 @@ $v-grid-editor-background-color: $v-grid-row-background-color !default;
display: block;
}
+ .#{$primaryStyleName}.v-disabled:focus .#{$primaryStyleName}-cell-focused:before {
+ // Disabled Grid should not show cell focus outline
+ display: none;
+ }
+
// Editor
.#{$primaryStyleName}-editor {