@odx/ui 5.3.1 → 5.3.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.
- package/CHANGELOG.md +12 -0
- package/core-theme.css +1 -1
- package/package.json +1 -1
- package/scss/_base.scss +25 -16
- package/scss/components/list-item.component.scss +2 -2
- package/scss/layout/_base.scss +25 -16
- package/scss/list-item.component.scss +2 -2
package/package.json
CHANGED
package/scss/_base.scss
CHANGED
|
@@ -6,26 +6,35 @@ body,
|
|
|
6
6
|
background-color: var(--odx-c-background);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
:where(*) {
|
|
10
|
+
scrollbar-color: var(--odx-v-scrollbar-thumb-color) var(--odx-v-scrollbar-track-color);
|
|
11
|
+
scrollbar-gutter: stable both-edges;
|
|
12
|
+
scrollbar-width: var(--odx-v-scrollbar-width);
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
::-webkit-scrollbar
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
@supports not (scrollbar-color: auto) {
|
|
16
|
+
::-webkit-scrollbar {
|
|
17
|
+
appearance: none;
|
|
18
|
+
height: var(--odx-v-scrollbar-width);
|
|
19
|
+
width: var(--odx-v-scrollbar-width);
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
::-webkit-scrollbar-track
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
::-webkit-scrollbar-track,
|
|
23
|
+
::-webkit-scrollbar-thumb {
|
|
24
|
+
border: 3px solid transparent;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
::-webkit-scrollbar-track {
|
|
28
|
+
background-color: var(--odx-v-scrollbar-track-color);
|
|
29
|
+
}
|
|
22
30
|
|
|
23
|
-
::-webkit-scrollbar-thumb {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
::-webkit-scrollbar-thumb {
|
|
32
|
+
background-clip: content-box;
|
|
33
|
+
background-color: var(--odx-v-scrollbar-thumb-color);
|
|
34
|
+
border-radius: var(--odx-v-border-radius);
|
|
27
35
|
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
&:hover {
|
|
37
|
+
background-color: var(--odx-v-scrollbar-thumb-color-hover);
|
|
38
|
+
}
|
|
30
39
|
}
|
|
31
40
|
}
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
right: dimensions.get-size(math.div(8, 24));
|
|
43
43
|
top: 0;
|
|
44
44
|
width: calc(100% - #{dimensions.get-size(math.div(16, 24))});
|
|
45
|
-
z-index: -1;
|
|
45
|
+
z-index: var(--odx-v-layer-1);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&:hover,
|
|
49
49
|
&:focus-visible {
|
|
50
|
-
z-index:
|
|
50
|
+
z-index: var(--odx-v-layer-2);
|
|
51
51
|
&:not(#{$muted-selector}) {
|
|
52
52
|
--separator-color: transparent !important;
|
|
53
53
|
}
|
package/scss/layout/_base.scss
CHANGED
|
@@ -6,26 +6,35 @@ body,
|
|
|
6
6
|
background-color: var(--odx-c-background);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
:where(*) {
|
|
10
|
+
scrollbar-color: var(--odx-v-scrollbar-thumb-color) var(--odx-v-scrollbar-track-color);
|
|
11
|
+
scrollbar-gutter: stable both-edges;
|
|
12
|
+
scrollbar-width: var(--odx-v-scrollbar-width);
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
::-webkit-scrollbar
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
@supports not (scrollbar-color: auto) {
|
|
16
|
+
::-webkit-scrollbar {
|
|
17
|
+
appearance: none;
|
|
18
|
+
height: var(--odx-v-scrollbar-width);
|
|
19
|
+
width: var(--odx-v-scrollbar-width);
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
::-webkit-scrollbar-track
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
::-webkit-scrollbar-track,
|
|
23
|
+
::-webkit-scrollbar-thumb {
|
|
24
|
+
border: 3px solid transparent;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
::-webkit-scrollbar-track {
|
|
28
|
+
background-color: var(--odx-v-scrollbar-track-color);
|
|
29
|
+
}
|
|
22
30
|
|
|
23
|
-
::-webkit-scrollbar-thumb {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
::-webkit-scrollbar-thumb {
|
|
32
|
+
background-clip: content-box;
|
|
33
|
+
background-color: var(--odx-v-scrollbar-thumb-color);
|
|
34
|
+
border-radius: var(--odx-v-border-radius);
|
|
27
35
|
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
&:hover {
|
|
37
|
+
background-color: var(--odx-v-scrollbar-thumb-color-hover);
|
|
38
|
+
}
|
|
30
39
|
}
|
|
31
40
|
}
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
right: dimensions.get-size(math.div(8, 24));
|
|
43
43
|
top: 0;
|
|
44
44
|
width: calc(100% - #{dimensions.get-size(math.div(16, 24))});
|
|
45
|
-
z-index: -1;
|
|
45
|
+
z-index: var(--odx-v-layer-1);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&:hover,
|
|
49
49
|
&:focus-visible {
|
|
50
|
-
z-index:
|
|
50
|
+
z-index: var(--odx-v-layer-2);
|
|
51
51
|
&:not(#{$muted-selector}) {
|
|
52
52
|
--separator-color: transparent !important;
|
|
53
53
|
}
|