igniteui-astro-components 0.0.8 → 0.0.9
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 +1 -1
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.astro +3 -3
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.scss +12 -3
- package/src/components/DocsSidebar/DocsSidebar.astro +5 -1
- package/src/components/DocsSidebar/DocsSidebar.scss +27 -40
- package/src/components/DocsSidebar/SidebarFilterInput.astro +3 -4
- package/src/components/DocsSidebar/SidebarFilterInput.scss +2 -3
- package/src/components/DocsSubHeader/DocsSubHeader.astro +16 -7
- package/src/components/DocsSubHeader/DocsSubHeader.scss +32 -35
- package/src/components/DocsToc/DocsToc.astro +10 -5
- package/src/components/DocsToc/DocsToc.scss +10 -11
- package/src/components/DocsTree/docs-tree.scss +16 -9
- package/src/components/MobileTocToggle/MobileTocToggle.astro +96 -0
- package/src/components/MobileTocToggle/MobileTocToggle.scss +74 -0
- package/src/components/Search/Search.astro +11 -0
- package/src/components/Search/Search.scss +13 -0
- package/src/components/SearchAdvanced/SearchAdvanced.astro +17 -3
- package/src/components/SearchAdvanced/SearchAdvanced.scss +170 -139
- package/src/components/mdx/DocsAside/DocsAside.scss +11 -28
- package/src/components/mdx/Sample/Sample.scss +3 -3
- package/src/layouts/DocsLayout/DocsLayout.astro +24 -6
- package/src/layouts/DocsLayout/DocsLayout.scss +241 -81
- package/src/styles/global/_breakpoints.scss +15 -37
- package/src/styles/global/_component-themes.scss +8 -27
- package/src/styles/global/_markdown.scss +514 -452
- package/src/styles/global/_palette.scss +8 -7
- package/src/styles/global/_search-shared.scss +63 -64
- package/src/styles/global/_type-scale.scss +2 -2
- package/src/styles/global/_variables.scss +8 -21
- package/src/styles/theme.scss +26 -8
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
@use '../../styles/global/breakpoints' as *;
|
|
2
2
|
@use 'igniteui-theming/sass/typography/functions' as *;
|
|
3
3
|
|
|
4
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
5
|
+
// Base (desktop-default) styles. Responsive overrides live in the
|
|
6
|
+
// "RESPONSIVE" section at the bottom of this file — that is the single
|
|
7
|
+
// place where every breakpoint-driven rule for the docs layout (and the
|
|
8
|
+
// components it contains) is defined.
|
|
9
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
10
|
+
|
|
4
11
|
.igd-page-layout {
|
|
5
12
|
display: grid;
|
|
6
13
|
grid-template-columns: var(--igd-page-layout-grid);
|
|
@@ -8,40 +15,7 @@
|
|
|
8
15
|
color: var(--igd-on-app-bg);
|
|
9
16
|
margin: 0;
|
|
10
17
|
z-index: 0;
|
|
11
|
-
|
|
12
|
-
@media (max-width: #{$bp-tablet-max}) {
|
|
13
|
-
--igd-page-layout-grid: 1fr;
|
|
14
|
-
--igd-page-padding: #{rem(38px)};
|
|
15
|
-
|
|
16
|
-
.search-trigger__lable,
|
|
17
|
-
.search-trigger__hint {
|
|
18
|
-
display: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.search-trigger {
|
|
22
|
-
border-inline-end: var(--igd-app-outline);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media (min-width: #{$bp-tablet-min}) {
|
|
27
|
-
justify-content: center;
|
|
28
|
-
padding-inline: 0;
|
|
29
|
-
|
|
30
|
-
.igd-docs-subheader {
|
|
31
|
-
--igd-page-layout-grid: auto 1fr;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@media (min-width: #{$bp-desktop-min}) {
|
|
36
|
-
.igd-docs-subheader {
|
|
37
|
-
--igd-page-layout-grid: #{minmax(rem(300px), rem(400px)) 1fr};
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@media (max-width: #{$bp-mobile-horizontal-max}) {
|
|
42
|
-
padding-inline: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
18
|
+
|
|
45
19
|
&:not(:has(.igd-right-sidebar)) {
|
|
46
20
|
.igd-main-pane {
|
|
47
21
|
> main {
|
|
@@ -53,17 +27,8 @@
|
|
|
53
27
|
|
|
54
28
|
.igd-main-content {
|
|
55
29
|
display: grid;
|
|
56
|
-
padding-inline: rem(32px);
|
|
57
30
|
position: relative;
|
|
58
|
-
|
|
59
|
-
@media (min-width: #{$bp-tablet-min}) {
|
|
60
|
-
padding-inline: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@media (max-width: #{$bp-mobile-horizontal-max}) {
|
|
64
|
-
padding-inline: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
31
|
+
|
|
67
32
|
&:not(:has(.igd-right-sidebar)) {
|
|
68
33
|
.igd-main-pane {
|
|
69
34
|
> main {
|
|
@@ -71,7 +36,7 @@
|
|
|
71
36
|
}
|
|
72
37
|
}
|
|
73
38
|
}
|
|
74
|
-
|
|
39
|
+
|
|
75
40
|
// ── Static square grid background ────────────────────────────────────────────
|
|
76
41
|
// Pure CSS: two repeating-linear-gradients intersected via mask-composite
|
|
77
42
|
// create 4×4px squares at a 35px grid pitch.
|
|
@@ -84,40 +49,34 @@
|
|
|
84
49
|
pointer-events: none;
|
|
85
50
|
user-select: none;
|
|
86
51
|
z-index: 0;
|
|
87
|
-
|
|
52
|
+
|
|
88
53
|
$pitch: 35px;
|
|
89
54
|
$sq: 3px;
|
|
90
55
|
$pad: 15.5px;
|
|
91
|
-
|
|
56
|
+
|
|
92
57
|
background-color: light-dark(var(--ig-gray-500), var(--igd-accent));
|
|
93
|
-
|
|
94
|
-
//
|
|
95
|
-
//
|
|
58
|
+
|
|
59
|
+
// Two mask layers intersected:
|
|
60
|
+
// horizontal-strips ∩ vertical-strips → squares with no edge fade
|
|
96
61
|
mask-image:
|
|
97
|
-
// 1.
|
|
98
|
-
radial-gradient(ellipse 80% 80% at 50% 40%, black 40%, transparent 100%),
|
|
99
|
-
// 2. Horizontal 4px bands at 35px pitch (repeating-linear 0deg = top-to-bottom)
|
|
62
|
+
// 1. Horizontal 4px bands at 35px pitch (repeating-linear 0deg = top-to-bottom)
|
|
100
63
|
repeating-linear-gradient(0deg,
|
|
101
64
|
transparent 0, transparent #{$pad},
|
|
102
65
|
black #{$pad}, black #{$pad + $sq},
|
|
103
66
|
transparent #{$pad + $sq}, transparent #{$pitch}
|
|
104
67
|
),
|
|
105
|
-
|
|
68
|
+
// 2. Vertical 4px bands at 35px pitch (repeating-linear 90deg = left-to-right)
|
|
106
69
|
repeating-linear-gradient(90deg,
|
|
107
70
|
transparent 0, transparent #{$pad},
|
|
108
71
|
black #{$pad}, black #{$pad + $sq},
|
|
109
72
|
transparent #{$pad + $sq}, transparent #{$pitch}
|
|
110
73
|
);
|
|
111
|
-
|
|
112
|
-
mask-size:
|
|
113
|
-
mask-composite: intersect
|
|
114
|
-
-webkit-mask-composite: source-in
|
|
115
|
-
|
|
74
|
+
|
|
75
|
+
mask-size: #{$pitch} #{$pitch}, #{$pitch} #{$pitch};
|
|
76
|
+
mask-composite: intersect;
|
|
77
|
+
-webkit-mask-composite: source-in;
|
|
78
|
+
|
|
116
79
|
opacity: .5;
|
|
117
|
-
|
|
118
|
-
@media (max-width: #{$bp-mobile-max}) {
|
|
119
|
-
display: none;
|
|
120
|
-
}
|
|
121
80
|
}
|
|
122
81
|
}
|
|
123
82
|
|
|
@@ -126,12 +85,8 @@
|
|
|
126
85
|
gap: var(--ig-padding);
|
|
127
86
|
background-color: var(--igd-layout-sections-bg);
|
|
128
87
|
border-inline: var(--igd-app-outline);
|
|
129
|
-
width: clamp(rem(
|
|
130
|
-
margin-inline
|
|
131
|
-
|
|
132
|
-
@media (max-width: #{$bp-mobile-horizontal-max}) {
|
|
133
|
-
border: none;
|
|
134
|
-
}
|
|
88
|
+
width: clamp(rem(1000px), 100%, rem(1200px));
|
|
89
|
+
margin-inline: auto;
|
|
135
90
|
}
|
|
136
91
|
|
|
137
92
|
.igd-main-content__page + aside {
|
|
@@ -144,27 +99,232 @@
|
|
|
144
99
|
padding-inline: rem(70px) rem(32px);
|
|
145
100
|
position: relative;
|
|
146
101
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
102
|
+
&:has(aside) {
|
|
103
|
+
.igd-main-content__page {
|
|
104
|
+
margin-inline-end: 0;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.content {
|
|
110
|
+
max-width: 60rem;
|
|
111
|
+
margin: 0 auto;
|
|
112
|
+
padding: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// ════════════════════════════════════════════════════════════════════════════
|
|
116
|
+
// RESPONSIVE — 3 viewport tiers
|
|
117
|
+
//
|
|
118
|
+
// mobile: < 768px (max-width: $bp-mobile-max)
|
|
119
|
+
// tablet: 768–1279px (max-width: $bp-tablet-max / min-width: $bp-tablet-min)
|
|
120
|
+
// desktop: ≥ 1280px (default — no media query)
|
|
121
|
+
//
|
|
122
|
+
// This is the single source of truth for every responsive rule that affects
|
|
123
|
+
// the docs layout and the components rendered inside `.igd-page-layout`.
|
|
124
|
+
// ════════════════════════════════════════════════════════════════════════════
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@media (max-width: #{$bp-reduce-sidebar}) {
|
|
128
|
+
.igd-page-layout {
|
|
129
|
+
--igd-page-layout-grid: #{minmax(rem(200px), rem(290px)) 1fr};
|
|
150
130
|
}
|
|
151
131
|
|
|
152
|
-
|
|
153
|
-
padding-inline: rem(
|
|
154
|
-
gap: rem(
|
|
132
|
+
.igd-main-content__inner {
|
|
133
|
+
padding-inline: rem(26px) 0;
|
|
134
|
+
gap: rem(26px);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// ── Mobile + Tablet (< 1280px) — everything below desktop ──────────────────
|
|
139
|
+
@media (max-width: #{$bp-tablet-max}) {
|
|
140
|
+
:root {
|
|
141
|
+
--igd-header-height: #{rem(50px)};
|
|
142
|
+
--igd-page-padding: #{rem(38px)};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// Single-column page grid; subheader follows via subgrid.
|
|
146
|
+
.igd-page-layout {
|
|
147
|
+
--igd-page-layout-grid: 1fr;
|
|
155
148
|
}
|
|
156
149
|
|
|
157
|
-
|
|
158
|
-
|
|
150
|
+
.igd-main-content {
|
|
151
|
+
grid-row: 2;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Logo only shown on desktop, where it can sit in its own sidebar-aligned column.
|
|
155
|
+
.igd-logo {
|
|
156
|
+
display: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// Search: collapse trigger to icon-only and reveal the mobile-only close UI.
|
|
160
|
+
.search-trigger {
|
|
161
|
+
max-width: none;
|
|
162
|
+
width: auto;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.search-trigger__label,
|
|
166
|
+
.search-trigger__lable,
|
|
167
|
+
.search-trigger__hint {
|
|
168
|
+
display: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.igd-search-mobile-bar {
|
|
172
|
+
display: flex;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Sidebar becomes a fixed slide-in overlay, hidden off-screen by default.
|
|
176
|
+
.docs-sidebar {
|
|
177
|
+
--igd-sidebar-z-index: 1000;
|
|
159
178
|
|
|
179
|
+
position: fixed;
|
|
180
|
+
inset-block: 0;
|
|
181
|
+
inset-inline-start: 0;
|
|
182
|
+
height: 100dvh;
|
|
183
|
+
max-height: 100dvh;
|
|
184
|
+
width: min(rem(360px), 85vw);
|
|
185
|
+
transform: translateX(-100%);
|
|
186
|
+
transition: transform 250ms ease, box-shadow 250ms ease;
|
|
187
|
+
box-shadow: none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.docs-sidebar-backdrop {
|
|
191
|
+
display: block;
|
|
192
|
+
position: fixed;
|
|
193
|
+
inset: 0;
|
|
194
|
+
z-index: 99;
|
|
195
|
+
background: light-dark(var(--ig-gray-900), var(--ig-gray-100));
|
|
196
|
+
opacity: 0;
|
|
197
|
+
pointer-events: none;
|
|
198
|
+
transition: opacity 250ms ease;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
body[data-sidebar-open] {
|
|
202
|
+
overflow: hidden;
|
|
203
|
+
|
|
204
|
+
.docs-sidebar {
|
|
205
|
+
transform: translateX(0);
|
|
206
|
+
box-shadow: var(--ig-elevation-8);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.docs-sidebar-backdrop {
|
|
210
|
+
opacity: .6;
|
|
211
|
+
pointer-events: auto;
|
|
212
|
+
backdrop-filter: blur(10px);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Subheader sidebar toggle reveals when the sidebar is not persistent.
|
|
217
|
+
.subheader-sidebar-toggle {
|
|
218
|
+
display: flex;
|
|
219
|
+
flex-shrink: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// Logo inside the slide-in sidebar (visible only when sidebar is an overlay).
|
|
223
|
+
.sidebar-logo {
|
|
224
|
+
display: flex;
|
|
225
|
+
margin-block-end: rem(16px);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.igd-main-content__inner {
|
|
229
|
+
padding-inline: 0;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// This is the height of the input in fluent theme + 8px padding + height of the logo above
|
|
233
|
+
.sidebar-gutter {
|
|
234
|
+
min-height: rem(80px);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// ── Mobile only (< 768px) ──────────────────────────────────────────────────
|
|
239
|
+
@media (max-width: #{$bp-mobile-max}) {
|
|
240
|
+
.igd-main-content::before {
|
|
241
|
+
display: none;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.igd-version-select {
|
|
245
|
+
max-width: rem(90px);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.igd-docs-subheader {
|
|
249
|
+
padding-inline-end: rem(16px);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.igd-docs-subheader__content:last-child {
|
|
253
|
+
margin-inline-end: 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.mobile-toc {
|
|
257
|
+
display: block;
|
|
258
|
+
position: sticky;
|
|
259
|
+
top: var(--igd-header-height);
|
|
260
|
+
z-index: 10;
|
|
261
|
+
grid-column: 1 / -1;
|
|
262
|
+
border-block-end: var(--igd-app-outline);
|
|
263
|
+
background-color: var(--igd-layout-sections-bg);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.igd-main-content__markdown {
|
|
267
|
+
padding-inline: rem(32px);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// Search dialog goes fullscreen on mobile only.
|
|
271
|
+
// `.igd-page-layout` prefix bumps specificity so this beats the
|
|
272
|
+
// centered-card base styles declared in Search.scss / SearchAdvanced.scss
|
|
273
|
+
// (those files load after this one in the Astro bundle).
|
|
274
|
+
.igd-page-layout .search-dialog,
|
|
275
|
+
.igd-page-layout .igd-search-dialog::part(base) {
|
|
276
|
+
margin: 0;
|
|
277
|
+
width: 100%;
|
|
278
|
+
max-width: 100%;
|
|
279
|
+
height: 100dvh;
|
|
280
|
+
max-height: 100dvh;
|
|
281
|
+
border-radius: 0;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.search-trigger.search-close {
|
|
285
|
+
display: flex;
|
|
286
|
+
flex-shrink: 0;
|
|
287
|
+
padding-inline: var(--igd-padding-sm);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
igc-input {
|
|
291
|
+
&::part(container) {
|
|
292
|
+
&:focus-within {
|
|
293
|
+
box-shadow:
|
|
294
|
+
0 0 0 1px var(--igd-accent),
|
|
295
|
+
inset 0 1px 0 var(--igd-accent),
|
|
296
|
+
inset 0 -1px 0 var(--igd-accent),
|
|
297
|
+
-1px 0 0 var(--igd-accent);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@media (max-width: #{$bp-hide-toc}) {
|
|
304
|
+
.igd-main-content__inner {
|
|
160
305
|
aside {
|
|
161
306
|
display: none;
|
|
162
307
|
}
|
|
163
308
|
}
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
.igd-main-content__page {
|
|
312
|
+
border: none;
|
|
313
|
+
}
|
|
164
314
|
}
|
|
165
315
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
316
|
+
// ── Tablet + Desktop (≥ 768px) ─────────────────────────────────────────────
|
|
317
|
+
@media (min-width: #{$bp-tablet-min}) {
|
|
318
|
+
.igd-page-layout {
|
|
319
|
+
justify-content: center;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.igd-package-select::part(native-input),
|
|
323
|
+
.igd-version-select::part(native-input) {
|
|
324
|
+
field-sizing: content;
|
|
325
|
+
|
|
326
|
+
&::part(base) {
|
|
327
|
+
min-width: 100%;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
170
330
|
}
|
|
@@ -1,48 +1,26 @@
|
|
|
1
1
|
@use 'igniteui-theming/sass/typography/functions' as *;
|
|
2
2
|
|
|
3
|
-
// Breakpoints
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
// mobile-horizontal 480–767px (30rem – 47.999rem)
|
|
10
|
-
// tablet 768–1023px (48rem – 63.999rem)
|
|
11
|
-
// desktop 1024–1439px (64rem – 89.999rem)
|
|
12
|
-
// large-desktop ≥ 1440px (≥ 90rem)
|
|
13
|
-
|
|
3
|
+
// Breakpoints — 3 viewport tiers
|
|
4
|
+
//
|
|
5
|
+
// mobile: < 768px (max-width: $bp-mobile-max)
|
|
6
|
+
// tablet: 768px – 1279px (max-width: $bp-tablet-max / min-width: $bp-tablet-min)
|
|
7
|
+
// desktop: ≥ 1280px (min-width: $bp-desktop-min)
|
|
8
|
+
//
|
|
14
9
|
// Usage: @media (max-width: #{$bp-mobile-max}) { … }
|
|
15
10
|
// Never use var() inside @media — CSS custom properties don't work there.
|
|
16
11
|
|
|
17
|
-
///
|
|
18
|
-
|
|
19
|
-
$bp-mobile-max: #{rem(479px)};
|
|
20
|
-
|
|
21
|
-
/// Top of mobile-horizontal range (< 768px)
|
|
22
|
-
$bp-mobile-horizontal-max: #{rem(767px)};
|
|
23
|
-
|
|
24
|
-
/// Top of tablet range (< 1024px)
|
|
25
|
-
$bp-tablet-max: #{rem(1023px)};
|
|
26
|
-
|
|
27
|
-
/// Top of desktop range (< 1440px)
|
|
28
|
-
$bp-desktop-max: #{rem(1439px)};
|
|
29
|
-
|
|
30
|
-
/// Lower bounds (min-width)
|
|
31
|
-
/// Start of mobile-horizontal (≥ 480px)
|
|
32
|
-
$bp-mobile-horizontal-min: #{rem(480px)};
|
|
12
|
+
/// Top of mobile range (< 768px)
|
|
13
|
+
$bp-mobile-max: #{rem(767px)};
|
|
33
14
|
|
|
34
|
-
/// Start of tablet (≥ 768px)
|
|
15
|
+
/// Start of tablet range (≥ 768px)
|
|
35
16
|
$bp-tablet-min: #{rem(768px)};
|
|
36
17
|
|
|
37
|
-
///
|
|
38
|
-
$bp-
|
|
18
|
+
/// Top of tablet range (< 1280px)
|
|
19
|
+
$bp-tablet-max: #{rem(1279px)};
|
|
39
20
|
|
|
40
|
-
|
|
41
|
-
$bp-large-desktop-min: #{rem(1280px)};
|
|
21
|
+
$bp-reduce-sidebar: #{rem(1500px)};
|
|
42
22
|
|
|
43
|
-
|
|
44
|
-
/// Below this the sidebar becomes a slide-in overlay (< 1300px)
|
|
45
|
-
$bp-sidebar-max: #{rem(1600px)};
|
|
23
|
+
$bp-hide-toc: #{rem(1100px)};
|
|
46
24
|
|
|
47
|
-
///
|
|
48
|
-
$bp-
|
|
25
|
+
/// Start of desktop range (≥ 1280px)
|
|
26
|
+
$bp-desktop-min: #{rem(1280px)};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use '../../styles/global/breakpoints' as *;
|
|
2
1
|
@use 'igniteui-theming' as *;
|
|
3
2
|
|
|
4
3
|
|
|
@@ -68,25 +67,6 @@ igc-select::part(toggle-icon) {
|
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
|
|
71
|
-
@media (max-width: #{$bp-mobile-max}) {
|
|
72
|
-
.igd-version-select {
|
|
73
|
-
max-width: rem(90px);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@media (min-width: #{$bp-mobile-max}) {
|
|
78
|
-
.igd-package-select::part(native-input),
|
|
79
|
-
.igd-version-select::part(native-input) {
|
|
80
|
-
field-sizing: content;
|
|
81
|
-
|
|
82
|
-
&::part(base) {
|
|
83
|
-
min-width: 100%;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
70
|
igc-select-item {
|
|
91
71
|
margin-block: 0;
|
|
92
72
|
}
|
|
@@ -105,7 +85,7 @@ igc-select::part(base) {
|
|
|
105
85
|
}
|
|
106
86
|
|
|
107
87
|
igc-icon-button[variant='outlined'] {
|
|
108
|
-
--foreground: light-dark(var(--ig-gray-900), var(--ig-gray-
|
|
88
|
+
--foreground: light-dark(var(--ig-gray-900), var(--ig-gray-700));
|
|
109
89
|
--hover-foreground: var(--igd-accent);
|
|
110
90
|
--focus-foreground: var(--igd-accent);
|
|
111
91
|
--active-foreground: var(--igd-accent);
|
|
@@ -117,8 +97,9 @@ igc-icon-button[variant='outlined'] {
|
|
|
117
97
|
--focus-hover-background: transparent;
|
|
118
98
|
--focus-visible-background: transparent;
|
|
119
99
|
|
|
120
|
-
--border-color: light-dark(var(--ig-gray-400), var(--ig-gray-
|
|
121
|
-
--focus-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-
|
|
100
|
+
--border-color: light-dark(var(--ig-gray-400), var(--ig-gray-200));
|
|
101
|
+
--focus-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-200));
|
|
102
|
+
--hover-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-200));
|
|
122
103
|
--border-radius: #{rem(4px)};
|
|
123
104
|
|
|
124
105
|
&::part(base) {
|
|
@@ -136,13 +117,13 @@ igc-icon-button[variant='outlined'] {
|
|
|
136
117
|
|
|
137
118
|
igc-button[variant='outlined'] {
|
|
138
119
|
&::part(base) {
|
|
139
|
-
--border-color: light-dark(var(--ig-gray-400), var(--ig-gray-
|
|
140
|
-
--hover-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-
|
|
141
|
-
--focus-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-
|
|
120
|
+
--border-color: light-dark(var(--ig-gray-400), var(--ig-gray-200));
|
|
121
|
+
--hover-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-200));
|
|
122
|
+
--focus-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-200));
|
|
142
123
|
--focus-visible-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-700));
|
|
143
124
|
--active-border-color: light-dark(var(--ig-gray-400), var(--ig-gray-700));
|
|
144
125
|
|
|
145
|
-
--foreground: light-dark(var(--ig-gray-900), var(--ig-gray-
|
|
126
|
+
--foreground: light-dark(var(--ig-gray-900), var(--ig-gray-700));
|
|
146
127
|
--hover-foreground: var(--igd-accent);
|
|
147
128
|
--focus-foreground: var(--igd-accent);
|
|
148
129
|
--active-foreground: var(--igd-accent);
|