osi-cards-lib 1.5.30 → 1.5.32
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/README.md +58 -20
- package/package.json +13 -25
- package/postcss.config.js +81 -0
- package/section-registry.json +3864 -0
- package/section-registry.schema.json +264 -0
- package/fesm2022/osi-cards-lib.mjs +0 -31878
- package/fesm2022/osi-cards-lib.mjs.map +0 -1
- package/index.d.ts +0 -11522
- package/scripts/setup-angular-styles.js +0 -169
- package/styles/_components.scss +0 -38
- package/styles/_index.scss +0 -25
- package/styles/_osi-cards-mixins.scss +0 -459
- package/styles/_osi-cards-tokens.scss +0 -333
- package/styles/_styles-scoped.scss +0 -81
- package/styles/_styles.scss +0 -26
- package/styles/bundles/_ai-card.scss +0 -245
- package/styles/bundles/_all.scss +0 -68
- package/styles/bundles/_base.scss +0 -60
- package/styles/bundles/_card-skeleton.scss +0 -290
- package/styles/bundles/_index.scss +0 -25
- package/styles/bundles/_sections.scss +0 -48
- package/styles/bundles/_tokens-only.scss +0 -139
- package/styles/components/_ai-card-renderer.scss +0 -104
- package/styles/components/_badges.scss +0 -317
- package/styles/components/_card-actions.scss +0 -169
- package/styles/components/_card-footer.scss +0 -47
- package/styles/components/_component-styles.scss +0 -205
- package/styles/components/_empty-state.scss +0 -630
- package/styles/components/_hero-card.scss +0 -422
- package/styles/components/_image-fallback.scss +0 -28
- package/styles/components/_streaming-effects.scss +0 -518
- package/styles/components/cards/_ai-card.scss +0 -718
- package/styles/components/sections/_all-sections.generated.scss +0 -41
- package/styles/components/sections/_all-sections.scss +0 -1086
- package/styles/components/sections/_balanced-compact-system.scss +0 -186
- package/styles/components/sections/_compact-mixins.scss +0 -180
- package/styles/components/sections/_component-mixins.scss +0 -454
- package/styles/components/sections/_design-system.scss +0 -477
- package/styles/components/sections/_design-tokens.scss +0 -308
- package/styles/components/sections/_enhanced-design-variables.scss +0 -147
- package/styles/components/sections/_master-compact-system.scss +0 -302
- package/styles/components/sections/_master-dense-system.scss +0 -239
- package/styles/components/sections/_minimalistic-design.scss +0 -268
- package/styles/components/sections/_modern-effects.scss +0 -392
- package/styles/components/sections/_modern-sections.scss +0 -351
- package/styles/components/sections/_perfect-system.scss +0 -204
- package/styles/components/sections/_section-animations.scss +0 -331
- package/styles/components/sections/_section-shell.scss +0 -337
- package/styles/components/sections/_section-types.generated.scss +0 -30
- package/styles/components/sections/_sections-all.scss +0 -26
- package/styles/components/sections/_sections-base.scss +0 -334
- package/styles/components/sections/_typography-system.scss +0 -327
- package/styles/components/sections/_ultra-compact-tokens.scss +0 -375
- package/styles/components/sections/_unified-section-style.scss +0 -157
- package/styles/components/sections/_utility-classes.scss +0 -567
- package/styles/components/sections/_visual-effects-library.scss +0 -374
- package/styles/core/_animations.scss +0 -1498
- package/styles/core/_bootstrap-reset.scss +0 -445
- package/styles/core/_color-helpers.scss +0 -46
- package/styles/core/_global-unified.scss +0 -118
- package/styles/core/_global.scss +0 -73
- package/styles/core/_mixins.scss +0 -491
- package/styles/core/_surface-layers.scss +0 -76
- package/styles/core/_utilities.scss +0 -326
- package/styles/core/_variables-unified.scss +0 -57
- package/styles/core/_variables.scss +0 -36
- package/styles/core/variables/_colors-source.scss +0 -34
- package/styles/core/variables/_colors-unified.scss +0 -26
- package/styles/core/variables/_colors.scss +0 -21
- package/styles/critical.scss +0 -353
- package/styles/design-system/_compact-theme.scss +0 -159
- package/styles/design-system/_section-base.scss +0 -426
- package/styles/design-system/_tokens.scss +0 -237
- package/styles/design-system/_unified-sections.scss +0 -215
- package/styles/layout/_feature-grid.scss +0 -322
- package/styles/layout/_masonry.scss +0 -734
- package/styles/layout/_tilt.scss +0 -244
- package/styles/micro-interactions.scss +0 -583
- package/styles/mixins/_section-mixins.scss +0 -280
- package/styles/non-critical.scss +0 -643
- package/styles/reset/_framework-reset.scss +0 -457
- package/styles/reset/_index.scss +0 -14
- package/styles/reset/_shadow-reset.scss +0 -383
- package/styles/responsive.scss +0 -326
- package/styles/themes.scss +0 -573
- package/styles/tokens/_index.scss +0 -92
- package/styles/tokens/_master.scss +0 -1404
- package/styles/tokens/_section-tokens.generated.scss +0 -140
|
@@ -1,445 +0,0 @@
|
|
|
1
|
-
/* ===================================================================
|
|
2
|
-
BOOTSTRAP & BOOSTED STYLE ISOLATION
|
|
3
|
-
Reset Bootstrap/Boosted Variables and Styles for Complete Isolation
|
|
4
|
-
=================================================================== */
|
|
5
|
-
/*
|
|
6
|
-
* This file resets all Bootstrap/Boosted CSS variables and common styles
|
|
7
|
-
* within OSI Cards containers to prevent style conflicts when cards are
|
|
8
|
-
* imported into applications that use Bootstrap or Orange Boosted.
|
|
9
|
-
*
|
|
10
|
-
* Supported Frameworks:
|
|
11
|
-
* - Bootstrap 5.x
|
|
12
|
-
* - Orange Boosted 5.x
|
|
13
|
-
* - DataTables
|
|
14
|
-
*
|
|
15
|
-
* Usage:
|
|
16
|
-
* This file is automatically imported in scoped stylesheets.
|
|
17
|
-
* All framework variables are reset to 'unset' within .osi-cards-container
|
|
18
|
-
* and .ai-card-surface to ensure complete isolation.
|
|
19
|
-
*
|
|
20
|
-
* NOTE: This file is imported INSIDE .osi-cards-container { } in _styles-scoped.scss
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/* Reset all Bootstrap/Boosted CSS variables - applied to parent container via & */
|
|
24
|
-
&,
|
|
25
|
-
.ai-card-surface,
|
|
26
|
-
article.ai-card-surface {
|
|
27
|
-
/* Reset Bootstrap color variables */
|
|
28
|
-
--bs-blue: unset;
|
|
29
|
-
--bs-indigo: unset;
|
|
30
|
-
--bs-purple: unset;
|
|
31
|
-
--bs-pink: unset;
|
|
32
|
-
--bs-red: unset;
|
|
33
|
-
--bs-orange: unset;
|
|
34
|
-
--bs-yellow: unset;
|
|
35
|
-
--bs-green: unset;
|
|
36
|
-
--bs-teal: unset;
|
|
37
|
-
--bs-cyan: unset;
|
|
38
|
-
--bs-black: unset;
|
|
39
|
-
--bs-white: unset;
|
|
40
|
-
--bs-gray: unset;
|
|
41
|
-
--bs-gray-dark: unset;
|
|
42
|
-
--bs-gray-100: unset;
|
|
43
|
-
--bs-gray-200: unset;
|
|
44
|
-
--bs-gray-300: unset;
|
|
45
|
-
--bs-gray-400: unset;
|
|
46
|
-
--bs-gray-500: unset;
|
|
47
|
-
--bs-gray-600: unset;
|
|
48
|
-
--bs-gray-700: unset;
|
|
49
|
-
--bs-gray-800: unset;
|
|
50
|
-
--bs-gray-900: unset;
|
|
51
|
-
--bs-gray-950: unset;
|
|
52
|
-
|
|
53
|
-
/* Reset Bootstrap semantic color variables */
|
|
54
|
-
--bs-primary: unset;
|
|
55
|
-
--bs-secondary: unset;
|
|
56
|
-
--bs-success: unset;
|
|
57
|
-
--bs-info: unset;
|
|
58
|
-
--bs-warning: unset;
|
|
59
|
-
--bs-danger: unset;
|
|
60
|
-
--bs-light: unset;
|
|
61
|
-
--bs-dark: unset;
|
|
62
|
-
|
|
63
|
-
/* Reset Bootstrap RGB color variables */
|
|
64
|
-
--bs-primary-rgb: unset;
|
|
65
|
-
--bs-secondary-rgb: unset;
|
|
66
|
-
--bs-success-rgb: unset;
|
|
67
|
-
--bs-info-rgb: unset;
|
|
68
|
-
--bs-warning-rgb: unset;
|
|
69
|
-
--bs-danger-rgb: unset;
|
|
70
|
-
--bs-light-rgb: unset;
|
|
71
|
-
--bs-dark-rgb: unset;
|
|
72
|
-
--bs-white-rgb: unset;
|
|
73
|
-
--bs-black-rgb: unset;
|
|
74
|
-
|
|
75
|
-
/* Reset Bootstrap text emphasis variables */
|
|
76
|
-
--bs-primary-text-emphasis: unset;
|
|
77
|
-
--bs-secondary-text-emphasis: unset;
|
|
78
|
-
--bs-success-text-emphasis: unset;
|
|
79
|
-
--bs-info-text-emphasis: unset;
|
|
80
|
-
--bs-warning-text-emphasis: unset;
|
|
81
|
-
--bs-danger-text-emphasis: unset;
|
|
82
|
-
--bs-light-text-emphasis: unset;
|
|
83
|
-
--bs-dark-text-emphasis: unset;
|
|
84
|
-
|
|
85
|
-
/* Reset Bootstrap background subtle variables */
|
|
86
|
-
--bs-primary-bg-subtle: unset;
|
|
87
|
-
--bs-secondary-bg-subtle: unset;
|
|
88
|
-
--bs-success-bg-subtle: unset;
|
|
89
|
-
--bs-info-bg-subtle: unset;
|
|
90
|
-
--bs-warning-bg-subtle: unset;
|
|
91
|
-
--bs-danger-bg-subtle: unset;
|
|
92
|
-
--bs-light-bg-subtle: unset;
|
|
93
|
-
--bs-dark-bg-subtle: unset;
|
|
94
|
-
|
|
95
|
-
/* Reset Bootstrap border subtle variables */
|
|
96
|
-
--bs-primary-border-subtle: unset;
|
|
97
|
-
--bs-secondary-border-subtle: unset;
|
|
98
|
-
--bs-success-border-subtle: unset;
|
|
99
|
-
--bs-info-border-subtle: unset;
|
|
100
|
-
--bs-warning-border-subtle: unset;
|
|
101
|
-
--bs-danger-border-subtle: unset;
|
|
102
|
-
--bs-light-border-subtle: unset;
|
|
103
|
-
--bs-dark-border-subtle: unset;
|
|
104
|
-
|
|
105
|
-
/* Reset Bootstrap typography variables */
|
|
106
|
-
--bs-font-sans-serif: unset;
|
|
107
|
-
--bs-font-monospace: unset;
|
|
108
|
-
--bs-body-font-family: unset;
|
|
109
|
-
--bs-body-font-size: unset;
|
|
110
|
-
--bs-body-font-weight: unset;
|
|
111
|
-
--bs-body-line-height: unset;
|
|
112
|
-
--bs-body-color: unset;
|
|
113
|
-
--bs-body-color-rgb: unset;
|
|
114
|
-
--bs-body-bg: unset;
|
|
115
|
-
--bs-body-bg-rgb: unset;
|
|
116
|
-
|
|
117
|
-
/* Reset Bootstrap emphasis and secondary colors */
|
|
118
|
-
--bs-emphasis-color: unset;
|
|
119
|
-
--bs-emphasis-color-rgb: unset;
|
|
120
|
-
--bs-secondary-color: unset;
|
|
121
|
-
--bs-secondary-color-rgb: unset;
|
|
122
|
-
--bs-secondary-bg: unset;
|
|
123
|
-
--bs-secondary-bg-rgb: unset;
|
|
124
|
-
--bs-tertiary-color: unset;
|
|
125
|
-
--bs-tertiary-color-rgb: unset;
|
|
126
|
-
--bs-tertiary-bg: unset;
|
|
127
|
-
--bs-tertiary-bg-rgb: unset;
|
|
128
|
-
--bs-heading-color: unset;
|
|
129
|
-
|
|
130
|
-
/* Reset Bootstrap link variables */
|
|
131
|
-
--bs-link-color: unset;
|
|
132
|
-
--bs-link-color-rgb: unset;
|
|
133
|
-
--bs-link-decoration: unset;
|
|
134
|
-
--bs-link-hover-color: unset;
|
|
135
|
-
--bs-link-hover-color-rgb: unset;
|
|
136
|
-
|
|
137
|
-
/* Reset Bootstrap code and highlight variables */
|
|
138
|
-
--bs-code-color: unset;
|
|
139
|
-
--bs-highlight-color: unset;
|
|
140
|
-
--bs-highlight-bg: unset;
|
|
141
|
-
--bs-disabled-color: unset;
|
|
142
|
-
--bs-tertiary-active-bg: unset;
|
|
143
|
-
|
|
144
|
-
/* Reset Bootstrap border variables */
|
|
145
|
-
--bs-border-width: unset;
|
|
146
|
-
--bs-border-style: unset;
|
|
147
|
-
--bs-border-color: unset;
|
|
148
|
-
--bs-border-color-subtle: unset;
|
|
149
|
-
--bs-border-color-translucent: unset;
|
|
150
|
-
--bs-border-radius: unset;
|
|
151
|
-
--bs-border-radius-sm: unset;
|
|
152
|
-
--bs-border-radius-lg: unset;
|
|
153
|
-
--bs-border-radius-xl: unset;
|
|
154
|
-
--bs-border-radius-xxl: unset;
|
|
155
|
-
--bs-border-radius-2xl: unset;
|
|
156
|
-
--bs-border-radius-pill: unset;
|
|
157
|
-
|
|
158
|
-
/* Reset Bootstrap box shadow variables */
|
|
159
|
-
--bs-box-shadow: unset;
|
|
160
|
-
--bs-box-shadow-sm: unset;
|
|
161
|
-
--bs-box-shadow-lg: unset;
|
|
162
|
-
--bs-box-shadow-inset: unset;
|
|
163
|
-
|
|
164
|
-
/* Reset Bootstrap focus variables */
|
|
165
|
-
--bs-focus-visible-inner-color: unset;
|
|
166
|
-
--bs-focus-visible-outer-color: unset;
|
|
167
|
-
--bs-focus-ring-width: unset;
|
|
168
|
-
--bs-focus-ring-opacity: unset;
|
|
169
|
-
--bs-focus-ring-color: unset;
|
|
170
|
-
|
|
171
|
-
/* Reset Bootstrap form variables */
|
|
172
|
-
--bs-form-valid-color: unset;
|
|
173
|
-
--bs-form-valid-border-color: unset;
|
|
174
|
-
--bs-form-invalid-color: unset;
|
|
175
|
-
--bs-form-invalid-border-color: unset;
|
|
176
|
-
--bs-form-check-filter: unset;
|
|
177
|
-
--bs-form-check-input-disabled-color: unset;
|
|
178
|
-
--bs-form-color-disabled-filter: unset;
|
|
179
|
-
--bs-form-select-indicator: unset;
|
|
180
|
-
--bs-form-select-disabled-indicator: unset;
|
|
181
|
-
--bs-form-switch-square-bg: unset;
|
|
182
|
-
--bs-form-switch-unchecked-invalid-border-color: unset;
|
|
183
|
-
|
|
184
|
-
/* Reset Bootstrap table variables */
|
|
185
|
-
--bs-table-active-bg-factor: unset;
|
|
186
|
-
--bs-table-hover-bg-factor: unset;
|
|
187
|
-
--bs-table-striped-bg-factor: unset;
|
|
188
|
-
|
|
189
|
-
/* Reset Bootstrap DataTables variables */
|
|
190
|
-
--dt-row-selected: unset;
|
|
191
|
-
--dt-row-selected-text: unset;
|
|
192
|
-
--dt-row-selected-link: unset;
|
|
193
|
-
--dt-row-stripe: unset;
|
|
194
|
-
--dt-row-hover: unset;
|
|
195
|
-
--dt-column-ordering: unset;
|
|
196
|
-
--dt-header-align-items: unset;
|
|
197
|
-
--dt-header-vertical-align: unset;
|
|
198
|
-
--dt-html-background: unset;
|
|
199
|
-
--dt-row-hover-alpha: unset;
|
|
200
|
-
--dt-row-stripe-alpha: unset;
|
|
201
|
-
--dt-column-ordering-alpha: unset;
|
|
202
|
-
--dt-row-selected-stripe-alpha: unset;
|
|
203
|
-
--dt-row-selected-column-ordering-alpha: unset;
|
|
204
|
-
|
|
205
|
-
/* Reset Bootstrap gradient */
|
|
206
|
-
--bs-gradient: unset;
|
|
207
|
-
|
|
208
|
-
/* Reset Bootstrap gutter variables */
|
|
209
|
-
--bs-gutter-y: unset;
|
|
210
|
-
--bs-gutter-x: unset;
|
|
211
|
-
|
|
212
|
-
/* Reset Bootstrap breakpoint variables */
|
|
213
|
-
--bs-breakpoint-xs: unset;
|
|
214
|
-
--bs-breakpoint-sm: unset;
|
|
215
|
-
--bs-breakpoint-md: unset;
|
|
216
|
-
--bs-breakpoint-lg: unset;
|
|
217
|
-
--bs-breakpoint-xl: unset;
|
|
218
|
-
--bs-breakpoint-xxl: unset;
|
|
219
|
-
|
|
220
|
-
/* Reset Bootstrap icon variables */
|
|
221
|
-
--bs-chevron-icon: unset;
|
|
222
|
-
--bs-close-icon: unset;
|
|
223
|
-
--bs-check-icon: unset;
|
|
224
|
-
--bs-success-icon: unset;
|
|
225
|
-
--bs-error-icon: unset;
|
|
226
|
-
|
|
227
|
-
/* Reset Bootstrap breadcrumb variables */
|
|
228
|
-
--bs-breadcrumb-divider-filter: unset;
|
|
229
|
-
|
|
230
|
-
/* ===================================================================
|
|
231
|
-
ORANGE BOOSTED SPECIFIC RESETS
|
|
232
|
-
=================================================================== */
|
|
233
|
-
|
|
234
|
-
/* Reset Boosted color variables */
|
|
235
|
-
--boosted-orange: unset;
|
|
236
|
-
--boosted-primary: unset;
|
|
237
|
-
--boosted-secondary: unset;
|
|
238
|
-
--boosted-black: unset;
|
|
239
|
-
--boosted-white: unset;
|
|
240
|
-
|
|
241
|
-
/* Reset Boosted functional colors */
|
|
242
|
-
--o-accessible-orange: unset;
|
|
243
|
-
--o-accessible-yellow: unset;
|
|
244
|
-
--o-accessible-green: unset;
|
|
245
|
-
--o-accessible-blue: unset;
|
|
246
|
-
--o-accessible-purple: unset;
|
|
247
|
-
--o-accessible-pink: unset;
|
|
248
|
-
|
|
249
|
-
/* Reset Boosted supporting colors */
|
|
250
|
-
--o-supporting-green: unset;
|
|
251
|
-
--o-supporting-blue: unset;
|
|
252
|
-
--o-supporting-purple: unset;
|
|
253
|
-
--o-supporting-pink: unset;
|
|
254
|
-
--o-supporting-yellow: unset;
|
|
255
|
-
|
|
256
|
-
/* Reset Boosted typography variables */
|
|
257
|
-
--o-icon-font-family: unset;
|
|
258
|
-
--o-letter-icon-font-family: unset;
|
|
259
|
-
--o-stepped-component-size: unset;
|
|
260
|
-
|
|
261
|
-
/* Reset Boosted component variables */
|
|
262
|
-
--o-navbar-item-min-height: unset;
|
|
263
|
-
--o-navbar-item-padding-y: unset;
|
|
264
|
-
--o-navbar-bg: unset;
|
|
265
|
-
--o-nav-link-color: unset;
|
|
266
|
-
--o-nav-link-hover-color: unset;
|
|
267
|
-
|
|
268
|
-
/* Reset Boosted card variables */
|
|
269
|
-
--o-card-cap-bg: unset;
|
|
270
|
-
--o-card-cap-color: unset;
|
|
271
|
-
--o-card-img-overlay-padding: unset;
|
|
272
|
-
|
|
273
|
-
/* Reset Boosted accordion variables */
|
|
274
|
-
--o-accordion-btn-focus-box-shadow: unset;
|
|
275
|
-
--o-accordion-color: unset;
|
|
276
|
-
--o-accordion-bg: unset;
|
|
277
|
-
|
|
278
|
-
/* Reset Boosted alert variables */
|
|
279
|
-
--o-alert-bg: unset;
|
|
280
|
-
--o-alert-color: unset;
|
|
281
|
-
--o-alert-border-color: unset;
|
|
282
|
-
|
|
283
|
-
/* Reset Boosted button variables */
|
|
284
|
-
--o-btn-social-network-icon-size: unset;
|
|
285
|
-
--o-btn-social-network-bg: unset;
|
|
286
|
-
|
|
287
|
-
/* Reset Boosted badge variables */
|
|
288
|
-
--o-badge-font-size: unset;
|
|
289
|
-
--o-badge-font-weight: unset;
|
|
290
|
-
--o-badge-border-radius: unset;
|
|
291
|
-
|
|
292
|
-
/* Reset Boosted footer variables */
|
|
293
|
-
--o-footer-bg: unset;
|
|
294
|
-
--o-footer-color: unset;
|
|
295
|
-
--o-footer-link-color: unset;
|
|
296
|
-
|
|
297
|
-
/* Reset Boosted header variables */
|
|
298
|
-
--o-header-minimized-logo-height: unset;
|
|
299
|
-
--o-header-height: unset;
|
|
300
|
-
|
|
301
|
-
/* ===================================================================
|
|
302
|
-
CSS ISOLATION
|
|
303
|
-
=================================================================== */
|
|
304
|
-
|
|
305
|
-
/* CSS Isolation - Create new stacking context */
|
|
306
|
-
isolation: isolate;
|
|
307
|
-
|
|
308
|
-
/* Ensure proper box-sizing for card layout */
|
|
309
|
-
box-sizing: border-box;
|
|
310
|
-
|
|
311
|
-
/* Reset inherited font from parent */
|
|
312
|
-
font-family: inherit;
|
|
313
|
-
font-size: inherit;
|
|
314
|
-
line-height: inherit;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/* Additional isolation for nested elements - scoped to card surfaces only */
|
|
318
|
-
.ai-card-surface,
|
|
319
|
-
.ai-card-surface *,
|
|
320
|
-
article.ai-card-surface,
|
|
321
|
-
article.ai-card-surface * {
|
|
322
|
-
/* Reset Bootstrap-specific properties that might leak through */
|
|
323
|
-
--bs-body-font-family: unset;
|
|
324
|
-
--bs-body-font-size: unset;
|
|
325
|
-
--bs-body-font-weight: unset;
|
|
326
|
-
--bs-body-line-height: unset;
|
|
327
|
-
--bs-body-color: unset;
|
|
328
|
-
--bs-body-bg: unset;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/* Prevent Bootstrap utility classes from affecting card elements */
|
|
332
|
-
&,
|
|
333
|
-
.ai-card-surface,
|
|
334
|
-
article.ai-card-surface {
|
|
335
|
-
/* Ensure Bootstrap's container classes don't affect layout */
|
|
336
|
-
&[class*="container"],
|
|
337
|
-
&[class*="row"],
|
|
338
|
-
&[class*="col"] {
|
|
339
|
-
/* Reset Bootstrap grid system properties */
|
|
340
|
-
--bs-gutter-x: unset;
|
|
341
|
-
--bs-gutter-y: unset;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/* ===================================================================
|
|
346
|
-
ELEMENT-LEVEL BOOTSTRAP OVERRIDES
|
|
347
|
-
Reset all common HTML element styling from Bootstrap/Boosted
|
|
348
|
-
=================================================================== */
|
|
349
|
-
|
|
350
|
-
/* Reset article elements */
|
|
351
|
-
article {
|
|
352
|
-
text-align: left !important;
|
|
353
|
-
font-size: inherit !important;
|
|
354
|
-
line-height: inherit !important;
|
|
355
|
-
border: none !important;
|
|
356
|
-
margin: 0 !important;
|
|
357
|
-
padding: 0 !important;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/* Reset div elements */
|
|
361
|
-
div {
|
|
362
|
-
box-sizing: border-box !important;
|
|
363
|
-
text-align: left !important;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/* Reset button elements within cards */
|
|
367
|
-
button,
|
|
368
|
-
[role="button"] {
|
|
369
|
-
font-family: inherit !important;
|
|
370
|
-
font-size: inherit !important;
|
|
371
|
-
line-height: inherit !important;
|
|
372
|
-
text-align: left !important;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
/* Reset heading elements */
|
|
376
|
-
h1,
|
|
377
|
-
h2,
|
|
378
|
-
h3,
|
|
379
|
-
h4,
|
|
380
|
-
h5,
|
|
381
|
-
h6 {
|
|
382
|
-
margin: 0 !important;
|
|
383
|
-
padding: 0 !important;
|
|
384
|
-
font-family: inherit !important;
|
|
385
|
-
text-align: left !important;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/* Reset paragraph and span elements */
|
|
389
|
-
p,
|
|
390
|
-
span {
|
|
391
|
-
margin: 0 !important;
|
|
392
|
-
padding: 0 !important;
|
|
393
|
-
text-align: left !important;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/* Reset list elements */
|
|
397
|
-
ul,
|
|
398
|
-
ol,
|
|
399
|
-
li {
|
|
400
|
-
margin: 0 !important;
|
|
401
|
-
padding: 0 !important;
|
|
402
|
-
list-style: none !important;
|
|
403
|
-
text-align: left !important;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/* Reset anchor elements */
|
|
407
|
-
a {
|
|
408
|
-
text-decoration: none !important;
|
|
409
|
-
color: inherit !important;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
/* Reset image elements */
|
|
413
|
-
img {
|
|
414
|
-
max-width: 100% !important;
|
|
415
|
-
height: auto !important;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/* Reset table elements */
|
|
419
|
-
table,
|
|
420
|
-
thead,
|
|
421
|
-
tbody,
|
|
422
|
-
tr,
|
|
423
|
-
th,
|
|
424
|
-
td {
|
|
425
|
-
border: none !important;
|
|
426
|
-
padding: 0 !important;
|
|
427
|
-
margin: 0 !important;
|
|
428
|
-
text-align: left !important;
|
|
429
|
-
vertical-align: top !important;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
/* Force all child elements to use border-box */
|
|
433
|
-
*,
|
|
434
|
-
*::before,
|
|
435
|
-
*::after {
|
|
436
|
-
box-sizing: border-box !important;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
/* Reset flex and grid containers */
|
|
440
|
-
[class*="grid"],
|
|
441
|
-
[class*="flex"],
|
|
442
|
-
[class*="-grid"],
|
|
443
|
-
[class*="-flex"] {
|
|
444
|
-
box-sizing: border-box !important;
|
|
445
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// ===================================================================
|
|
2
|
-
// COLOR HELPERS - Re-exports from Master Tokens
|
|
3
|
-
// ===================================================================
|
|
4
|
-
//
|
|
5
|
-
// This file re-exports color variables and functions from the master
|
|
6
|
-
// tokens file for backward compatibility with @import.
|
|
7
|
-
//
|
|
8
|
-
// All color definitions are now in: ../tokens/_master.scss
|
|
9
|
-
//
|
|
10
|
-
// USAGE: Import this file in section SCSS files to access color helpers.
|
|
11
|
-
// ===================================================================
|
|
12
|
-
|
|
13
|
-
@forward "../tokens/master";
|
|
14
|
-
@use "../tokens/master" as *;
|
|
15
|
-
|
|
16
|
-
// All color variables, functions, and opacity variants are now
|
|
17
|
-
// exported from the master tokens file:
|
|
18
|
-
//
|
|
19
|
-
// Brand colors:
|
|
20
|
-
// $brand-color, $brand-color-90...$brand-color-03
|
|
21
|
-
//
|
|
22
|
-
// Foreground colors:
|
|
23
|
-
// $foreground-color, $foreground-90...$foreground-03
|
|
24
|
-
//
|
|
25
|
-
// Secondary text:
|
|
26
|
-
// $text-secondary, $text-secondary-50...$text-secondary-05
|
|
27
|
-
//
|
|
28
|
-
// Muted foreground:
|
|
29
|
-
// $muted-foreground, $muted-foreground-50...$muted-foreground-10
|
|
30
|
-
//
|
|
31
|
-
// White variants:
|
|
32
|
-
// $white-90...$white-05
|
|
33
|
-
//
|
|
34
|
-
// Status colors:
|
|
35
|
-
// $success-color, $warning-color, $error-color, $info-color
|
|
36
|
-
//
|
|
37
|
-
// Border/shadow colors:
|
|
38
|
-
// $border-light, $border-medium, $border-dark
|
|
39
|
-
// $shadow-light, $shadow-medium, $shadow-dark
|
|
40
|
-
//
|
|
41
|
-
// Background colors:
|
|
42
|
-
// $card-bg, $section-bg, etc.
|
|
43
|
-
//
|
|
44
|
-
// Functions:
|
|
45
|
-
// brand-alpha($opacity), foreground-alpha($opacity),
|
|
46
|
-
// white-alpha($opacity), black-alpha($opacity)
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/* ===================================================================
|
|
2
|
-
UNIFIED GLOBAL STYLES - Scoped for .osi-cards-container
|
|
3
|
-
Based on docs app _global.scss with selectors scoped to container
|
|
4
|
-
=================================================================== */
|
|
5
|
-
|
|
6
|
-
/* Box sizing reset scoped to container */
|
|
7
|
-
& *,
|
|
8
|
-
& *::before,
|
|
9
|
-
& *::after {
|
|
10
|
-
box-sizing: border-box !important;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
/* Removed border-color to prevent any border appearance */
|
|
14
|
-
outline-color: var(--ring);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* Apply font and color settings to the container itself */
|
|
18
|
-
& {
|
|
19
|
-
font-family:
|
|
20
|
-
Helvetica,
|
|
21
|
-
-apple-system,
|
|
22
|
-
BlinkMacSystemFont,
|
|
23
|
-
"Segoe UI",
|
|
24
|
-
Roboto,
|
|
25
|
-
Arial,
|
|
26
|
-
sans-serif;
|
|
27
|
-
/* Container is fully transparent - host app background shows through */
|
|
28
|
-
/* Only the card surface (.ai-card-surface) should have a background */
|
|
29
|
-
background: transparent !important;
|
|
30
|
-
background-color: transparent !important;
|
|
31
|
-
color: var(--foreground);
|
|
32
|
-
line-height: 1.5;
|
|
33
|
-
|
|
34
|
-
/* Improved text rendering for sharpness */
|
|
35
|
-
-webkit-font-smoothing: antialiased;
|
|
36
|
-
-moz-osx-font-smoothing: grayscale;
|
|
37
|
-
text-rendering: optimizeLegibility;
|
|
38
|
-
font-feature-settings: "kern" 1;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
& button {
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
font-family: inherit;
|
|
44
|
-
|
|
45
|
-
// Enhanced focus indicators for accessibility
|
|
46
|
-
&:focus-visible {
|
|
47
|
-
outline: 2px solid var(--color-brand, #ff7900);
|
|
48
|
-
outline-offset: 2px;
|
|
49
|
-
border-radius: 4px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:focus:not(:focus-visible) {
|
|
53
|
-
outline: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Global focus styles for all interactive elements inside container
|
|
58
|
-
& a,
|
|
59
|
-
& button,
|
|
60
|
-
& input,
|
|
61
|
-
& select,
|
|
62
|
-
& textarea,
|
|
63
|
-
& [tabindex]:not([tabindex="-1"]) {
|
|
64
|
-
&:focus-visible {
|
|
65
|
-
outline: 2px solid var(--color-brand, #ff7900);
|
|
66
|
-
outline-offset: 2px;
|
|
67
|
-
border-radius: 2px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&:focus:not(:focus-visible) {
|
|
71
|
-
outline: none;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
& h1,
|
|
76
|
-
& h2,
|
|
77
|
-
& h3,
|
|
78
|
-
& h4,
|
|
79
|
-
& h5,
|
|
80
|
-
& h6 {
|
|
81
|
-
margin: 0;
|
|
82
|
-
line-height: 1.2;
|
|
83
|
-
font-family:
|
|
84
|
-
Helvetica,
|
|
85
|
-
-apple-system,
|
|
86
|
-
BlinkMacSystemFont,
|
|
87
|
-
"Segoe UI",
|
|
88
|
-
Roboto,
|
|
89
|
-
Arial,
|
|
90
|
-
sans-serif;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
& h1 {
|
|
94
|
-
font-size: var(--text-2xl);
|
|
95
|
-
font-weight: var(--font-weight-medium);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
& h2 {
|
|
99
|
-
font-size: var(--text-xl);
|
|
100
|
-
font-weight: var(--font-weight-medium);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
& h3 {
|
|
104
|
-
font-size: var(--text-lg);
|
|
105
|
-
font-weight: var(--font-weight-medium);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
& h4 {
|
|
109
|
-
font-size: var(--text-base);
|
|
110
|
-
font-weight: var(--font-weight-medium);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
& p {
|
|
114
|
-
font-size: var(--text-base);
|
|
115
|
-
font-weight: var(--font-weight-normal);
|
|
116
|
-
line-height: 1.5;
|
|
117
|
-
margin: 0;
|
|
118
|
-
}
|
package/styles/core/_global.scss
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
/* Removed border-color to prevent any border appearance */
|
|
6
|
-
outline-color: var(--ring);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
html {
|
|
10
|
-
font-size: var(--font-size);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
body {
|
|
14
|
-
font-family:
|
|
15
|
-
Helvetica,
|
|
16
|
-
"Helvetica Neue",
|
|
17
|
-
-apple-system,
|
|
18
|
-
BlinkMacSystemFont,
|
|
19
|
-
"Segoe UI",
|
|
20
|
-
Roboto,
|
|
21
|
-
sans-serif;
|
|
22
|
-
background-color: var(--background);
|
|
23
|
-
color: var(--foreground);
|
|
24
|
-
line-height: 1.5;
|
|
25
|
-
|
|
26
|
-
/* Improved text rendering for sharpness */
|
|
27
|
-
-webkit-font-smoothing: antialiased;
|
|
28
|
-
-moz-osx-font-smoothing: grayscale;
|
|
29
|
-
text-rendering: optimizeLegibility;
|
|
30
|
-
font-feature-settings: "kern" 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
button {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
font-family: inherit;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
h1,
|
|
39
|
-
h2,
|
|
40
|
-
h3,
|
|
41
|
-
h4,
|
|
42
|
-
h5,
|
|
43
|
-
h6 {
|
|
44
|
-
margin: 0;
|
|
45
|
-
line-height: 1.5;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
h1 {
|
|
49
|
-
font-size: var(--text-2xl);
|
|
50
|
-
font-weight: var(--font-weight-medium);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
h2 {
|
|
54
|
-
font-size: var(--text-xl);
|
|
55
|
-
font-weight: var(--font-weight-medium);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
h3 {
|
|
59
|
-
font-size: var(--text-lg);
|
|
60
|
-
font-weight: var(--font-weight-medium);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
h4 {
|
|
64
|
-
font-size: var(--text-base);
|
|
65
|
-
font-weight: var(--font-weight-medium);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
p {
|
|
69
|
-
font-size: var(--text-base);
|
|
70
|
-
font-weight: var(--font-weight-normal);
|
|
71
|
-
line-height: 1.5;
|
|
72
|
-
margin: 0;
|
|
73
|
-
}
|