@vaadin/vaadin-lumo-styles 25.0.0-alpha5 → 25.0.0-alpha7

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 (223) hide show
  1. package/components/accordion-heading.css +14 -0
  2. package/components/accordion-panel.css +15 -0
  3. package/components/accordion.css +7 -0
  4. package/components/app-layout.css +11 -0
  5. package/components/avatar-group.css +31 -0
  6. package/components/avatar.css +17 -0
  7. package/components/button.css +12 -0
  8. package/components/card.css +50 -0
  9. package/components/charts.css +11 -0
  10. package/components/checkbox-group.css +23 -0
  11. package/components/checkbox.css +14 -0
  12. package/components/combo-box.css +47 -0
  13. package/components/confirm-dialog.css +17 -0
  14. package/components/context-menu.css +32 -0
  15. package/components/crud.css +40 -0
  16. package/components/custom-field.css +20 -0
  17. package/components/dashboard.css +34 -0
  18. package/components/date-picker.css +49 -0
  19. package/components/date-time-picker.css +28 -0
  20. package/components/details-summary.css +11 -0
  21. package/components/details.css +12 -0
  22. package/components/dialog.css +16 -0
  23. package/components/drawer-toggle.css +14 -0
  24. package/components/email-field.css +25 -0
  25. package/components/field-highlighter.css +22 -0
  26. package/components/form-item.css +11 -0
  27. package/components/form-layout.css +11 -0
  28. package/components/grid-filter-column.css +6 -0
  29. package/components/grid-filter.css +12 -0
  30. package/components/grid-pro-edit-column.css +48 -0
  31. package/components/grid-pro.css +14 -0
  32. package/components/grid-selection-column.css +6 -0
  33. package/components/grid-sort-column.css +6 -0
  34. package/components/grid-sorter.css +19 -0
  35. package/components/grid-tree-column.css +6 -0
  36. package/components/grid-tree-toggle.css +11 -0
  37. package/components/grid.css +11 -0
  38. package/components/horizontal-layout.css +11 -0
  39. package/components/icon.css +11 -0
  40. package/components/input-container.css +11 -0
  41. package/components/integer-field.css +25 -0
  42. package/components/item.css +11 -0
  43. package/components/list-box.css +11 -0
  44. package/components/login-form.css +14 -0
  45. package/components/login.css +15 -0
  46. package/components/map.css +11 -0
  47. package/components/master-detail-layout.css +11 -0
  48. package/components/menu-bar.css +47 -0
  49. package/components/message-input.css +13 -0
  50. package/components/message-list.css +6 -0
  51. package/components/message.css +12 -0
  52. package/components/multi-select-combo-box.css +61 -0
  53. package/components/notification.css +15 -0
  54. package/components/number-field.css +25 -0
  55. package/components/overlay.css +11 -0
  56. package/components/password-field.css +32 -0
  57. package/components/popover.css +14 -0
  58. package/components/progress-bar.css +11 -0
  59. package/components/radio-button.css +14 -0
  60. package/components/radio-group.css +23 -0
  61. package/components/rich-text-editor.css +26 -0
  62. package/components/scroller.css +11 -0
  63. package/components/select.css +48 -0
  64. package/components/side-nav-item.css +14 -0
  65. package/components/side-nav.css +12 -0
  66. package/components/split-layout.css +11 -0
  67. package/components/tab.css +11 -0
  68. package/components/tabs.css +12 -0
  69. package/components/tabsheet.css +19 -0
  70. package/components/text-area.css +25 -0
  71. package/components/text-field.css +23 -0
  72. package/components/time-picker.css +43 -0
  73. package/components/tooltip.css +14 -0
  74. package/components/upload.css +28 -0
  75. package/components/vertical-layout.css +11 -0
  76. package/components.css +71 -0
  77. package/font-icons.js +28 -26
  78. package/global.css +14 -0
  79. package/lumo.css +8 -0
  80. package/mixins/input-field-shared.js +1 -2
  81. package/mixins/menu-overlay.js +0 -2
  82. package/package.json +8 -6
  83. package/props.css +12 -0
  84. package/src/components/accordion-heading.css +42 -0
  85. package/src/components/accordion-panel.css +38 -0
  86. package/src/components/app-layout.css +193 -0
  87. package/src/components/avatar-group-menu-item.css +22 -0
  88. package/src/components/avatar-group-overlay.css +15 -0
  89. package/src/components/avatar-group.css +67 -0
  90. package/src/components/avatar.css +110 -0
  91. package/src/components/button.css +335 -0
  92. package/src/components/card.css +38 -0
  93. package/src/components/chart.css +88 -0
  94. package/src/components/checkbox-group.css +18 -0
  95. package/src/components/checkbox.css +341 -0
  96. package/src/components/combo-box-item.css +18 -0
  97. package/src/components/combo-box-overlay.css +15 -0
  98. package/src/components/combo-box.css +14 -0
  99. package/src/components/confirm-dialog-overlay.css +59 -0
  100. package/src/components/context-menu-item.css +39 -0
  101. package/src/components/context-menu-list-box.css +40 -0
  102. package/src/components/context-menu-overlay.css +41 -0
  103. package/src/components/crud-dialog-overlay.css +57 -0
  104. package/src/components/crud-edit.css +30 -0
  105. package/src/components/crud.css +157 -0
  106. package/src/components/custom-field.css +102 -0
  107. package/src/components/dashboard-layout.css +94 -0
  108. package/src/components/dashboard-section.css +113 -0
  109. package/src/components/dashboard-widget.css +224 -0
  110. package/src/components/dashboard.css +23 -0
  111. package/src/components/date-picker-month-calendar.css +192 -0
  112. package/src/components/date-picker-overlay-content.css +161 -0
  113. package/src/components/date-picker-overlay.css +60 -0
  114. package/src/components/date-picker-year.css +35 -0
  115. package/src/components/date-picker.css +41 -0
  116. package/src/components/date-time-picker.css +36 -0
  117. package/src/components/details-summary.css +131 -0
  118. package/src/components/details.css +37 -0
  119. package/src/components/dialog-overlay.css +173 -0
  120. package/src/components/drawer-toggle.css +51 -0
  121. package/src/components/email-field.css +26 -0
  122. package/src/components/field-outline.css +51 -0
  123. package/src/components/form-item.css +36 -0
  124. package/src/components/form-layout.css +11 -0
  125. package/src/components/grid-filter.css +16 -0
  126. package/src/components/grid-pro-edit-select.css +19 -0
  127. package/src/components/grid-pro.css +84 -0
  128. package/src/components/grid-sorter.css +70 -0
  129. package/src/components/grid-tree-toggle.css +104 -0
  130. package/src/components/grid.css +755 -0
  131. package/src/components/horizontal-layout.css +38 -0
  132. package/src/components/icon.css +47 -0
  133. package/src/components/input-container.css +230 -0
  134. package/src/components/item.css +94 -0
  135. package/src/components/list-box.css +31 -0
  136. package/src/components/login-form-wrapper.css +128 -0
  137. package/src/components/login-overlay-wrapper.css +179 -0
  138. package/src/components/map.css +437 -0
  139. package/src/components/master-detail-layout.css +26 -0
  140. package/src/components/menu-bar-button.css +128 -0
  141. package/src/components/menu-bar-item.css +24 -0
  142. package/src/components/menu-bar-overlay.css +10 -0
  143. package/src/components/menu-bar.css +31 -0
  144. package/src/components/message-input.css +30 -0
  145. package/src/components/message.css +82 -0
  146. package/src/components/multi-select-combo-box-chip.css +113 -0
  147. package/src/components/multi-select-combo-box-container.css +20 -0
  148. package/src/components/multi-select-combo-box-item.css +13 -0
  149. package/src/components/multi-select-combo-box-overlay.css +18 -0
  150. package/src/components/multi-select-combo-box.css +98 -0
  151. package/src/components/notification-card.css +228 -0
  152. package/src/components/notification-container.css +53 -0
  153. package/src/components/number-field.css +53 -0
  154. package/src/components/password-field-button.css +19 -0
  155. package/src/components/password-field.css +24 -0
  156. package/src/components/popover-overlay.css +162 -0
  157. package/src/components/progress-bar.css +295 -0
  158. package/src/components/radio-button.css +156 -0
  159. package/src/components/radio-group.css +18 -0
  160. package/src/components/rich-text-editor-popup-overlay.css +27 -0
  161. package/src/components/rich-text-editor.css +485 -0
  162. package/src/components/scroller.css +40 -0
  163. package/src/components/select-overlay.css +54 -0
  164. package/src/components/select-value-button.css +57 -0
  165. package/src/components/select.css +56 -0
  166. package/src/components/side-nav-item.css +170 -0
  167. package/src/components/side-nav.css +102 -0
  168. package/src/components/split-layout.css +132 -0
  169. package/src/components/tab.css +246 -0
  170. package/src/components/tabs.css +285 -0
  171. package/src/components/tabsheet.css +59 -0
  172. package/src/components/text-area.css +116 -0
  173. package/src/components/time-picker-overlay.css +15 -0
  174. package/src/components/time-picker.css +36 -0
  175. package/src/components/tooltip-overlay.css +53 -0
  176. package/src/components/upload-file-list.css +24 -0
  177. package/src/components/upload-file.css +133 -0
  178. package/src/components/upload-icon.css +14 -0
  179. package/src/components/upload.css +56 -0
  180. package/src/components/user-tag.css +48 -0
  181. package/src/components/user-tags-overlay.css +67 -0
  182. package/src/components/vertical-layout.css +38 -0
  183. package/src/global/badge.css +167 -0
  184. package/src/global/dark.css +93 -0
  185. package/src/global/style.css +93 -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 +253 -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 +113 -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/utility.css +17 -0
  223. package/vaadin-iconset.js +2 -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,437 @@
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
+ display: block;
9
+ height: 400px;
10
+ flex: 1 1 auto;
11
+ align-self: stretch;
12
+ overflow: hidden;
13
+ font-family: var(--lumo-font-family);
14
+ font-size: var(--lumo-font-size-m);
15
+ --vaadin-map-controls-inset: var(--lumo-space-xs);
16
+ --vaadin-map-icon-zoom-in: var(--lumo-icons-plus);
17
+ --vaadin-map-icon-zoom-out: var(--lumo-icons-minus);
18
+ --vaadin-map-icon-compass: var(--lumo-icons-arrow-up);
19
+ --vaadin-map-icon-overview-map-collapse: var(--lumo-icons-angle-down);
20
+ --vaadin-map-icon-overview-map-expand: var(--lumo-icons-angle-up);
21
+ --vaadin-map-icon-close: var(--lumo-icons-cross);
22
+ --vaadin-map-icon-attribution-collapse: var(--lumo-icons-angle-right);
23
+ --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
24
+ --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
25
+ }
26
+
27
+ :host([hidden]) {
28
+ display: none !important;
29
+ }
30
+
31
+ :host(:not([theme~='no-border'])) {
32
+ border-radius: var(--lumo-border-radius-l);
33
+ position: relative;
34
+ }
35
+
36
+ :host(:not([theme~='no-border']))::before {
37
+ content: '';
38
+ position: absolute;
39
+ inset: 0;
40
+ border: 1px solid var(--lumo-contrast-10pct);
41
+ border-radius: inherit;
42
+ z-index: 1;
43
+ pointer-events: none;
44
+ }
45
+
46
+ :host([focus-ring]) {
47
+ box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
48
+ }
49
+
50
+ #map {
51
+ width: 100%;
52
+ height: 100%;
53
+ outline: none;
54
+ }
55
+
56
+ #map,
57
+ .ol-viewport,
58
+ .ol-layers {
59
+ border-radius: inherit;
60
+ overflow: hidden;
61
+ }
62
+
63
+ #map:fullscreen {
64
+ border-radius: 0;
65
+ }
66
+
67
+ #map:-webkit-full-screen {
68
+ border-radius: 0;
69
+ }
70
+
71
+ /* Functional styles, copied from 'ol/ol.css' */
72
+
73
+ .ol-box {
74
+ box-sizing: border-box;
75
+ border-radius: 2px;
76
+ border: 1px solid rgba(0, 0, 0, 0.5);
77
+ background-color: rgba(255, 255, 255, 0.2);
78
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
79
+ }
80
+
81
+ .ol-unsupported {
82
+ display: none;
83
+ }
84
+
85
+ .ol-viewport,
86
+ .ol-unselectable {
87
+ -webkit-touch-callout: none;
88
+ -webkit-user-select: none;
89
+ user-select: none;
90
+ -webkit-tap-highlight-color: transparent;
91
+ }
92
+
93
+ .ol-viewport canvas {
94
+ all: unset;
95
+ }
96
+
97
+ .ol-selectable {
98
+ -webkit-touch-callout: default;
99
+ -webkit-user-select: text;
100
+ user-select: text;
101
+ }
102
+
103
+ .ol-grabbing {
104
+ cursor: grabbing;
105
+ }
106
+
107
+ .ol-grab {
108
+ cursor: move;
109
+ cursor: grab;
110
+ }
111
+
112
+ /* Control positioning and styling */
113
+
114
+ .ol-overlaycontainer-stopevent {
115
+ /* stylelint-disable declaration-block-no-redundant-longhand-properties */
116
+ display: grid;
117
+ grid-template-columns: min-content 1fr min-content;
118
+ grid-template-rows: min-content 1fr min-content min-content min-content min-content;
119
+ padding: var(--vaadin-map-controls-inset, 0.25em);
120
+ box-sizing: border-box;
121
+ grid-template-areas:
122
+ 'scale mouse-position fullscreen'
123
+ 'overview-map . zoom-extent'
124
+ 'overview-map . compass'
125
+ 'overview-map . zoom-slider'
126
+ 'overview-map . zoom'
127
+ 'overview-map attribution attribution';
128
+ }
129
+
130
+ .ol-mouse-position {
131
+ grid-area: mouse-position;
132
+ align-self: start;
133
+ text-align: center;
134
+ font-size: 0.625em;
135
+ color: #000;
136
+ filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
137
+ }
138
+
139
+ .ol-scale-line,
140
+ .ol-scale-bar {
141
+ grid-area: scale;
142
+ position: relative;
143
+ pointer-events: none !important;
144
+ color: #000;
145
+ }
146
+
147
+ .ol-scale-line-inner {
148
+ border: 1px solid rgba(0, 0, 0, 0.5);
149
+ border-top: none;
150
+ font-size: 0.625em;
151
+ text-align: center;
152
+ will-change: contents, width, filter;
153
+ transition: all 0.25s;
154
+ filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
155
+ }
156
+
157
+ .ol-scale-bar-inner {
158
+ border: 1px solid rgba(0, 0, 0, 0.5);
159
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
160
+ overflow: hidden;
161
+ border-radius: var(--lumo-border-radius-s);
162
+ }
163
+
164
+ .ol-scale-step-marker {
165
+ display: none;
166
+ }
167
+
168
+ .ol-scale-step-text {
169
+ position: absolute;
170
+ top: 0.75em;
171
+ font-size: 0.625em;
172
+ color: #000;
173
+ filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
174
+ white-space: nowrap;
175
+ overflow: hidden;
176
+ }
177
+
178
+ .ol-scale-text {
179
+ position: absolute;
180
+ font-size: 0.625em;
181
+ top: 2em;
182
+ color: #000;
183
+ white-space: nowrap;
184
+ filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
185
+ }
186
+
187
+ .ol-scale-singlebar {
188
+ height: 0.25em;
189
+ opacity: 0.5;
190
+ }
191
+
192
+ .ol-compass {
193
+ grid-area: compass;
194
+ display: block;
195
+ will-change: transform;
196
+ }
197
+
198
+ .ol-rotate {
199
+ grid-area: compass;
200
+ }
201
+
202
+ .ol-compass:empty::before {
203
+ content: var(--vaadin-map-icon-compass, '\\2191');
204
+ }
205
+
206
+ .ol-full-screen {
207
+ grid-area: fullscreen;
208
+ height: var(--lumo-size-s);
209
+ }
210
+
211
+ .ol-full-screen button:empty::before {
212
+ content: var(--vaadin-map-icon-fullscreen, '\2922');
213
+ }
214
+
215
+ .ol-full-screen .ol-full-screen-true:empty::before {
216
+ content: var(--vaadin-map-icon-close, '\00D7');
217
+ }
218
+
219
+ .ol-overviewmap {
220
+ grid-area: overview-map;
221
+ align-self: end;
222
+ width: max-content;
223
+ }
224
+
225
+ .ol-overviewmap button span:empty::before {
226
+ content: var(--vaadin-map-icon-overview-map-collapse, '\25BE');
227
+ }
228
+
229
+ .ol-overviewmap.ol-collapsed button span:empty::before {
230
+ content: var(--vaadin-map-icon-overview-map-expand, '\25B4');
231
+ }
232
+
233
+ .ol-overviewmap-map {
234
+ height: 10em;
235
+ width: 10em;
236
+ margin: var(--lumo-space-xs);
237
+ border: 0;
238
+ border-radius: var(--lumo-border-radius-s);
239
+ }
240
+
241
+ .ol-overviewmap.ol-collapsed .ol-overviewmap-map,
242
+ .ol-overviewmap.ol-uncollapsible button {
243
+ display: none;
244
+ }
245
+
246
+ .ol-overviewmap-box {
247
+ border: 1px dashed rgba(0, 0, 0, 0.5);
248
+ filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
249
+ will-change: filter;
250
+ cursor: move;
251
+ }
252
+
253
+ .ol-overviewmap:not(.ol-collapsed),
254
+ .ol-overviewmap:not(.ol-collapsed):hover {
255
+ background-color: var(--lumo-base-color);
256
+ box-shadow: var(--lumo-box-shadow-s);
257
+ transition: 0.15s box-shadow;
258
+ }
259
+
260
+ .ol-overviewmap:not(.ol-uncollapsible) .ol-overviewmap-map {
261
+ margin-bottom: 0;
262
+ }
263
+
264
+ .ol-zoomslider {
265
+ grid-area: zoom-slider;
266
+ height: 8em;
267
+ }
268
+
269
+ .ol-zoomslider button {
270
+ position: relative;
271
+ display: block;
272
+ border-radius: inherit;
273
+ height: var(--lumo-space-m);
274
+ }
275
+
276
+ .ol-zoomslider:hover button {
277
+ box-shadow: var(--lumo-box-shadow-s);
278
+ }
279
+
280
+ .ol-zoomslider:not(.ol-uncollapsible):hover {
281
+ box-shadow: none;
282
+ overflow: visible;
283
+ }
284
+
285
+ .ol-zoom-extent {
286
+ grid-area: zoom-extent;
287
+ align-self: end;
288
+ }
289
+
290
+ .ol-control,
291
+ .ol-scale-bar,
292
+ .ol-scale-line {
293
+ margin: var(--lumo-space-xs);
294
+ }
295
+
296
+ .ol-control {
297
+ margin: 0.25em;
298
+ border-radius: var(--lumo-border-radius-m);
299
+ transition:
300
+ 0.15s box-shadow,
301
+ 0.15s background-color;
302
+ -webkit-backdrop-filter: blur(8px);
303
+ }
304
+
305
+ .ol-control:hover {
306
+ background-color: var(--lumo-base-color);
307
+ }
308
+
309
+ .ol-control:not(.ol-uncollapsible):hover {
310
+ box-shadow: var(--lumo-box-shadow-s);
311
+ background-color: var(--lumo-shade-20pct);
312
+ }
313
+
314
+ .ol-control button {
315
+ appearance: none;
316
+ border: 0;
317
+ margin: 0;
318
+ padding: 0;
319
+ background: #fff;
320
+ font: inherit;
321
+ color: inherit;
322
+ width: var(--lumo-size-s);
323
+ height: var(--lumo-size-s);
324
+ border-radius: inherit;
325
+ font-family: 'lumo-icons';
326
+ font-size: var(--lumo-icon-size-s);
327
+ font-weight: 400;
328
+ }
329
+
330
+ .ol-control button::-moz-focus-inner {
331
+ border: none;
332
+ padding: 0;
333
+ }
334
+
335
+ .ol-control button,
336
+ .ol-attribution:not(.ol-uncollapsible) ul {
337
+ transition: 0.15s opacity;
338
+ background-color: var(--lumo-base-color);
339
+ color: var(--lumo-body-text-color);
340
+ opacity: 0.65;
341
+ }
342
+
343
+ .ol-control:hover button,
344
+ .ol-control button:focus,
345
+ .ol-attribution:hover ul {
346
+ opacity: 1;
347
+ }
348
+
349
+ .ol-control button:hover {
350
+ color: var(--lumo-primary-text-color);
351
+ }
352
+
353
+ .ol-control button:active {
354
+ background: var(--lumo-base-color) linear-gradient(var(--lumo-contrast-5pct), var(--lumo-contrast-5pct));
355
+ }
356
+
357
+ .ol-control button:focus-visible {
358
+ outline: none;
359
+ box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
360
+ }
361
+
362
+ .ol-zoom {
363
+ grid-area: zoom;
364
+ display: flex;
365
+ flex-direction: column;
366
+ gap: 2px;
367
+ }
368
+
369
+ .ol-zoom-in:empty::before {
370
+ content: var(--vaadin-map-icon-zoom-in, '+');
371
+ }
372
+
373
+ .ol-zoom-out:empty::before {
374
+ content: var(--vaadin-map-icon-zoom-out, '\2013');
375
+ }
376
+
377
+ button.ol-zoom-in {
378
+ border-bottom-left-radius: 0;
379
+ border-bottom-right-radius: 0;
380
+ }
381
+
382
+ button.ol-zoom-out {
383
+ border-top-left-radius: 0;
384
+ border-top-right-radius: 0;
385
+ }
386
+
387
+ .ol-attribution {
388
+ grid-area: attribution;
389
+ margin-inline-start: auto !important;
390
+ display: flex;
391
+ flex-flow: row-reverse;
392
+ }
393
+
394
+ .ol-attribution.ol-uncollapsible {
395
+ margin-inline-end: calc(var(--vaadin-map-controls-inset, 0.25em) * -1);
396
+ margin-block-end: calc(var(--vaadin-map-controls-inset, 0.25em) * -1);
397
+ border-radius: var(--lumo-border-radius-m) 0 0 0;
398
+ }
399
+
400
+ .ol-attribution button span:empty::before {
401
+ content: var(--vaadin-map-icon-attribution-collapse, '\\25B8');
402
+ }
403
+
404
+ .ol-attribution.ol-collapsed button span:empty::before {
405
+ content: var(--vaadin-map-icon-attribution-expand, '\\2139');
406
+ }
407
+
408
+ .ol-attribution ul {
409
+ display: flex;
410
+ align-items: center;
411
+ gap: 1em;
412
+ list-style: none;
413
+ margin: 0;
414
+ font-size: 0.8em;
415
+ font-size: var(--lumo-font-size-xxs);
416
+ color: var(--lumo-secondary-text-color);
417
+ padding: var(--lumo-space-xs) var(--lumo-space-s);
418
+ cursor: default;
419
+ }
420
+
421
+ .ol-attribution.ol-collapsed ul {
422
+ display: none;
423
+ }
424
+
425
+ .ol-attribution.ol-uncollapsible button {
426
+ display: none;
427
+ }
428
+
429
+ .ol-attribution:not(.ol-uncollapsible) ul {
430
+ background-color: var(--lumo-base-color);
431
+ }
432
+
433
+ .ol-attribution a {
434
+ color: inherit;
435
+ cursor: pointer;
436
+ }
437
+ }
@@ -0,0 +1,26 @@
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
+ }
10
+
11
+ :host([drawer]) [part='detail'] {
12
+ box-shadow: var(--lumo-box-shadow-s);
13
+ }
14
+
15
+ :host([drawer][orientation='horizontal']) [part='detail'] {
16
+ border-inline-start: 1px solid var(--lumo-contrast-10pct);
17
+ }
18
+
19
+ :host([drawer][orientation='vertical']) [part='detail'] {
20
+ border-block-start: 1px solid var(--lumo-contrast-10pct);
21
+ }
22
+
23
+ :host([drawer]) [part='backdrop'] {
24
+ background-color: var(--lumo-shade-20pct);
25
+ }
26
+ }