@vaadin/vaadin-lumo-styles 25.0.0-alpha2 → 25.0.0-alpha20
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/all-imports.d.ts +0 -8
- package/all-imports.js +0 -18
- package/components/accordion-heading.css +14 -0
- package/components/accordion-panel.css +15 -0
- package/{user-colors.d.ts → components/accordion.css} +2 -3
- package/components/app-layout.css +11 -0
- package/components/avatar-group.css +31 -0
- package/components/avatar.css +17 -0
- package/components/button.css +11 -0
- package/components/card.css +50 -0
- package/components/charts.css +11 -0
- package/components/checkbox-group.css +23 -0
- package/components/checkbox.css +14 -0
- package/components/combo-box.css +47 -0
- package/components/confirm-dialog.css +17 -0
- package/components/context-menu.css +32 -0
- package/components/crud.css +40 -0
- package/components/custom-field.css +20 -0
- package/components/dashboard.css +34 -0
- package/components/date-picker.css +49 -0
- package/components/date-time-picker.css +28 -0
- package/components/details-summary.css +11 -0
- package/components/details.css +12 -0
- package/components/dialog.css +16 -0
- package/components/drawer-toggle.css +14 -0
- package/components/email-field.css +25 -0
- package/components/field-highlighter.css +22 -0
- package/components/form-item.css +11 -0
- package/components/form-layout.css +11 -0
- package/components/grid-filter-column.css +6 -0
- package/components/grid-filter.css +12 -0
- package/components/grid-pro-edit-column.css +48 -0
- package/components/grid-pro.css +14 -0
- package/components/grid-selection-column.css +6 -0
- package/components/grid-sort-column.css +6 -0
- package/components/grid-sorter.css +19 -0
- package/components/grid-tree-column.css +6 -0
- package/components/grid-tree-toggle.css +11 -0
- package/components/grid.css +11 -0
- package/components/horizontal-layout.css +11 -0
- package/components/icon.css +11 -0
- package/components/index.css +71 -0
- package/components/input-container.css +11 -0
- package/components/integer-field.css +25 -0
- package/components/item.css +11 -0
- package/components/list-box.css +11 -0
- package/components/login-form.css +14 -0
- package/components/login.css +15 -0
- package/components/map.css +11 -0
- package/components/master-detail-layout.css +19 -0
- package/components/menu-bar.css +47 -0
- package/components/message-input-button.css +11 -0
- package/components/message-input.css +13 -0
- package/components/message-list.css +6 -0
- package/components/message.css +12 -0
- package/components/multi-select-combo-box.css +61 -0
- package/components/notification.css +15 -0
- package/components/number-field.css +25 -0
- package/components/overlay.css +11 -0
- package/components/password-field.css +32 -0
- package/components/popover.css +14 -0
- package/components/progress-bar.css +11 -0
- package/components/radio-button.css +14 -0
- package/components/radio-group.css +23 -0
- package/components/rich-text-editor.css +26 -0
- package/components/scroller.css +11 -0
- package/components/select.css +48 -0
- package/components/side-nav-item.css +14 -0
- package/components/side-nav.css +12 -0
- package/components/split-layout.css +11 -0
- package/components/tab.css +11 -0
- package/components/tabs.css +12 -0
- package/components/tabsheet.css +19 -0
- package/components/text-area.css +25 -0
- package/components/text-field.css +23 -0
- package/components/time-picker.css +43 -0
- package/components/tooltip.css +14 -0
- package/components/upload.css +31 -0
- package/components/vertical-layout.css +11 -0
- package/dist/lumo.css +41 -0
- package/dist/presets/compact.css +1 -0
- package/dist/utility.css +1 -0
- package/{color-global.js → global.css} +3 -4
- package/{badge-global.js → lumo.css} +3 -4
- package/mixins/field-button.js +3 -4
- package/mixins/helper.js +3 -4
- package/mixins/input-field-shared.js +5 -9
- package/mixins/loader.js +3 -2
- package/mixins/menu-overlay.js +3 -4
- package/mixins/overlay.js +3 -4
- package/mixins/required-field.js +3 -4
- package/package.json +23 -14
- package/postcss.config.js +11 -0
- package/presets/compact.css +31 -0
- package/props.css +12 -0
- package/src/components/accordion-heading.css +42 -0
- package/src/components/accordion-panel.css +38 -0
- package/src/components/app-layout.css +193 -0
- package/src/components/avatar-group-menu-item.css +22 -0
- package/src/components/avatar-group-overlay.css +11 -0
- package/src/components/avatar-group.css +67 -0
- package/src/components/avatar.css +86 -0
- package/src/components/button.css +334 -0
- package/src/components/card.css +38 -0
- package/src/components/chart.css +86 -0
- package/src/components/checkbox-group.css +18 -0
- package/src/components/checkbox.css +340 -0
- package/src/components/combo-box-item.css +18 -0
- package/src/components/combo-box-overlay.css +15 -0
- package/src/components/combo-box.css +14 -0
- package/src/components/confirm-dialog-overlay.css +55 -0
- package/src/components/context-menu-item.css +39 -0
- package/src/components/context-menu-list-box.css +40 -0
- package/src/components/context-menu-overlay.css +62 -0
- package/src/components/crud-dialog-overlay.css +57 -0
- package/src/components/crud-edit.css +30 -0
- package/src/components/crud.css +157 -0
- package/src/components/custom-field.css +102 -0
- package/src/components/dashboard-layout.css +28 -0
- package/src/components/dashboard-section.css +85 -0
- package/src/components/dashboard-widget.css +140 -0
- package/src/components/dashboard.css +14 -0
- package/src/components/date-picker-month-calendar.css +192 -0
- package/src/components/date-picker-overlay-content.css +127 -0
- package/src/components/date-picker-overlay.css +48 -0
- package/src/components/date-picker-year.css +35 -0
- package/src/components/date-picker.css +41 -0
- package/src/components/date-time-picker.css +36 -0
- package/src/components/details-summary.css +131 -0
- package/src/components/details.css +37 -0
- package/src/components/dialog-overlay.css +164 -0
- package/src/components/drawer-toggle.css +51 -0
- package/src/components/email-field.css +26 -0
- package/src/components/field-outline.css +51 -0
- package/src/components/form-item.css +36 -0
- package/src/components/form-layout.css +12 -0
- package/src/components/grid-filter.css +16 -0
- package/src/components/grid-pro-edit-select.css +19 -0
- package/src/components/grid-pro.css +90 -0
- package/src/components/grid-sorter.css +70 -0
- package/src/components/grid-tree-toggle.css +104 -0
- package/src/components/grid.css +755 -0
- package/src/components/horizontal-layout.css +34 -0
- package/src/components/icon.css +11 -0
- package/src/components/input-container.css +228 -0
- package/src/components/item.css +94 -0
- package/src/components/list-box.css +31 -0
- package/src/components/login-form-wrapper.css +113 -0
- package/src/components/login-overlay-wrapper.css +189 -0
- package/src/components/map.css +182 -0
- package/src/components/menu-bar-button.css +128 -0
- package/src/components/menu-bar-item.css +23 -0
- package/{utility-global.js → src/components/menu-bar-overlay.css} +5 -4
- package/src/components/menu-bar.css +31 -0
- package/src/components/message-input.css +30 -0
- package/src/components/message.css +57 -0
- package/src/components/multi-select-combo-box-chip.css +113 -0
- package/src/components/multi-select-combo-box-container.css +20 -0
- package/src/components/multi-select-combo-box-item.css +13 -0
- package/src/components/multi-select-combo-box-overlay.css +18 -0
- package/src/components/multi-select-combo-box.css +102 -0
- package/src/components/notification-card.css +228 -0
- package/src/components/notification-container.css +60 -0
- package/src/components/number-field.css +53 -0
- package/src/components/password-field-button.css +19 -0
- package/src/components/password-field.css +24 -0
- package/src/components/popover-overlay.css +20 -0
- package/src/components/progress-bar.css +295 -0
- package/src/components/radio-button.css +156 -0
- package/src/components/radio-group.css +18 -0
- package/src/components/rich-text-editor-popup-overlay.css +27 -0
- package/src/components/rich-text-editor.css +383 -0
- package/src/components/scroller.css +21 -0
- package/src/components/select-overlay.css +54 -0
- package/src/components/select-value-button.css +57 -0
- package/src/components/select.css +73 -0
- package/src/components/side-nav-item.css +183 -0
- package/src/components/side-nav.css +102 -0
- package/src/components/split-layout.css +53 -0
- package/src/components/tab.css +246 -0
- package/src/components/tabs.css +285 -0
- package/src/components/tabsheet.css +63 -0
- package/src/components/text-area.css +116 -0
- package/src/components/time-picker-overlay.css +15 -0
- package/src/components/time-picker.css +36 -0
- package/src/components/tooltip-overlay.css +50 -0
- package/src/components/upload-file.css +99 -0
- package/src/components/upload-icon.css +20 -0
- package/src/components/upload.css +56 -0
- package/src/components/user-tag.css +48 -0
- package/src/components/user-tags-overlay.css +64 -0
- package/src/components/vertical-layout.css +34 -0
- package/src/global/badge.css +167 -0
- package/src/global/color-scheme.css +99 -0
- package/src/global/typography.css +113 -0
- package/src/mixins/checkable-field.css +67 -0
- package/src/mixins/combo-box-loader.css +14 -0
- package/src/mixins/combo-box-overlay.css +30 -0
- package/src/mixins/dashboard-item.css +121 -0
- package/src/mixins/field-base.css +187 -0
- package/src/mixins/field-button.css +46 -0
- package/src/mixins/field-error-message.css +36 -0
- package/src/mixins/field-helper.css +62 -0
- package/src/mixins/field-label.css +62 -0
- package/src/mixins/field-required.css +26 -0
- package/src/mixins/grid-pro-editor.css +35 -0
- package/src/mixins/group-field.css +58 -0
- package/src/mixins/loader.css +48 -0
- package/src/mixins/menu-overlay-core.css +36 -0
- package/src/mixins/menu-overlay-ext.css +63 -0
- package/src/mixins/overlay.css +130 -0
- package/src/mixins/resizable-overlay.css +100 -0
- package/src/props/color.css +98 -0
- package/src/props/icons.css +63 -0
- package/src/props/reset.css +11 -0
- package/src/props/sizing.css +19 -0
- package/src/props/spacing.css +27 -0
- package/src/props/style.css +21 -0
- package/src/props/typography.css +24 -0
- package/src/utilities/accessibility.css +17 -0
- package/src/utilities/background.css +189 -0
- package/src/utilities/border.css +173 -0
- package/src/utilities/filter.css +37 -0
- package/src/utilities/flexbox-grid.css +781 -0
- package/src/utilities/layout.css +629 -0
- package/src/utilities/shadows.css +29 -0
- package/src/utilities/sizing.css +142 -0
- package/src/utilities/spacing.css +682 -0
- package/src/utilities/transition.css +46 -0
- package/src/utilities/typography.css +424 -0
- package/utility.css +16 -0
- package/vaadin-iconset.js +4 -0
- package/auto-complete.css +0 -2582
- package/badge.d.ts +0 -3
- package/badge.js +0 -178
- package/color.d.ts +0 -5
- package/color.js +0 -221
- package/font-icons.js +0 -67
- package/global.js +0 -5
- package/presets/compact.js +0 -40
- package/sizing.d.ts +0 -3
- package/sizing.js +0 -29
- package/spacing.d.ts +0 -3
- package/spacing.js +0 -37
- package/style.d.ts +0 -5
- package/style.js +0 -119
- package/typography-global.js +0 -13
- package/typography.d.ts +0 -7
- package/typography.js +0 -129
- package/user-colors.js +0 -33
- package/utilities/accessibility.js +0 -21
- package/utilities/background.js +0 -156
- package/utilities/border.js +0 -147
- package/utilities/filter.js +0 -34
- package/utilities/flexbox-grid.js +0 -619
- package/utilities/layout.js +0 -504
- package/utilities/shadows.js +0 -28
- package/utilities/sizing.js +0 -121
- package/utilities/spacing.js +0 -542
- package/utilities/transition.js +0 -49
- package/utilities/typography.js +0 -344
- package/utility.d.ts +0 -3
- package/utility.js +0 -34
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_map {
|
|
7
|
+
:host {
|
|
8
|
+
font-family: var(--lumo-font-family);
|
|
9
|
+
font-size: var(--lumo-font-size-m);
|
|
10
|
+
--vaadin-map-controls-inset: var(--lumo-space-xs);
|
|
11
|
+
--vaadin-map-icon-zoom-in: var(--lumo-icons-plus);
|
|
12
|
+
--vaadin-map-icon-zoom-out: var(--lumo-icons-minus);
|
|
13
|
+
--vaadin-map-icon-compass: var(--lumo-icons-arrow-up);
|
|
14
|
+
--vaadin-map-icon-overview-map-collapse: var(--lumo-icons-angle-down);
|
|
15
|
+
--vaadin-map-icon-overview-map-expand: var(--lumo-icons-angle-up);
|
|
16
|
+
--vaadin-map-icon-close: var(--lumo-icons-cross);
|
|
17
|
+
--vaadin-map-icon-attribution-collapse: var(--lumo-icons-angle-right);
|
|
18
|
+
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
19
|
+
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host(:not([theme~='no-border'])) {
|
|
23
|
+
border-radius: var(--lumo-border-radius-l);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host(:not([theme~='no-border']))::before {
|
|
27
|
+
border: 1px solid var(--lumo-contrast-10pct);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([focus-ring]) {
|
|
31
|
+
outline: none;
|
|
32
|
+
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ol-overviewmap button span:empty::before,
|
|
36
|
+
.ol-zoom-in:empty::before,
|
|
37
|
+
.ol-zoom-out:empty::before,
|
|
38
|
+
.ol-compass:empty::before,
|
|
39
|
+
.ol-full-screen button:empty::before,
|
|
40
|
+
.ol-full-screen-true:empty::before {
|
|
41
|
+
background: transparent;
|
|
42
|
+
mask-image: none;
|
|
43
|
+
display: inline;
|
|
44
|
+
width: auto;
|
|
45
|
+
height: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ol-control:not(.ol-uncollapsible):hover {
|
|
49
|
+
box-shadow: var(--lumo-box-shadow-s);
|
|
50
|
+
background-color: var(--lumo-shade-20pct);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ol-scale-bar-inner {
|
|
54
|
+
border-radius: var(--lumo-border-radius-s);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ol-compass:empty::before {
|
|
58
|
+
content: var(--vaadin-map-icon-compass);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ol-full-screen {
|
|
62
|
+
height: var(--lumo-size-s);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ol-full-screen button:empty::before {
|
|
66
|
+
content: var(--vaadin-map-icon-fullscreen, '\2922');
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.ol-full-screen .ol-full-screen-true:empty::before {
|
|
70
|
+
content: var(--vaadin-map-icon-close, '\00D7');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ol-overviewmap button span:empty::before {
|
|
74
|
+
content: var(--vaadin-map-icon-overview-map-collapse);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ol-overviewmap.ol-collapsed button span:empty::before {
|
|
78
|
+
content: var(--vaadin-map-icon-overview-map-expand);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ol-overviewmap-map {
|
|
82
|
+
margin: var(--lumo-space-xs);
|
|
83
|
+
border-radius: var(--lumo-border-radius-s);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ol-overviewmap:not(.ol-collapsed),
|
|
87
|
+
.ol-overviewmap:not(.ol-collapsed):hover {
|
|
88
|
+
background-color: var(--lumo-base-color);
|
|
89
|
+
box-shadow: var(--lumo-box-shadow-s);
|
|
90
|
+
transition: 0.15s box-shadow;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ol-overviewmap.ol-collapsed button {
|
|
94
|
+
rotate: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ol-zoomslider button {
|
|
98
|
+
height: var(--lumo-space-m);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ol-zoomslider:hover button {
|
|
102
|
+
box-shadow: var(--lumo-box-shadow-s);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ol-control,
|
|
106
|
+
.ol-scale-bar,
|
|
107
|
+
.ol-scale-line {
|
|
108
|
+
margin: var(--lumo-space-xs);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ol-control {
|
|
112
|
+
border-radius: var(--lumo-border-radius-m);
|
|
113
|
+
transition:
|
|
114
|
+
0.15s box-shadow,
|
|
115
|
+
0.15s background-color;
|
|
116
|
+
-webkit-backdrop-filter: blur(8px);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ol-control:hover {
|
|
120
|
+
background-color: var(--lumo-base-color);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ol-control button {
|
|
124
|
+
width: var(--lumo-size-s);
|
|
125
|
+
height: var(--lumo-size-s);
|
|
126
|
+
border-radius: inherit;
|
|
127
|
+
font-family: 'lumo-icons';
|
|
128
|
+
font-size: var(--lumo-icon-size-s);
|
|
129
|
+
font-weight: 400;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.ol-control button,
|
|
133
|
+
.ol-attribution:not(.ol-uncollapsible) ul {
|
|
134
|
+
display: block;
|
|
135
|
+
background-color: var(--lumo-base-color);
|
|
136
|
+
color: var(--lumo-body-text-color);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.ol-control button:hover {
|
|
140
|
+
color: var(--lumo-primary-text-color);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ol-control button:active {
|
|
144
|
+
background: var(--lumo-base-color) linear-gradient(var(--lumo-contrast-5pct), var(--lumo-contrast-5pct));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ol-control button:focus-visible {
|
|
148
|
+
outline: none;
|
|
149
|
+
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.ol-zoom-in:empty::before {
|
|
153
|
+
content: var(--vaadin-map-icon-zoom-in);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.ol-zoom-out:empty::before {
|
|
157
|
+
content: var(--vaadin-map-icon-zoom-out);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ol-attribution.ol-uncollapsible {
|
|
161
|
+
border-radius: var(--lumo-border-radius-m) 0 0 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.ol-attribution button span:empty::before {
|
|
165
|
+
content: var(--vaadin-map-icon-attribution-collapse, '\\25B8');
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.ol-attribution.ol-collapsed button span:empty::before {
|
|
169
|
+
content: var(--vaadin-map-icon-attribution-expand, '\\2139');
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.ol-attribution ul {
|
|
173
|
+
font-size: var(--lumo-font-size-xxs);
|
|
174
|
+
color: var(--lumo-secondary-text-color);
|
|
175
|
+
padding: var(--lumo-space-xs) var(--lumo-space-s);
|
|
176
|
+
cursor: default;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.ol-attribution:not(.ol-uncollapsible) ul {
|
|
180
|
+
background-color: var(--lumo-base-color);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_menu-bar-button {
|
|
7
|
+
:host {
|
|
8
|
+
margin-block: calc(var(--lumo-space-xs) / 2);
|
|
9
|
+
margin-right: calc(var(--lumo-space-xs) / 2);
|
|
10
|
+
margin-left: 0;
|
|
11
|
+
border-radius: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[part='label'] {
|
|
15
|
+
width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* NOTE(web-padawan): avoid using shorthand padding property for IE11 */
|
|
19
|
+
[part='label'] ::slotted(vaadin-menu-bar-item) {
|
|
20
|
+
justify-content: center;
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
height: var(--lumo-button-size);
|
|
23
|
+
margin: 0 calc((var(--lumo-size-m) / 3 + var(--lumo-border-radius-m) / 2) * -1);
|
|
24
|
+
padding-left: calc(var(--lumo-size-m) / 3 + var(--lumo-border-radius-m) / 2);
|
|
25
|
+
padding-right: calc(var(--lumo-size-m) / 3 + var(--lumo-border-radius-m) / 2);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([theme~='small']) [part='label'] ::slotted(vaadin-menu-bar-item) {
|
|
29
|
+
min-height: var(--lumo-size-s);
|
|
30
|
+
margin: 0 calc((var(--lumo-size-s) / 3 + var(--lumo-border-radius-m) / 2) * -1);
|
|
31
|
+
padding-left: calc(var(--lumo-size-s) / 3 + var(--lumo-border-radius-m) / 2);
|
|
32
|
+
padding-right: calc(var(--lumo-size-s) / 3 + var(--lumo-border-radius-m) / 2);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([theme~='tertiary']) [part='label'] ::slotted(vaadin-menu-bar-item) {
|
|
36
|
+
margin: 0 calc((var(--lumo-button-size) / 6) * -1);
|
|
37
|
+
padding-left: calc(var(--lumo-button-size) / 6);
|
|
38
|
+
padding-right: calc(var(--lumo-button-size) / 6);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host([theme~='tertiary-inline']) {
|
|
42
|
+
margin-top: calc(var(--lumo-space-xs) / 2);
|
|
43
|
+
margin-bottom: calc(var(--lumo-space-xs) / 2);
|
|
44
|
+
margin-right: calc(var(--lumo-space-xs) / 2);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:host([theme~='tertiary-inline']) [part='label'] ::slotted(vaadin-menu-bar-item) {
|
|
48
|
+
margin: 0;
|
|
49
|
+
padding: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([first-visible]) {
|
|
53
|
+
border-radius: var(--lumo-border-radius-m) 0 0 var(--lumo-border-radius-m);
|
|
54
|
+
|
|
55
|
+
/* Needed to retain the focus-ring with border-radius */
|
|
56
|
+
margin-left: calc(var(--lumo-space-xs) / 2);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([last-visible]),
|
|
60
|
+
:host([slot='overflow']) {
|
|
61
|
+
border-radius: 0 var(--lumo-border-radius-m) var(--lumo-border-radius-m) 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([theme~='tertiary']),
|
|
65
|
+
:host([theme~='tertiary-inline']) {
|
|
66
|
+
border-radius: var(--lumo-border-radius-m);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:host([slot='overflow']) {
|
|
70
|
+
min-width: var(--lumo-button-size);
|
|
71
|
+
margin-inline-end: 0;
|
|
72
|
+
padding-left: calc(var(--lumo-button-size) / 4);
|
|
73
|
+
padding-right: calc(var(--lumo-button-size) / 4);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([slot='overflow']) ::slotted(*) {
|
|
77
|
+
font-size: var(--lumo-font-size-xl);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:host([slot='overflow']) [part='prefix'],
|
|
81
|
+
:host([slot='overflow']) [part='suffix'] {
|
|
82
|
+
margin-left: 0;
|
|
83
|
+
margin-right: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[aria-haspopup]) [part='suffix'] {
|
|
87
|
+
margin-inline-start: 0;
|
|
88
|
+
width: 1em;
|
|
89
|
+
height: 1em;
|
|
90
|
+
line-height: 1;
|
|
91
|
+
font-size: var(--lumo-icon-size-s);
|
|
92
|
+
position: relative;
|
|
93
|
+
inset-inline-start: 0.15em;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* prettier-ignore */
|
|
97
|
+
:host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[aria-haspopup]) [part='suffix']::after {
|
|
98
|
+
font-family: lumo-icons;
|
|
99
|
+
content: var(--lumo-icons-dropdown);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* prettier-ignore */
|
|
103
|
+
:host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[theme~='tertiary'][aria-haspopup]) [part='suffix'] {
|
|
104
|
+
inset-inline-start: 0.05em;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* prettier-ignore */
|
|
108
|
+
:host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[theme~='tertiary-inline'][aria-haspopup]) [part='suffix'] {
|
|
109
|
+
inset-inline-start: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* RTL styles */
|
|
113
|
+
:host([dir='rtl']) {
|
|
114
|
+
margin-left: calc(var(--lumo-space-xs) / 2);
|
|
115
|
+
margin-right: 0;
|
|
116
|
+
border-radius: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host([dir='rtl'][first-visible]) {
|
|
120
|
+
border-radius: 0 var(--lumo-border-radius-m) var(--lumo-border-radius-m) 0;
|
|
121
|
+
margin-right: calc(var(--lumo-space-xs) / 2);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host([dir='rtl'][last-visible]),
|
|
125
|
+
:host([dir='rtl'][slot='overflow']) {
|
|
126
|
+
border-radius: var(--lumo-border-radius-m) 0 0 var(--lumo-border-radius-m);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_menu-bar-item {
|
|
7
|
+
[part='content'] {
|
|
8
|
+
display: flex;
|
|
9
|
+
/* tweak to inherit centering from menu bar button */
|
|
10
|
+
align-items: inherit;
|
|
11
|
+
justify-content: inherit;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[part='content'] ::slotted(vaadin-icon) {
|
|
15
|
+
width: var(--lumo-icon-size-m);
|
|
16
|
+
height: var(--lumo-icon-size-m);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[part='content'] ::slotted(vaadin-icon[icon^='vaadin:']) {
|
|
20
|
+
padding: var(--lumo-space-xs);
|
|
21
|
+
box-sizing: border-box !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@media lumo_components_menu-bar-overlay {
|
|
7
|
+
:host(:first-of-type) {
|
|
8
|
+
padding-top: var(--lumo-space-xs);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_menu-bar {
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host([hidden]) {
|
|
12
|
+
display: none !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[part='container'] {
|
|
16
|
+
position: relative;
|
|
17
|
+
display: flex;
|
|
18
|
+
width: 100%;
|
|
19
|
+
flex-wrap: nowrap;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([has-single-button]) ::slotted(vaadin-menu-bar-button) {
|
|
24
|
+
border-radius: var(--lumo-border-radius-m);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host([theme~='end-aligned']) ::slotted(vaadin-menu-bar-button[first-visible]),
|
|
28
|
+
:host([theme~='end-aligned'][has-single-button]) ::slotted(vaadin-menu-bar-button) {
|
|
29
|
+
margin-inline-start: auto;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_message-input {
|
|
7
|
+
:host {
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
display: flex;
|
|
11
|
+
max-height: 50vh;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
padding: var(--lumo-space-s) var(--lumo-space-m);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host([hidden]) {
|
|
18
|
+
display: none !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
::slotted([slot='button']) {
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
::slotted([slot='textarea']) {
|
|
26
|
+
align-self: stretch;
|
|
27
|
+
flex-grow: 1;
|
|
28
|
+
margin-inline-end: var(--lumo-space-s);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_message {
|
|
7
|
+
:host {
|
|
8
|
+
color: var(--lumo-body-text-color);
|
|
9
|
+
font-family: var(--lumo-font-family);
|
|
10
|
+
font-size: var(--lumo-font-size-m);
|
|
11
|
+
line-height: var(--lumo-line-height-m);
|
|
12
|
+
padding: var(--lumo-space-s) var(--lumo-space-m);
|
|
13
|
+
gap: 0;
|
|
14
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
-webkit-text-size-adjust: 100%;
|
|
17
|
+
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
18
|
+
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host(:is(:focus-visible, [focus-ring])) {
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[part='header'] {
|
|
26
|
+
min-height: calc(var(--lumo-font-size-m) * var(--lumo-line-height-m));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[part='name'] {
|
|
30
|
+
color: inherit;
|
|
31
|
+
margin-inline-end: var(--lumo-space-s);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[part='name']:empty {
|
|
35
|
+
margin-inline-end: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[part='message'] {
|
|
39
|
+
color: inherit;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[part='time'] {
|
|
43
|
+
color: var(--lumo-secondary-text-color);
|
|
44
|
+
font-size: var(--lumo-font-size-s);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
::slotted([slot='avatar']) {
|
|
48
|
+
--vaadin-avatar-outline-width: 0;
|
|
49
|
+
--vaadin-avatar-size: var(--lumo-size-m);
|
|
50
|
+
margin-top: calc(var(--lumo-space-s));
|
|
51
|
+
margin-inline-end: calc(var(--lumo-space-m));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host([focus-ring]) {
|
|
55
|
+
box-shadow: inset 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_multi-select-combo-box-chip {
|
|
7
|
+
:host {
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
align-self: center;
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
font-size: var(--lumo-font-size-xxs);
|
|
14
|
+
line-height: 1;
|
|
15
|
+
color: var(--lumo-body-text-color);
|
|
16
|
+
border-radius: var(--lumo-border-radius-s);
|
|
17
|
+
background-color: var(--lumo-contrast-20pct);
|
|
18
|
+
cursor: var(--lumo-clickable-cursor);
|
|
19
|
+
-webkit-font-smoothing: antialiased;
|
|
20
|
+
-moz-osx-font-smoothing: grayscale;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([hidden]),
|
|
24
|
+
:host(:is([readonly], [disabled], [slot='overflow'])) [part='remove-button'] {
|
|
25
|
+
display: none !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([disabled]) {
|
|
29
|
+
background-color: var(--lumo-contrast-10pct);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([focused]) [part='remove-button'] {
|
|
33
|
+
color: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([slot='overflow']) {
|
|
37
|
+
position: relative;
|
|
38
|
+
min-width: var(--lumo-size-xxs);
|
|
39
|
+
margin-inline-start: var(--lumo-space-s);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host([slot='overflow'])::before,
|
|
43
|
+
:host([slot='overflow'])::after {
|
|
44
|
+
position: absolute;
|
|
45
|
+
content: '';
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
border-left: calc(var(--lumo-space-s) / 4) solid var(--lumo-contrast-30pct);
|
|
49
|
+
border-radius: var(--lumo-border-radius-s);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([slot='overflow'])::before {
|
|
53
|
+
left: calc(-1 * var(--lumo-space-s) / 2);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([slot='overflow'])::after {
|
|
57
|
+
left: calc(-1 * var(--lumo-space-s));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host([count='2']) {
|
|
61
|
+
margin-inline-start: calc(var(--lumo-space-s) / 2);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([count='2'])::after {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([count='1']) {
|
|
69
|
+
margin-inline-start: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host([count='1'])::before,
|
|
73
|
+
:host([count='1'])::after {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[part='label'] {
|
|
78
|
+
font-weight: 500;
|
|
79
|
+
line-height: 1.25;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
text-overflow: ellipsis;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[part='remove-button'] {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
margin-top: -0.3125em;
|
|
89
|
+
margin-bottom: -0.3125em;
|
|
90
|
+
margin-inline-start: auto;
|
|
91
|
+
width: 1.25em;
|
|
92
|
+
height: 1.25em;
|
|
93
|
+
font-size: 1.5em;
|
|
94
|
+
transition: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[part='remove-button']::before {
|
|
98
|
+
content: var(--lumo-icons-cross);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host([disabled]) [part='label'] {
|
|
102
|
+
color: var(--lumo-disabled-text-color);
|
|
103
|
+
-webkit-text-fill-color: var(--lumo-disabled-text-color);
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@media (forced-colors: active) {
|
|
108
|
+
:host {
|
|
109
|
+
outline: 1px solid;
|
|
110
|
+
outline-offset: -1px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_multi-select-combo-box-container {
|
|
7
|
+
#wrapper {
|
|
8
|
+
display: flex;
|
|
9
|
+
width: 100%;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([auto-expand-vertically]) {
|
|
14
|
+
padding-block: var(--lumo-space-xs);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host([auto-expand-vertically]) #wrapper {
|
|
18
|
+
flex-wrap: wrap;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_multi-select-combo-box-item {
|
|
7
|
+
@media (any-hover: hover) {
|
|
8
|
+
:host(:hover[readonly]) {
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
cursor: default;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@media lumo_components_multi-select-combo-box-overlay {
|
|
7
|
+
:host {
|
|
8
|
+
--_vaadin-multi-select-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
9
|
+
--_vaadin-multi-select-combo-box-items-container-border-style: solid;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#overlay {
|
|
13
|
+
width: var(
|
|
14
|
+
--vaadin-multi-select-combo-box-overlay-width,
|
|
15
|
+
var(--_vaadin-multi-select-combo-box-overlay-default-width, auto)
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
}
|