@vaadin/vaadin-lumo-styles 25.0.0-alpha6 → 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.
- package/components/accordion-heading.css +14 -0
- package/components/accordion-panel.css +15 -0
- package/components/accordion.css +7 -0
- package/components/app-layout.css +11 -0
- package/components/avatar-group.css +31 -0
- package/components/avatar.css +17 -0
- package/components/button.css +12 -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/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 +11 -0
- package/components/menu-bar.css +47 -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 +28 -0
- package/components/vertical-layout.css +11 -0
- package/components.css +71 -0
- package/global.css +14 -0
- package/lumo.css +8 -0
- package/package.json +8 -6
- 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 +15 -0
- package/src/components/avatar-group.css +67 -0
- package/src/components/avatar.css +110 -0
- package/src/components/button.css +335 -0
- package/src/components/card.css +38 -0
- package/src/components/chart.css +88 -0
- package/src/components/checkbox-group.css +18 -0
- package/src/components/checkbox.css +341 -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 +59 -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 +41 -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 +94 -0
- package/src/components/dashboard-section.css +113 -0
- package/src/components/dashboard-widget.css +224 -0
- package/src/components/dashboard.css +23 -0
- package/src/components/date-picker-month-calendar.css +192 -0
- package/src/components/date-picker-overlay-content.css +161 -0
- package/src/components/date-picker-overlay.css +60 -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 +173 -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 +11 -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 +84 -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 +38 -0
- package/src/components/icon.css +47 -0
- package/src/components/input-container.css +230 -0
- package/src/components/item.css +94 -0
- package/src/components/list-box.css +31 -0
- package/src/components/login-form-wrapper.css +128 -0
- package/src/components/login-overlay-wrapper.css +179 -0
- package/src/components/map.css +437 -0
- package/src/components/master-detail-layout.css +26 -0
- package/src/components/menu-bar-button.css +128 -0
- package/src/components/menu-bar-item.css +24 -0
- package/src/components/menu-bar-overlay.css +10 -0
- package/src/components/menu-bar.css +31 -0
- package/src/components/message-input.css +30 -0
- package/src/components/message.css +82 -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 +98 -0
- package/src/components/notification-card.css +228 -0
- package/src/components/notification-container.css +53 -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 +162 -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 +485 -0
- package/src/components/scroller.css +40 -0
- package/src/components/select-overlay.css +54 -0
- package/src/components/select-value-button.css +57 -0
- package/src/components/select.css +56 -0
- package/src/components/side-nav-item.css +170 -0
- package/src/components/side-nav.css +102 -0
- package/src/components/split-layout.css +132 -0
- package/src/components/tab.css +246 -0
- package/src/components/tabs.css +285 -0
- package/src/components/tabsheet.css +59 -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 +53 -0
- package/src/components/upload-file-list.css +24 -0
- package/src/components/upload-file.css +133 -0
- package/src/components/upload-icon.css +14 -0
- package/src/components/upload.css +56 -0
- package/src/components/user-tag.css +48 -0
- package/src/components/user-tags-overlay.css +67 -0
- package/src/components/vertical-layout.css +38 -0
- package/src/global/badge.css +167 -0
- package/src/global/dark.css +93 -0
- package/src/global/style.css +93 -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 +253 -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 +113 -0
- package/src/mixins/resizable-overlay.css +99 -0
- package/src/props/color.css +98 -0
- package/src/props/icons.css +61 -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 +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,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
|
+
}
|