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`
48
48
49
49
/* Indicate read-only cells */
50
50
51
- /* prettier-ignore */
52
51
: host ([theme ~= 'highlight-read-only-cells' ]) [part ~= 'body-cell' ]: not (: has ([part ~= 'editable-cell' ])) {
53
52
--vaadin-grid-cell-background-hover : repeating-linear-gradient (
54
53
-45deg ,
@@ -96,6 +95,12 @@ const gridPro = css`
96
95
background-position : max (300% , 8em ) 0 ;
97
96
}
98
97
}
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
+ }
99
104
` ;
100
105
101
106
export 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';
12
12
import { Debouncer } from '@vaadin/component-base/src/debounce.js' ;
13
13
import { get , set } from '@vaadin/component-base/src/path-utils.js' ;
14
14
import { 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
- ) ;
30
15
31
16
/**
32
17
* @polymerMixin
Original file line number Diff line number Diff line change 37
37
38
38
/* prettier-ignore */
39
39
: 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
+ }
48
48
49
49
/* Loading editor cell styles are used by Flow GridPro */
50
50
: host ([loading-editor ]) [part ~= 'focused-cell' ]::before {
81
81
background-position : max (300% , 8em ) 0 ;
82
82
}
83
83
}
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
+ }
84
90
}
You can’t perform that action at this time.
0 commit comments