cedro 0.1.0
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/LICENSE +21 -0
- package/README.md +5 -0
- package/index.html +13 -0
- package/package.json +18 -0
- package/src/core/application.core.ts +182 -0
- package/src/core/index.ts +8 -0
- package/src/core/jsxsupport.ts +100 -0
- package/src/core/screeen.core.ts +81 -0
- package/src/core/seo.ts +79 -0
- package/src/core/themes.core.ts +237 -0
- package/src/index.ts +16 -0
- package/src/interfaces/application.interface.ts +45 -0
- package/src/interfaces/screen.interface.ts +17 -0
- package/src/interfaces/themes.interface.ts +19 -0
- package/src/interfaces/widget.interface.ts +123 -0
- package/src/types/vector2d.type.ts +4 -0
- package/src/ui/Icon.ui.ts +70 -0
- package/src/ui/IconButton.ui.ts +70 -0
- package/src/ui/button.ui.ts +88 -0
- package/src/ui/colors.ui.ts +7 -0
- package/src/ui/dialog.tsx +398 -0
- package/src/ui/index.ts +24 -0
- package/src/ui/label.ui.ts +61 -0
- package/src/ui/menu.ui.ts +192 -0
- package/src/ui/select.ui.ts +74 -0
- package/src/ui/styles/button.css +237 -0
- package/src/ui/styles/dialog.css +48 -0
- package/src/ui/styles/main.css +93 -0
- package/src/ui/styles/menu.css +56 -0
- package/src/ui/styles/textbox.css +35 -0
- package/src/ui/styles/theme/dark.css +37 -0
- package/src/ui/styles/theme/light.css +37 -0
- package/src/ui/textbox.ui.ts +132 -0
- package/src/ui/widget.builder.ui.tsx +676 -0
- package/src/ui/widget.collection.ts +19 -0
- package/src/ui/widget.ui.ts +832 -0
- package/tsconfig.json +30 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { IconButton } from "./IconButton.ui";
|
|
2
|
+
import { Menu } from "./menu.ui";
|
|
3
|
+
import { Textbox } from "./textbox.ui";
|
|
4
|
+
import { Widget } from "./widget.ui";
|
|
5
|
+
|
|
6
|
+
export class SelectItem {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
|
|
11
|
+
constructor(id: string, label: string, icon: string) {
|
|
12
|
+
this.id = id;
|
|
13
|
+
this.label = label;
|
|
14
|
+
this.icon = icon;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export class Select extends Textbox {
|
|
19
|
+
menu: Menu;
|
|
20
|
+
|
|
21
|
+
items: SelectItem[];
|
|
22
|
+
|
|
23
|
+
selectedItem: SelectItem | null;
|
|
24
|
+
|
|
25
|
+
constructor(id: string, parent: Widget | null = null) {
|
|
26
|
+
super(id, parent);
|
|
27
|
+
this.menu = new Menu(this.id + ".menu", this.id, null);
|
|
28
|
+
this.items = [];
|
|
29
|
+
this.selectedItem = null;
|
|
30
|
+
this.subscribe({
|
|
31
|
+
event: "click",
|
|
32
|
+
then: () => {
|
|
33
|
+
this.menu.clearOptions();
|
|
34
|
+
this.items.forEach((item) => {
|
|
35
|
+
this.menu.addOption(item.id, item.icon, item.label);
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
this.menu.wakeUp();
|
|
39
|
+
|
|
40
|
+
if (
|
|
41
|
+
this.getBody().clientWidth > this.menu.getBody().clientWidth
|
|
42
|
+
) {
|
|
43
|
+
this.menu.setW(this.getBody().clientWidth);
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
this.menu.subscribe({
|
|
49
|
+
event: "option-clicked",
|
|
50
|
+
then: (_e, clickedOption) => {
|
|
51
|
+
const option = clickedOption as IconButton;
|
|
52
|
+
|
|
53
|
+
const fintOption = this.items.find(
|
|
54
|
+
(item) => item.id === option.id
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
if (fintOption) {
|
|
58
|
+
this.selectedItem = fintOption;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const selectedText = this.selectedItem?.label;
|
|
62
|
+
if (selectedText) {
|
|
63
|
+
this.setValue(selectedText);
|
|
64
|
+
} else {
|
|
65
|
+
this.setValue("");
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
addItem(id: string, label: string, icon: string) {
|
|
72
|
+
this.items.push(new SelectItem(id, label, icon));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/************************************************************************/
|
|
2
|
+
/*************************************TEXT*******************************/
|
|
3
|
+
/************************************************************************/
|
|
4
|
+
|
|
5
|
+
.WUIButton-text {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
font-weight: 500;
|
|
8
|
+
text-align: center;
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
font-size: 1rem;
|
|
11
|
+
border: none;
|
|
12
|
+
border-radius: 0.25rem;
|
|
13
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
|
|
14
|
+
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
15
|
+
text-transform: uppercase;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.WUIButton-text-color-primary {
|
|
19
|
+
color: var(--palette-text-primary);
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.WUIButton-text-color-primary:hover {
|
|
24
|
+
color: var(--palette-primary-text-main);
|
|
25
|
+
background-color: var(--palette-primary-light);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.WUIButton-text-color-secondary {
|
|
29
|
+
color: var(--palette-text-primary);
|
|
30
|
+
background-color: transparent;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.WUIButton-text-color-secondary:hover {
|
|
34
|
+
color: var(--palette-secondary-text-light);
|
|
35
|
+
background-color: var(--palette-secondary-light);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.WUIButton-text-color-error {
|
|
39
|
+
color: var(--palette-text-secondary);
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.WUIButton-text-color-error:hover {
|
|
44
|
+
color: var(--palette-text-secondary);
|
|
45
|
+
background-color: var(--palette-error-text-light);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.WUIButton-text-color-warning {
|
|
49
|
+
color: var(--palette-text-secondary);
|
|
50
|
+
background-color: transparent;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.WUIButton-text-color-warning:hover {
|
|
54
|
+
color: var(--palette-warning-text-light);
|
|
55
|
+
background-color: var(--palette-warning-light);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.WUIButton-text-color-info {
|
|
59
|
+
color: var(--palette-text-secondary);
|
|
60
|
+
background-color: transparent;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.WUIButton-text-color-info:hover {
|
|
64
|
+
color: var(--palette-info-text-light);
|
|
65
|
+
background-color: var(--palette-info-light);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.WUIButton-text-color-success {
|
|
69
|
+
color: var(--palette-text-secondary);
|
|
70
|
+
background-color: transparent;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.WUIButton-text-color-success:hover {
|
|
74
|
+
color: var(--palette-success-text-light);
|
|
75
|
+
background-color: var(--palette-success-light);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/****************************************************************************/
|
|
79
|
+
/*************************************OUTLINED*******************************/
|
|
80
|
+
/****************************************************************************/
|
|
81
|
+
|
|
82
|
+
.WUIButton-outlined {
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
text-align: center;
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
border: solid 0.13rem;
|
|
88
|
+
font-size: 1rem;
|
|
89
|
+
border-radius: 0.25rem;
|
|
90
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
|
|
91
|
+
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
92
|
+
text-transform: uppercase;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.WUIButton-outlined-color-primary {
|
|
96
|
+
color: var(--palette-text-primary);
|
|
97
|
+
background-color: var(--palette-background-default);
|
|
98
|
+
border-color: var(--palette-primary-main);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.WUIButton-outlined-color-primary:hover {
|
|
102
|
+
color: var(--palette-primary-text-light);
|
|
103
|
+
background-color: var(--palette-primary-light);
|
|
104
|
+
border-color: var(--palette-primary-main);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.WUIButton-outlined-color-secondary {
|
|
108
|
+
color: var(--palette-text-primary);
|
|
109
|
+
background-color: var(--palette-background-default);
|
|
110
|
+
border-color: var(--palette-secondary-main);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.WUIButton-outlined-color-secondary:hover {
|
|
114
|
+
color: var(--palette-secondary-text-light);
|
|
115
|
+
background-color: var(--palette-secondary-light);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.WUIButton-outlined-color-error {
|
|
119
|
+
color: var(--palette-text-secondary);
|
|
120
|
+
background-color: var(--palette-background-default);
|
|
121
|
+
border-color: var(--palette-error-main);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.WUIButton-outlined-color-error:hover {
|
|
125
|
+
color: var(--palette-error-text-light);
|
|
126
|
+
background-color: var(--palette-error-light);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.WUIButton-outlined-color-warning {
|
|
130
|
+
color: var(--palette-text-secondary);
|
|
131
|
+
background-color: var(--palette-background-default);
|
|
132
|
+
border-color: var(--palette-warning-main);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.WUIButton-outlined-color-warning:hover {
|
|
136
|
+
color: var(--palette-warning-text-light);
|
|
137
|
+
background-color: var(--palette-warning-light);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.WUIButton-outlined-color-info {
|
|
141
|
+
color: var(--palette-text-secondary);
|
|
142
|
+
background-color: var(--palette-background-default);
|
|
143
|
+
border-color: var(--palette-info-main);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.WUIButton-outlined-color-info:hover {
|
|
147
|
+
color: var(--palette-info-text-light);
|
|
148
|
+
background-color: var(--palette-info-light);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.WUIButton-outlined-color-success {
|
|
152
|
+
color: var(--palette-text-secondary);
|
|
153
|
+
background-color: var(--palette-background-default);
|
|
154
|
+
border-color: var(--palette-success-main);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.WUIButton-outlined-color-success:hover {
|
|
158
|
+
color: var(--palette-success-text-light);
|
|
159
|
+
background-color: var(--palette-success-light);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/*****************************************************************************/
|
|
163
|
+
/*************************************CONTAINED*******************************/
|
|
164
|
+
/*****************************************************************************/
|
|
165
|
+
|
|
166
|
+
.WUIButton-contained {
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
font-weight: 500;
|
|
169
|
+
text-align: center;
|
|
170
|
+
background-color: transparent;
|
|
171
|
+
border: none;
|
|
172
|
+
font-size: 1rem;
|
|
173
|
+
border-radius: 0.25rem;
|
|
174
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
|
|
175
|
+
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
176
|
+
text-transform: uppercase;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.WUIButton-contained-color-primary {
|
|
180
|
+
color: var(--palette-primary-text-main);
|
|
181
|
+
background-color: var(--palette-primary-main);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.WUIButton-contained-color-primary:hover {
|
|
185
|
+
color: var(--palette-primary-text-dark);
|
|
186
|
+
background-color: var(--palette-primary-dark);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.WUIButton-contained-color-secondary {
|
|
190
|
+
color: var(--palette-secondary-text-main);
|
|
191
|
+
background-color: var(--palette-secondary-main);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.WUIButton-contained-color-secondary:hover {
|
|
195
|
+
color: var(--palette-secondary-text-dark);
|
|
196
|
+
background-color: var(--palette-secondary-dark);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.WUIButton-contained-color-error {
|
|
200
|
+
color: var(--palette-error-text-main);
|
|
201
|
+
background-color: var(--palette-error-main);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.WUIButton-contained-color-error:hover {
|
|
205
|
+
color: var(--palette-error-text-light);
|
|
206
|
+
background-color: var(--palette-error-light);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.WUIButton-contained-color-warning {
|
|
210
|
+
color: var(--palette-warning-text-main);
|
|
211
|
+
background-color: var(--palette-warning-main);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.WUIButton-contained-color-warning:hover {
|
|
215
|
+
color: var(--palette-warning-text-light);
|
|
216
|
+
background-color: var(--palette-warning-light);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.WUIButton-contained-color-info {
|
|
220
|
+
color: var(--palette-info-text-main);
|
|
221
|
+
background-color: var(--palette-info-main);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.WUIButton-contained-color-info:hover {
|
|
225
|
+
color: var(--palette-info-text-light);
|
|
226
|
+
background-color: var(--palette-info-light);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.WUIButton-contained-color-success {
|
|
230
|
+
color: var(--palette-success-text-main);
|
|
231
|
+
background-color: var(--palette-success-main);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.WUIButton-contained-color-success:hover {
|
|
235
|
+
color: var(palette-background-default);
|
|
236
|
+
background-color: var(--palette-success-light);
|
|
237
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.WUIDialog {
|
|
2
|
+
background-color: transparent;
|
|
3
|
+
border-radius: 5px;
|
|
4
|
+
box-shadow: none;
|
|
5
|
+
transition: background-color 0.3s ease;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.WUIDialogDisplayed {
|
|
9
|
+
background-color: var(--palette-background-default);
|
|
10
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
|
11
|
+
display: block !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.WUIDialogHide {
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
box-shadow: none;
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.WUITitlebar {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.WUIDialogBackground {
|
|
28
|
+
background-color: rgba(0, 0, 0, 0.01);
|
|
29
|
+
opacity: 0.1;
|
|
30
|
+
position: absolute;
|
|
31
|
+
left: 0px;
|
|
32
|
+
top: 0px;
|
|
33
|
+
right: 0px;
|
|
34
|
+
bottom: 0px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.WUIDialogResizeHandler {
|
|
38
|
+
background-color: rgba(0, 0, 0, 0.01);
|
|
39
|
+
cursor: nwse-resize;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.WUIDialogBackgroundReisizing {
|
|
43
|
+
cursor: nwse-resize;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.WUIDialogBackgroundDragging {
|
|
47
|
+
cursor: move;
|
|
48
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
body {
|
|
2
|
+
font-family: "Roboto", sans-serif;
|
|
3
|
+
background-color: var(--palette-background-default);
|
|
4
|
+
color: var(--palette-text-secondary);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
h1,
|
|
8
|
+
h2,
|
|
9
|
+
h3,
|
|
10
|
+
h4,
|
|
11
|
+
h5 {
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
text-shadow: -1px 0px 1px var(--palette-text-disabled);
|
|
14
|
+
color: var(--palette-text-primary);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
p,
|
|
18
|
+
span {
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
text-shadow: -1px 0px 1px var(--palette-text-disabled);
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
margin: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
a {
|
|
26
|
+
color: var(--palette-link);
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
text-shadow: -1px 0px 1px var(--palette-text-disabled);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
a:hover {
|
|
32
|
+
color: var(--palette-link-hover);
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.WUIFixPosition {
|
|
37
|
+
position: relative;
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cssCustom {
|
|
42
|
+
margin-top: 10px;
|
|
43
|
+
margin-bottom: 10px;
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.columnas {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: row;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
border: solid 2px var(--palette-success-dark);
|
|
52
|
+
padding: 20px;
|
|
53
|
+
border-radius: 5px;
|
|
54
|
+
background-color: var(--palette-success-light);
|
|
55
|
+
margin-bottom: 20px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.columnas p {
|
|
59
|
+
display: inline;
|
|
60
|
+
width: 48%;
|
|
61
|
+
line-height: 25px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.card {
|
|
65
|
+
background-color: var(--palette-action-hover);
|
|
66
|
+
border-radius: 5px;
|
|
67
|
+
width: 50%;
|
|
68
|
+
margin-left: auto;
|
|
69
|
+
margin-right: auto;
|
|
70
|
+
margin-top: 20px;
|
|
71
|
+
margin-bottom: 20px;
|
|
72
|
+
padding: 20px;
|
|
73
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.card h1 {
|
|
77
|
+
text-align: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.card p {
|
|
81
|
+
color: var(--palette-text-secondary);
|
|
82
|
+
line-height: 25px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.formItem {
|
|
86
|
+
width: 100%;
|
|
87
|
+
height: 40px;
|
|
88
|
+
margin-top: 25px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.formItem input {
|
|
92
|
+
width: 100% !important;
|
|
93
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.WUIMenuBackground {
|
|
2
|
+
background-color: rgba(127, 126, 126, 0.1);
|
|
3
|
+
opacity: 0.01;
|
|
4
|
+
position: absolute;
|
|
5
|
+
left: 0px;
|
|
6
|
+
top: 0px;
|
|
7
|
+
right: 0px;
|
|
8
|
+
bottom: 0px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.WUIMenuTransparent {
|
|
12
|
+
display: auto;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.WUIMenuHidden {
|
|
17
|
+
display: none;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.WUIMenuVisible {
|
|
22
|
+
display: auto;
|
|
23
|
+
opacity: 1;
|
|
24
|
+
transition: opacity 0.3s ease;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.WUIMenu {
|
|
28
|
+
position: absolute;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
background-color: var(--palette-action-hover);
|
|
31
|
+
border-radius: 5px;
|
|
32
|
+
width: 50%;
|
|
33
|
+
padding: 5px;
|
|
34
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.WUIMenuOptions {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
width: auto;
|
|
41
|
+
height: 40px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.WUIMenuOptions100w {
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.WUIMenuOptions :first-child {
|
|
49
|
+
margin-left: 10px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.WUIMenuOptions :last-child {
|
|
53
|
+
margin-left: 10px;
|
|
54
|
+
margin-right: 15px;
|
|
55
|
+
text-transform: capitalize !important;
|
|
56
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.WUIinput {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.WUIinput input {
|
|
6
|
+
outline: none;
|
|
7
|
+
/*border-collapse: collapse;*/
|
|
8
|
+
border: 2px solid var(--palette-action-disabled);
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
font-size: 1rem;
|
|
12
|
+
padding-left: 20px;
|
|
13
|
+
z-index: 1000;
|
|
14
|
+
background-color: var(--palette-background-default);
|
|
15
|
+
color: var(--palette-text-primary);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.WUIinput label {
|
|
19
|
+
position: absolute;
|
|
20
|
+
margin-left: 20px;
|
|
21
|
+
padding-left: 10px;
|
|
22
|
+
padding-right: 10px;
|
|
23
|
+
padding-top: 5px;
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
transition: all 0.3s ease;
|
|
26
|
+
color: var(--palette-text-secondary);
|
|
27
|
+
background-color: var(--palette-background-default);
|
|
28
|
+
border-radius: 5px;
|
|
29
|
+
z-index: 1001;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.WUIinput input:focus ~ label {
|
|
33
|
+
top: -15px !important;
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--palette-text-primary: #ffffff;
|
|
3
|
+
--palette-text-secondary: rgba(255, 255, 255, 0.7);
|
|
4
|
+
--palette-text-disabled: rgba(255, 255, 255, 0.5);
|
|
5
|
+
--palette-background-default: #121212;
|
|
6
|
+
--palette-background-paper: #121212;
|
|
7
|
+
--palette-action-active: #ffffff;
|
|
8
|
+
--palette-action-disabled: rgba(255, 255, 255, 0.3);
|
|
9
|
+
--palette-action-hover: rgba(255, 255, 255, 0.08);
|
|
10
|
+
--palette-action-selected: (255, 255, 255, 0.16);
|
|
11
|
+
--palette-action-disabled-bg: rgba(255, 255, 255, 0.12);
|
|
12
|
+
--palette-divider: rgba(255, 255, 255, 0.12);
|
|
13
|
+
|
|
14
|
+
--palette-primary-main: #90caf9;
|
|
15
|
+
--palette-primary-dark: #42a5f5;
|
|
16
|
+
--palette-primary-light: #e3f2fd;
|
|
17
|
+
|
|
18
|
+
--palette-secondary-main: #ce93d8;
|
|
19
|
+
--palette-secondary-dark: #ab47bc;
|
|
20
|
+
--palette-secondary-light: #f3e5f5;
|
|
21
|
+
|
|
22
|
+
--palette-error-main: #f44336;
|
|
23
|
+
--palette-error-dark: #d32f2f;
|
|
24
|
+
--palette-error-light: #e57373;
|
|
25
|
+
|
|
26
|
+
--palette-warning-main: #ffa726;
|
|
27
|
+
--palette-warning-dark: #f57c00;
|
|
28
|
+
--palette-warning-light: #ffb74d;
|
|
29
|
+
|
|
30
|
+
--palette-info-main: #29b6f6;
|
|
31
|
+
--palette-info-dark: #0288d1;
|
|
32
|
+
--palette-info-light: #4fc3f7;
|
|
33
|
+
|
|
34
|
+
--palette-success-main: #66bb6a;
|
|
35
|
+
--palette-success-dark: #388e3c;
|
|
36
|
+
--palette-success-light: #81c784;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--palette-text-primary: rgba(0, 0, 0, 0.87);
|
|
3
|
+
--palette-text-secondary: rgba(0, 0, 0, 0.6);
|
|
4
|
+
--palette-text-disabled: rgba(0, 0, 0, 0.38);
|
|
5
|
+
--palette-background-default: #ffffff;
|
|
6
|
+
--palette-background-paper: #ffffff;
|
|
7
|
+
--palette-action-active: rgba(0, 0, 0, 0.54);
|
|
8
|
+
--palette-action-disabled: rgba(0, 0, 0, 0.26);
|
|
9
|
+
--palette-action-hover: rgba(0, 0, 0, 0.04);
|
|
10
|
+
--palette-action-selected: rgba(0, 0, 0, 0.08);
|
|
11
|
+
--palette-action-disabled-bg: rgba(0, 0, 0, 0.12);
|
|
12
|
+
--palette-divider: rgba(0, 0, 0, 0.12);
|
|
13
|
+
|
|
14
|
+
--palette-primary-main: #90caf9;
|
|
15
|
+
--palette-primary-dark: #42a5f5;
|
|
16
|
+
--palette-primary-light: #e3f2fd;
|
|
17
|
+
|
|
18
|
+
--palette-secondary-main: #ce93d8;
|
|
19
|
+
--palette-secondary-dark: #ab47bc;
|
|
20
|
+
--palette-secondary-light: #f3e5f5;
|
|
21
|
+
|
|
22
|
+
--palette-error-main: #f44336;
|
|
23
|
+
--palette-error-dark: #d32f2f;
|
|
24
|
+
--palette-error-light: #e57373;
|
|
25
|
+
|
|
26
|
+
--palette-warning-main: #ffa726;
|
|
27
|
+
--palette-warning-dark: #f57c00;
|
|
28
|
+
--palette-warning-light: #ffb74d;
|
|
29
|
+
|
|
30
|
+
--palette-info-main: #29b6f6;
|
|
31
|
+
--palette-info-dark: #0288d1;
|
|
32
|
+
--palette-info-light: #4fc3f7;
|
|
33
|
+
|
|
34
|
+
--palette-success-main: #66bb6a;
|
|
35
|
+
--palette-success-dark: #388e3c;
|
|
36
|
+
--palette-success-light: #81c784;
|
|
37
|
+
}
|