@salesforcedevs/dx-components 1.3.243-newdocux-alpha5 → 1.3.243
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/LICENSE +12 -0
- package/lwc.config.json +0 -1
- package/package.json +3 -2
- package/src/modules/dx/button/button.html +2 -2
- package/src/modules/dx/button/button.ts +1 -1
- package/src/modules/dx/dropdownOption/dropdownOption.css +3 -5
- package/src/modules/dx/headerNav/headerNav.css +0 -9
- package/src/modules/dx/popover/popover.css +2 -2
- package/src/modules/dx/searchResults/coveo.css +1 -1
- package/src/modules/dx/sidebar/sidebar.css +5 -9
- package/src/modules/dx/sidebar/sidebar.html +16 -32
- package/src/modules/dx/sidebar/sidebar.ts +42 -2
- package/src/modules/dx/sidebarOld/sidebarOld.css +0 -1
- package/src/modules/dx/sidebarOld/sidebarOld.html +14 -31
- package/src/modules/dx/sidebarOld/sidebarOld.ts +38 -4
- package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.css +4 -35
- package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.html +10 -16
- package/src/modules/dx/tab/tab.css +19 -48
- package/src/modules/dx/treeItem/treeItem.css +2 -2
- package/src/modules/dx/treeTile/treeTile.css +28 -37
- package/src/modules/dx/treeTile/treeTile.html +6 -6
- package/src/modules/dx/treeTile/treeTile.ts +1 -2
- package/src/modules/dxBaseElements/sidebarBase/sidebarBase.ts +1 -100
- package/src/modules/dxHelpers/commonHeader/commonHeader.css +2 -6
- package/src/modules/dxHelpers/commonSidebar/commonSidebar.css +16 -38
- package/src/modules/dxHelpers/commonTreeItem/commonTreeItem.css +3 -26
- package/src/modules/dx/sidebarFooterNav/sidebarFooterNav.css +0 -49
- package/src/modules/dx/sidebarFooterNav/sidebarFooterNav.html +0 -55
- package/src/modules/dx/sidebarFooterNav/sidebarFooterNav.ts +0 -106
|
@@ -11,31 +11,22 @@ a {
|
|
|
11
11
|
);
|
|
12
12
|
|
|
13
13
|
position: relative;
|
|
14
|
-
height: var(--dx-g-spacing-3xl);
|
|
15
|
-
border-radius: var(--dx-g-spacing-sm) var(--dx-g-spacing-sm) 0 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.nav-list-item_default {
|
|
19
|
-
padding: var(--dx-g-spacing-smd) var(--dx-g-spacing-lg);
|
|
20
|
-
justify-content: center;
|
|
21
14
|
display: flex;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.nav-list-item_default:hover {
|
|
29
|
-
border-radius: var(--dx-g-spacing-sm) var(--dx-g-spacing-sm) 0 0;
|
|
30
|
-
background: var(--dx-g-cloud-blue-vibrant-95);
|
|
15
|
+
align-items: center;
|
|
16
|
+
height: var(--dx-g-spacing-xl);
|
|
17
|
+
font-family: var(--dx-g-font-display);
|
|
18
|
+
white-space: nowrap;
|
|
31
19
|
color: var(--dx-g-blue-vibrant-20);
|
|
20
|
+
transition: var(--dx-g-transition-hue-1x);
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
outline-offset: -1px;
|
|
32
23
|
}
|
|
33
24
|
|
|
34
|
-
.nav-list-item_default
|
|
35
|
-
border
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
.nav-list-item_default {
|
|
26
|
+
border: 0;
|
|
27
|
+
border-radius: var(--dx-g-spacing-md);
|
|
28
|
+
font-size: var(--dx-g-text-sm);
|
|
29
|
+
padding: 0 var(--horizontal-spacing);
|
|
39
30
|
}
|
|
40
31
|
|
|
41
32
|
.nav-list-item_small {
|
|
@@ -55,6 +46,8 @@ button.nav-list-item_small > dx-icon {
|
|
|
55
46
|
margin-left: var(--dx-g-spacing-xs);
|
|
56
47
|
}
|
|
57
48
|
|
|
49
|
+
.nav-list-item_default:hover,
|
|
50
|
+
.nav-list-item_default:active,
|
|
58
51
|
:host([aria-expanded="true"]) button.nav-list-item_default {
|
|
59
52
|
background: var(
|
|
60
53
|
--dx-g-brand-current-button-color-background-inactive,
|
|
@@ -83,26 +76,11 @@ button.nav-list-item:active > dx-icon,
|
|
|
83
76
|
}
|
|
84
77
|
|
|
85
78
|
.nav-list-item_default.state-active {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.nav-list-item_default.state-active:hover {
|
|
94
|
-
border-radius: var(--dx-g-spacing-sm) var(--dx-g-spacing-sm) 0 0;
|
|
95
|
-
background: var(--dx-g-cloud-blue-vibrant-95);
|
|
96
|
-
border-bottom: var(--dx-g-spacing-xs) solid var(--dx-g-blue-vibrant-20);
|
|
97
|
-
color: var(--dx-g-blue-vibrant-20);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.nav-list-item_default.state-active:focus-visible {
|
|
101
|
-
border-radius: var(--dx-g-spacing-sm) var(--dx-g-spacing-sm) 0 0;
|
|
102
|
-
background: var(--dx-g-cloud-blue-vibrant-95);
|
|
103
|
-
border-bottom: var(--dx-g-spacing-xs) solid var(--dx-g-blue-vibrant-20);
|
|
104
|
-
outline: 2px solid var(--dx-g-blue-vibrant-60);
|
|
105
|
-
color: var(--dx-g-blue-vibrant-20);
|
|
79
|
+
background: var(
|
|
80
|
+
--dx-g-brand-current-button-color-background-active,
|
|
81
|
+
var(--dx-g-brand-default-button-color-background-active)
|
|
82
|
+
);
|
|
83
|
+
color: var(--dx-g-brand-current-color, var(--dx-g-brand-default-color));
|
|
106
84
|
}
|
|
107
85
|
|
|
108
86
|
@media (max-width: 1160px) {
|
|
@@ -122,10 +100,3 @@ button.nav-list-item:active > dx-icon,
|
|
|
122
100
|
);
|
|
123
101
|
}
|
|
124
102
|
}
|
|
125
|
-
|
|
126
|
-
@media (max-width: 768px) {
|
|
127
|
-
.nav-list-item {
|
|
128
|
-
height: var(--dx-g-spacing-3xl);
|
|
129
|
-
display: flex;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -14,8 +14,8 @@ button:focus {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.tree-children-loading {
|
|
17
|
-
margin: var(--dx-g-spacing-sm) var(--dx-g-spacing-
|
|
18
|
-
var(--dx-g-spacing-
|
|
17
|
+
margin: var(--dx-g-spacing-sm) var(--dx-g-spacing-md) var(--dx-g-spacing-md)
|
|
18
|
+
var(--dx-g-spacing-md);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
@media (max-width: 768px) {
|
|
@@ -23,23 +23,21 @@
|
|
|
23
23
|
--tile-height: 20px;
|
|
24
24
|
|
|
25
25
|
font-family: var(--dx-g-font-sans);
|
|
26
|
-
font-size:
|
|
26
|
+
font-size: 13px;
|
|
27
27
|
line-height: var(--tile-height);
|
|
28
|
-
font-weight: var(--dx-g-font-normal);
|
|
29
28
|
}
|
|
30
29
|
|
|
31
30
|
.tile-root {
|
|
32
|
-
font-family: var(--dx-g-font-
|
|
31
|
+
font-family: var(--dx-g-font-display);
|
|
33
32
|
font-size: var(--dx-g-text-sm);
|
|
34
|
-
font-weight: var(--dx-g-font-
|
|
35
|
-
color: var(--dx-g-blue-vibrant-
|
|
33
|
+
font-weight: var(--dx-g-font-demi);
|
|
34
|
+
color: var(--dx-g-blue-vibrant-30);
|
|
36
35
|
display: block;
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
.tile-icon {
|
|
40
39
|
align-items: center;
|
|
41
40
|
height: var(--tile-height);
|
|
42
|
-
padding: 0 calc(var(--dx-g-spacing-xs) + 2px) 0 var(--dx-g-spacing-sm);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
.tile-label {
|
|
@@ -56,102 +54,95 @@
|
|
|
56
54
|
|
|
57
55
|
.tile-with-children .tile-expand-icon {
|
|
58
56
|
order: 1;
|
|
57
|
+
padding-right: var(--dx-g-spacing-xs);
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
.indentation {
|
|
62
|
-
padding-left:
|
|
61
|
+
padding-left: var(--indentation);
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
.tile-with-children .indentation {
|
|
66
65
|
padding-left: calc(var(--indentation) - var(--base-indentation));
|
|
67
66
|
}
|
|
68
67
|
|
|
69
|
-
.tile-root-with-child .indentation {
|
|
70
|
-
padding-left: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
[aria-level="2"] {
|
|
74
|
-
--indentation: var(--dx-g-spacing-md);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
68
|
[aria-level="3"] {
|
|
78
|
-
--indentation:
|
|
69
|
+
--indentation: var(--base-indentation);
|
|
79
70
|
}
|
|
80
71
|
|
|
81
72
|
[aria-level="4"] {
|
|
82
|
-
--indentation: calc(
|
|
73
|
+
--indentation: calc(2 * var(--base-indentation));
|
|
83
74
|
}
|
|
84
75
|
|
|
85
76
|
[aria-level="5"] {
|
|
86
|
-
--indentation: calc(
|
|
77
|
+
--indentation: calc(3 * var(--base-indentation));
|
|
87
78
|
}
|
|
88
79
|
|
|
89
80
|
[aria-level="6"] {
|
|
90
|
-
--indentation: calc(
|
|
81
|
+
--indentation: calc(4 * var(--base-indentation));
|
|
91
82
|
}
|
|
92
83
|
|
|
93
84
|
[aria-level="7"] {
|
|
94
|
-
--indentation: calc(
|
|
85
|
+
--indentation: calc(5 * var(--base-indentation));
|
|
95
86
|
}
|
|
96
87
|
|
|
97
88
|
[aria-level="8"] {
|
|
98
|
-
--indentation: calc(
|
|
89
|
+
--indentation: calc(6 * var(--base-indentation));
|
|
99
90
|
}
|
|
100
91
|
|
|
101
92
|
[aria-level="9"] {
|
|
102
|
-
--indentation: calc(
|
|
93
|
+
--indentation: calc(7 * var(--base-indentation));
|
|
103
94
|
}
|
|
104
95
|
|
|
105
96
|
[aria-level="10"] {
|
|
106
|
-
--indentation: calc(
|
|
97
|
+
--indentation: calc(8 * var(--base-indentation));
|
|
107
98
|
}
|
|
108
99
|
|
|
109
100
|
[aria-level="11"] {
|
|
110
|
-
--indentation: calc(
|
|
101
|
+
--indentation: calc(9 * var(--base-indentation));
|
|
111
102
|
}
|
|
112
103
|
|
|
113
104
|
[aria-level="12"] {
|
|
114
|
-
--indentation: calc(
|
|
105
|
+
--indentation: calc(10 * var(--base-indentation));
|
|
115
106
|
}
|
|
116
107
|
|
|
117
108
|
[aria-level="13"] {
|
|
118
|
-
--indentation: calc(
|
|
109
|
+
--indentation: calc(11 * var(--base-indentation));
|
|
119
110
|
}
|
|
120
111
|
|
|
121
112
|
[aria-level="14"] {
|
|
122
|
-
--indentation: calc(
|
|
113
|
+
--indentation: calc(12 * var(--base-indentation));
|
|
123
114
|
}
|
|
124
115
|
|
|
125
116
|
[aria-level="15"] {
|
|
126
|
-
--indentation: calc(
|
|
117
|
+
--indentation: calc(13 * var(--base-indentation));
|
|
127
118
|
}
|
|
128
119
|
|
|
129
120
|
[aria-level="16"] {
|
|
130
|
-
--indentation: calc(
|
|
121
|
+
--indentation: calc(14 * var(--base-indentation));
|
|
131
122
|
}
|
|
132
123
|
|
|
133
124
|
[aria-level="17"] {
|
|
134
|
-
--indentation: calc(
|
|
125
|
+
--indentation: calc(15 * var(--base-indentation));
|
|
135
126
|
}
|
|
136
127
|
|
|
137
128
|
[aria-level="18"] {
|
|
138
|
-
--indentation: calc(
|
|
129
|
+
--indentation: calc(16 * var(--base-indentation));
|
|
139
130
|
}
|
|
140
131
|
|
|
141
132
|
[aria-level="19"] {
|
|
142
|
-
--indentation: calc(
|
|
133
|
+
--indentation: calc(17 * var(--base-indentation));
|
|
143
134
|
}
|
|
144
135
|
|
|
145
136
|
[aria-level="20"] {
|
|
146
|
-
--indentation: calc(
|
|
137
|
+
--indentation: calc(18 * var(--base-indentation));
|
|
147
138
|
}
|
|
148
139
|
|
|
149
140
|
[aria-level="21"] {
|
|
150
|
-
--indentation: calc(
|
|
141
|
+
--indentation: calc(19 * var(--base-indentation));
|
|
151
142
|
}
|
|
152
143
|
|
|
153
144
|
[aria-level="22"] {
|
|
154
|
-
--indentation: calc(
|
|
145
|
+
--indentation: calc(20 * var(--base-indentation));
|
|
155
146
|
}
|
|
156
147
|
|
|
157
148
|
dx-metadata-badge {
|
|
@@ -190,10 +181,10 @@ a {
|
|
|
190
181
|
|
|
191
182
|
a:link,
|
|
192
183
|
a:visited {
|
|
193
|
-
color: var(--dx-g-
|
|
184
|
+
color: var(--dx-g-gray-10);
|
|
194
185
|
}
|
|
195
186
|
|
|
196
187
|
a:visited.tile-root,
|
|
197
188
|
a:link.tile-root {
|
|
198
|
-
color: var(--dx-g-blue-vibrant-
|
|
189
|
+
color: var(--dx-g-blue-vibrant-30);
|
|
199
190
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<a href={href} class={tileClass} target={target}>
|
|
3
3
|
<div class="flex indentation" role="heading" aria-level={tileAriaLevel}>
|
|
4
|
+
<span
|
|
5
|
+
class="tile-label sidebar-item-truncate-text"
|
|
6
|
+
title={treeNode.label}
|
|
7
|
+
>
|
|
8
|
+
{treeNode.label}
|
|
9
|
+
</span>
|
|
4
10
|
<div class="flex tile-expand-icon tile-icon" if:true={showArrow}>
|
|
5
11
|
<dx-icon
|
|
6
12
|
aria-expanded={isExpanded}
|
|
@@ -10,12 +16,6 @@
|
|
|
10
16
|
onclick={onClickIcon}
|
|
11
17
|
></dx-icon>
|
|
12
18
|
</div>
|
|
13
|
-
<span
|
|
14
|
-
class="tile-label sidebar-item-truncate-text"
|
|
15
|
-
title={treeNode.label}
|
|
16
|
-
>
|
|
17
|
-
{treeNode.label}
|
|
18
|
-
</span>
|
|
19
19
|
<dx-metadata-badge
|
|
20
20
|
if:true={showMethod}
|
|
21
21
|
class="flex tile-icon"
|
|
@@ -37,7 +37,7 @@ export default class TreeTile extends LightningElement {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
private get iconSize() {
|
|
40
|
-
return "xsmall";
|
|
40
|
+
return this.isRoot ? "small" : "xsmall";
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
private get metadataBadgeColor(): string | undefined {
|
|
@@ -62,7 +62,6 @@ export default class TreeTile extends LightningElement {
|
|
|
62
62
|
return cx("tile", "sidebar-item", {
|
|
63
63
|
"tile-root": this.isRoot,
|
|
64
64
|
"tile-with-children": !this.isRoot && this.hasChildren,
|
|
65
|
-
"tile-root-with-child": this.isRoot && this.showArrow,
|
|
66
65
|
"sidebar-item-selected": this.isSelected
|
|
67
66
|
});
|
|
68
67
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { LightningElement
|
|
2
|
-
import type { OptionWithLink } from "typings/custom";
|
|
3
|
-
import { toJson } from "dxUtils/normalizers";
|
|
1
|
+
import { LightningElement } from "lwc";
|
|
4
2
|
|
|
5
3
|
export const HEIGHT_OF_SIDEBAR_ITEM = 32;
|
|
6
4
|
export const WAIT_TIME_BEFORE_SCROLL_IN_MS = 500;
|
|
@@ -10,35 +8,6 @@ export class SidebarBase extends LightningElement {
|
|
|
10
8
|
|
|
11
9
|
selectedElement: HTMLElement | null = null;
|
|
12
10
|
timerId: ReturnType<typeof setTimeout> | null = null;
|
|
13
|
-
_languages!: OptionWithLink[];
|
|
14
|
-
mobile: boolean = true;
|
|
15
|
-
expanded: boolean = true;
|
|
16
|
-
_value?: string = undefined;
|
|
17
|
-
showBoxShadow: boolean = false;
|
|
18
|
-
private scrolling: boolean = false;
|
|
19
|
-
|
|
20
|
-
@api langValuePath: string = "id";
|
|
21
|
-
@api language!: string;
|
|
22
|
-
@api bailHref!: string;
|
|
23
|
-
@api bailLabel!: string;
|
|
24
|
-
|
|
25
|
-
@api
|
|
26
|
-
get languages() {
|
|
27
|
-
return this._languages;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
set languages(value) {
|
|
31
|
-
this._languages = toJson(value);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@api
|
|
35
|
-
get value() {
|
|
36
|
-
return this._value;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
set value(value) {
|
|
40
|
-
this._value = value;
|
|
41
|
-
}
|
|
42
11
|
|
|
43
12
|
get sidebarContent() {
|
|
44
13
|
if (!this._sidebarContent) {
|
|
@@ -49,29 +18,6 @@ export class SidebarBase extends LightningElement {
|
|
|
49
18
|
return this._sidebarContent;
|
|
50
19
|
}
|
|
51
20
|
|
|
52
|
-
/**
|
|
53
|
-
* This method is to handle the scroll event for LNB and show box shadow
|
|
54
|
-
* @param scrollEvent
|
|
55
|
-
*/
|
|
56
|
-
handleScroll(scrollEvent: any) {
|
|
57
|
-
const lnb = scrollEvent.target;
|
|
58
|
-
|
|
59
|
-
if (!this.scrolling) {
|
|
60
|
-
this.scrolling = true;
|
|
61
|
-
// Set a timeout to handle scroll event after a delay
|
|
62
|
-
setTimeout(() => {
|
|
63
|
-
// Check if lnb is scrolled
|
|
64
|
-
if (lnb.scrollTop > 0 && lnb.scrollHeight > lnb.clientHeight) {
|
|
65
|
-
this.showBoxShadow = true;
|
|
66
|
-
} else {
|
|
67
|
-
this.showBoxShadow = false;
|
|
68
|
-
}
|
|
69
|
-
// Reset scrolling back to false after handling the scroll
|
|
70
|
-
this.scrolling = false;
|
|
71
|
-
}, 200);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
21
|
renderedCallback(): void {
|
|
76
22
|
/**
|
|
77
23
|
* Implementing debouncing kind of logic here to scroll to selected element once tree rendering is done
|
|
@@ -116,49 +62,4 @@ export class SidebarBase extends LightningElement {
|
|
|
116
62
|
this.selectedElement = null;
|
|
117
63
|
}
|
|
118
64
|
}
|
|
119
|
-
|
|
120
|
-
onMediaChange = (event: MediaQueryListEvent | MediaQueryList) => {
|
|
121
|
-
this.mobile = event.matches;
|
|
122
|
-
this.expanded = !this.mobile;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
onSelect(event: CustomEvent) {
|
|
126
|
-
this._value = event.detail.name;
|
|
127
|
-
|
|
128
|
-
if (this.mobile) {
|
|
129
|
-
this.onToggleClick();
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
onToggleClick() {
|
|
134
|
-
this.expanded = !this.expanded;
|
|
135
|
-
this.dispatchEvent(
|
|
136
|
-
new CustomEvent("togglesidebar", {
|
|
137
|
-
detail: {
|
|
138
|
-
open: this.expanded,
|
|
139
|
-
bubbles: true,
|
|
140
|
-
composed: true
|
|
141
|
-
}
|
|
142
|
-
})
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
private get hasMobileSidebarFooter(): boolean {
|
|
147
|
-
return this.mobile && this.languages?.length > 1 && this.expanded;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
private get hasSidebarFooter(): boolean {
|
|
151
|
-
return this.languages?.length > 1 || Boolean(this.bailHref);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
private get sidebarContentClass(): string {
|
|
155
|
-
const sidebarConterCss = "sidebar-content sidebar-content-tree";
|
|
156
|
-
return this.hasSidebarFooter || this.hasMobileSidebarFooter
|
|
157
|
-
? sidebarConterCss + " sidebar-content-hasfooter"
|
|
158
|
-
: sidebarConterCss;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
private get isDesktop(): boolean {
|
|
162
|
-
return !this.mobile;
|
|
163
|
-
}
|
|
164
65
|
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
:host {
|
|
5
5
|
z-index: var(--dx-g-z-index-500);
|
|
6
|
-
|
|
7
|
-
--dx-g-doc-header-main-nav-height: 51px;
|
|
8
6
|
}
|
|
9
7
|
|
|
10
8
|
.header_l2_group-nav_overflow {
|
|
@@ -60,9 +58,8 @@ header.state-show-mobile-nav .header_l2_group-nav_overflow {
|
|
|
60
58
|
/* Second row */
|
|
61
59
|
|
|
62
60
|
.header_l2 {
|
|
63
|
-
background:
|
|
64
|
-
padding: var(--dx-g-spacing-
|
|
65
|
-
var(--dx-g-spacing-smd) var(--dx-g-global-header-padding-horizontal);
|
|
61
|
+
background: var(--dx-g-brand-current-color-background);
|
|
62
|
+
padding: var(--dx-g-spacing-lg) var(--dx-g-global-header-padding-horizontal);
|
|
66
63
|
}
|
|
67
64
|
|
|
68
65
|
.header_l2_group {
|
|
@@ -73,7 +70,6 @@ header.state-show-mobile-nav .header_l2_group-nav_overflow {
|
|
|
73
70
|
|
|
74
71
|
.header_l2_group-title {
|
|
75
72
|
flex-shrink: 0;
|
|
76
|
-
padding: var(--dx-g-spacing-smd) 0 calc(var(--dx-g-spacing-smd) - 1px) 0;
|
|
77
73
|
}
|
|
78
74
|
|
|
79
75
|
.header_l2_group-title
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import "dxHelpers/text";
|
|
3
3
|
|
|
4
4
|
:host {
|
|
5
|
-
--dx-c-sidebar-width:
|
|
5
|
+
--dx-c-sidebar-width: 275px;
|
|
6
6
|
--dx-c-sidebar-button-color: var(--dx-g-blue-vibrant-50);
|
|
7
7
|
--dx-c-sidebar-button-background: white;
|
|
8
8
|
--dx-c-sidebar-button-border: white;
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
--dx-c-sidebar-button-border-hover: var(--dx-g-blue-vibrant-50);
|
|
12
12
|
--dx-c-sidebar-left-padding: var(--dx-g-global-header-padding-horizontal);
|
|
13
13
|
--dx-c-sidebar-vertical-padding: var(--dx-g-spacing-md);
|
|
14
|
-
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
dx-tree:not(:last-child) {
|
|
17
|
+
margin-bottom: var(--dx-g-spacing-sm);
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
.header {
|
|
@@ -28,18 +31,12 @@
|
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
.padding-horizontal {
|
|
31
|
-
padding:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.sidebar-header[show-shadow="true"] {
|
|
35
|
-
box-shadow: 0 4px 4px -2px var(--dx-g-gray-90);
|
|
34
|
+
padding-left: var(--dx-g-spacing-md);
|
|
35
|
+
padding-right: var(--dx-g-spacing-md);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.header-title {
|
|
39
|
-
line-height:
|
|
40
|
-
letter-spacing: -0.08px;
|
|
41
|
-
font-size: var(--dx-g-text-lg);
|
|
42
|
-
font-weight: var(--dx-g-font-demi);
|
|
39
|
+
line-height: inherit;
|
|
43
40
|
}
|
|
44
41
|
|
|
45
42
|
.header-toggle-icon {
|
|
@@ -56,7 +53,7 @@
|
|
|
56
53
|
}
|
|
57
54
|
|
|
58
55
|
.container {
|
|
59
|
-
background-color:
|
|
56
|
+
background-color: var(--dx-g-gray-95);
|
|
60
57
|
display: flex;
|
|
61
58
|
flex-direction: column;
|
|
62
59
|
height: var(--dx-c-sidebar-height);
|
|
@@ -71,7 +68,8 @@
|
|
|
71
68
|
|
|
72
69
|
box-shadow: 2px 0 0 0 var(--border-color);
|
|
73
70
|
min-height: var(--dx-c-sidebar-min-height);
|
|
74
|
-
padding: var(--dx-c-sidebar-vertical-padding) 0
|
|
71
|
+
padding: var(--dx-c-sidebar-vertical-padding) 0
|
|
72
|
+
var(--dx-c-sidebar-vertical-padding) var(--left-spacing);
|
|
75
73
|
position: relative;
|
|
76
74
|
}
|
|
77
75
|
|
|
@@ -104,7 +102,7 @@
|
|
|
104
102
|
|
|
105
103
|
.container.container-mobile.collapsed {
|
|
106
104
|
height: unset;
|
|
107
|
-
padding:
|
|
105
|
+
padding-bottom: 0;
|
|
108
106
|
}
|
|
109
107
|
|
|
110
108
|
.container.container-mobile.collapsed .header {
|
|
@@ -129,29 +127,9 @@
|
|
|
129
127
|
white-space: nowrap;
|
|
130
128
|
}
|
|
131
129
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
position: fixed;
|
|
137
|
-
bottom: 0;
|
|
138
|
-
left: 0;
|
|
139
|
-
width: inherit;
|
|
140
|
-
background: white;
|
|
141
|
-
border-top: 1px solid var(--dx-g-gray-90);
|
|
142
|
-
border-right: 1px solid var(--dx-g-gray-90);
|
|
143
|
-
height: var(--dx-g-spacing-2xl);
|
|
144
|
-
align-items: center;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.sidebar-content-hasfooter {
|
|
148
|
-
margin-bottom: var(--dx-g-spacing-2xl);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@media screen and (max-width: 767px) {
|
|
152
|
-
:host {
|
|
153
|
-
--doc-version-picker-width: calc(
|
|
154
|
-
100vw - var(--dx-c-sidebar-left-padding) - var(--dx-g-spacing-lg)
|
|
155
|
-
);
|
|
130
|
+
@media screen and (max-width: 768px) {
|
|
131
|
+
.padding-horizontal {
|
|
132
|
+
padding-left: var(--dx-g-spacing-lg);
|
|
133
|
+
padding-right: var(--dx-g-spacing-md);
|
|
156
134
|
}
|
|
157
135
|
}
|
|
@@ -8,37 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
.sidebar-item-selected {
|
|
10
10
|
background: var(--dx-g-cloud-blue-vibrant-95);
|
|
11
|
-
box-shadow: inset var(--dx-g-spacing-xs) 0 0 0 var(--dx-g-blue-vibrant-
|
|
11
|
+
box-shadow: inset var(--dx-g-spacing-xs) 0 0 0 var(--dx-g-blue-vibrant-60);
|
|
12
12
|
border-radius: 0;
|
|
13
|
-
color: var(--dx-g-blue-vibrant-40) !important;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
.sidebar-item {
|
|
17
|
-
padding: 6px var(--dx-g-spacing-
|
|
18
|
-
var(--dx-g-global-header-padding-horizontal);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.sidebar-item:not(.sidebar-item-selected):focus-visible {
|
|
22
|
-
padding: calc(var(--dx-g-spacing-sm) - var(--dx-g-spacing-2xs)) 0;
|
|
23
|
-
margin: 0 var(--dx-g-spacing-lg) 0
|
|
24
|
-
var(--dx-g-global-header-padding-horizontal);
|
|
25
|
-
outline: var(--dx-g-spacing-2xs) solid var(--dx-g-blue-vibrant-40);
|
|
26
|
-
border-radius: var(--dx-g-spacing-2xs);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.sidebar-item-selected:focus-visible {
|
|
30
|
-
padding-top: 0;
|
|
31
|
-
padding-bottom: 0;
|
|
32
|
-
outline: none;
|
|
33
|
-
|
|
34
|
-
.indentation {
|
|
35
|
-
outline: var(--dx-g-spacing-2xs) solid var(--dx-g-blue-vibrant-40);
|
|
36
|
-
border-radius: var(--dx-g-spacing-2xs);
|
|
37
|
-
padding-top: calc(var(--dx-g-spacing-sm) - var(--dx-g-spacing-2xs));
|
|
38
|
-
padding-bottom: calc(var(--dx-g-spacing-sm) - var(--dx-g-spacing-2xs));
|
|
39
|
-
}
|
|
16
|
+
padding: 6px var(--dx-g-spacing-md);
|
|
40
17
|
}
|
|
41
18
|
|
|
42
19
|
.sidebar-item:not(.sidebar-item-selected):hover {
|
|
43
|
-
color: var(--dx-g-
|
|
20
|
+
background-color: var(--dx-g-gray-90);
|
|
44
21
|
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@import "dxHelpers/reset";
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
--button-primary-color: var(--dx-g-blue-vibrant-50);
|
|
5
|
-
--button-primary-color-hover: var(--dx-g-cloud-blue-vibrant-95);
|
|
6
|
-
--popover-container-open-transform: translateX(-4px) translateY(-8px);
|
|
7
|
-
--popover-transition: none;
|
|
8
|
-
--dx-c-dropdown-option-font-weight: normal;
|
|
9
|
-
--dx-c-dropdown-option-label-color: var(--dx-g-gray-10);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.footer-item {
|
|
13
|
-
display: flex;
|
|
14
|
-
height: var(--dx-g-spacing-xl);
|
|
15
|
-
align-items: center;
|
|
16
|
-
border-radius: var(--dx-g-spacing-xs);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.footer-display {
|
|
20
|
-
display: flex;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.footer_lang-dropdown {
|
|
24
|
-
--dx-c-button-primary-color: var(--button-primary-color);
|
|
25
|
-
--dx-c-button-secondary-color-hover: var(--button-primary-color-hover);
|
|
26
|
-
--border-color: var(--button-primary-color);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.footer_lang-dropdown[aria-expanded="true"] {
|
|
30
|
-
--dx-c-button-secondary-color-hover: var(--dx-g-cloud-blue-vibrant-95);
|
|
31
|
-
--dx-c-button-primary-color: var(--dx-g-blue-vibrant-40);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.footer_lang-dropdown:hover,
|
|
35
|
-
.footer_lang-dropdown:active,
|
|
36
|
-
.pdf_bail-link:hover {
|
|
37
|
-
/* background-color: var(--button-primary-color-hover);
|
|
38
|
-
|
|
39
|
-
--border-color: var(--button-primary-color-hover); */
|
|
40
|
-
--dx-c-button-secondary-color-hover: var(--dx-g-cloud-blue-vibrant-95);
|
|
41
|
-
--dx-c-button-primary-color: var(--dx-g-blue-vibrant-40);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.pdf_bail-link {
|
|
45
|
-
--dx-c-button-secondary-color-hover: var(--button-primary-color-hover);
|
|
46
|
-
--dx-c-button-primary-color: var(--button-primary-color);
|
|
47
|
-
|
|
48
|
-
margin-right: var(--dx-g-spacing-sm);
|
|
49
|
-
}
|