@ghostvue/mcp 0.1.0 → 0.2.0
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/dist/assets/bundle.json +2 -2
- package/dist/assets/component-exports.json +1 -0
- package/dist/assets/docs/pages.json +1 -1
- package/dist/assets/examples/catalog.json +1 -1
- package/dist/assets/examples/sources/accordion/billing-faq.vue +123 -0
- package/dist/assets/examples/sources/avatar/team-roster.vue +69 -5
- package/dist/assets/examples/sources/badge/release-channels.vue +1 -1
- package/dist/assets/examples/sources/breadcrumb/basic.vue +60 -15
- package/dist/assets/examples/sources/button/refresh-status.vue +95 -0
- package/dist/assets/examples/sources/calendar/availability.vue +235 -0
- package/dist/assets/examples/sources/calendar/office-locale.vue +197 -0
- package/dist/assets/examples/sources/card/project-summary.vue +38 -3
- package/dist/assets/examples/sources/checkbox-group/basic.vue +56 -0
- package/dist/assets/examples/sources/checkbox-group/field.vue +73 -0
- package/dist/assets/examples/sources/checkbox-group/form.vue +100 -0
- package/dist/assets/examples/sources/checkbox-group/headless.vue +68 -0
- package/dist/assets/examples/sources/checkbox-group/notification-preferences.vue +380 -0
- package/dist/assets/examples/sources/collapsible/shipment-history.vue +135 -0
- package/dist/assets/examples/sources/combobox/review-request-form.vue +415 -0
- package/dist/assets/examples/sources/command-palette/async.vue +60 -12
- package/dist/assets/examples/sources/command-palette/basic.vue +123 -2
- package/dist/assets/examples/sources/command-palette/shortcut.vue +132 -5
- package/dist/assets/examples/sources/command-palette/themed.vue +44 -4
- package/dist/assets/examples/sources/command-palette/virtualized.vue +124 -3
- package/dist/assets/examples/sources/context-menu/themed.vue +81 -26
- package/dist/assets/examples/sources/data-table/themed-invoices.vue +219 -44
- package/dist/assets/examples/sources/date-picker/controlled.vue +8 -293
- package/dist/assets/examples/sources/date-picker/custom-format.vue +6 -295
- package/dist/assets/examples/sources/date-picker/nested-dialog.vue +28 -350
- package/dist/assets/examples/sources/date-picker/rtl.vue +5 -294
- package/dist/assets/examples/sources/date-picker/themed.vue +2 -2
- package/dist/assets/examples/sources/date-picker/validation.vue +8 -294
- package/dist/assets/examples/sources/dropdown-menu/nested-export.vue +56 -0
- package/dist/assets/examples/sources/empty-state/search-results.vue +26 -1
- package/dist/assets/examples/sources/field/billing-address-headless.vue +93 -0
- package/dist/assets/examples/sources/field/billing-address.vue +192 -0
- package/dist/assets/examples/sources/field/checkbox.vue +10 -2
- package/dist/assets/examples/sources/field/themed.vue +12 -11
- package/dist/assets/examples/sources/file-upload/asset-submission.vue +96 -36
- package/dist/assets/examples/sources/form/async-validation.vue +180 -0
- package/dist/assets/examples/sources/form/composable.vue +146 -0
- package/dist/assets/examples/sources/form/nested-webhooks.vue +233 -0
- package/dist/assets/examples/sources/form/profile-schema.vue +376 -0
- package/dist/assets/examples/sources/inline-alert/billing-notices.vue +26 -5
- package/dist/assets/examples/sources/inline-alert/feed-status.vue +229 -0
- package/dist/assets/examples/sources/input/clearable-search-headless.vue +162 -0
- package/dist/assets/examples/sources/input/clearable-search.vue +225 -0
- package/dist/assets/examples/sources/input/unit-suffix.vue +109 -0
- package/dist/assets/examples/sources/interactive-surface/basic.vue +20 -8
- package/dist/assets/examples/sources/interactive-surface/feature-tiles.vue +42 -8
- package/dist/assets/examples/sources/kbd/command-shortcuts.vue +0 -1
- package/dist/assets/examples/sources/link/documentation-footer.vue +11 -4
- package/dist/assets/examples/sources/link/router.vue +9 -5
- package/dist/assets/examples/sources/menubar/themed.vue +46 -10
- package/dist/assets/examples/sources/number-input/order-limits.vue +5 -0
- package/dist/assets/examples/sources/number-input/themed.vue +12 -6
- package/dist/assets/examples/sources/number-input/workshop-booking.vue +207 -0
- package/dist/assets/examples/sources/pagination/controlled.vue +83 -18
- package/dist/assets/examples/sources/pagination/ellipsis.vue +44 -14
- package/dist/assets/examples/sources/pagination/themed.vue +161 -21
- package/dist/assets/examples/sources/presence/basic.vue +81 -0
- package/dist/assets/examples/sources/presence/portal.vue +92 -0
- package/dist/assets/examples/sources/progress/report-export.vue +160 -0
- package/dist/assets/examples/sources/scroll-area/activity-feed.vue +0 -1
- package/dist/assets/examples/sources/scroll-area/horizontal.vue +169 -14
- package/dist/assets/examples/sources/scroll-area/themed.vue +42 -3
- package/dist/assets/examples/sources/scroll-spy/themed.vue +180 -31
- package/dist/assets/examples/sources/select/alert-routing-form.vue +356 -0
- package/dist/assets/examples/sources/select/multiple-form.vue +201 -0
- package/dist/assets/examples/sources/select/multiple-labels.vue +142 -0
- package/dist/assets/examples/sources/skeleton/profile-loading.vue +28 -4
- package/dist/assets/examples/sources/slider/audio-mixer.vue +8 -2
- package/dist/assets/examples/sources/slider/price-filter.vue +162 -0
- package/dist/assets/examples/sources/slider/vertical.vue +3 -2
- package/dist/assets/examples/sources/spinner/sync-status.vue +13 -10
- package/dist/assets/examples/sources/switch/form.vue +43 -11
- package/dist/assets/examples/sources/table/contain-horizontal.vue +24 -12
- package/dist/assets/examples/sources/table/row-headers.vue +118 -19
- package/dist/assets/examples/sources/tabs/review-sections.vue +43 -0
- package/dist/assets/examples/sources/tags-input/headless-field.vue +31 -0
- package/dist/assets/examples/sources/tags-input/project-labels.vue +64 -0
- package/dist/assets/examples/sources/tags-input/read-only.vue +12 -0
- package/dist/assets/examples/sources/toast/themed.vue +42 -19
- package/dist/assets/examples/sources/toolbar/themed.vue +22 -4
- package/dist/assets/examples/sources/tooltip/themed.vue +12 -1
- package/dist/assets/examples/sources/tree/themed.vue +70 -17
- package/dist/assets/manifests/themes/ghost-accordion.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-button.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-calendar.manifest.json +3 -1
- package/dist/assets/manifests/themes/ghost-checkbox-group.manifest.json +90 -0
- package/dist/assets/manifests/themes/ghost-collapsible.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-combobox.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-command-palette.manifest.json +2 -1
- package/dist/assets/manifests/themes/ghost-date-picker.manifest.json +5 -0
- package/dist/assets/manifests/themes/ghost-dropdown-menu.manifest.json +9 -0
- package/dist/assets/manifests/themes/ghost-field.manifest.json +10 -2
- package/dist/assets/manifests/themes/ghost-inline-alert.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-input.manifest.json +3 -1
- package/dist/assets/manifests/themes/ghost-link.manifest.json +2 -1
- package/dist/assets/manifests/themes/ghost-number-input.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-pagination.manifest.json +6 -2
- package/dist/assets/manifests/themes/ghost-progress.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-radio-group-item.manifest.json +63 -0
- package/dist/assets/manifests/themes/ghost-scroll-area.manifest.json +12 -2
- package/dist/assets/manifests/themes/ghost-select.manifest.json +3 -0
- package/dist/assets/manifests/themes/ghost-slider.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-table.manifest.json +2 -1
- package/dist/assets/manifests/themes/ghost-tags-input.manifest.json +255 -0
- package/dist/assets/manifests/vue/ghost-checkbox-group.manifest.json +173 -0
- package/dist/assets/manifests/vue/ghost-command-palette-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-command-palette-overlay.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-command-palette.manifest.json +0 -1
- package/dist/assets/manifests/vue/ghost-context-menu-content.manifest.json +3 -3
- package/dist/assets/manifests/vue/ghost-context-menu.manifest.json +1 -1
- package/dist/assets/manifests/vue/ghost-data-table-preset.manifest.json +1 -1
- package/dist/assets/manifests/vue/ghost-data-table-table.manifest.json +1 -1
- package/dist/assets/manifests/vue/ghost-data-table.manifest.json +99 -2
- package/dist/assets/manifests/vue/ghost-date-picker-content.manifest.json +12 -3
- package/dist/assets/manifests/vue/ghost-date-picker.manifest.json +1 -6
- package/dist/assets/manifests/vue/ghost-dialog-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-dialog-overlay.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-drawer-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-drawer-overlay.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-field-error.manifest.json +12 -1
- package/dist/assets/manifests/vue/ghost-field.manifest.json +35 -3
- package/dist/assets/manifests/vue/ghost-form.manifest.json +221 -0
- package/dist/assets/manifests/vue/ghost-hover-card-content.manifest.json +12 -3
- package/dist/assets/manifests/vue/ghost-input.manifest.json +2 -1
- package/dist/assets/manifests/vue/ghost-link.manifest.json +1 -2
- package/dist/assets/manifests/vue/ghost-menubar-content.manifest.json +3 -3
- package/dist/assets/manifests/vue/ghost-menubar.manifest.json +4 -4
- package/dist/assets/manifests/vue/ghost-pagination.manifest.json +0 -2
- package/dist/assets/manifests/vue/ghost-popover-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-presence.manifest.json +96 -0
- package/dist/assets/manifests/vue/ghost-scroll-area.manifest.json +0 -1
- package/dist/assets/manifests/vue/ghost-select-content.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-group.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-label.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-option.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-trigger.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-value.manifest.json +18 -2
- package/dist/assets/manifests/vue/ghost-select.manifest.json +18 -6
- package/dist/assets/manifests/vue/ghost-submenu-content.manifest.json +168 -0
- package/dist/assets/manifests/vue/ghost-submenu-trigger.manifest.json +102 -0
- package/dist/assets/manifests/vue/ghost-submenu.manifest.json +59 -0
- package/dist/assets/manifests/vue/ghost-table.manifest.json +0 -2
- package/dist/assets/manifests/vue/ghost-tabs.manifest.json +2 -1
- package/dist/assets/manifests/vue/ghost-tags-input.manifest.json +260 -0
- package/dist/assets/tokens.json +15 -0
- package/dist/components.d.ts +5 -0
- package/dist/components.js +80 -11
- package/package.json +1 -1
|
@@ -8,28 +8,20 @@ import {
|
|
|
8
8
|
GhostDatePickerInput,
|
|
9
9
|
GhostDatePickerTrigger,
|
|
10
10
|
type GhostDatePickerValue,
|
|
11
|
-
} from '@ghostvue/
|
|
11
|
+
} from '@ghostvue/themes'
|
|
12
12
|
|
|
13
13
|
const date = shallowRef<GhostDatePickerValue>(new CalendarDate(2026, 11, 18))
|
|
14
14
|
const today = new CalendarDate(2026, 11, 17)
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<div class="date-picker-rtl" dir="rtl" lang="he">
|
|
18
|
+
<div class="ghost-theme date-picker-rtl" dir="rtl" lang="he">
|
|
19
19
|
<label for="date-picker-rtl-date">תאריך</label>
|
|
20
20
|
<span class="date-picker-rtl__row">
|
|
21
21
|
<GhostDatePicker v-model="date" locale="he-IL" :today="today">
|
|
22
|
-
<GhostDatePickerInput
|
|
23
|
-
|
|
24
|
-
class="date-picker-demo__input"
|
|
25
|
-
dir="ltr"
|
|
26
|
-
/>
|
|
27
|
-
<GhostDatePickerTrigger
|
|
28
|
-
class="date-picker-demo__button"
|
|
29
|
-
aria-label="בחירת תאריך"
|
|
30
|
-
/>
|
|
22
|
+
<GhostDatePickerInput id="date-picker-rtl-date" dir="ltr" />
|
|
23
|
+
<GhostDatePickerTrigger aria-label="בחירת תאריך" />
|
|
31
24
|
<GhostDatePickerContent
|
|
32
|
-
class="date-picker-demo__popup"
|
|
33
25
|
dir="rtl"
|
|
34
26
|
aria-label="בחירת תאריך"
|
|
35
27
|
close-label="סגירה"
|
|
@@ -48,288 +40,7 @@ const today = new CalendarDate(2026, 11, 17)
|
|
|
48
40
|
|
|
49
41
|
.date-picker-rtl__row {
|
|
50
42
|
display: inline-flex;
|
|
43
|
+
flex-wrap: wrap;
|
|
51
44
|
gap: 0.25rem;
|
|
52
45
|
}
|
|
53
46
|
</style>
|
|
54
|
-
|
|
55
|
-
<style>
|
|
56
|
-
/*
|
|
57
|
-
* Headless GhostDatePicker ships behavior and positioning only, so this
|
|
58
|
-
* sample brings its own consumer CSS. It is unscoped on purpose: the calendar
|
|
59
|
-
* surface renders in a body portal, outside this component's scoped
|
|
60
|
-
* attribute, and the `date-picker-demo` prefix keeps the classes from
|
|
61
|
-
* colliding with page styles. Every headless date picker example carries
|
|
62
|
-
* this same block (a test keeps them identical), so copy it once per app.
|
|
63
|
-
*
|
|
64
|
-
* Colors read GhostVue semantic tokens when a theme is loaded and fall back
|
|
65
|
-
* to CSS system colors, which follow light and dark on their own. The month
|
|
66
|
-
* grid mirrors the themed calendar recipe: one 7-column template shared by
|
|
67
|
-
* the weekday header and every week, and distinct today, selected, range,
|
|
68
|
-
* outside-month and unavailable states that only change color, border or
|
|
69
|
-
* decoration, so the grid never shifts. Nothing animates, so reduced motion
|
|
70
|
-
* needs no override.
|
|
71
|
-
*/
|
|
72
|
-
|
|
73
|
-
.date-picker-demo__input {
|
|
74
|
-
background-color: var(--ghost-surface-bg, Field);
|
|
75
|
-
border: 1px solid var(--ghost-border-strong, FieldText);
|
|
76
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
77
|
-
box-sizing: border-box;
|
|
78
|
-
color: var(--ghost-text-default, FieldText);
|
|
79
|
-
font: inherit;
|
|
80
|
-
font-variant-numeric: tabular-nums;
|
|
81
|
-
/* Room for "YYYY-MM-DD" plus padding and borders. */
|
|
82
|
-
inline-size: calc(11ch + 1.5rem + 2px);
|
|
83
|
-
max-inline-size: 100%;
|
|
84
|
-
min-block-size: 2.5rem;
|
|
85
|
-
padding: 0.375rem 0.75rem;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.date-picker-demo__input[data-state='invalid'] {
|
|
89
|
-
border-color: var(--ghost-border-danger, CanvasText);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.date-picker-demo__input:disabled {
|
|
93
|
-
color: var(--ghost-text-muted, GrayText);
|
|
94
|
-
cursor: not-allowed;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/* The calendar trigger and the sample's own buttons share one look. */
|
|
98
|
-
.date-picker-demo__button {
|
|
99
|
-
align-items: center;
|
|
100
|
-
background-color: var(--ghost-elevation-1-bg, ButtonFace);
|
|
101
|
-
border: 1px solid var(--ghost-border-strong, ButtonBorder);
|
|
102
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
103
|
-
box-sizing: border-box;
|
|
104
|
-
color: var(--ghost-surface-fg, ButtonText);
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
display: inline-flex;
|
|
107
|
-
font: inherit;
|
|
108
|
-
gap: 0.375rem;
|
|
109
|
-
justify-content: center;
|
|
110
|
-
min-block-size: 2.5rem;
|
|
111
|
-
min-inline-size: 2.5rem;
|
|
112
|
-
padding: 0.375rem 0.75rem;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.date-picker-demo__button[data-part='trigger'] {
|
|
116
|
-
padding: 0.375rem;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.date-picker-demo__button:hover:not(:disabled),
|
|
120
|
-
.date-picker-demo__popup
|
|
121
|
-
:is([data-part='close'], [data-part='prev'], [data-part='next']):hover:not(
|
|
122
|
-
:disabled
|
|
123
|
-
) {
|
|
124
|
-
background-color: var(--ghost-surface-muted-bg, Canvas);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.date-picker-demo__input:focus-visible,
|
|
128
|
-
.date-picker-demo__button:focus-visible,
|
|
129
|
-
.date-picker-demo__popup button:focus-visible {
|
|
130
|
-
outline: 2px solid var(--ghost-focus-ring-color, Highlight);
|
|
131
|
-
outline-offset: 2px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/*
|
|
135
|
-
* An opaque, layered surface above page content. Inline position, left and
|
|
136
|
-
* top come from the picker's floating layer, which anchors the surface to
|
|
137
|
-
* the input; this rule only paints it and caps its width on small screens.
|
|
138
|
-
*/
|
|
139
|
-
.date-picker-demo__popup {
|
|
140
|
-
background-color: var(--ghost-elevation-3-bg, Canvas);
|
|
141
|
-
border: 1px solid var(--ghost-elevation-3-border, GrayText);
|
|
142
|
-
border-radius: var(--ghost-radius-lg, 0.5rem);
|
|
143
|
-
box-shadow: var(--ghost-elevation-3-shadow, 0 0.5rem 1.5rem rgb(0 0 0 / 20%));
|
|
144
|
-
box-sizing: border-box;
|
|
145
|
-
color: var(--ghost-surface-fg, CanvasText);
|
|
146
|
-
display: grid;
|
|
147
|
-
gap: 0.5rem;
|
|
148
|
-
inline-size: max-content;
|
|
149
|
-
max-inline-size: calc(100vw - 1rem);
|
|
150
|
-
overflow: auto;
|
|
151
|
-
padding: 0.75rem;
|
|
152
|
-
z-index: 50;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.date-picker-demo__popup
|
|
156
|
-
:is([data-part='close'], [data-part='prev'], [data-part='next']) {
|
|
157
|
-
background: transparent;
|
|
158
|
-
border: 1px solid transparent;
|
|
159
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
160
|
-
color: inherit;
|
|
161
|
-
cursor: pointer;
|
|
162
|
-
font: inherit;
|
|
163
|
-
min-block-size: 2.25rem;
|
|
164
|
-
min-inline-size: 2.25rem;
|
|
165
|
-
padding: 0 0.5rem;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.date-picker-demo__popup [data-part='close'] {
|
|
169
|
-
font-size: 1.25rem;
|
|
170
|
-
justify-self: end;
|
|
171
|
-
line-height: 1;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.date-picker-demo__popup :is([data-part='prev'], [data-part='next']):disabled {
|
|
175
|
-
color: var(--ghost-text-subtle, GrayText);
|
|
176
|
-
cursor: not-allowed;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.date-picker-demo__popup [data-part='header'] {
|
|
180
|
-
align-items: center;
|
|
181
|
-
display: flex;
|
|
182
|
-
gap: 0.25rem;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.date-picker-demo__popup [data-part='heading'] {
|
|
186
|
-
flex: 1;
|
|
187
|
-
font-size: 1rem;
|
|
188
|
-
font-weight: 600;
|
|
189
|
-
margin: 0;
|
|
190
|
-
text-align: center;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/* Weekday header and weeks share one 7-column template, so columns align. */
|
|
194
|
-
.date-picker-demo__popup [data-part='grid'] {
|
|
195
|
-
display: grid;
|
|
196
|
-
gap: 0.125rem;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.date-picker-demo__popup [data-part='grid'] > [role='row'] {
|
|
200
|
-
display: grid;
|
|
201
|
-
gap: 0.125rem;
|
|
202
|
-
grid-template-columns: repeat(7, 2.5rem);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.date-picker-demo__popup [role='columnheader'] {
|
|
206
|
-
color: var(--ghost-text-muted, GrayText);
|
|
207
|
-
font-size: 0.75rem;
|
|
208
|
-
font-weight: 500;
|
|
209
|
-
padding-block: 0.25rem;
|
|
210
|
-
text-align: center;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.date-picker-demo__popup [data-part='cell'] {
|
|
214
|
-
aspect-ratio: 1;
|
|
215
|
-
background: transparent;
|
|
216
|
-
border: 1px solid transparent;
|
|
217
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
218
|
-
color: inherit;
|
|
219
|
-
cursor: pointer;
|
|
220
|
-
font: inherit;
|
|
221
|
-
font-variant-numeric: tabular-nums;
|
|
222
|
-
/* A transparent outline turns into a visible ring under forced colors. */
|
|
223
|
-
outline: 2px solid transparent;
|
|
224
|
-
outline-offset: -2px;
|
|
225
|
-
padding: 0;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/* Zero-specificity hover, so the state fills below always win. */
|
|
229
|
-
.date-picker-demo__popup
|
|
230
|
-
[data-part='cell']:where(:hover:not(:disabled, [aria-disabled])) {
|
|
231
|
-
background-color: var(--ghost-surface-muted-bg, Canvas);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/* Adjacent-month days fill the first and last weeks but are not selectable. */
|
|
235
|
-
.date-picker-demo__popup [data-part='cell'][data-outside-month] {
|
|
236
|
-
color: var(--ghost-text-subtle, GrayText);
|
|
237
|
-
cursor: default;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.date-picker-demo__popup [data-part='cell'][data-today] {
|
|
241
|
-
border-color: var(--ghost-border-primary, CanvasText);
|
|
242
|
-
color: var(--ghost-text-primary, CanvasText);
|
|
243
|
-
font-weight: 600;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/* Unavailable days are struck through: distinct from adjacent-month days. */
|
|
247
|
-
.date-picker-demo__popup
|
|
248
|
-
[data-part='cell']:is(:disabled, [aria-disabled='true']):not(
|
|
249
|
-
[data-outside-month]
|
|
250
|
-
) {
|
|
251
|
-
color: var(--ghost-text-subtle, GrayText);
|
|
252
|
-
cursor: not-allowed;
|
|
253
|
-
text-decoration: line-through;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.date-picker-demo__popup [data-part='cell'][data-state='range-middle'] {
|
|
257
|
-
background-color: var(--ghost-surface-muted-bg, Canvas);
|
|
258
|
-
color: var(--ghost-surface-fg, CanvasText);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.date-picker-demo__popup
|
|
262
|
-
[data-part='cell']:is(
|
|
263
|
-
[data-state='selected'],
|
|
264
|
-
[data-state='range-start'],
|
|
265
|
-
[data-state='range-end']
|
|
266
|
-
) {
|
|
267
|
-
background-color: var(--ghost-action-primary-bg, Highlight);
|
|
268
|
-
border-color: var(--ghost-action-primary-border, Highlight);
|
|
269
|
-
color: var(--ghost-action-primary-fg, HighlightText);
|
|
270
|
-
font-weight: 600;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.date-picker-demo__popup [data-part='cell']:focus-visible {
|
|
274
|
-
outline-color: var(--ghost-focus-ring-color, Highlight);
|
|
275
|
-
outline-offset: 2px;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.date-picker-demo__popup [data-part='error-summary'] {
|
|
279
|
-
color: var(--ghost-status-danger-fg, CanvasText);
|
|
280
|
-
font-size: 0.875rem;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.date-picker-demo__popup
|
|
284
|
-
:is([data-part='error-summary'] p, [data-part='status']) {
|
|
285
|
-
margin: 0;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.date-picker-demo__popup [data-part='status'] {
|
|
289
|
-
color: var(--ghost-text-muted, GrayText);
|
|
290
|
-
font-size: 0.875rem;
|
|
291
|
-
max-inline-size: calc(7 * 2.5rem + 6 * 0.125rem);
|
|
292
|
-
min-block-size: 1lh;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/*
|
|
296
|
-
* Forced colors: only today keeps a CanvasText border; inactive days use
|
|
297
|
-
* GrayText. Selected days and range ends become Highlight cells (opted out
|
|
298
|
-
* so HighlightText stays on Highlight); range middles keep a Highlight
|
|
299
|
-
* border so the span still reads.
|
|
300
|
-
*/
|
|
301
|
-
@media (forced-colors: active) {
|
|
302
|
-
.date-picker-demo__popup {
|
|
303
|
-
border-color: CanvasText;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.date-picker-demo__popup [data-part='cell'] {
|
|
307
|
-
border-color: Canvas;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.date-picker-demo__popup [data-part='cell'][data-today] {
|
|
311
|
-
border-color: CanvasText;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.date-picker-demo__popup
|
|
315
|
-
[data-part='cell']:is(:disabled, [aria-disabled='true']) {
|
|
316
|
-
color: GrayText;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.date-picker-demo__popup [data-part='cell'][data-state='range-middle'] {
|
|
320
|
-
border-color: Highlight;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.date-picker-demo__popup
|
|
324
|
-
[data-part='cell']:is(
|
|
325
|
-
[data-state='selected'],
|
|
326
|
-
[data-state='range-start'],
|
|
327
|
-
[data-state='range-end']
|
|
328
|
-
) {
|
|
329
|
-
background-color: Highlight;
|
|
330
|
-
border-color: Highlight;
|
|
331
|
-
color: HighlightText;
|
|
332
|
-
forced-color-adjust: none;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
</style>
|
|
@@ -28,7 +28,7 @@ const today = new CalendarDate(2026, 11, 17)
|
|
|
28
28
|
aria-labelledby="date-picker-themed-legend"
|
|
29
29
|
>
|
|
30
30
|
<span id="date-picker-themed-legend" class="date-picker-themed__legend">
|
|
31
|
-
Trip
|
|
31
|
+
Trip booking
|
|
32
32
|
</span>
|
|
33
33
|
<GhostDatePicker
|
|
34
34
|
v-model="trip"
|
|
@@ -48,7 +48,7 @@ const today = new CalendarDate(2026, 11, 17)
|
|
|
48
48
|
<GhostDatePickerInput v-bind="field" part="end" />
|
|
49
49
|
</GhostFieldControl>
|
|
50
50
|
</GhostField>
|
|
51
|
-
<GhostDatePickerTrigger
|
|
51
|
+
<GhostDatePickerTrigger aria-label="Choose trip dates" />
|
|
52
52
|
<GhostDatePickerContent />
|
|
53
53
|
</GhostDatePicker>
|
|
54
54
|
</div>
|
|
@@ -3,12 +3,13 @@ import { shallowRef } from 'vue'
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
CalendarDate,
|
|
6
|
+
GhostButton,
|
|
6
7
|
GhostDatePicker,
|
|
7
8
|
GhostDatePickerContent,
|
|
8
9
|
GhostDatePickerInput,
|
|
9
10
|
GhostDatePickerTrigger,
|
|
10
11
|
type GhostDatePickerRange,
|
|
11
|
-
} from '@ghostvue/
|
|
12
|
+
} from '@ghostvue/themes'
|
|
12
13
|
|
|
13
14
|
const today = new CalendarDate(2026, 11, 17)
|
|
14
15
|
const maxNights = 14
|
|
@@ -48,7 +49,7 @@ function onSubmit(event: Event): void {
|
|
|
48
49
|
</script>
|
|
49
50
|
|
|
50
51
|
<template>
|
|
51
|
-
<form class="date-picker-validation" @submit.prevent="onSubmit">
|
|
52
|
+
<form class="ghost-theme date-picker-validation" @submit.prevent="onSubmit">
|
|
52
53
|
<div
|
|
53
54
|
class="date-picker-validation__group"
|
|
54
55
|
role="group"
|
|
@@ -69,18 +70,13 @@ function onSubmit(event: Event): void {
|
|
|
69
70
|
<label for="date-picker-validation-start">Check-in</label>
|
|
70
71
|
<GhostDatePickerInput
|
|
71
72
|
id="date-picker-validation-start"
|
|
72
|
-
class="date-picker-demo__input"
|
|
73
73
|
part="start"
|
|
74
74
|
/>
|
|
75
75
|
<label for="date-picker-validation-end">Check-out</label>
|
|
76
|
-
<GhostDatePickerInput
|
|
77
|
-
|
|
78
|
-
class="date-picker-demo__input"
|
|
79
|
-
part="end"
|
|
80
|
-
/>
|
|
81
|
-
<GhostDatePickerTrigger class="date-picker-demo__button" />
|
|
76
|
+
<GhostDatePickerInput id="date-picker-validation-end" part="end" />
|
|
77
|
+
<GhostDatePickerTrigger />
|
|
82
78
|
</span>
|
|
83
|
-
<GhostDatePickerContent
|
|
79
|
+
<GhostDatePickerContent />
|
|
84
80
|
<ul v-if="errors.length > 0" class="date-picker-validation__errors">
|
|
85
81
|
<li v-for="error in errors" :key="`${error.part}-${error.code}`">
|
|
86
82
|
{{ error.message }}
|
|
@@ -89,8 +85,8 @@ function onSubmit(event: Event): void {
|
|
|
89
85
|
</GhostDatePicker>
|
|
90
86
|
</div>
|
|
91
87
|
<span class="date-picker-validation__row">
|
|
92
|
-
<
|
|
93
|
-
<
|
|
88
|
+
<GhostButton type="submit">Book</GhostButton>
|
|
89
|
+
<GhostButton type="reset" variant="outline">Reset</GhostButton>
|
|
94
90
|
</span>
|
|
95
91
|
<output>{{ submitted || 'Not submitted' }}</output>
|
|
96
92
|
</form>
|
|
@@ -120,285 +116,3 @@ function onSubmit(event: Event): void {
|
|
|
120
116
|
padding-inline-start: 1.25rem;
|
|
121
117
|
}
|
|
122
118
|
</style>
|
|
123
|
-
|
|
124
|
-
<style>
|
|
125
|
-
/*
|
|
126
|
-
* Headless GhostDatePicker ships behavior and positioning only, so this
|
|
127
|
-
* sample brings its own consumer CSS. It is unscoped on purpose: the calendar
|
|
128
|
-
* surface renders in a body portal, outside this component's scoped
|
|
129
|
-
* attribute, and the `date-picker-demo` prefix keeps the classes from
|
|
130
|
-
* colliding with page styles. Every headless date picker example carries
|
|
131
|
-
* this same block (a test keeps them identical), so copy it once per app.
|
|
132
|
-
*
|
|
133
|
-
* Colors read GhostVue semantic tokens when a theme is loaded and fall back
|
|
134
|
-
* to CSS system colors, which follow light and dark on their own. The month
|
|
135
|
-
* grid mirrors the themed calendar recipe: one 7-column template shared by
|
|
136
|
-
* the weekday header and every week, and distinct today, selected, range,
|
|
137
|
-
* outside-month and unavailable states that only change color, border or
|
|
138
|
-
* decoration, so the grid never shifts. Nothing animates, so reduced motion
|
|
139
|
-
* needs no override.
|
|
140
|
-
*/
|
|
141
|
-
|
|
142
|
-
.date-picker-demo__input {
|
|
143
|
-
background-color: var(--ghost-surface-bg, Field);
|
|
144
|
-
border: 1px solid var(--ghost-border-strong, FieldText);
|
|
145
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
146
|
-
box-sizing: border-box;
|
|
147
|
-
color: var(--ghost-text-default, FieldText);
|
|
148
|
-
font: inherit;
|
|
149
|
-
font-variant-numeric: tabular-nums;
|
|
150
|
-
/* Room for "YYYY-MM-DD" plus padding and borders. */
|
|
151
|
-
inline-size: calc(11ch + 1.5rem + 2px);
|
|
152
|
-
max-inline-size: 100%;
|
|
153
|
-
min-block-size: 2.5rem;
|
|
154
|
-
padding: 0.375rem 0.75rem;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.date-picker-demo__input[data-state='invalid'] {
|
|
158
|
-
border-color: var(--ghost-border-danger, CanvasText);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.date-picker-demo__input:disabled {
|
|
162
|
-
color: var(--ghost-text-muted, GrayText);
|
|
163
|
-
cursor: not-allowed;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/* The calendar trigger and the sample's own buttons share one look. */
|
|
167
|
-
.date-picker-demo__button {
|
|
168
|
-
align-items: center;
|
|
169
|
-
background-color: var(--ghost-elevation-1-bg, ButtonFace);
|
|
170
|
-
border: 1px solid var(--ghost-border-strong, ButtonBorder);
|
|
171
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
172
|
-
box-sizing: border-box;
|
|
173
|
-
color: var(--ghost-surface-fg, ButtonText);
|
|
174
|
-
cursor: pointer;
|
|
175
|
-
display: inline-flex;
|
|
176
|
-
font: inherit;
|
|
177
|
-
gap: 0.375rem;
|
|
178
|
-
justify-content: center;
|
|
179
|
-
min-block-size: 2.5rem;
|
|
180
|
-
min-inline-size: 2.5rem;
|
|
181
|
-
padding: 0.375rem 0.75rem;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.date-picker-demo__button[data-part='trigger'] {
|
|
185
|
-
padding: 0.375rem;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.date-picker-demo__button:hover:not(:disabled),
|
|
189
|
-
.date-picker-demo__popup
|
|
190
|
-
:is([data-part='close'], [data-part='prev'], [data-part='next']):hover:not(
|
|
191
|
-
:disabled
|
|
192
|
-
) {
|
|
193
|
-
background-color: var(--ghost-surface-muted-bg, Canvas);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.date-picker-demo__input:focus-visible,
|
|
197
|
-
.date-picker-demo__button:focus-visible,
|
|
198
|
-
.date-picker-demo__popup button:focus-visible {
|
|
199
|
-
outline: 2px solid var(--ghost-focus-ring-color, Highlight);
|
|
200
|
-
outline-offset: 2px;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/*
|
|
204
|
-
* An opaque, layered surface above page content. Inline position, left and
|
|
205
|
-
* top come from the picker's floating layer, which anchors the surface to
|
|
206
|
-
* the input; this rule only paints it and caps its width on small screens.
|
|
207
|
-
*/
|
|
208
|
-
.date-picker-demo__popup {
|
|
209
|
-
background-color: var(--ghost-elevation-3-bg, Canvas);
|
|
210
|
-
border: 1px solid var(--ghost-elevation-3-border, GrayText);
|
|
211
|
-
border-radius: var(--ghost-radius-lg, 0.5rem);
|
|
212
|
-
box-shadow: var(--ghost-elevation-3-shadow, 0 0.5rem 1.5rem rgb(0 0 0 / 20%));
|
|
213
|
-
box-sizing: border-box;
|
|
214
|
-
color: var(--ghost-surface-fg, CanvasText);
|
|
215
|
-
display: grid;
|
|
216
|
-
gap: 0.5rem;
|
|
217
|
-
inline-size: max-content;
|
|
218
|
-
max-inline-size: calc(100vw - 1rem);
|
|
219
|
-
overflow: auto;
|
|
220
|
-
padding: 0.75rem;
|
|
221
|
-
z-index: 50;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.date-picker-demo__popup
|
|
225
|
-
:is([data-part='close'], [data-part='prev'], [data-part='next']) {
|
|
226
|
-
background: transparent;
|
|
227
|
-
border: 1px solid transparent;
|
|
228
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
229
|
-
color: inherit;
|
|
230
|
-
cursor: pointer;
|
|
231
|
-
font: inherit;
|
|
232
|
-
min-block-size: 2.25rem;
|
|
233
|
-
min-inline-size: 2.25rem;
|
|
234
|
-
padding: 0 0.5rem;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.date-picker-demo__popup [data-part='close'] {
|
|
238
|
-
font-size: 1.25rem;
|
|
239
|
-
justify-self: end;
|
|
240
|
-
line-height: 1;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.date-picker-demo__popup :is([data-part='prev'], [data-part='next']):disabled {
|
|
244
|
-
color: var(--ghost-text-subtle, GrayText);
|
|
245
|
-
cursor: not-allowed;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.date-picker-demo__popup [data-part='header'] {
|
|
249
|
-
align-items: center;
|
|
250
|
-
display: flex;
|
|
251
|
-
gap: 0.25rem;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.date-picker-demo__popup [data-part='heading'] {
|
|
255
|
-
flex: 1;
|
|
256
|
-
font-size: 1rem;
|
|
257
|
-
font-weight: 600;
|
|
258
|
-
margin: 0;
|
|
259
|
-
text-align: center;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/* Weekday header and weeks share one 7-column template, so columns align. */
|
|
263
|
-
.date-picker-demo__popup [data-part='grid'] {
|
|
264
|
-
display: grid;
|
|
265
|
-
gap: 0.125rem;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.date-picker-demo__popup [data-part='grid'] > [role='row'] {
|
|
269
|
-
display: grid;
|
|
270
|
-
gap: 0.125rem;
|
|
271
|
-
grid-template-columns: repeat(7, 2.5rem);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.date-picker-demo__popup [role='columnheader'] {
|
|
275
|
-
color: var(--ghost-text-muted, GrayText);
|
|
276
|
-
font-size: 0.75rem;
|
|
277
|
-
font-weight: 500;
|
|
278
|
-
padding-block: 0.25rem;
|
|
279
|
-
text-align: center;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.date-picker-demo__popup [data-part='cell'] {
|
|
283
|
-
aspect-ratio: 1;
|
|
284
|
-
background: transparent;
|
|
285
|
-
border: 1px solid transparent;
|
|
286
|
-
border-radius: var(--ghost-radius-md, 0.375rem);
|
|
287
|
-
color: inherit;
|
|
288
|
-
cursor: pointer;
|
|
289
|
-
font: inherit;
|
|
290
|
-
font-variant-numeric: tabular-nums;
|
|
291
|
-
/* A transparent outline turns into a visible ring under forced colors. */
|
|
292
|
-
outline: 2px solid transparent;
|
|
293
|
-
outline-offset: -2px;
|
|
294
|
-
padding: 0;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/* Zero-specificity hover, so the state fills below always win. */
|
|
298
|
-
.date-picker-demo__popup
|
|
299
|
-
[data-part='cell']:where(:hover:not(:disabled, [aria-disabled])) {
|
|
300
|
-
background-color: var(--ghost-surface-muted-bg, Canvas);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/* Adjacent-month days fill the first and last weeks but are not selectable. */
|
|
304
|
-
.date-picker-demo__popup [data-part='cell'][data-outside-month] {
|
|
305
|
-
color: var(--ghost-text-subtle, GrayText);
|
|
306
|
-
cursor: default;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.date-picker-demo__popup [data-part='cell'][data-today] {
|
|
310
|
-
border-color: var(--ghost-border-primary, CanvasText);
|
|
311
|
-
color: var(--ghost-text-primary, CanvasText);
|
|
312
|
-
font-weight: 600;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/* Unavailable days are struck through: distinct from adjacent-month days. */
|
|
316
|
-
.date-picker-demo__popup
|
|
317
|
-
[data-part='cell']:is(:disabled, [aria-disabled='true']):not(
|
|
318
|
-
[data-outside-month]
|
|
319
|
-
) {
|
|
320
|
-
color: var(--ghost-text-subtle, GrayText);
|
|
321
|
-
cursor: not-allowed;
|
|
322
|
-
text-decoration: line-through;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.date-picker-demo__popup [data-part='cell'][data-state='range-middle'] {
|
|
326
|
-
background-color: var(--ghost-surface-muted-bg, Canvas);
|
|
327
|
-
color: var(--ghost-surface-fg, CanvasText);
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.date-picker-demo__popup
|
|
331
|
-
[data-part='cell']:is(
|
|
332
|
-
[data-state='selected'],
|
|
333
|
-
[data-state='range-start'],
|
|
334
|
-
[data-state='range-end']
|
|
335
|
-
) {
|
|
336
|
-
background-color: var(--ghost-action-primary-bg, Highlight);
|
|
337
|
-
border-color: var(--ghost-action-primary-border, Highlight);
|
|
338
|
-
color: var(--ghost-action-primary-fg, HighlightText);
|
|
339
|
-
font-weight: 600;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.date-picker-demo__popup [data-part='cell']:focus-visible {
|
|
343
|
-
outline-color: var(--ghost-focus-ring-color, Highlight);
|
|
344
|
-
outline-offset: 2px;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.date-picker-demo__popup [data-part='error-summary'] {
|
|
348
|
-
color: var(--ghost-status-danger-fg, CanvasText);
|
|
349
|
-
font-size: 0.875rem;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.date-picker-demo__popup
|
|
353
|
-
:is([data-part='error-summary'] p, [data-part='status']) {
|
|
354
|
-
margin: 0;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.date-picker-demo__popup [data-part='status'] {
|
|
358
|
-
color: var(--ghost-text-muted, GrayText);
|
|
359
|
-
font-size: 0.875rem;
|
|
360
|
-
max-inline-size: calc(7 * 2.5rem + 6 * 0.125rem);
|
|
361
|
-
min-block-size: 1lh;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
/*
|
|
365
|
-
* Forced colors: only today keeps a CanvasText border; inactive days use
|
|
366
|
-
* GrayText. Selected days and range ends become Highlight cells (opted out
|
|
367
|
-
* so HighlightText stays on Highlight); range middles keep a Highlight
|
|
368
|
-
* border so the span still reads.
|
|
369
|
-
*/
|
|
370
|
-
@media (forced-colors: active) {
|
|
371
|
-
.date-picker-demo__popup {
|
|
372
|
-
border-color: CanvasText;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.date-picker-demo__popup [data-part='cell'] {
|
|
376
|
-
border-color: Canvas;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.date-picker-demo__popup [data-part='cell'][data-today] {
|
|
380
|
-
border-color: CanvasText;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.date-picker-demo__popup
|
|
384
|
-
[data-part='cell']:is(:disabled, [aria-disabled='true']) {
|
|
385
|
-
color: GrayText;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.date-picker-demo__popup [data-part='cell'][data-state='range-middle'] {
|
|
389
|
-
border-color: Highlight;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.date-picker-demo__popup
|
|
393
|
-
[data-part='cell']:is(
|
|
394
|
-
[data-state='selected'],
|
|
395
|
-
[data-state='range-start'],
|
|
396
|
-
[data-state='range-end']
|
|
397
|
-
) {
|
|
398
|
-
background-color: Highlight;
|
|
399
|
-
border-color: Highlight;
|
|
400
|
-
color: HighlightText;
|
|
401
|
-
forced-color-adjust: none;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
</style>
|