@db-ux/core-components 4.13.1-angular-signal-forms5-fe63b55 → 4.13.1-angular-signal-forms9-42cbbed
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/build/components/navigation/navigation.css +3 -4
- package/build/components/navigation/navigation.scss +4 -4
- package/build/components/navigation-item/navigation-item.scss +1 -1
- package/build/components/tab-item/tab-item.scss +0 -1
- package/build/components/tabs/tabs.css +5 -6
- package/build/components/tabs/tabs.scss +15 -15
- package/build/styles/absolute.css +3 -3
- package/build/styles/bundle.css +3 -3
- package/build/styles/index.css +2 -2
- package/build/styles/internal/{_db-puls.scss → _indicator.scss} +37 -16
- package/build/styles/relative.css +3 -3
- package/build/styles/rollup.css +3 -3
- package/build/styles/webpack.css +3 -3
- package/package.json +4 -4
|
@@ -2,33 +2,54 @@
|
|
|
2
2
|
@use "@db-ux/core-foundations/build/styles/screen-sizes";
|
|
3
3
|
@use "@db-ux/core-foundations/build/styles/colors";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
$indicator-background: linear-gradient(
|
|
6
|
+
135deg,
|
|
7
|
+
var(--db-pride-red, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
8
|
+
16.7%,
|
|
9
|
+
var(--db-pride-orange, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
10
|
+
0,
|
|
11
|
+
var(--db-pride-orange, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
12
|
+
33.4%,
|
|
13
|
+
var(--db-pride-yellow, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
14
|
+
0,
|
|
15
|
+
var(--db-pride-yellow, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
16
|
+
50.1%,
|
|
17
|
+
var(--db-pride-green, #{colors.$db-brand-on-bg-basic-emphasis-70-default}) 0,
|
|
18
|
+
var(--db-pride-green, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
19
|
+
66.8%,
|
|
20
|
+
var(--db-pride-blue, #{colors.$db-brand-on-bg-basic-emphasis-70-default}) 0,
|
|
21
|
+
var(--db-pride-blue, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
22
|
+
83.5%,
|
|
23
|
+
var(--db-pride-violet, #{colors.$db-brand-on-bg-basic-emphasis-70-default})
|
|
24
|
+
0
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
@mixin set-indicator-horizontal() {
|
|
6
28
|
&::after {
|
|
7
29
|
block-size: variables.$db-border-width-xs;
|
|
8
30
|
inline-size: 0;
|
|
9
31
|
transform: translate(-50%, 0);
|
|
10
32
|
inset-inline-start: 50%;
|
|
11
|
-
background-color: colors.$db-brand-on-bg-basic-emphasis-70-default;
|
|
12
33
|
inset-block: auto calc(-1 * #{variables.$db-spacing-fixed-xs});
|
|
13
34
|
}
|
|
14
35
|
}
|
|
15
36
|
|
|
16
|
-
@mixin set-
|
|
37
|
+
@mixin set-indicator-vertical() {
|
|
17
38
|
&::after {
|
|
18
39
|
block-size: 0;
|
|
19
40
|
inline-size: variables.$db-border-width-xs;
|
|
20
41
|
transform: translate(0, -50%);
|
|
21
|
-
inset-block: 50% auto;
|
|
22
|
-
background-color: colors.$db-brand-on-bg-basic-emphasis-70-default;
|
|
42
|
+
inset-block: var(--indicator-vertical-inset-block-start, 50%) auto;
|
|
23
43
|
inset-inline-start: calc(-1 * #{variables.$db-spacing-fixed-xs});
|
|
24
44
|
}
|
|
25
45
|
}
|
|
26
46
|
|
|
27
|
-
%
|
|
47
|
+
%indicator {
|
|
28
48
|
&::after {
|
|
29
49
|
content: "";
|
|
30
50
|
position: absolute;
|
|
31
51
|
border-radius: variables.$db-border-radius-xs;
|
|
52
|
+
background: $indicator-background;
|
|
32
53
|
|
|
33
54
|
@media (prefers-reduced-motion: no-preference) {
|
|
34
55
|
transition:
|
|
@@ -40,16 +61,16 @@
|
|
|
40
61
|
}
|
|
41
62
|
}
|
|
42
63
|
|
|
43
|
-
%
|
|
44
|
-
@extend %
|
|
45
|
-
@include set-
|
|
64
|
+
%indicator-auto {
|
|
65
|
+
@extend %indicator;
|
|
66
|
+
@include set-indicator-vertical;
|
|
46
67
|
|
|
47
68
|
@include screen-sizes.screen("md") {
|
|
48
|
-
@include set-
|
|
69
|
+
@include set-indicator-horizontal;
|
|
49
70
|
}
|
|
50
71
|
}
|
|
51
72
|
|
|
52
|
-
@mixin show-
|
|
73
|
+
@mixin show-indicator-horizontal() {
|
|
53
74
|
&::after {
|
|
54
75
|
block-size: variables.$db-border-width-xs;
|
|
55
76
|
inline-size: 100%;
|
|
@@ -61,9 +82,9 @@
|
|
|
61
82
|
}
|
|
62
83
|
}
|
|
63
84
|
|
|
64
|
-
@mixin show-
|
|
85
|
+
@mixin show-indicator-vertical() {
|
|
65
86
|
&::after {
|
|
66
|
-
block-size: 100
|
|
87
|
+
block-size: var(--indicator-vertical-block-size, 100%);
|
|
67
88
|
inline-size: variables.$db-border-width-xs;
|
|
68
89
|
|
|
69
90
|
@media (forced-colors: active), print {
|
|
@@ -73,10 +94,10 @@
|
|
|
73
94
|
}
|
|
74
95
|
}
|
|
75
96
|
|
|
76
|
-
%show-
|
|
77
|
-
@include show-
|
|
97
|
+
%show-indicator-auto {
|
|
98
|
+
@include show-indicator-vertical;
|
|
78
99
|
|
|
79
100
|
@include screen-sizes.screen("md") {
|
|
80
|
-
@include show-
|
|
101
|
+
@include show-indicator-horizontal;
|
|
81
102
|
}
|
|
82
103
|
}
|