@omnigrid/style 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.css +21 -2
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -24,22 +24,41 @@
24
24
  background: var(--omnigrid-cell-hover-background);
25
25
  }
26
26
 
27
- .omnigrid-row:hover [role="cell"] {
27
+ .omnigrid-row:hover [role="cell"],
28
+ .omnigrid-row-hover [role="cell"] {
28
29
  background: var(--omnigrid-cell-hover-background) !important;
29
30
  }
30
31
 
32
+ /* Selected rows: the SelectionPlugin only adds the class, the active theme
33
+ provides the concrete color via --omnigrid-cell-selected-background. */
34
+ .omnigrid-row-selected [role="cell"] {
35
+ background: var(--omnigrid-cell-selected-background);
36
+ }
37
+
31
38
  .omnigrid-no-row-hover [role="cell"]:hover {
32
39
  background: unset;
33
40
  }
34
41
 
35
- .omnigrid-no-row-hover .omnigrid-row:hover [role="cell"] {
42
+ .omnigrid-no-row-hover .omnigrid-row:hover [role="cell"],
43
+ .omnigrid-no-row-hover .omnigrid-row-hover [role="cell"] {
36
44
  background: unset !important;
37
45
  }
38
46
 
47
+ .omnigrid-row-unselectable [role="cell"],
48
+ .omnigrid-row-unselectable:hover [role="cell"],
49
+ .omnigrid-row-unselectable.omnigrid-row-hover [role="cell"] {
50
+ background: var(--omnigrid-cell-unselectable-background) !important;
51
+ color: var(--omnigrid-cell-unselectable-color);
52
+ }
53
+
39
54
  .omnigrid-row {
40
55
  user-select: none;
41
56
  }
42
57
 
58
+ .omnigrid-checkbox {
59
+ accent-color: var(--omnigrid-checkbox-accent);
60
+ }
61
+
43
62
  /* Pinned panes are opaque so the scrollable columns underneath do not show through. */
44
63
  .omnigrid-pinned-left,
45
64
  .omnigrid-pinned-right {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnigrid/style",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Shared styles for OmniGrid",
5
5
  "keywords": [
6
6
  "omnigrid",