@openremote/theme 1.13.1 → 1.14.0-snapshot
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/README.md +1 -1
- package/package.json +10 -5
- package/src/components/index.css +39 -0
- package/src/components/or-vaadin-button.css +26 -0
- package/src/components/or-vaadin-checkbox-group.css +45 -0
- package/src/components/or-vaadin-checkbox.css +73 -0
- package/src/components/or-vaadin-date-picker.css +50 -0
- package/src/components/or-vaadin-date-time-picker.css +45 -0
- package/src/components/or-vaadin-dialog.css +37 -0
- package/src/components/or-vaadin-icon.css +26 -0
- package/src/components/or-vaadin-multi-select-combo-box.css +59 -0
- package/src/components/or-vaadin-number-field.css +34 -0
- package/src/components/or-vaadin-password-field.css +39 -0
- package/src/components/or-vaadin-radio-group.css +33 -0
- package/src/components/or-vaadin-select.css +50 -0
- package/src/components/or-vaadin-text-area.css +34 -0
- package/src/components/or-vaadin-text-field.css +33 -0
- package/src/components/or-vaadin-time-picker.css +46 -0
- package/src/default.css +16 -3
- package/src/index.d.ts +3 -0
- package/src/index.js +21 -0
- package/src/mixins/field-internal.css +34 -0
- package/src/mixins/index.css +20 -0
- package/build.gradle +0 -16
- package/rspack.config.js +0 -8
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ yarn add @openremote/theme
|
|
|
21
21
|
### Using JavaScript / TypeScript:
|
|
22
22
|
Note: using the `<style>` tag is an example here. Please check the documentation of your JavaScript bundler for proper installation of CSS files.
|
|
23
23
|
```typescript
|
|
24
|
-
import themeCss from "@openremote/theme
|
|
24
|
+
import themeCss from "@openremote/theme";
|
|
25
25
|
|
|
26
26
|
// Apply theme to the app
|
|
27
27
|
const style = document.createElement("style");
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openremote/theme",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0-snapshot",
|
|
4
4
|
"description": "CSS themes for OpenRemote components",
|
|
5
|
-
"main": "src/index.
|
|
6
|
-
"module": "src/index.css",
|
|
5
|
+
"main": "src/index.js",
|
|
7
6
|
"types": "src/index.d.ts",
|
|
8
7
|
"exports": {
|
|
9
|
-
".":
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./src/index.d.ts",
|
|
10
|
+
"import": "./src/index.js"
|
|
11
|
+
},
|
|
10
12
|
"./*.css": "./src/*.css",
|
|
11
13
|
"./*": "./*"
|
|
12
14
|
},
|
|
@@ -17,7 +19,10 @@
|
|
|
17
19
|
"repository": "https://github.com/openremote/openremote",
|
|
18
20
|
"license": "AGPL-3.0-or-later",
|
|
19
21
|
"dependencies": {
|
|
20
|
-
"@vaadin/vaadin-lumo-styles": "~25.0.
|
|
22
|
+
"@vaadin/vaadin-lumo-styles": "~25.0.3"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@openremote/util": "1.14.0-snapshot"
|
|
21
26
|
},
|
|
22
27
|
"publishConfig": {
|
|
23
28
|
"access": "public"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/* IMPORTANT:
|
|
22
|
+
* The import order can affect whether styling will be applied or not. This only
|
|
23
|
+
* seems to be an issue when using Rspack.
|
|
24
|
+
*/
|
|
25
|
+
@import "./or-vaadin-button.css";
|
|
26
|
+
@import "./or-vaadin-checkbox-group.css";
|
|
27
|
+
@import "./or-vaadin-checkbox.css"; /* Must be after the checkbox-group */
|
|
28
|
+
@import "./or-vaadin-date-time-picker.css";
|
|
29
|
+
@import "./or-vaadin-date-picker.css"; /* Must be after the date-time-picker */
|
|
30
|
+
@import "./or-vaadin-dialog.css";
|
|
31
|
+
@import "./or-vaadin-icon.css";
|
|
32
|
+
@import "./or-vaadin-multi-select-combo-box.css";
|
|
33
|
+
@import "./or-vaadin-number-field.css";
|
|
34
|
+
@import "./or-vaadin-password-field.css";
|
|
35
|
+
@import "./or-vaadin-radio-group.css";
|
|
36
|
+
@import "./or-vaadin-select.css";
|
|
37
|
+
@import "./or-vaadin-text-area.css";
|
|
38
|
+
@import "./or-vaadin-text-field.css";
|
|
39
|
+
@import "./or-vaadin-time-picker.css"; /* Must be after the date-time-picker */
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/button.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-button-inject: 1;
|
|
25
|
+
--_lumo-vaadin-button-inject-modules: lumo_components_button;
|
|
26
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/checkbox-group.css";
|
|
21
|
+
|
|
22
|
+
@media lumo_components_checkbox-group-internal {
|
|
23
|
+
:host {
|
|
24
|
+
[part="group-field"] ::slotted([theme~="button"]) {
|
|
25
|
+
margin-left: 6px;
|
|
26
|
+
}
|
|
27
|
+
[part="group-field"] ::slotted([theme~="button"]:first-child) {
|
|
28
|
+
margin-left: 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:root::before,
|
|
34
|
+
:host::before {
|
|
35
|
+
--_lumo-vaadin-checkbox-group-inject: 1;
|
|
36
|
+
--_lumo-vaadin-checkbox-group-inject-modules:
|
|
37
|
+
lumo_mixins_group-field,
|
|
38
|
+
lumo_mixins_field-label,
|
|
39
|
+
lumo_mixins_field-required,
|
|
40
|
+
lumo_mixins_field-error-message,
|
|
41
|
+
lumo_mixins_field-helper,
|
|
42
|
+
lumo_components_checkbox-group,
|
|
43
|
+
lumo_components_checkbox-group-internal,
|
|
44
|
+
lumo_mixins_field-internal;
|
|
45
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/checkbox.css";
|
|
21
|
+
|
|
22
|
+
@media lumo_checkbox_toggle_button {
|
|
23
|
+
:host([theme~='button']) {
|
|
24
|
+
&::part(checkbox),
|
|
25
|
+
&::part(required-indicator) {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
&::part(label) {
|
|
29
|
+
background: var(--lumo-contrast-5pct);
|
|
30
|
+
border-radius: var(--lumo-border-radius-m);
|
|
31
|
+
color: var(--lumo-primary-color);
|
|
32
|
+
cursor: var(--lumo-clickable-cursor);
|
|
33
|
+
transition:
|
|
34
|
+
background-color 0.2s,
|
|
35
|
+
color 0.2s,
|
|
36
|
+
filter 0.2s,
|
|
37
|
+
transform 0.1s,
|
|
38
|
+
box-shadow 0.2s;
|
|
39
|
+
user-select: none;
|
|
40
|
+
--vaadin-checkbox-label-padding: 8px 14px;
|
|
41
|
+
}
|
|
42
|
+
&:active:not([disabled])::part(label) {
|
|
43
|
+
filter: brightness(0.9);
|
|
44
|
+
transform: scale(0.96);
|
|
45
|
+
transition: transform 0.05s;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host([theme~='button'][checked])::part(label) {
|
|
50
|
+
background: var(--lumo-primary-color);
|
|
51
|
+
color: white;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (hover: hover) {
|
|
55
|
+
:host([theme~='button']:hover:not([checked]))::part(label) {
|
|
56
|
+
background: var(--lumo-contrast-10pct);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([theme~='button'][checked]:hover)::part(label) {
|
|
60
|
+
filter: brightness(1.1);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:root::before,
|
|
67
|
+
:host::before {
|
|
68
|
+
--_lumo-vaadin-checkbox-inject: 1;
|
|
69
|
+
--_lumo-vaadin-checkbox-inject-modules:
|
|
70
|
+
lumo_mixins_checkable-field,
|
|
71
|
+
lumo_components_checkbox,
|
|
72
|
+
lumo_checkbox_toggle_button;
|
|
73
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/date-picker.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-date-picker-inject: 1;
|
|
25
|
+
--_lumo-vaadin-date-picker-inject-modules:
|
|
26
|
+
lumo_mixins_field-label,
|
|
27
|
+
lumo_mixins_field-required,
|
|
28
|
+
lumo_mixins_field-error-message,
|
|
29
|
+
lumo_mixins_field-button,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_mixins_field-base,
|
|
32
|
+
lumo_components_date-picker,
|
|
33
|
+
lumo_mixins_field-internal;
|
|
34
|
+
|
|
35
|
+
--_lumo-vaadin-date-picker-year-inject: 1;
|
|
36
|
+
--_lumo-vaadin-date-picker-year-inject-modules: lumo_components_date-picker-year;
|
|
37
|
+
|
|
38
|
+
--_lumo-vaadin-date-picker-overlay-inject: 1;
|
|
39
|
+
--_lumo-vaadin-date-picker-overlay-inject-modules:
|
|
40
|
+
lumo_mixins_overlay,
|
|
41
|
+
lumo_mixins_menu-overlay-core,
|
|
42
|
+
lumo_mixins_menu-overlay-ext,
|
|
43
|
+
lumo_components_date-picker-overlay;
|
|
44
|
+
|
|
45
|
+
--_lumo-vaadin-date-picker-overlay-content-inject: 1;
|
|
46
|
+
--_lumo-vaadin-date-picker-overlay-content-inject-modules: lumo_components_date-picker-overlay-content;
|
|
47
|
+
|
|
48
|
+
--_lumo-vaadin-month-calendar-inject: 1;
|
|
49
|
+
--_lumo-vaadin-month-calendar-inject-modules: lumo_components_date-picker-month-calendar;
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/date-time-picker.css";
|
|
21
|
+
|
|
22
|
+
@media lumo_components_space-evenly {
|
|
23
|
+
:host {
|
|
24
|
+
[part="input-fields"] ::slotted([slot="time-picker"]) {
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
min-width: 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:root::before,
|
|
32
|
+
:host::before {
|
|
33
|
+
--_lumo-vaadin-date-time-picker-inject: 1;
|
|
34
|
+
--_lumo-vaadin-date-time-picker-inject-modules:
|
|
35
|
+
lumo_mixins_field-label,
|
|
36
|
+
lumo_mixins_field-required,
|
|
37
|
+
lumo_mixins_field-error-message,
|
|
38
|
+
lumo_mixins_field-button,
|
|
39
|
+
lumo_mixins_field-helper,
|
|
40
|
+
lumo_mixins_field-base,
|
|
41
|
+
lumo_components_custom-field,
|
|
42
|
+
lumo_components_date-time-picker,
|
|
43
|
+
lumo_components_space-evenly,
|
|
44
|
+
lumo_mixins_field-internal;
|
|
45
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/dialog.css";
|
|
21
|
+
|
|
22
|
+
@media lumo_components_dialog-overlay-internal {
|
|
23
|
+
:host::part(overlay) {
|
|
24
|
+
max-width: 600px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:root::before,
|
|
30
|
+
:host::before {
|
|
31
|
+
--_lumo-vaadin-dialog-overlay-inject: 1;
|
|
32
|
+
--_lumo-vaadin-dialog-overlay-inject-modules:
|
|
33
|
+
lumo_mixins_overlay,
|
|
34
|
+
lumo_mixins_resizable-overlay,
|
|
35
|
+
lumo_components_dialog-overlay,
|
|
36
|
+
lumo_components_dialog-overlay-internal;
|
|
37
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/icon.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-icon-inject: 1;
|
|
25
|
+
--_lumo-vaadin-icon-inject-modules: lumo_components_icon;
|
|
26
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/multi-select-combo-box.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-multi-select-combo-box-container-inject: 1;
|
|
25
|
+
--_lumo-vaadin-multi-select-combo-box-container-inject-modules:
|
|
26
|
+
lumo_components_input-container,
|
|
27
|
+
lumo_components_multi-select-combo-box-container;
|
|
28
|
+
|
|
29
|
+
--_lumo-vaadin-multi-select-combo-box-overlay-inject: 1;
|
|
30
|
+
--_lumo-vaadin-multi-select-combo-box-overlay-inject-modules:
|
|
31
|
+
lumo_mixins_loader,
|
|
32
|
+
lumo_mixins_combo-box-loader,
|
|
33
|
+
lumo_mixins_overlay,
|
|
34
|
+
lumo_mixins_menu-overlay-core,
|
|
35
|
+
lumo_mixins_combo-box-overlay,
|
|
36
|
+
lumo_components_multi-select-combo-box-overlay;
|
|
37
|
+
|
|
38
|
+
--_lumo-vaadin-multi-select-combo-box-chip-inject: 1;
|
|
39
|
+
--_lumo-vaadin-multi-select-combo-box-chip-inject-modules:
|
|
40
|
+
lumo_mixins_field-button,
|
|
41
|
+
lumo_components_multi-select-combo-box-chip;
|
|
42
|
+
|
|
43
|
+
--_lumo-vaadin-multi-select-combo-box-item-inject: 1;
|
|
44
|
+
--_lumo-vaadin-multi-select-combo-box-item-inject-modules:
|
|
45
|
+
lumo_components_item,
|
|
46
|
+
lumo_components_combo-box-item,
|
|
47
|
+
lumo_components_multi-select-combo-box-item;
|
|
48
|
+
|
|
49
|
+
--_lumo-vaadin-multi-select-combo-box-inject: 1;
|
|
50
|
+
--_lumo-vaadin-multi-select-combo-box-inject-modules:
|
|
51
|
+
lumo_mixins_field-label,
|
|
52
|
+
lumo_mixins_field-required,
|
|
53
|
+
lumo_mixins_field-error-message,
|
|
54
|
+
lumo_mixins_field-button,
|
|
55
|
+
lumo_mixins_field-helper,
|
|
56
|
+
lumo_mixins_field-base,
|
|
57
|
+
lumo_components_multi-select-combo-box,
|
|
58
|
+
lumo_mixins_field-internal;
|
|
59
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/number-field.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-number-field-inject: 1;
|
|
25
|
+
--_lumo-vaadin-number-field-inject-modules:
|
|
26
|
+
lumo_mixins_field-label,
|
|
27
|
+
lumo_mixins_field-required,
|
|
28
|
+
lumo_mixins_field-error-message,
|
|
29
|
+
lumo_mixins_field-button,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_mixins_field-base,
|
|
32
|
+
lumo_components_number-field,
|
|
33
|
+
lumo_mixins_field-internal;
|
|
34
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/password-field.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-password-field-inject: 1;
|
|
25
|
+
--_lumo-vaadin-password-field-inject-modules:
|
|
26
|
+
lumo_mixins_field-label,
|
|
27
|
+
lumo_mixins_field-required,
|
|
28
|
+
lumo_mixins_field-error-message,
|
|
29
|
+
lumo_mixins_field-button,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_mixins_field-base,
|
|
32
|
+
lumo_components_password-field,
|
|
33
|
+
lumo_mixins_field-internal;
|
|
34
|
+
|
|
35
|
+
--_lumo-vaadin-password-field-button-inject: 1;
|
|
36
|
+
--_lumo-vaadin-password-field-button-inject-modules:
|
|
37
|
+
lumo_components_button,
|
|
38
|
+
lumo_components_password-field-button;
|
|
39
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/radio-group.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-radio-group-inject: 1;
|
|
25
|
+
--_lumo-vaadin-radio-group-inject-modules:
|
|
26
|
+
lumo_mixins_group-field,
|
|
27
|
+
lumo_mixins_field-label,
|
|
28
|
+
lumo_mixins_field-required,
|
|
29
|
+
lumo_mixins_field-error-message,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_components_radio-group,
|
|
32
|
+
lumo_mixins_field-internal;
|
|
33
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/select.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-select-inject: 1;
|
|
25
|
+
--_lumo-vaadin-select-inject-modules:
|
|
26
|
+
lumo_mixins_field-label,
|
|
27
|
+
lumo_mixins_field-required,
|
|
28
|
+
lumo_mixins_field-error-message,
|
|
29
|
+
lumo_mixins_field-button,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_mixins_field-base,
|
|
32
|
+
lumo_components_select,
|
|
33
|
+
lumo_mixins_field-internal;
|
|
34
|
+
|
|
35
|
+
--_lumo-vaadin-select-item-inject: 1;
|
|
36
|
+
--_lumo-vaadin-select-item-inject-modules: lumo_components_item;
|
|
37
|
+
|
|
38
|
+
--_lumo-vaadin-select-overlay-inject: 1;
|
|
39
|
+
--_lumo-vaadin-select-overlay-inject-modules:
|
|
40
|
+
lumo_mixins_overlay,
|
|
41
|
+
lumo_mixins_menu-overlay-core,
|
|
42
|
+
lumo_mixins_menu-overlay-ext,
|
|
43
|
+
lumo_components_select-overlay;
|
|
44
|
+
|
|
45
|
+
--_lumo-vaadin-select-list-box-inject: 1;
|
|
46
|
+
--_lumo-vaadin-select-list-box-inject-modules: lumo_components_list-box;
|
|
47
|
+
|
|
48
|
+
--_lumo-vaadin-select-value-button-inject: 1;
|
|
49
|
+
--_lumo-vaadin-select-value-button-inject-modules: lumo_components_select-value-button;
|
|
50
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/text-area.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-text-area-inject: 1;
|
|
25
|
+
--_lumo-vaadin-text-area-inject-modules:
|
|
26
|
+
lumo_mixins_field-label,
|
|
27
|
+
lumo_mixins_field-required,
|
|
28
|
+
lumo_mixins_field-error-message,
|
|
29
|
+
lumo_mixins_field-button,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_mixins_field-base,
|
|
32
|
+
lumo_components_text-area,
|
|
33
|
+
lumo_mixins_field-internal;
|
|
34
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/text-field.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-text-field-inject: 1;
|
|
25
|
+
--_lumo-vaadin-text-field-inject-modules:
|
|
26
|
+
lumo_mixins_field-label,
|
|
27
|
+
lumo_mixins_field-required,
|
|
28
|
+
lumo_mixins_field-error-message,
|
|
29
|
+
lumo_mixins_field-button,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_mixins_field-base,
|
|
32
|
+
lumo_mixins_field-internal;
|
|
33
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/components/time-picker.css";
|
|
21
|
+
|
|
22
|
+
:root::before,
|
|
23
|
+
:host::before {
|
|
24
|
+
--_lumo-vaadin-time-picker-inject: 1;
|
|
25
|
+
--_lumo-vaadin-time-picker-inject-modules:
|
|
26
|
+
lumo_mixins_field-label,
|
|
27
|
+
lumo_mixins_field-required,
|
|
28
|
+
lumo_mixins_field-error-message,
|
|
29
|
+
lumo_mixins_field-button,
|
|
30
|
+
lumo_mixins_field-helper,
|
|
31
|
+
lumo_mixins_field-base,
|
|
32
|
+
lumo_components_time-picker,
|
|
33
|
+
lumo_mixins_field-internal;
|
|
34
|
+
|
|
35
|
+
--_lumo-vaadin-time-picker-item-inject: 1;
|
|
36
|
+
--_lumo-vaadin-time-picker-item-inject-modules:
|
|
37
|
+
lumo_components_item,
|
|
38
|
+
lumo_components_combo-box-item;
|
|
39
|
+
|
|
40
|
+
--_lumo-vaadin-time-picker-overlay-inject: 1;
|
|
41
|
+
--_lumo-vaadin-time-picker-overlay-inject-modules:
|
|
42
|
+
lumo_mixins_overlay,
|
|
43
|
+
lumo_mixins_menu-overlay-core,
|
|
44
|
+
lumo_mixins_combo-box-overlay,
|
|
45
|
+
lumo_components_time-picker-overlay;
|
|
46
|
+
}
|
package/src/default.css
CHANGED
|
@@ -17,10 +17,17 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Affero General Public License
|
|
18
18
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
@import "@vaadin/vaadin-lumo-styles/
|
|
20
|
+
@import "@vaadin/vaadin-lumo-styles/src/props/index.css";
|
|
21
|
+
@import "@vaadin/vaadin-lumo-styles/src/global/index.css";
|
|
22
|
+
@import "components/index.css";
|
|
23
|
+
@import "mixins/index.css";
|
|
24
|
+
|
|
25
|
+
:where(:root),
|
|
26
|
+
:where(:host) {
|
|
27
|
+
--vaadin-lumo-theme: 1;
|
|
28
|
+
}
|
|
21
29
|
|
|
22
30
|
:root[theme~="dark"] {
|
|
23
|
-
|
|
24
31
|
/* Dark theme - Base colors */
|
|
25
32
|
--or-color-base: hsla(120, 20%, 1%);
|
|
26
33
|
--or-color-base-5pct: hsla(120, 6%, 14%);
|
|
@@ -75,7 +82,6 @@
|
|
|
75
82
|
}
|
|
76
83
|
|
|
77
84
|
:root {
|
|
78
|
-
|
|
79
85
|
/* Light theme - Base colors */
|
|
80
86
|
--or-color-base: hsl(0, 0%, 100%);
|
|
81
87
|
--or-color-base-5pct: hsla(118, 10%, 25%, 0.16);
|
|
@@ -165,4 +171,11 @@
|
|
|
165
171
|
--lumo-secondary-text-color: var(--or-color-text-secondary);
|
|
166
172
|
--lumo-tertiary-text-color: var(--or-color-text-tertiary);
|
|
167
173
|
--lumo-disabled-text-color: var(--or-color-text-disabled);
|
|
174
|
+
|
|
175
|
+
/* OpenRemote */
|
|
176
|
+
--lumo-border-radius-m: 0.5em;
|
|
177
|
+
--lumo-border-radius-l: 0.75em;
|
|
178
|
+
--vaadin-field-default-width: 100%;
|
|
179
|
+
--vaadin-button-margin: 0;
|
|
180
|
+
--lumo-clickable-cursor: pointer;
|
|
168
181
|
}
|
package/src/index.d.ts
CHANGED
package/src/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import css from "./index.css";
|
|
21
|
+
export default css;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
/* We intentionally remove paddings around fields so we only need to deal with
|
|
21
|
+
* our own paddings, margins and gaps.
|
|
22
|
+
*/
|
|
23
|
+
@media lumo_mixins_field-internal {
|
|
24
|
+
:host {
|
|
25
|
+
padding: 0;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
:host([has-label]) {
|
|
29
|
+
padding-top: 0;
|
|
30
|
+
}
|
|
31
|
+
[class$="container"] {
|
|
32
|
+
width: 100%; /* Lumo sets default field container width as 12em */
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025, OpenRemote Inc.
|
|
3
|
+
*
|
|
4
|
+
* See the CONTRIBUTORS.txt file in the distribution for a
|
|
5
|
+
* full listing of individual contributors.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Affero General Public License as
|
|
9
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
10
|
+
* License, or (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Affero General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
@import "./field-internal.css";
|
package/build.gradle
DELETED