@odx/ui 5.3.2 → 5.3.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "5.3.2",
3
+ "version": "5.3.4",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
package/scss/_base.scss CHANGED
@@ -6,26 +6,34 @@ body,
6
6
  background-color: var(--odx-c-background);
7
7
  }
8
8
 
9
- ::-webkit-scrollbar {
10
- appearance: none;
11
- width: var(--odx-v-scrollbar-width);
9
+ :where(*) {
10
+ scrollbar-color: var(--odx-v-scrollbar-thumb-color) var(--odx-v-scrollbar-track-color);
11
+ scrollbar-width: var(--odx-v-scrollbar-width);
12
12
  }
13
13
 
14
- ::-webkit-scrollbar-track,
15
- ::-webkit-scrollbar-thumb {
16
- border: 3px solid transparent;
17
- }
14
+ @supports not (scrollbar-color: auto) {
15
+ ::-webkit-scrollbar {
16
+ appearance: none;
17
+ height: var(--odx-v-scrollbar-width);
18
+ width: var(--odx-v-scrollbar-width);
19
+ }
18
20
 
19
- ::-webkit-scrollbar-track {
20
- background-color: var(--odx-v-scrollbar-track-color);
21
- }
21
+ ::-webkit-scrollbar-track,
22
+ ::-webkit-scrollbar-thumb {
23
+ border: 3px solid transparent;
24
+ }
25
+
26
+ ::-webkit-scrollbar-track {
27
+ background-color: var(--odx-v-scrollbar-track-color);
28
+ }
22
29
 
23
- ::-webkit-scrollbar-thumb {
24
- background-clip: content-box;
25
- background-color: var(--odx-v-scrollbar-thumb-color);
26
- border-radius: var(--odx-v-border-radius);
30
+ ::-webkit-scrollbar-thumb {
31
+ background-clip: content-box;
32
+ background-color: var(--odx-v-scrollbar-thumb-color);
33
+ border-radius: var(--odx-v-border-radius);
27
34
 
28
- &:hover {
29
- background-color: var(--odx-v-scrollbar-thumb-color-hover);
35
+ &:hover {
36
+ background-color: var(--odx-v-scrollbar-thumb-color-hover);
37
+ }
30
38
  }
31
39
  }
@@ -24,5 +24,5 @@
24
24
  --odx-v-scrollbar-track-color: transparent;
25
25
  --odx-v-scrollbar-thumb-color: var(--gray-600);
26
26
  --odx-v-scrollbar-thumb-color-hover: var(--gray-700);
27
- --odx-v-scrollbar-width: 12px;
27
+ --odx-v-scrollbar-width: thin;
28
28
  }
@@ -6,26 +6,34 @@ body,
6
6
  background-color: var(--odx-c-background);
7
7
  }
8
8
 
9
- ::-webkit-scrollbar {
10
- appearance: none;
11
- width: var(--odx-v-scrollbar-width);
9
+ :where(*) {
10
+ scrollbar-color: var(--odx-v-scrollbar-thumb-color) var(--odx-v-scrollbar-track-color);
11
+ scrollbar-width: var(--odx-v-scrollbar-width);
12
12
  }
13
13
 
14
- ::-webkit-scrollbar-track,
15
- ::-webkit-scrollbar-thumb {
16
- border: 3px solid transparent;
17
- }
14
+ @supports not (scrollbar-color: auto) {
15
+ ::-webkit-scrollbar {
16
+ appearance: none;
17
+ height: var(--odx-v-scrollbar-width);
18
+ width: var(--odx-v-scrollbar-width);
19
+ }
18
20
 
19
- ::-webkit-scrollbar-track {
20
- background-color: var(--odx-v-scrollbar-track-color);
21
- }
21
+ ::-webkit-scrollbar-track,
22
+ ::-webkit-scrollbar-thumb {
23
+ border: 3px solid transparent;
24
+ }
25
+
26
+ ::-webkit-scrollbar-track {
27
+ background-color: var(--odx-v-scrollbar-track-color);
28
+ }
22
29
 
23
- ::-webkit-scrollbar-thumb {
24
- background-clip: content-box;
25
- background-color: var(--odx-v-scrollbar-thumb-color);
26
- border-radius: var(--odx-v-border-radius);
30
+ ::-webkit-scrollbar-thumb {
31
+ background-clip: content-box;
32
+ background-color: var(--odx-v-scrollbar-thumb-color);
33
+ border-radius: var(--odx-v-border-radius);
27
34
 
28
- &:hover {
29
- background-color: var(--odx-v-scrollbar-thumb-color-hover);
35
+ &:hover {
36
+ background-color: var(--odx-v-scrollbar-thumb-color-hover);
37
+ }
30
38
  }
31
39
  }
@@ -24,5 +24,5 @@
24
24
  --odx-v-scrollbar-track-color: transparent;
25
25
  --odx-v-scrollbar-thumb-color: var(--gray-600);
26
26
  --odx-v-scrollbar-thumb-color-hover: var(--gray-700);
27
- --odx-v-scrollbar-width: 12px;
27
+ --odx-v-scrollbar-width: thin;
28
28
  }