@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.
- 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/font-icons.js +28 -26
- package/global.css +14 -0
- package/lumo.css +8 -0
- package/mixins/input-field-shared.js +1 -2
- package/mixins/menu-overlay.js +0 -2
- 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
- package/vaadin-iconset.js +2 -0
|
@@ -0,0 +1,133 @@
|
|
|
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_upload-file {
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
padding: var(--lumo-space-s) 0;
|
|
10
|
+
outline: none;
|
|
11
|
+
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
12
|
+
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[hidden] {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[part='row'] {
|
|
20
|
+
list-style-type: none;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: baseline;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
button {
|
|
27
|
+
background: transparent;
|
|
28
|
+
padding: 0;
|
|
29
|
+
border: none;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host([complete]) ::slotted([slot='progress']),
|
|
34
|
+
:host([error]) ::slotted([slot='progress']) {
|
|
35
|
+
display: none !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host([focus-ring]) [part='row'] {
|
|
39
|
+
border-radius: var(--lumo-border-radius-s);
|
|
40
|
+
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[part='status'],
|
|
44
|
+
[part='error'] {
|
|
45
|
+
color: var(--lumo-secondary-text-color);
|
|
46
|
+
font-size: var(--lumo-font-size-s);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[part='info'] {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: baseline;
|
|
52
|
+
flex: auto;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[part='meta'] {
|
|
56
|
+
width: 0.001px;
|
|
57
|
+
flex: 1 1 auto;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[part='name'] {
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[part='commands'] {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: baseline;
|
|
69
|
+
flex: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[part$='icon'] {
|
|
73
|
+
margin-right: var(--lumo-space-xs);
|
|
74
|
+
font-size: var(--lumo-icon-size-m);
|
|
75
|
+
font-family: 'lumo-icons';
|
|
76
|
+
line-height: 1;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* When both icons are hidden, let us keep space for one */
|
|
80
|
+
[part='done-icon'][hidden] + [part='warning-icon'][hidden] {
|
|
81
|
+
display: block !important;
|
|
82
|
+
visibility: hidden;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[part$='button'] {
|
|
86
|
+
flex: none;
|
|
87
|
+
margin-left: var(--lumo-space-xs);
|
|
88
|
+
cursor: var(--lumo-clickable-cursor);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[part$='button']:focus {
|
|
92
|
+
outline: none;
|
|
93
|
+
border-radius: var(--lumo-border-radius-s);
|
|
94
|
+
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[part$='icon']::before,
|
|
98
|
+
[part$='button']::before {
|
|
99
|
+
vertical-align: -0.25em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[part='done-icon']::before {
|
|
103
|
+
content: var(--lumo-icons-checkmark);
|
|
104
|
+
color: var(--lumo-primary-text-color);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[part='warning-icon']::before {
|
|
108
|
+
content: var(--lumo-icons-error);
|
|
109
|
+
color: var(--lumo-error-text-color);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[part='start-button']::before {
|
|
113
|
+
content: var(--lumo-icons-play);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[part='retry-button']::before {
|
|
117
|
+
content: var(--lumo-icons-reload);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[part='remove-button']::before {
|
|
121
|
+
content: var(--lumo-icons-cross);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[part='error'] {
|
|
125
|
+
color: var(--lumo-error-text-color);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
::slotted([slot='progress']) {
|
|
129
|
+
width: auto;
|
|
130
|
+
margin-left: calc(var(--lumo-icon-size-m) + var(--lumo-space-xs));
|
|
131
|
+
margin-right: calc(var(--lumo-icon-size-m) + var(--lumo-space-xs));
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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_upload-icon {
|
|
7
|
+
:host::before {
|
|
8
|
+
content: var(--lumo-icons-upload);
|
|
9
|
+
font-family: lumo-icons;
|
|
10
|
+
font-size: var(--lumo-icon-size-m);
|
|
11
|
+
line-height: 1;
|
|
12
|
+
vertical-align: -0.25em;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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_upload {
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
position: relative;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
line-height: var(--lumo-line-height-m);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host([hidden]) {
|
|
15
|
+
display: none !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[hidden] {
|
|
19
|
+
display: none !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host(:not([nodrop])) {
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
border: 1px dashed var(--lumo-contrast-20pct);
|
|
25
|
+
border-radius: var(--lumo-border-radius-l);
|
|
26
|
+
padding: var(--lumo-space-m);
|
|
27
|
+
transition:
|
|
28
|
+
background-color 0.6s,
|
|
29
|
+
border-color 0.6s;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[part='drop-label'] {
|
|
33
|
+
display: inline-block;
|
|
34
|
+
white-space: normal;
|
|
35
|
+
padding: 0 var(--lumo-space-s);
|
|
36
|
+
color: var(--lumo-secondary-text-color);
|
|
37
|
+
font-family: var(--lumo-font-family);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([dragover-valid]) {
|
|
41
|
+
border-color: var(--lumo-primary-color-50pct);
|
|
42
|
+
background: var(--lumo-primary-color-10pct);
|
|
43
|
+
transition:
|
|
44
|
+
background-color 0.1s,
|
|
45
|
+
border-color 0.1s;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host([dragover-valid]) [part='drop-label'] {
|
|
49
|
+
color: var(--lumo-primary-text-color);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([disabled]) [part='drop-label'],
|
|
53
|
+
:host([max-files-reached]) [part='drop-label'] {
|
|
54
|
+
color: var(--lumo-disabled-text-color);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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_user-tag {
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
margin: 0 0 var(--vaadin-user-tag-offset);
|
|
11
|
+
opacity: 0;
|
|
12
|
+
height: 1.3rem;
|
|
13
|
+
transition: opacity 0.2s ease-in-out;
|
|
14
|
+
background-color: var(--vaadin-user-tag-color);
|
|
15
|
+
color: #fff;
|
|
16
|
+
cursor: default;
|
|
17
|
+
-webkit-user-select: none;
|
|
18
|
+
user-select: none;
|
|
19
|
+
--vaadin-user-tag-offset: 4px;
|
|
20
|
+
font-family: var(--lumo-font-family);
|
|
21
|
+
font-size: var(--lumo-font-size-xxs);
|
|
22
|
+
border-radius: var(--lumo-border-radius-s);
|
|
23
|
+
box-shadow: var(--lumo-box-shadow-xs);
|
|
24
|
+
--vaadin-user-tag-offset: var(--lumo-space-xs);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host(.show) {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host(:last-of-type) {
|
|
32
|
+
margin-bottom: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[part='name'] {
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
text-overflow: ellipsis;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
height: 1.3rem;
|
|
41
|
+
font-size: 13px;
|
|
42
|
+
color: var(--lumo-primary-contrast-color);
|
|
43
|
+
padding: 0.3em calc(0.3em + var(--lumo-border-radius-s) / 4);
|
|
44
|
+
line-height: 1;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
min-width: calc(var(--lumo-line-height-xs) * 1em + 0.45em);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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_user-tags-overlay {
|
|
7
|
+
[part='overlay'] {
|
|
8
|
+
box-shadow: none;
|
|
9
|
+
background: transparent;
|
|
10
|
+
position: relative;
|
|
11
|
+
left: -4px;
|
|
12
|
+
padding: 4px;
|
|
13
|
+
outline: none;
|
|
14
|
+
overflow: visible;
|
|
15
|
+
will-change: opacity, transform;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
::slotted([part='tags']) {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host([dir='rtl']) [part='overlay'] {
|
|
25
|
+
left: auto;
|
|
26
|
+
right: -4px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[part='content'] {
|
|
30
|
+
padding: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host([opening]),
|
|
34
|
+
:host([closing]) {
|
|
35
|
+
animation: 0.14s user-tags-overlay-dummy-animation;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@keyframes user-tags-overlay-dummy-animation {
|
|
39
|
+
0% {
|
|
40
|
+
opacity: 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
100% {
|
|
44
|
+
opacity: 1;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host([opening]) [part='overlay'] {
|
|
49
|
+
animation: 0.1s lumo-user-tags-enter ease-out both;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@keyframes lumo-user-tags-enter {
|
|
53
|
+
0% {
|
|
54
|
+
opacity: 0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host([closing]) [part='overlay'] {
|
|
59
|
+
animation: 0.1s lumo-user-tags-exit both;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@keyframes lumo-user-tags-exit {
|
|
63
|
+
100% {
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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_vertical-layout {
|
|
7
|
+
:host([theme~='margin']) {
|
|
8
|
+
margin: var(--lumo-space-m);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host([theme~='padding']) {
|
|
12
|
+
padding: var(--lumo-space-m);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([theme~='spacing-xs']) {
|
|
16
|
+
gap: var(--lumo-space-xs);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([theme~='spacing-s']) {
|
|
20
|
+
gap: var(--lumo-space-s);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([theme~='spacing']) {
|
|
24
|
+
gap: var(--lumo-space-m);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host([theme~='spacing-l']) {
|
|
28
|
+
gap: var(--lumo-space-l);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host([theme~='spacing-xl']) {
|
|
32
|
+
gap: var(--lumo-space-xl);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([theme~='wrap']) {
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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
|
+
[theme~='badge'] {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
padding: 0.4em calc(0.5em + var(--lumo-border-radius-s) / 4);
|
|
12
|
+
color: var(--lumo-primary-text-color);
|
|
13
|
+
background-color: var(--lumo-primary-color-10pct);
|
|
14
|
+
border-radius: var(--lumo-border-radius-s);
|
|
15
|
+
font-family: var(--lumo-font-family);
|
|
16
|
+
font-size: var(--lumo-font-size-s);
|
|
17
|
+
line-height: 1;
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
text-transform: initial;
|
|
20
|
+
letter-spacing: initial;
|
|
21
|
+
min-width: calc(var(--lumo-line-height-xs) * 1em + 0.45em);
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Ensure proper vertical alignment */
|
|
26
|
+
[theme~='badge']::before {
|
|
27
|
+
display: inline-block;
|
|
28
|
+
content: '\2003';
|
|
29
|
+
width: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[theme~='badge'][theme~='small'] {
|
|
33
|
+
font-size: var(--lumo-font-size-xxs);
|
|
34
|
+
line-height: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Colors */
|
|
38
|
+
|
|
39
|
+
[theme~='badge'][theme~='success'] {
|
|
40
|
+
color: var(--lumo-success-text-color);
|
|
41
|
+
background-color: var(--lumo-success-color-10pct);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[theme~='badge'][theme~='error'] {
|
|
45
|
+
color: var(--lumo-error-text-color);
|
|
46
|
+
background-color: var(--lumo-error-color-10pct);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[theme~='badge'][theme~='warning'] {
|
|
50
|
+
color: var(--lumo-warning-text-color);
|
|
51
|
+
background-color: var(--lumo-warning-color-10pct);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[theme~='badge'][theme~='contrast'] {
|
|
55
|
+
color: var(--lumo-contrast-80pct);
|
|
56
|
+
background-color: var(--lumo-contrast-5pct);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Primary */
|
|
60
|
+
|
|
61
|
+
[theme~='badge'][theme~='primary'] {
|
|
62
|
+
color: var(--lumo-primary-contrast-color);
|
|
63
|
+
background-color: var(--lumo-primary-color);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[theme~='badge'][theme~='success'][theme~='primary'] {
|
|
67
|
+
color: var(--lumo-success-contrast-color);
|
|
68
|
+
background-color: var(--lumo-success-color);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[theme~='badge'][theme~='error'][theme~='primary'] {
|
|
72
|
+
color: var(--lumo-error-contrast-color);
|
|
73
|
+
background-color: var(--lumo-error-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[theme~='badge'][theme~='warning'][theme~='primary'] {
|
|
77
|
+
color: var(--lumo-warning-contrast-color);
|
|
78
|
+
background-color: var(--lumo-warning-color);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[theme~='badge'][theme~='contrast'][theme~='primary'] {
|
|
82
|
+
color: var(--lumo-base-color);
|
|
83
|
+
background-color: var(--lumo-contrast);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Links */
|
|
87
|
+
|
|
88
|
+
[theme~='badge'][href]:hover {
|
|
89
|
+
text-decoration: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Icon */
|
|
93
|
+
|
|
94
|
+
[theme~='badge'] > vaadin-icon {
|
|
95
|
+
margin: -0.25em 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
[theme~='badge'] > vaadin-icon:first-child {
|
|
99
|
+
margin-left: -0.375em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[theme~='badge'] > vaadin-icon:last-child {
|
|
103
|
+
margin-right: -0.375em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
vaadin-icon[theme~='badge'][icon] {
|
|
107
|
+
min-width: 0;
|
|
108
|
+
padding: 0;
|
|
109
|
+
font-size: 1rem;
|
|
110
|
+
width: var(--lumo-icon-size-m);
|
|
111
|
+
height: var(--lumo-icon-size-m);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
vaadin-icon[theme~='badge'][icon][theme~='small'] {
|
|
115
|
+
width: var(--lumo-icon-size-s);
|
|
116
|
+
height: var(--lumo-icon-size-s);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Empty */
|
|
120
|
+
|
|
121
|
+
[theme~='badge']:not([icon]):empty {
|
|
122
|
+
min-width: 0;
|
|
123
|
+
width: 1em;
|
|
124
|
+
height: 1em;
|
|
125
|
+
padding: 0;
|
|
126
|
+
border-radius: 50%;
|
|
127
|
+
background-color: var(--lumo-primary-color);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[theme~='badge'][theme~='small']:not([icon]):empty {
|
|
131
|
+
width: 0.75em;
|
|
132
|
+
height: 0.75em;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[theme~='badge'][theme~='contrast']:not([icon]):empty {
|
|
136
|
+
background-color: var(--lumo-contrast);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[theme~='badge'][theme~='success']:not([icon]):empty {
|
|
140
|
+
background-color: var(--lumo-success-color);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
[theme~='badge'][theme~='error']:not([icon]):empty {
|
|
144
|
+
background-color: var(--lumo-error-color);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[theme~='badge'][theme~='warning']:not([icon]):empty {
|
|
148
|
+
background-color: var(--lumo-warning-color);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Pill */
|
|
152
|
+
|
|
153
|
+
[theme~='badge'][theme~='pill'] {
|
|
154
|
+
--lumo-border-radius-s: 1em;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* RTL specific styles */
|
|
158
|
+
|
|
159
|
+
[dir='rtl'][theme~='badge'] vaadin-icon:first-child {
|
|
160
|
+
margin-right: -0.375em;
|
|
161
|
+
margin-left: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[dir='rtl'][theme~='badge'] vaadin-icon:last-child {
|
|
165
|
+
margin-left: -0.375em;
|
|
166
|
+
margin-right: 0;
|
|
167
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
[theme~='dark'] {
|
|
7
|
+
/* Base (background) */
|
|
8
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
|
9
|
+
|
|
10
|
+
/* Tint */
|
|
11
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
|
12
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
|
13
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
|
14
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
|
15
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
|
16
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
|
17
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
|
18
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
|
19
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
|
20
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
|
21
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
|
22
|
+
|
|
23
|
+
/* Shade */
|
|
24
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
|
25
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
|
26
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
|
27
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
|
28
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
|
29
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
|
30
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
|
31
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
|
32
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
|
33
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
|
34
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
|
35
|
+
|
|
36
|
+
/* Contrast */
|
|
37
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
|
38
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
|
39
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
|
40
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
|
41
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
|
42
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
|
43
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
|
44
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
|
45
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
|
46
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
|
47
|
+
--lumo-contrast: var(--lumo-tint);
|
|
48
|
+
|
|
49
|
+
/* Text */
|
|
50
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
|
51
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
52
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
53
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
54
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
55
|
+
|
|
56
|
+
/* Primary */
|
|
57
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
|
58
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
|
59
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
|
60
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
|
61
|
+
--lumo-primary-contrast-color: #fff;
|
|
62
|
+
|
|
63
|
+
/* Error */
|
|
64
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
|
65
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
|
66
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
|
67
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
|
68
|
+
|
|
69
|
+
/* Success */
|
|
70
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
|
71
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
|
72
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
|
73
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
|
74
|
+
|
|
75
|
+
/* Warning */
|
|
76
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
|
77
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
|
78
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
|
79
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
80
|
+
|
|
81
|
+
/* User colors */
|
|
82
|
+
--vaadin-user-color-0: #ff66c7;
|
|
83
|
+
--vaadin-user-color-1: #9d8aff;
|
|
84
|
+
--vaadin-user-color-2: #8aff66;
|
|
85
|
+
--vaadin-user-color-3: #ffbd66;
|
|
86
|
+
--vaadin-user-color-4: #dc6bff;
|
|
87
|
+
--vaadin-user-color-5: #66fffa;
|
|
88
|
+
--vaadin-user-color-6: #e6ff66;
|
|
89
|
+
|
|
90
|
+
color: var(--lumo-body-text-color);
|
|
91
|
+
background-color: var(--lumo-base-color);
|
|
92
|
+
color-scheme: dark;
|
|
93
|
+
}
|