@vaadin/vaadin-lumo-styles 25.0.0-alpha1 → 25.0.0-alpha10

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.
Files changed (226) hide show
  1. package/auto-complete.css +3 -73
  2. package/components/accordion-heading.css +14 -0
  3. package/components/accordion-panel.css +15 -0
  4. package/components/accordion.css +7 -0
  5. package/components/app-layout.css +11 -0
  6. package/components/avatar-group.css +31 -0
  7. package/components/avatar.css +17 -0
  8. package/components/button.css +12 -0
  9. package/components/card.css +50 -0
  10. package/components/charts.css +11 -0
  11. package/components/checkbox-group.css +23 -0
  12. package/components/checkbox.css +14 -0
  13. package/components/combo-box.css +47 -0
  14. package/components/confirm-dialog.css +17 -0
  15. package/components/context-menu.css +32 -0
  16. package/components/crud.css +40 -0
  17. package/components/custom-field.css +20 -0
  18. package/components/dashboard.css +34 -0
  19. package/components/date-picker.css +49 -0
  20. package/components/date-time-picker.css +28 -0
  21. package/components/details-summary.css +11 -0
  22. package/components/details.css +12 -0
  23. package/components/dialog.css +16 -0
  24. package/components/drawer-toggle.css +14 -0
  25. package/components/email-field.css +25 -0
  26. package/components/field-highlighter.css +22 -0
  27. package/components/form-item.css +11 -0
  28. package/components/form-layout.css +11 -0
  29. package/components/grid-filter-column.css +6 -0
  30. package/components/grid-filter.css +12 -0
  31. package/components/grid-pro-edit-column.css +48 -0
  32. package/components/grid-pro.css +14 -0
  33. package/components/grid-selection-column.css +6 -0
  34. package/components/grid-sort-column.css +6 -0
  35. package/components/grid-sorter.css +19 -0
  36. package/components/grid-tree-column.css +6 -0
  37. package/components/grid-tree-toggle.css +11 -0
  38. package/components/grid.css +11 -0
  39. package/components/horizontal-layout.css +11 -0
  40. package/components/icon.css +11 -0
  41. package/components/input-container.css +11 -0
  42. package/components/integer-field.css +25 -0
  43. package/components/item.css +11 -0
  44. package/components/list-box.css +11 -0
  45. package/components/login-form.css +14 -0
  46. package/components/login.css +15 -0
  47. package/components/map.css +11 -0
  48. package/components/master-detail-layout.css +19 -0
  49. package/components/menu-bar.css +47 -0
  50. package/components/message-input.css +13 -0
  51. package/components/message-list.css +6 -0
  52. package/components/message.css +12 -0
  53. package/components/multi-select-combo-box.css +61 -0
  54. package/components/notification.css +15 -0
  55. package/components/number-field.css +25 -0
  56. package/components/overlay.css +11 -0
  57. package/components/password-field.css +32 -0
  58. package/components/popover.css +14 -0
  59. package/components/progress-bar.css +11 -0
  60. package/components/radio-button.css +14 -0
  61. package/components/radio-group.css +23 -0
  62. package/components/rich-text-editor.css +26 -0
  63. package/components/scroller.css +11 -0
  64. package/components/select.css +48 -0
  65. package/components/side-nav-item.css +14 -0
  66. package/components/side-nav.css +12 -0
  67. package/components/split-layout.css +11 -0
  68. package/components/tab.css +11 -0
  69. package/components/tabs.css +12 -0
  70. package/components/tabsheet.css +19 -0
  71. package/components/text-area.css +25 -0
  72. package/components/text-field.css +23 -0
  73. package/components/time-picker.css +43 -0
  74. package/components/tooltip.css +14 -0
  75. package/components/upload.css +28 -0
  76. package/components/vertical-layout.css +11 -0
  77. package/components.css +71 -0
  78. package/font-icons.js +28 -26
  79. package/global.css +8 -0
  80. package/lumo.css +8 -0
  81. package/mixins/input-field-shared.js +1 -2
  82. package/mixins/menu-overlay.js +0 -2
  83. package/mixins/required-field.js +0 -1
  84. package/package.json +16 -12
  85. package/props.css +12 -0
  86. package/src/components/accordion-heading.css +42 -0
  87. package/src/components/accordion-panel.css +38 -0
  88. package/src/components/app-layout.css +193 -0
  89. package/src/components/avatar-group-menu-item.css +22 -0
  90. package/src/components/avatar-group-overlay.css +15 -0
  91. package/src/components/avatar-group.css +67 -0
  92. package/src/components/avatar.css +86 -0
  93. package/src/components/button.css +334 -0
  94. package/src/components/card.css +38 -0
  95. package/src/components/chart.css +85 -0
  96. package/src/components/checkbox-group.css +18 -0
  97. package/src/components/checkbox.css +341 -0
  98. package/src/components/combo-box-item.css +18 -0
  99. package/src/components/combo-box-overlay.css +15 -0
  100. package/src/components/combo-box.css +14 -0
  101. package/src/components/confirm-dialog-overlay.css +59 -0
  102. package/src/components/context-menu-item.css +39 -0
  103. package/src/components/context-menu-list-box.css +40 -0
  104. package/src/components/context-menu-overlay.css +41 -0
  105. package/src/components/crud-dialog-overlay.css +57 -0
  106. package/src/components/crud-edit.css +30 -0
  107. package/src/components/crud.css +157 -0
  108. package/src/components/custom-field.css +102 -0
  109. package/src/components/dashboard-layout.css +94 -0
  110. package/src/components/dashboard-section.css +113 -0
  111. package/src/components/dashboard-widget.css +224 -0
  112. package/src/components/dashboard.css +23 -0
  113. package/src/components/date-picker-month-calendar.css +192 -0
  114. package/src/components/date-picker-overlay-content.css +161 -0
  115. package/src/components/date-picker-overlay.css +60 -0
  116. package/src/components/date-picker-year.css +35 -0
  117. package/src/components/date-picker.css +41 -0
  118. package/src/components/date-time-picker.css +36 -0
  119. package/src/components/details-summary.css +131 -0
  120. package/src/components/details.css +37 -0
  121. package/src/components/dialog-overlay.css +173 -0
  122. package/src/components/drawer-toggle.css +51 -0
  123. package/src/components/email-field.css +26 -0
  124. package/src/components/field-outline.css +51 -0
  125. package/src/components/form-item.css +36 -0
  126. package/src/components/form-layout.css +12 -0
  127. package/src/components/grid-filter.css +16 -0
  128. package/src/components/grid-pro-edit-select.css +19 -0
  129. package/src/components/grid-pro.css +84 -0
  130. package/src/components/grid-sorter.css +70 -0
  131. package/src/components/grid-tree-toggle.css +104 -0
  132. package/src/components/grid.css +755 -0
  133. package/src/components/horizontal-layout.css +34 -0
  134. package/src/components/icon.css +11 -0
  135. package/src/components/input-container.css +228 -0
  136. package/src/components/item.css +94 -0
  137. package/src/components/list-box.css +31 -0
  138. package/src/components/login-form-wrapper.css +113 -0
  139. package/src/components/login-overlay-wrapper.css +189 -0
  140. package/src/components/map.css +182 -0
  141. package/src/components/menu-bar-button.css +128 -0
  142. package/src/components/menu-bar-item.css +23 -0
  143. package/src/components/menu-bar-overlay.css +10 -0
  144. package/src/components/menu-bar.css +31 -0
  145. package/src/components/message-input.css +30 -0
  146. package/src/components/message.css +82 -0
  147. package/src/components/multi-select-combo-box-chip.css +113 -0
  148. package/src/components/multi-select-combo-box-container.css +20 -0
  149. package/src/components/multi-select-combo-box-item.css +13 -0
  150. package/src/components/multi-select-combo-box-overlay.css +18 -0
  151. package/src/components/multi-select-combo-box.css +102 -0
  152. package/src/components/notification-card.css +228 -0
  153. package/src/components/notification-container.css +60 -0
  154. package/src/components/number-field.css +53 -0
  155. package/src/components/password-field-button.css +19 -0
  156. package/src/components/password-field.css +24 -0
  157. package/src/components/popover-overlay.css +156 -0
  158. package/src/components/progress-bar.css +295 -0
  159. package/src/components/radio-button.css +156 -0
  160. package/src/components/radio-group.css +18 -0
  161. package/src/components/rich-text-editor-popup-overlay.css +27 -0
  162. package/src/components/rich-text-editor.css +485 -0
  163. package/src/components/scroller.css +40 -0
  164. package/src/components/select-overlay.css +54 -0
  165. package/src/components/select-value-button.css +57 -0
  166. package/src/components/select.css +60 -0
  167. package/src/components/side-nav-item.css +170 -0
  168. package/src/components/side-nav.css +102 -0
  169. package/src/components/split-layout.css +131 -0
  170. package/src/components/tab.css +246 -0
  171. package/src/components/tabs.css +285 -0
  172. package/src/components/tabsheet.css +59 -0
  173. package/src/components/text-area.css +116 -0
  174. package/src/components/time-picker-overlay.css +15 -0
  175. package/src/components/time-picker.css +36 -0
  176. package/src/components/tooltip-overlay.css +50 -0
  177. package/src/components/upload-file-list.css +24 -0
  178. package/src/components/upload-file.css +133 -0
  179. package/src/components/upload-icon.css +20 -0
  180. package/src/components/upload.css +56 -0
  181. package/src/components/user-tag.css +48 -0
  182. package/src/components/user-tags-overlay.css +64 -0
  183. package/src/components/vertical-layout.css +34 -0
  184. package/src/global/badge.css +167 -0
  185. package/src/global/color-scheme.css +99 -0
  186. package/src/global/typography.css +113 -0
  187. package/src/mixins/checkable-field.css +67 -0
  188. package/src/mixins/combo-box-loader.css +14 -0
  189. package/src/mixins/combo-box-overlay.css +30 -0
  190. package/src/mixins/dashboard-item.css +252 -0
  191. package/src/mixins/field-base.css +187 -0
  192. package/src/mixins/field-button.css +46 -0
  193. package/src/mixins/field-error-message.css +36 -0
  194. package/src/mixins/field-helper.css +62 -0
  195. package/src/mixins/field-label.css +62 -0
  196. package/src/mixins/field-required.css +26 -0
  197. package/src/mixins/grid-pro-editor.css +35 -0
  198. package/src/mixins/group-field.css +58 -0
  199. package/src/mixins/loader.css +48 -0
  200. package/src/mixins/menu-overlay-core.css +36 -0
  201. package/src/mixins/menu-overlay-ext.css +63 -0
  202. package/src/mixins/overlay.css +121 -0
  203. package/src/mixins/resizable-overlay.css +99 -0
  204. package/src/props/color.css +98 -0
  205. package/src/props/icons.css +61 -0
  206. package/src/props/reset.css +11 -0
  207. package/src/props/sizing.css +19 -0
  208. package/src/props/spacing.css +27 -0
  209. package/src/props/style.css +21 -0
  210. package/src/props/typography.css +24 -0
  211. package/src/utilities/accessibility.css +17 -0
  212. package/src/utilities/background.css +189 -0
  213. package/src/utilities/border.css +173 -0
  214. package/src/utilities/filter.css +37 -0
  215. package/src/utilities/flexbox-grid.css +781 -0
  216. package/src/utilities/layout.css +629 -0
  217. package/src/utilities/shadows.css +29 -0
  218. package/src/utilities/sizing.css +142 -0
  219. package/src/utilities/spacing.css +682 -0
  220. package/src/utilities/transition.css +46 -0
  221. package/src/utilities/typography.css +424 -0
  222. package/style.d.ts +0 -2
  223. package/style.js +1 -89
  224. package/utilities/transition.js +3 -2
  225. package/utility.css +17 -0
  226. package/vaadin-iconset.js +2 -0
@@ -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
+ }
@@ -0,0 +1,10 @@
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-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,82 @@
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
+ display: flex;
9
+ flex-direction: row;
10
+ outline: none;
11
+ color: var(--lumo-body-text-color);
12
+ font-family: var(--lumo-font-family);
13
+ font-size: var(--lumo-font-size-m);
14
+ line-height: var(--lumo-line-height-m);
15
+ padding: var(--lumo-space-s) var(--lumo-space-m);
16
+ -moz-osx-font-smoothing: grayscale;
17
+ -webkit-font-smoothing: antialiased;
18
+ -webkit-text-size-adjust: 100%;
19
+ --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
20
+ --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
21
+ }
22
+
23
+ :host([hidden]) {
24
+ display: none !important;
25
+ }
26
+
27
+ [part='content'] {
28
+ display: flex;
29
+ flex-direction: column;
30
+ flex-grow: 1;
31
+ }
32
+
33
+ [part='header'] {
34
+ align-items: baseline;
35
+ display: flex;
36
+ flex-flow: row wrap;
37
+ min-height: calc(var(--lumo-font-size-m) * var(--lumo-line-height-m));
38
+ }
39
+
40
+ [part='name'] {
41
+ font-weight: 500;
42
+ margin-right: var(--lumo-space-s);
43
+ }
44
+
45
+ [part='name']:empty {
46
+ margin-right: 0;
47
+ }
48
+
49
+ [part='message'] {
50
+ white-space: pre-wrap;
51
+ }
52
+
53
+ [part='time'] {
54
+ color: var(--lumo-secondary-text-color);
55
+ font-size: var(--lumo-font-size-s);
56
+ }
57
+
58
+ ::slotted([slot='avatar']) {
59
+ --vaadin-avatar-outline-width: 0;
60
+ --vaadin-avatar-size: var(--lumo-size-m);
61
+ flex-shrink: 0;
62
+ margin-top: calc(var(--lumo-space-s));
63
+ margin-inline-end: calc(var(--lumo-space-m));
64
+ }
65
+
66
+ ::slotted(vaadin-markdown) {
67
+ white-space: normal;
68
+ }
69
+
70
+ :host([focus-ring]) {
71
+ box-shadow: inset 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
72
+ }
73
+
74
+ :host([dir='rtl']) [part='name'] {
75
+ margin-left: var(--lumo-space-s);
76
+ margin-right: 0;
77
+ }
78
+
79
+ :host([dir='rtl']) [part='name']:empty {
80
+ margin-left: 0;
81
+ }
82
+ }
@@ -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
+ }