@vaadin/vaadin-lumo-styles 25.0.0-alpha6 → 25.0.0-alpha8

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