File tree Expand file tree Collapse file tree 3 files changed +20
-24
lines changed
vaadin-lumo-styles/src/components Expand file tree Collapse file tree 3 files changed +20
-24
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ const gridPro = css`
4848
4949 /* Indicate read-only cells */
5050
51- /* prettier-ignore */
5251 : host ([theme ~= 'highlight-read-only-cells' ]) [part ~= 'body-cell' ]: not (: has ([part ~= 'editable-cell' ])) {
5352 --vaadin-grid-cell-background-hover : repeating-linear-gradient (
5453 -45deg ,
@@ -96,6 +95,12 @@ const gridPro = css`
9695 background-position : max (300% , 8em ) 0 ;
9796 }
9897 }
98+
99+ : host ([loading-editor ]) [part ~= 'focused-cell' ] ::slotted (vaadin-grid-cell-content ),
100+ [part ~= 'updating-cell' ] ::slotted (vaadin-grid-cell-content ) {
101+ opacity : 0 ;
102+ pointer-events : none;
103+ }
99104` ;
100105
101106export const gridProStyles = [ gridPro , gridStyles ] ;
Original file line number Diff line number Diff line change @@ -12,21 +12,6 @@ import { animationFrame } from '@vaadin/component-base/src/async.js';
1212import { Debouncer } from '@vaadin/component-base/src/debounce.js' ;
1313import { get , set } from '@vaadin/component-base/src/path-utils.js' ;
1414import { iterateRowCells , updatePart } from '@vaadin/grid/src/vaadin-grid-helpers.js' ;
15- import { css , registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js' ;
16-
17- registerStyles (
18- 'vaadin-grid-pro' ,
19- css `
20- : host ([loading-editor ]) [part ~= 'focused-cell' ] ::slotted (vaadin-grid-cell-content ),
21- [part ~= 'updating-cell' ] ::slotted (vaadin-grid-cell-content ) {
22- opacity : 0 ;
23- pointer-events : none;
24- }
25- ` ,
26- {
27- moduleId : 'vaadin-grid-pro-styles' ,
28- } ,
29- ) ;
3015
3116/**
3217 * @polymerMixin
Original file line number Diff line number Diff line change 3737
3838 /* prettier-ignore */
3939 : host ([theme ~= 'highlight-read-only-cells' ]) [tabindex ]: not ([part ~= 'editable-cell' ]): not ([part ~= 'header-cell' ]): not ([part ~= 'footer-cell' ]) {
40- background-image : repeating-linear-gradient (
41- 135deg ,
42- transparent,
43- transparent 6px ,
44- var (--lumo-contrast-5pct ) 6px ,
45- var (--lumo-contrast-5pct ) 14px
46- );
47- }
40+ background-image : repeating-linear-gradient (
41+ 135deg ,
42+ transparent,
43+ transparent 6px ,
44+ var (--lumo-contrast-5pct ) 6px ,
45+ var (--lumo-contrast-5pct ) 14px
46+ );
47+ }
4848
4949 /* Loading editor cell styles are used by Flow GridPro */
5050 : host ([loading-editor ]) [part ~= 'focused-cell' ]::before {
8181 background-position : max (300% , 8em ) 0 ;
8282 }
8383 }
84+
85+ : host ([loading-editor ]) [part ~= 'focused-cell' ] ::slotted (vaadin-grid-cell-content ),
86+ [part ~= 'updating-cell' ] ::slotted (vaadin-grid-cell-content ) {
87+ opacity : 0 ;
88+ pointer-events : none;
89+ }
8490}
You can’t perform that action at this time.
0 commit comments