osi-cards-lib 1.5.32 → 1.5.34
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/fesm2022/osi-cards-lib.mjs +31889 -0
- package/fesm2022/osi-cards-lib.mjs.map +1 -0
- package/index.d.ts +11528 -0
- package/package.json +25 -13
- package/scripts/setup-angular-styles.js +169 -0
- package/styles/_components.scss +38 -0
- package/styles/_index.scss +25 -0
- package/styles/_osi-cards-mixins.scss +459 -0
- package/styles/_osi-cards-tokens.scss +333 -0
- package/styles/_styles-scoped.scss +81 -0
- package/styles/_styles.scss +26 -0
- package/styles/bundles/_ai-card.scss +245 -0
- package/styles/bundles/_all.scss +68 -0
- package/styles/bundles/_base.scss +60 -0
- package/styles/bundles/_card-skeleton.scss +290 -0
- package/styles/bundles/_index.scss +25 -0
- package/styles/bundles/_sections.scss +48 -0
- package/styles/bundles/_tokens-only.scss +139 -0
- package/styles/components/_ai-card-renderer.scss +104 -0
- package/styles/components/_badges.scss +317 -0
- package/styles/components/_card-actions.scss +169 -0
- package/styles/components/_card-footer.scss +47 -0
- package/styles/components/_component-styles.scss +205 -0
- package/styles/components/_empty-state.scss +630 -0
- package/styles/components/_hero-card.scss +422 -0
- package/styles/components/_image-fallback.scss +28 -0
- package/styles/components/_streaming-effects.scss +518 -0
- package/styles/components/cards/_ai-card.scss +718 -0
- package/styles/components/sections/_all-sections.generated.scss +41 -0
- package/styles/components/sections/_all-sections.scss +1086 -0
- package/styles/components/sections/_balanced-compact-system.scss +186 -0
- package/styles/components/sections/_compact-mixins.scss +180 -0
- package/styles/components/sections/_component-mixins.scss +454 -0
- package/styles/components/sections/_design-system.scss +477 -0
- package/styles/components/sections/_design-tokens.scss +308 -0
- package/styles/components/sections/_enhanced-design-variables.scss +147 -0
- package/styles/components/sections/_master-compact-system.scss +302 -0
- package/styles/components/sections/_master-dense-system.scss +239 -0
- package/styles/components/sections/_minimalistic-design.scss +268 -0
- package/styles/components/sections/_modern-effects.scss +392 -0
- package/styles/components/sections/_modern-sections.scss +351 -0
- package/styles/components/sections/_perfect-system.scss +204 -0
- package/styles/components/sections/_section-animations.scss +331 -0
- package/styles/components/sections/_section-shell.scss +337 -0
- package/styles/components/sections/_section-types.generated.scss +30 -0
- package/styles/components/sections/_sections-all.scss +26 -0
- package/styles/components/sections/_sections-base.scss +334 -0
- package/styles/components/sections/_typography-system.scss +327 -0
- package/styles/components/sections/_ultra-compact-tokens.scss +375 -0
- package/styles/components/sections/_unified-section-style.scss +157 -0
- package/styles/components/sections/_utility-classes.scss +567 -0
- package/styles/components/sections/_visual-effects-library.scss +374 -0
- package/styles/core/_animations.scss +1498 -0
- package/styles/core/_bootstrap-reset.scss +445 -0
- package/styles/core/_color-helpers.scss +46 -0
- package/styles/core/_global-unified.scss +118 -0
- package/styles/core/_global.scss +73 -0
- package/styles/core/_mixins.scss +491 -0
- package/styles/core/_surface-layers.scss +76 -0
- package/styles/core/_utilities.scss +326 -0
- package/styles/core/_variables-unified.scss +57 -0
- package/styles/core/_variables.scss +36 -0
- package/styles/core/variables/_colors-source.scss +34 -0
- package/styles/core/variables/_colors-unified.scss +26 -0
- package/styles/core/variables/_colors.scss +21 -0
- package/styles/critical.scss +353 -0
- package/styles/design-system/_compact-theme.scss +159 -0
- package/styles/design-system/_section-base.scss +426 -0
- package/styles/design-system/_tokens.scss +237 -0
- package/styles/design-system/_unified-sections.scss +215 -0
- package/styles/layout/_feature-grid.scss +322 -0
- package/styles/layout/_masonry.scss +734 -0
- package/styles/layout/_tilt.scss +244 -0
- package/styles/micro-interactions.scss +583 -0
- package/styles/mixins/_section-mixins.scss +280 -0
- package/styles/non-critical.scss +643 -0
- package/styles/reset/_framework-reset.scss +457 -0
- package/styles/reset/_index.scss +14 -0
- package/styles/reset/_shadow-reset.scss +383 -0
- package/styles/responsive.scss +326 -0
- package/styles/themes.scss +573 -0
- package/styles/tokens/_index.scss +92 -0
- package/styles/tokens/_master.scss +1404 -0
- package/styles/tokens/_section-tokens.generated.scss +140 -0
- package/postcss.config.js +0 -81
- package/section-registry.json +0 -3864
- package/section-registry.schema.json +0 -264
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
// ============================================
|
|
2
|
+
// COMPREHENSIVE FRAMEWORK RESET
|
|
3
|
+
// ============================================
|
|
4
|
+
//
|
|
5
|
+
// Resets CSS variables and styles from popular CSS frameworks
|
|
6
|
+
// to prevent them from affecting OSI Cards components.
|
|
7
|
+
//
|
|
8
|
+
// Supported frameworks:
|
|
9
|
+
// - Bootstrap 4.x / 5.x
|
|
10
|
+
// - Boosted (Orange Bootstrap)
|
|
11
|
+
// - Tailwind CSS
|
|
12
|
+
// - Foundation
|
|
13
|
+
// - Bulma
|
|
14
|
+
// - Materialize CSS
|
|
15
|
+
// - DataTables
|
|
16
|
+
//
|
|
17
|
+
// Usage: Include in container scope
|
|
18
|
+
//
|
|
19
|
+
// ============================================
|
|
20
|
+
|
|
21
|
+
/// Complete framework variable reset mixin
|
|
22
|
+
/// Unsets all common CSS framework variables to prevent inheritance
|
|
23
|
+
@mixin framework-variable-reset() {
|
|
24
|
+
// ========================================
|
|
25
|
+
// BOOTSTRAP 5.x VARIABLE RESET
|
|
26
|
+
// ========================================
|
|
27
|
+
|
|
28
|
+
// Color palette
|
|
29
|
+
--bs-blue: unset;
|
|
30
|
+
--bs-indigo: unset;
|
|
31
|
+
--bs-purple: unset;
|
|
32
|
+
--bs-pink: unset;
|
|
33
|
+
--bs-red: unset;
|
|
34
|
+
--bs-orange: unset;
|
|
35
|
+
--bs-yellow: unset;
|
|
36
|
+
--bs-green: unset;
|
|
37
|
+
--bs-teal: unset;
|
|
38
|
+
--bs-cyan: unset;
|
|
39
|
+
--bs-black: unset;
|
|
40
|
+
--bs-white: unset;
|
|
41
|
+
--bs-gray: unset;
|
|
42
|
+
--bs-gray-dark: unset;
|
|
43
|
+
|
|
44
|
+
// Gray scale
|
|
45
|
+
--bs-gray-100: unset;
|
|
46
|
+
--bs-gray-200: unset;
|
|
47
|
+
--bs-gray-300: unset;
|
|
48
|
+
--bs-gray-400: unset;
|
|
49
|
+
--bs-gray-500: unset;
|
|
50
|
+
--bs-gray-600: unset;
|
|
51
|
+
--bs-gray-700: unset;
|
|
52
|
+
--bs-gray-800: unset;
|
|
53
|
+
--bs-gray-900: unset;
|
|
54
|
+
--bs-gray-950: unset;
|
|
55
|
+
|
|
56
|
+
// Semantic colors
|
|
57
|
+
--bs-primary: unset;
|
|
58
|
+
--bs-secondary: unset;
|
|
59
|
+
--bs-success: unset;
|
|
60
|
+
--bs-info: unset;
|
|
61
|
+
--bs-warning: unset;
|
|
62
|
+
--bs-danger: unset;
|
|
63
|
+
--bs-light: unset;
|
|
64
|
+
--bs-dark: unset;
|
|
65
|
+
|
|
66
|
+
// RGB color variants
|
|
67
|
+
--bs-primary-rgb: unset;
|
|
68
|
+
--bs-secondary-rgb: unset;
|
|
69
|
+
--bs-success-rgb: unset;
|
|
70
|
+
--bs-info-rgb: unset;
|
|
71
|
+
--bs-warning-rgb: unset;
|
|
72
|
+
--bs-danger-rgb: unset;
|
|
73
|
+
--bs-light-rgb: unset;
|
|
74
|
+
--bs-dark-rgb: unset;
|
|
75
|
+
--bs-white-rgb: unset;
|
|
76
|
+
--bs-black-rgb: unset;
|
|
77
|
+
--bs-body-color-rgb: unset;
|
|
78
|
+
--bs-body-bg-rgb: unset;
|
|
79
|
+
|
|
80
|
+
// Typography
|
|
81
|
+
--bs-font-sans-serif: unset;
|
|
82
|
+
--bs-font-monospace: unset;
|
|
83
|
+
--bs-body-font-family: unset;
|
|
84
|
+
--bs-body-font-size: unset;
|
|
85
|
+
--bs-body-font-weight: unset;
|
|
86
|
+
--bs-body-line-height: unset;
|
|
87
|
+
--bs-body-color: unset;
|
|
88
|
+
--bs-body-bg: unset;
|
|
89
|
+
--bs-emphasis-color: unset;
|
|
90
|
+
--bs-emphasis-color-rgb: unset;
|
|
91
|
+
--bs-secondary-color: unset;
|
|
92
|
+
--bs-secondary-color-rgb: unset;
|
|
93
|
+
--bs-secondary-bg: unset;
|
|
94
|
+
--bs-secondary-bg-rgb: unset;
|
|
95
|
+
--bs-tertiary-color: unset;
|
|
96
|
+
--bs-tertiary-color-rgb: unset;
|
|
97
|
+
--bs-tertiary-bg: unset;
|
|
98
|
+
--bs-tertiary-bg-rgb: unset;
|
|
99
|
+
--bs-heading-color: unset;
|
|
100
|
+
|
|
101
|
+
// Links
|
|
102
|
+
--bs-link-color: unset;
|
|
103
|
+
--bs-link-color-rgb: unset;
|
|
104
|
+
--bs-link-decoration: unset;
|
|
105
|
+
--bs-link-hover-color: unset;
|
|
106
|
+
--bs-link-hover-color-rgb: unset;
|
|
107
|
+
--bs-link-hover-decoration: unset;
|
|
108
|
+
|
|
109
|
+
// Code
|
|
110
|
+
--bs-code-color: unset;
|
|
111
|
+
--bs-highlight-bg: unset;
|
|
112
|
+
|
|
113
|
+
// Borders
|
|
114
|
+
--bs-border-width: unset;
|
|
115
|
+
--bs-border-style: unset;
|
|
116
|
+
--bs-border-color: unset;
|
|
117
|
+
--bs-border-color-translucent: unset;
|
|
118
|
+
--bs-border-radius: unset;
|
|
119
|
+
--bs-border-radius-sm: unset;
|
|
120
|
+
--bs-border-radius-lg: unset;
|
|
121
|
+
--bs-border-radius-xl: unset;
|
|
122
|
+
--bs-border-radius-xxl: unset;
|
|
123
|
+
--bs-border-radius-2xl: unset;
|
|
124
|
+
--bs-border-radius-pill: unset;
|
|
125
|
+
|
|
126
|
+
// Shadows
|
|
127
|
+
--bs-box-shadow: unset;
|
|
128
|
+
--bs-box-shadow-sm: unset;
|
|
129
|
+
--bs-box-shadow-lg: unset;
|
|
130
|
+
--bs-box-shadow-inset: unset;
|
|
131
|
+
|
|
132
|
+
// Focus ring
|
|
133
|
+
--bs-focus-ring-width: unset;
|
|
134
|
+
--bs-focus-ring-opacity: unset;
|
|
135
|
+
--bs-focus-ring-color: unset;
|
|
136
|
+
|
|
137
|
+
// Grid
|
|
138
|
+
--bs-gutter-x: unset;
|
|
139
|
+
--bs-gutter-y: unset;
|
|
140
|
+
--bs-breakpoint-xs: unset;
|
|
141
|
+
--bs-breakpoint-sm: unset;
|
|
142
|
+
--bs-breakpoint-md: unset;
|
|
143
|
+
--bs-breakpoint-lg: unset;
|
|
144
|
+
--bs-breakpoint-xl: unset;
|
|
145
|
+
--bs-breakpoint-xxl: unset;
|
|
146
|
+
|
|
147
|
+
// Gradient
|
|
148
|
+
--bs-gradient: unset;
|
|
149
|
+
|
|
150
|
+
// Component colors (Bootstrap 5.3+)
|
|
151
|
+
--bs-heading-color: unset;
|
|
152
|
+
--bs-nav-link-color: unset;
|
|
153
|
+
--bs-nav-link-hover-color: unset;
|
|
154
|
+
--bs-navbar-color: unset;
|
|
155
|
+
--bs-navbar-hover-color: unset;
|
|
156
|
+
--bs-navbar-disabled-color: unset;
|
|
157
|
+
--bs-navbar-active-color: unset;
|
|
158
|
+
--bs-navbar-brand-color: unset;
|
|
159
|
+
--bs-navbar-brand-hover-color: unset;
|
|
160
|
+
--bs-dropdown-color: unset;
|
|
161
|
+
--bs-dropdown-bg: unset;
|
|
162
|
+
--bs-dropdown-border-color: unset;
|
|
163
|
+
--bs-dropdown-link-color: unset;
|
|
164
|
+
--bs-dropdown-link-hover-color: unset;
|
|
165
|
+
--bs-dropdown-link-hover-bg: unset;
|
|
166
|
+
--bs-dropdown-link-active-color: unset;
|
|
167
|
+
--bs-dropdown-link-active-bg: unset;
|
|
168
|
+
--bs-dropdown-link-disabled-color: unset;
|
|
169
|
+
|
|
170
|
+
// Form variables
|
|
171
|
+
--bs-form-valid-color: unset;
|
|
172
|
+
--bs-form-valid-border-color: unset;
|
|
173
|
+
--bs-form-invalid-color: unset;
|
|
174
|
+
--bs-form-invalid-border-color: unset;
|
|
175
|
+
|
|
176
|
+
// Card variables
|
|
177
|
+
--bs-card-spacer-y: unset;
|
|
178
|
+
--bs-card-spacer-x: unset;
|
|
179
|
+
--bs-card-title-spacer-y: unset;
|
|
180
|
+
--bs-card-border-width: unset;
|
|
181
|
+
--bs-card-border-color: unset;
|
|
182
|
+
--bs-card-border-radius: unset;
|
|
183
|
+
--bs-card-box-shadow: unset;
|
|
184
|
+
--bs-card-inner-border-radius: unset;
|
|
185
|
+
--bs-card-cap-padding-y: unset;
|
|
186
|
+
--bs-card-cap-padding-x: unset;
|
|
187
|
+
--bs-card-cap-bg: unset;
|
|
188
|
+
--bs-card-cap-color: unset;
|
|
189
|
+
--bs-card-height: unset;
|
|
190
|
+
--bs-card-color: unset;
|
|
191
|
+
--bs-card-bg: unset;
|
|
192
|
+
--bs-card-img-overlay-padding: unset;
|
|
193
|
+
--bs-card-group-margin: unset;
|
|
194
|
+
|
|
195
|
+
// Button variables
|
|
196
|
+
--bs-btn-padding-x: unset;
|
|
197
|
+
--bs-btn-padding-y: unset;
|
|
198
|
+
--bs-btn-font-family: unset;
|
|
199
|
+
--bs-btn-font-size: unset;
|
|
200
|
+
--bs-btn-line-height: unset;
|
|
201
|
+
--bs-btn-font-weight: unset;
|
|
202
|
+
--bs-btn-color: unset;
|
|
203
|
+
--bs-btn-bg: unset;
|
|
204
|
+
--bs-btn-border-width: unset;
|
|
205
|
+
--bs-btn-border-color: unset;
|
|
206
|
+
--bs-btn-border-radius: unset;
|
|
207
|
+
--bs-btn-hover-border-color: unset;
|
|
208
|
+
--bs-btn-box-shadow: unset;
|
|
209
|
+
--bs-btn-disabled-opacity: unset;
|
|
210
|
+
--bs-btn-focus-box-shadow: unset;
|
|
211
|
+
|
|
212
|
+
// Table variables
|
|
213
|
+
--bs-table-color: unset;
|
|
214
|
+
--bs-table-bg: unset;
|
|
215
|
+
--bs-table-border-color: unset;
|
|
216
|
+
--bs-table-accent-bg: unset;
|
|
217
|
+
--bs-table-striped-color: unset;
|
|
218
|
+
--bs-table-striped-bg: unset;
|
|
219
|
+
--bs-table-active-color: unset;
|
|
220
|
+
--bs-table-active-bg: unset;
|
|
221
|
+
--bs-table-hover-color: unset;
|
|
222
|
+
--bs-table-hover-bg: unset;
|
|
223
|
+
|
|
224
|
+
// ========================================
|
|
225
|
+
// BOOSTED (ORANGE BOOTSTRAP) RESET
|
|
226
|
+
// ========================================
|
|
227
|
+
|
|
228
|
+
--boosted-orange: unset;
|
|
229
|
+
--boosted-white: unset;
|
|
230
|
+
--boosted-black: unset;
|
|
231
|
+
--boosted-font-family: unset;
|
|
232
|
+
--boosted-letter-spacing: unset;
|
|
233
|
+
|
|
234
|
+
// ========================================
|
|
235
|
+
// TAILWIND CSS VARIABLE RESET
|
|
236
|
+
// ========================================
|
|
237
|
+
|
|
238
|
+
--tw-ring-color: unset;
|
|
239
|
+
--tw-ring-offset-color: unset;
|
|
240
|
+
--tw-ring-offset-width: unset;
|
|
241
|
+
--tw-ring-offset-shadow: unset;
|
|
242
|
+
--tw-ring-shadow: unset;
|
|
243
|
+
--tw-shadow: unset;
|
|
244
|
+
--tw-shadow-colored: unset;
|
|
245
|
+
--tw-border-opacity: unset;
|
|
246
|
+
--tw-bg-opacity: unset;
|
|
247
|
+
--tw-text-opacity: unset;
|
|
248
|
+
--tw-divide-opacity: unset;
|
|
249
|
+
--tw-placeholder-opacity: unset;
|
|
250
|
+
--tw-backdrop-blur: unset;
|
|
251
|
+
--tw-backdrop-brightness: unset;
|
|
252
|
+
--tw-backdrop-contrast: unset;
|
|
253
|
+
--tw-backdrop-grayscale: unset;
|
|
254
|
+
--tw-backdrop-hue-rotate: unset;
|
|
255
|
+
--tw-backdrop-invert: unset;
|
|
256
|
+
--tw-backdrop-opacity: unset;
|
|
257
|
+
--tw-backdrop-saturate: unset;
|
|
258
|
+
--tw-backdrop-sepia: unset;
|
|
259
|
+
--tw-blur: unset;
|
|
260
|
+
--tw-brightness: unset;
|
|
261
|
+
--tw-contrast: unset;
|
|
262
|
+
--tw-grayscale: unset;
|
|
263
|
+
--tw-hue-rotate: unset;
|
|
264
|
+
--tw-invert: unset;
|
|
265
|
+
--tw-saturate: unset;
|
|
266
|
+
--tw-sepia: unset;
|
|
267
|
+
--tw-drop-shadow: unset;
|
|
268
|
+
--tw-gradient-from: unset;
|
|
269
|
+
--tw-gradient-to: unset;
|
|
270
|
+
--tw-gradient-stops: unset;
|
|
271
|
+
--tw-ordinal: unset;
|
|
272
|
+
--tw-slashed-zero: unset;
|
|
273
|
+
--tw-numeric-figure: unset;
|
|
274
|
+
--tw-numeric-spacing: unset;
|
|
275
|
+
--tw-numeric-fraction: unset;
|
|
276
|
+
--tw-pan-x: unset;
|
|
277
|
+
--tw-pan-y: unset;
|
|
278
|
+
--tw-pinch-zoom: unset;
|
|
279
|
+
--tw-scroll-snap-strictness: unset;
|
|
280
|
+
--tw-touch-action: unset;
|
|
281
|
+
--tw-translate-x: unset;
|
|
282
|
+
--tw-translate-y: unset;
|
|
283
|
+
--tw-rotate: unset;
|
|
284
|
+
--tw-skew-x: unset;
|
|
285
|
+
--tw-skew-y: unset;
|
|
286
|
+
--tw-scale-x: unset;
|
|
287
|
+
--tw-scale-y: unset;
|
|
288
|
+
--tw-transform: unset;
|
|
289
|
+
|
|
290
|
+
// ========================================
|
|
291
|
+
// FOUNDATION FRAMEWORK RESET
|
|
292
|
+
// ========================================
|
|
293
|
+
|
|
294
|
+
--foundation-palette-primary: unset;
|
|
295
|
+
--foundation-palette-secondary: unset;
|
|
296
|
+
--foundation-palette-success: unset;
|
|
297
|
+
--foundation-palette-warning: unset;
|
|
298
|
+
--foundation-palette-alert: unset;
|
|
299
|
+
--foundation-global-font-size: unset;
|
|
300
|
+
--foundation-global-lineheight: unset;
|
|
301
|
+
--foundation-global-margin: unset;
|
|
302
|
+
--foundation-global-padding: unset;
|
|
303
|
+
--foundation-global-radius: unset;
|
|
304
|
+
--foundation-global-weight-normal: unset;
|
|
305
|
+
--foundation-global-weight-bold: unset;
|
|
306
|
+
|
|
307
|
+
// ========================================
|
|
308
|
+
// BULMA FRAMEWORK RESET
|
|
309
|
+
// ========================================
|
|
310
|
+
|
|
311
|
+
--bulma-primary: unset;
|
|
312
|
+
--bulma-link: unset;
|
|
313
|
+
--bulma-info: unset;
|
|
314
|
+
--bulma-success: unset;
|
|
315
|
+
--bulma-warning: unset;
|
|
316
|
+
--bulma-danger: unset;
|
|
317
|
+
--bulma-light: unset;
|
|
318
|
+
--bulma-dark: unset;
|
|
319
|
+
--bulma-white: unset;
|
|
320
|
+
--bulma-black: unset;
|
|
321
|
+
--bulma-family-sans-serif: unset;
|
|
322
|
+
--bulma-family-monospace: unset;
|
|
323
|
+
--bulma-size-small: unset;
|
|
324
|
+
--bulma-size-normal: unset;
|
|
325
|
+
--bulma-size-medium: unset;
|
|
326
|
+
--bulma-size-large: unset;
|
|
327
|
+
--bulma-gap: unset;
|
|
328
|
+
--bulma-radius: unset;
|
|
329
|
+
--bulma-radius-small: unset;
|
|
330
|
+
--bulma-radius-large: unset;
|
|
331
|
+
--bulma-radius-rounded: unset;
|
|
332
|
+
|
|
333
|
+
// ========================================
|
|
334
|
+
// MATERIALIZE CSS RESET
|
|
335
|
+
// ========================================
|
|
336
|
+
|
|
337
|
+
--mdc-theme-primary: unset;
|
|
338
|
+
--mdc-theme-secondary: unset;
|
|
339
|
+
--mdc-theme-surface: unset;
|
|
340
|
+
--mdc-theme-background: unset;
|
|
341
|
+
--mdc-theme-error: unset;
|
|
342
|
+
--mdc-theme-on-primary: unset;
|
|
343
|
+
--mdc-theme-on-secondary: unset;
|
|
344
|
+
--mdc-theme-on-surface: unset;
|
|
345
|
+
--mdc-theme-on-error: unset;
|
|
346
|
+
--mdc-typography-font-family: unset;
|
|
347
|
+
--mdc-shape-small: unset;
|
|
348
|
+
--mdc-shape-medium: unset;
|
|
349
|
+
--mdc-shape-large: unset;
|
|
350
|
+
|
|
351
|
+
// ========================================
|
|
352
|
+
// DATATABLES RESET
|
|
353
|
+
// ========================================
|
|
354
|
+
|
|
355
|
+
--dt-row-selected: unset;
|
|
356
|
+
--dt-row-selected-text: unset;
|
|
357
|
+
--dt-row-selected-link: unset;
|
|
358
|
+
--dt-row-stripe: unset;
|
|
359
|
+
--dt-row-hover: unset;
|
|
360
|
+
--dt-column-ordering: unset;
|
|
361
|
+
--dt-html-background: unset;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/// Apply complete style override for framework isolation
|
|
365
|
+
/// Use this mixin inside a container scope
|
|
366
|
+
@mixin framework-style-override() {
|
|
367
|
+
// Reset all inherited properties
|
|
368
|
+
all: revert;
|
|
369
|
+
|
|
370
|
+
// Re-establish box model
|
|
371
|
+
box-sizing: border-box;
|
|
372
|
+
|
|
373
|
+
// Apply to all children
|
|
374
|
+
*,
|
|
375
|
+
*::before,
|
|
376
|
+
*::after {
|
|
377
|
+
box-sizing: border-box !important;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// Reset heading styles that Bootstrap modifies
|
|
381
|
+
h1,
|
|
382
|
+
h2,
|
|
383
|
+
h3,
|
|
384
|
+
h4,
|
|
385
|
+
h5,
|
|
386
|
+
h6 {
|
|
387
|
+
margin: 0 !important;
|
|
388
|
+
padding: 0 !important;
|
|
389
|
+
border: none !important;
|
|
390
|
+
font-family: inherit !important;
|
|
391
|
+
line-height: 1.2 !important;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// Reset button styles
|
|
395
|
+
button {
|
|
396
|
+
font-family: inherit !important;
|
|
397
|
+
cursor: pointer;
|
|
398
|
+
border: none;
|
|
399
|
+
background: transparent;
|
|
400
|
+
padding: 0;
|
|
401
|
+
margin: 0;
|
|
402
|
+
|
|
403
|
+
&:focus-visible {
|
|
404
|
+
outline: 2px solid var(--color-brand, #ff7900) !important;
|
|
405
|
+
outline-offset: 2px !important;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
&:focus:not(:focus-visible) {
|
|
409
|
+
outline: none !important;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// Reset link styles
|
|
414
|
+
a {
|
|
415
|
+
text-decoration: none !important;
|
|
416
|
+
color: inherit !important;
|
|
417
|
+
|
|
418
|
+
&:hover,
|
|
419
|
+
&:focus {
|
|
420
|
+
text-decoration: none !important;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// Reset list styles
|
|
425
|
+
ul,
|
|
426
|
+
ol {
|
|
427
|
+
list-style: none !important;
|
|
428
|
+
padding: 0 !important;
|
|
429
|
+
margin: 0 !important;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// Reset table styles
|
|
433
|
+
table {
|
|
434
|
+
border-collapse: collapse !important;
|
|
435
|
+
border-spacing: 0 !important;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
// Reset form element styles
|
|
439
|
+
input,
|
|
440
|
+
textarea,
|
|
441
|
+
select {
|
|
442
|
+
font-family: inherit !important;
|
|
443
|
+
font-size: inherit !important;
|
|
444
|
+
border: none;
|
|
445
|
+
background: transparent;
|
|
446
|
+
|
|
447
|
+
&:focus {
|
|
448
|
+
outline: none;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// Export mixins for use in component styles
|
|
454
|
+
@mixin apply-framework-reset() {
|
|
455
|
+
@include framework-variable-reset();
|
|
456
|
+
@include framework-style-override();
|
|
457
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ============================================
|
|
2
|
+
// RESET STYLES INDEX
|
|
3
|
+
// ============================================
|
|
4
|
+
//
|
|
5
|
+
// This file consolidates all reset styles for the OSI Cards library.
|
|
6
|
+
//
|
|
7
|
+
// Available resets:
|
|
8
|
+
// - shadow-reset: For Shadow DOM encapsulated components
|
|
9
|
+
// - framework-reset: For resetting CSS framework variables
|
|
10
|
+
//
|
|
11
|
+
// ============================================
|
|
12
|
+
|
|
13
|
+
@forward "shadow-reset";
|
|
14
|
+
@forward "framework-reset";
|