@salesforcedevs/dx-components 1.3.186-1-cssalpha → 1.3.186-3-cssalpha
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
|
@@ -13,36 +13,12 @@ a {
|
|
|
13
13
|
position: relative;
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
|
-
|
|
17
|
-
font-family: var(--dx-g-font-display);
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
color: var(--dx-g-blue-vibrant-20);
|
|
20
|
-
transition: var(--dx-g-transition-hue-1x);
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
outline-offset: -1px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.new-nav-list-item {
|
|
26
|
-
color: var(--foundation-gray-neutral-10, #181818);
|
|
27
|
-
font-feature-settings: "clig" off, "liga" off;
|
|
28
|
-
font-family: var(--dx-g-font-sans);
|
|
29
|
-
font-size: 16px;
|
|
30
|
-
font-style: normal;
|
|
31
|
-
font-weight: 400;
|
|
32
|
-
line-height: 24px;
|
|
33
|
-
letter-spacing: 0.019px;
|
|
16
|
+
font-size: var(--dx-g-text-base);
|
|
34
17
|
}
|
|
35
18
|
|
|
36
19
|
.nav-list-item_default {
|
|
37
|
-
border: 0;
|
|
38
|
-
border-radius: var(--dx-g-spacing-md);
|
|
39
|
-
font-size: var(--dx-g-text-sm);
|
|
40
|
-
padding: 0 var(--horizontal-spacing);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.new-nav-list-item_default {
|
|
44
20
|
display: flex;
|
|
45
|
-
padding:
|
|
21
|
+
padding: var(--dx-g-spacing-sm) var(--dx-g-spacing-lg);
|
|
46
22
|
justify-content: center;
|
|
47
23
|
align-items: center;
|
|
48
24
|
}
|
|
@@ -64,8 +40,6 @@ button.nav-list-item_small > dx-icon {
|
|
|
64
40
|
margin-left: var(--dx-g-spacing-xs);
|
|
65
41
|
}
|
|
66
42
|
|
|
67
|
-
.nav-list-item_default:hover,
|
|
68
|
-
.nav-list-item_default:active,
|
|
69
43
|
:host([aria-expanded="true"]) button.nav-list-item_default {
|
|
70
44
|
background: var(
|
|
71
45
|
--dx-g-brand-current-button-color-background-inactive,
|
|
@@ -73,18 +47,6 @@ button.nav-list-item_small > dx-icon {
|
|
|
73
47
|
);
|
|
74
48
|
}
|
|
75
49
|
|
|
76
|
-
.new-nav-list-item_default.state-active {
|
|
77
|
-
color: var(--vibrant-blue-50, #0176d3);
|
|
78
|
-
font-feature-settings: "clig" off, "liga" off;
|
|
79
|
-
font-family: var(--dx-g-font-sans);
|
|
80
|
-
font-size: 16px;
|
|
81
|
-
font-style: normal;
|
|
82
|
-
font-weight: 400;
|
|
83
|
-
line-height: 24px;
|
|
84
|
-
letter-spacing: 0.019px;
|
|
85
|
-
border-bottom: var(--dx-g-spacing-xs) solid var(--dx-g-blue-vibrant-50);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
50
|
button.nav-list-item:hover > dx-icon,
|
|
89
51
|
button.nav-list-item:active > dx-icon,
|
|
90
52
|
:host([aria-expanded="true"]) button.nav-list-item > dx-icon {
|
|
@@ -106,11 +68,10 @@ button.nav-list-item:active > dx-icon,
|
|
|
106
68
|
}
|
|
107
69
|
|
|
108
70
|
.nav-list-item_default.state-active {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
);
|
|
113
|
-
color: var(--dx-g-brand-current-color, var(--dx-g-brand-default-color));
|
|
71
|
+
color: var(--vibrant-blue-50, #0176d3);
|
|
72
|
+
font-family: var(--dx-g-font-sans);
|
|
73
|
+
font-size: var(--dx-g-text-base);
|
|
74
|
+
border-bottom: var(--dx-g-spacing-xs) solid var(--dx-g-blue-vibrant-50);
|
|
114
75
|
}
|
|
115
76
|
|
|
116
77
|
@media (max-width: 1160px) {
|
|
@@ -51,9 +51,9 @@ export default class Tab extends LightningElement {
|
|
|
51
51
|
|
|
52
52
|
get className() {
|
|
53
53
|
return cx(
|
|
54
|
-
"
|
|
54
|
+
"nav-list-item",
|
|
55
55
|
this.isActive && "state-active",
|
|
56
|
-
`
|
|
56
|
+
`nav-list-item_${this.variant}`
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
59
|
|