@metropolle/design-system 1.0.0-beta.20250821024300.dfbe136 → 1.0.0-beta.2026.1.1.1723.0f6bc6d
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 -0
- package/dist/css/compat/back.css +466 -0
- package/dist/css/components.css +1476 -8
- package/dist/css/liquid-glass.css +468 -0
- package/dist/css/mermaid.css +163 -0
- package/dist/css/tokens.css +67 -0
- package/dist/react/components/react/DataTable/DataTable.d.ts +4 -0
- package/dist/react/components/react/DataTable/DataTable.d.ts.map +1 -0
- package/dist/react/components/react/DataTable/TableHeader.d.ts +4 -0
- package/dist/react/components/react/DataTable/TableHeader.d.ts.map +1 -0
- package/dist/react/components/react/DataTable/TableRow.d.ts +4 -0
- package/dist/react/components/react/DataTable/TableRow.d.ts.map +1 -0
- package/dist/react/components/react/DataTable/examples.d.ts +28 -0
- package/dist/react/components/react/DataTable/examples.d.ts.map +1 -0
- package/dist/react/components/react/DataTable/index.d.ts +7 -0
- package/dist/react/components/react/DataTable/index.d.ts.map +1 -0
- package/dist/react/components/react/DataTable/migration-example.d.ts +46 -0
- package/dist/react/components/react/DataTable/migration-example.d.ts.map +1 -0
- package/dist/react/components/react/DataTable/renderers.d.ts +24 -0
- package/dist/react/components/react/DataTable/renderers.d.ts.map +1 -0
- package/dist/react/components/react/DataTable/types.d.ts +57 -0
- package/dist/react/components/react/DataTable/types.d.ts.map +1 -0
- package/dist/react/components/react/GlassCard/GlassCard.d.ts +46 -6
- package/dist/react/components/react/GlassCard/GlassCard.d.ts.map +1 -1
- package/dist/react/components/react/Modal/ConfirmDialog.d.ts +17 -0
- package/dist/react/components/react/Modal/ConfirmDialog.d.ts.map +1 -0
- package/dist/react/components/react/Modal/Modal.d.ts +12 -0
- package/dist/react/components/react/Modal/Modal.d.ts.map +1 -0
- package/dist/react/components/react/Modal/ModalBody.d.ts +9 -0
- package/dist/react/components/react/Modal/ModalBody.d.ts.map +1 -0
- package/dist/react/components/react/Modal/ModalFooter.d.ts +8 -0
- package/dist/react/components/react/Modal/ModalFooter.d.ts.map +1 -0
- package/dist/react/components/react/Modal/ModalHeader.d.ts +11 -0
- package/dist/react/components/react/Modal/ModalHeader.d.ts.map +1 -0
- package/dist/react/components/react/Modal/index.d.ts +6 -0
- package/dist/react/components/react/Modal/index.d.ts.map +1 -0
- package/dist/react/components/react/Select/Select.d.ts +71 -0
- package/dist/react/components/react/Select/Select.d.ts.map +1 -0
- package/dist/react/components/react/Select/index.d.ts +2 -0
- package/dist/react/components/react/Select/index.d.ts.map +1 -0
- package/dist/react/components/react/ThemeToggle/ThemeToggle.d.ts +28 -0
- package/dist/react/components/react/ThemeToggle/ThemeToggle.d.ts.map +1 -0
- package/dist/react/components/react/ThemeToggle/index.d.ts +3 -0
- package/dist/react/components/react/ThemeToggle/index.d.ts.map +1 -0
- package/dist/react/components/react/Typography/Typography.d.ts.map +1 -1
- package/dist/react/components/react/index.d.ts +11 -0
- package/dist/react/components/react/index.d.ts.map +1 -1
- package/dist/react/index.d.ts +11 -0
- package/dist/react/index.esm.js +1147 -14
- package/dist/react/index.esm.js.map +1 -1
- package/dist/react/index.js +1164 -12
- package/dist/react/index.js.map +1 -1
- package/dist/tokens/colors.json +100 -18
- package/dist/tokens/index.d.ts +19 -24
- package/dist/tokens/index.js +69 -2
- package/dist/tokens/index.json +100 -18
- package/package.json +23 -13
package/README.md
CHANGED
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Back Compat CSS (opt-in)
|
|
3
|
+
Purpose: replicate current @back system-level styling with pixel parity,
|
|
4
|
+
without changing appearance. Import after base DS CSS.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ================================
|
|
8
|
+
Buttons (theme-responsive)
|
|
9
|
+
================================ */
|
|
10
|
+
.mds-button--primary,
|
|
11
|
+
button[class*="primary"] {
|
|
12
|
+
background-color: #60a5fa !important;
|
|
13
|
+
color: #ffffff !important;
|
|
14
|
+
border: none !important;
|
|
15
|
+
transition: all 0.2s ease !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mds-button--primary:hover,
|
|
19
|
+
button[class*="primary"]:hover {
|
|
20
|
+
background-color: #93c5fd !important;
|
|
21
|
+
transform: translateY(-1px) !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.mds-button--secondary,
|
|
25
|
+
button[class*="secondary"] {
|
|
26
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
27
|
+
color: #ffffff !important;
|
|
28
|
+
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
29
|
+
backdrop-filter: blur(10px) !important;
|
|
30
|
+
transition: all 0.2s ease !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.mds-button--secondary:hover,
|
|
34
|
+
button[class*="secondary"]:hover {
|
|
35
|
+
background-color: rgba(255, 255, 255, 0.15) !important;
|
|
36
|
+
border-color: rgba(255, 255, 255, 0.3) !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.mds-button--outline,
|
|
40
|
+
button[class*="outline"] {
|
|
41
|
+
background-color: transparent !important;
|
|
42
|
+
color: #ffffff !important;
|
|
43
|
+
border: 1px solid rgba(255, 255, 255, 0.3) !important;
|
|
44
|
+
transition: all 0.2s ease !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.mds-button--outline:hover,
|
|
48
|
+
button[class*="outline"]:hover {
|
|
49
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
50
|
+
border-color: rgba(255, 255, 255, 0.5) !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.mds-button--glass,
|
|
54
|
+
button[class*="glass"] {
|
|
55
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
56
|
+
color: #ffffff !important;
|
|
57
|
+
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
58
|
+
backdrop-filter: blur(10px) !important;
|
|
59
|
+
transition: all 0.2s ease !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.mds-button--glass:hover,
|
|
63
|
+
button[class*="glass"]:hover {
|
|
64
|
+
background-color: rgba(255, 255, 255, 0.15) !important;
|
|
65
|
+
border-color: rgba(255, 255, 255, 0.3)
|
|
66
|
+
!important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.mds-button--ghost,
|
|
70
|
+
button[class*="ghost"] {
|
|
71
|
+
background-color: transparent !important;
|
|
72
|
+
color: #ffffff !important;
|
|
73
|
+
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
74
|
+
transition: all 0.2s ease !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.mds-button--ghost:hover,
|
|
78
|
+
button[class*="ghost"]:hover {
|
|
79
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
80
|
+
border-color: rgba(255, 255, 255, 0.3) !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Raw button baseline
|
|
84
|
+
Scope only to unstyled raw buttons to avoid overriding
|
|
85
|
+
components that set inline styles or DS classes */
|
|
86
|
+
button:not([style]):not(.mds-button):not([class*="mds-button"]):not([class*="btn"]) {
|
|
87
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
88
|
+
color: #ffffff !important;
|
|
89
|
+
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
90
|
+
border-radius: 8px !important;
|
|
91
|
+
padding: 0.5rem 1rem !important;
|
|
92
|
+
cursor: pointer !important;
|
|
93
|
+
transition: all 0.2s ease !important;
|
|
94
|
+
font-family: inherit !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
button:not([style]):not(.mds-button):not([class*="mds-button"]):not([class*="btn"]):hover {
|
|
98
|
+
background-color: rgba(255, 255, 255, 0.15) !important;
|
|
99
|
+
border-color: rgba(255, 255, 255, 0.3) !important;
|
|
100
|
+
transform: translateY(-1px) !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Modal close button: keep static (no lift) but preserve vertical centering */
|
|
104
|
+
.mds-modal-header > button[aria-label="Fechar"],
|
|
105
|
+
.mds-modal-header > button[aria-label="Fechar"]:hover,
|
|
106
|
+
.mds-modal-header > button[aria-label="Fechar"]:focus,
|
|
107
|
+
.mds-modal-header > button[aria-label="Fechar"]:focus-visible {
|
|
108
|
+
position: absolute !important;
|
|
109
|
+
right: 16px !important;
|
|
110
|
+
top: 50% !important;
|
|
111
|
+
transform: translateY(-50%) !important;
|
|
112
|
+
transition: none !important;
|
|
113
|
+
box-shadow: none !important;
|
|
114
|
+
background-color: transparent !important;
|
|
115
|
+
border: none !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
button:not([style]):not(.mds-button):not([class*="mds-button"]):not([class*="btn"]):disabled {
|
|
119
|
+
opacity: 0.5 !important;
|
|
120
|
+
cursor: not-allowed !important;
|
|
121
|
+
transform: none !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* Light theme button overrides */
|
|
125
|
+
html[data-theme="light"] .mds-button--primary,
|
|
126
|
+
html[data-theme="light"] button[class*="primary"] {
|
|
127
|
+
background-color: #3b82f6 !important;
|
|
128
|
+
color: #ffffff !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
html[data-theme="light"] .mds-button--primary:hover,
|
|
132
|
+
html[data-theme="light"] button[class*="primary"]:hover {
|
|
133
|
+
background-color: #2563eb !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
html[data-theme="light"] .mds-button--secondary,
|
|
137
|
+
html[data-theme="light"] button[class*="secondary"] {
|
|
138
|
+
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
139
|
+
color: #1a1a1a !important;
|
|
140
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
html[data-theme="light"] .mds-button--secondary:hover,
|
|
144
|
+
html[data-theme="light"] button[class*="secondary"]:hover {
|
|
145
|
+
background-color: rgba(0, 0, 0, 0.08) !important;
|
|
146
|
+
border-color: rgba(0, 0, 0, 0.15) !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
html[data-theme="light"] .mds-button--outline,
|
|
150
|
+
html[data-theme="light"] button[class*="outline"] {
|
|
151
|
+
color: #1a1a1a !important;
|
|
152
|
+
border-color: rgba(0, 0, 0, 0.3) !important;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
html[data-theme="light"] .mds-button--outline:hover,
|
|
156
|
+
html[data-theme="light"] button[class*="outline"]:hover {
|
|
157
|
+
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
158
|
+
border-color: rgba(0, 0, 0, 0.5) !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
html[data-theme="light"] .mds-button--glass,
|
|
162
|
+
html[data-theme="light"] button[class*="glass"] {
|
|
163
|
+
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
164
|
+
color: #1a1a1a !important;
|
|
165
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
html[data-theme="light"] .mds-button--glass:hover,
|
|
169
|
+
html[data-theme="light"] button[class*="glass"]:hover {
|
|
170
|
+
background-color: rgba(0, 0, 0, 0.08) !important;
|
|
171
|
+
border-color: rgba(0, 0, 0, 0.15) !important;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
html[data-theme="light"] .mds-button--ghost,
|
|
175
|
+
html[data-theme="light"] button[class*="ghost"] {
|
|
176
|
+
color: #1a1a1a !important;
|
|
177
|
+
border-color: rgba(0, 0, 0, 0.2) !important;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
html[data-theme="light"] .mds-button--ghost:hover,
|
|
181
|
+
html[data-theme="light"] button[class*="ghost"]:hover {
|
|
182
|
+
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
183
|
+
border-color: rgba(0, 0, 0, 0.3) !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
html[data-theme="light"] button {
|
|
187
|
+
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
188
|
+
color: #1a1a1a !important;
|
|
189
|
+
border-color: rgba(0, 0, 0, 0.1) !important;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
html[data-theme="light"] button:hover {
|
|
193
|
+
background-color: rgba(0, 0, 0, 0.08) !important;
|
|
194
|
+
border-color: rgba(0, 0, 0, 0.15) !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* ========================================
|
|
198
|
+
Selects and period filter (theme-responsive)
|
|
199
|
+
======================================== */
|
|
200
|
+
select:not(.mds-select-themed):not(.mds-period-filter__select),
|
|
201
|
+
.mds-period-filter__select {
|
|
202
|
+
/* Match DS ghost button default state */
|
|
203
|
+
background-color: transparent !important;
|
|
204
|
+
color: #ffffff !important;
|
|
205
|
+
border: none !important;
|
|
206
|
+
border-radius: 8px !important;
|
|
207
|
+
padding: 0.5rem 1rem !important;
|
|
208
|
+
font-family: inherit !important;
|
|
209
|
+
font-size: 0.875rem !important;
|
|
210
|
+
cursor: pointer !important;
|
|
211
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
|
|
212
|
+
backdrop-filter: none !important;
|
|
213
|
+
-webkit-backdrop-filter: none !important;
|
|
214
|
+
-webkit-appearance: none !important;
|
|
215
|
+
-moz-appearance: none !important;
|
|
216
|
+
appearance: none !important;
|
|
217
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
|
|
218
|
+
background-position: right 0.5rem center !important;
|
|
219
|
+
background-repeat: no-repeat !important;
|
|
220
|
+
background-size: 1rem 1rem !important;
|
|
221
|
+
padding-right: 2.5rem !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
select:not(.mds-select-themed):not(.mds-period-filter__select):hover,
|
|
225
|
+
.mds-period-filter__select:hover {
|
|
226
|
+
/* Same hover treatment as DS ghost */
|
|
227
|
+
background-color: var(--mds-color-background-secondary) !important;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
select:not(.mds-select-themed):not(.mds-period-filter__select):focus,
|
|
231
|
+
.mds-period-filter__select:focus {
|
|
232
|
+
outline: none !important;
|
|
233
|
+
border-color: #60a5fa !important;
|
|
234
|
+
box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2) !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
select:not(.mds-select-themed):not(.mds-period-filter__select):disabled,
|
|
238
|
+
.mds-period-filter__select:disabled {
|
|
239
|
+
opacity: 0.5 !important;
|
|
240
|
+
cursor: not-allowed !important;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
select:not(.mds-select-themed):not(.mds-period-filter__select) option {
|
|
244
|
+
background-color: rgba(30, 30, 30, 0.95) !important;
|
|
245
|
+
color: #ffffff !important;
|
|
246
|
+
padding: 0.5rem !important;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* Light theme select styles */
|
|
250
|
+
html[data-theme="light"] select:not(.mds-select-themed):not(.mds-period-filter__select),
|
|
251
|
+
html[data-theme="light"] .mds-period-filter__select {
|
|
252
|
+
background-color: transparent !important;
|
|
253
|
+
color: #1a1a1a !important;
|
|
254
|
+
border: none !important;
|
|
255
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
html[data-theme="light"] select:not(.mds-select-themed):not(.mds-period-filter__select):hover,
|
|
259
|
+
html[data-theme="light"] .mds-period-filter__select:hover {
|
|
260
|
+
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
html[data-theme="light"] select:not(.mds-select-themed):not(.mds-period-filter__select):focus,
|
|
264
|
+
html[data-theme="light"] .mds-period-filter__select:focus {
|
|
265
|
+
border-color: #3b82f6 !important;
|
|
266
|
+
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
html[data-theme="light"] select:not(.mds-select-themed):not(.mds-period-filter__select) option {
|
|
270
|
+
background-color: rgba(250, 250, 250, 0.95) !important;
|
|
271
|
+
color: #1a1a1a !important;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/* Dashboard controls */
|
|
275
|
+
.mds-dashboard-controls {
|
|
276
|
+
display: flex !important;
|
|
277
|
+
gap: 1rem !important;
|
|
278
|
+
align-items: center !important;
|
|
279
|
+
flex-wrap: wrap !important;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.mds-period-filter {
|
|
283
|
+
position: relative !important;
|
|
284
|
+
min-width: 150px !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.mds-dropdown {
|
|
288
|
+
position: relative !important;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/* ========================================
|
|
292
|
+
Inputs and selects (mds-*)
|
|
293
|
+
======================================== */
|
|
294
|
+
.mds-input,
|
|
295
|
+
input.mds-input {
|
|
296
|
+
padding: 8px 12px !important;
|
|
297
|
+
min-height: 36px !important;
|
|
298
|
+
max-height: 36px !important;
|
|
299
|
+
height: 36px !important;
|
|
300
|
+
font-size: 14px !important;
|
|
301
|
+
line-height: 1.4 !important;
|
|
302
|
+
box-sizing: border-box !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* Dark theme input overrides */
|
|
306
|
+
html[data-theme="dark"] .mds-input,
|
|
307
|
+
html[data-theme="dark"] input.mds-input,
|
|
308
|
+
html:not([data-theme]) .mds-input,
|
|
309
|
+
html:not([data-theme]) input.mds-input {
|
|
310
|
+
background-color: rgba(255, 255, 255, 0.15) !important;
|
|
311
|
+
border-color: rgba(255, 255, 255, 0.4) !important;
|
|
312
|
+
color: #ffffff !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
html[data-theme="dark"] .mds-input:focus,
|
|
316
|
+
html[data-theme="dark"] input.mds-input:focus,
|
|
317
|
+
html:not([data-theme]) .mds-input:focus,
|
|
318
|
+
html:not([data-theme]) input.mds-input:focus {
|
|
319
|
+
background-color: rgba(255, 255, 255, 0.2) !important;
|
|
320
|
+
border-color: #60a5fa !important;
|
|
321
|
+
box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3) !important;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
html[data-theme="dark"] .mds-input:hover,
|
|
325
|
+
html[data-theme="dark"] input.mds-input:hover,
|
|
326
|
+
html:not([data-theme]) .mds-input:hover,
|
|
327
|
+
html:not([data-theme]) input.mds-input:hover {
|
|
328
|
+
background-color: rgba(255, 255, 255, 0.18) !important;
|
|
329
|
+
border-color: rgba(255, 255, 255, 0.5) !important;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* Light theme input overrides */
|
|
333
|
+
html[data-theme="light"] .mds-input,
|
|
334
|
+
html[data-theme="light"] input.mds-input {
|
|
335
|
+
background-color: #ffffff !important;
|
|
336
|
+
border-color: rgba(0, 0, 0, 0.2) !important;
|
|
337
|
+
color: #1a1a1a !important;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
html[data-theme="light"] .mds-input:focus,
|
|
341
|
+
html[data-theme="light"] input.mds-input:focus {
|
|
342
|
+
background-color: #ffffff !important;
|
|
343
|
+
border-color: #3b82f6 !important;
|
|
344
|
+
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
html[data-theme="light"] .mds-input:hover,
|
|
348
|
+
html[data-theme="light"] input.mds-input:hover {
|
|
349
|
+
background-color: #ffffff !important;
|
|
350
|
+
border-color: rgba(0, 0, 0, 0.3) !important;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* Placeholder overrides */
|
|
354
|
+
html[data-theme="dark"] .mds-input::-moz-placeholder, html[data-theme="dark"] input.mds-input::-moz-placeholder, html:not([data-theme]) .mds-input::-moz-placeholder, html:not([data-theme]) input.mds-input::-moz-placeholder {
|
|
355
|
+
color: rgba(255, 255, 255, 0.6) !important;
|
|
356
|
+
}
|
|
357
|
+
html[data-theme="dark"] .mds-input::placeholder,
|
|
358
|
+
html[data-theme="dark"] input.mds-input::placeholder,
|
|
359
|
+
html:not([data-theme]) .mds-input::placeholder,
|
|
360
|
+
html:not([data-theme]) input.mds-input::placeholder {
|
|
361
|
+
color: rgba(255, 255, 255, 0.6) !important;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
html[data-theme="light"] .mds-input::-moz-placeholder, html[data-theme="light"] input.mds-input::-moz-placeholder {
|
|
365
|
+
color: rgba(0, 0, 0, 0.5) !important;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
html[data-theme="light"] .mds-input::placeholder,
|
|
369
|
+
html[data-theme="light"] input.mds-input::placeholder {
|
|
370
|
+
color: rgba(0, 0, 0, 0.5) !important;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/* Ultra high priority input overrides */
|
|
374
|
+
input.mds-input,
|
|
375
|
+
.mds-input,
|
|
376
|
+
input[class*="mds-input"] {
|
|
377
|
+
padding: 8px 16px !important;
|
|
378
|
+
min-height: 40px !important;
|
|
379
|
+
max-height: 40px !important;
|
|
380
|
+
height: 40px !important;
|
|
381
|
+
font-size: 14px !important;
|
|
382
|
+
line-height: 1.4 !important;
|
|
383
|
+
box-sizing: border-box !important;
|
|
384
|
+
border-radius: 8px !important;
|
|
385
|
+
border-width: 1px !important;
|
|
386
|
+
border-style: solid !important;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* Dark theme - ultra specific */
|
|
390
|
+
html[data-theme="dark"] input.mds-input,
|
|
391
|
+
html[data-theme="dark"] .mds-input,
|
|
392
|
+
html[data-theme="dark"] input[class*="mds-input"],
|
|
393
|
+
html:not([data-theme]) input.mds-input,
|
|
394
|
+
html:not([data-theme]) .mds-input,
|
|
395
|
+
html:not([data-theme]) input[class*="mds-input"] {
|
|
396
|
+
background-color: rgba(255, 255, 255, 0.2) !important;
|
|
397
|
+
border-color: rgba(255, 255, 255, 0.5) !important;
|
|
398
|
+
color: #ffffff !important;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
html[data-theme="dark"] input.mds-input:focus,
|
|
402
|
+
html[data-theme="dark"] .mds-input:focus,
|
|
403
|
+
html[data-theme="dark"] input[class*="mds-input"]:focus,
|
|
404
|
+
html:not([data-theme]) input.mds-input:focus,
|
|
405
|
+
html:not([data-theme]) .mds-input:focus,
|
|
406
|
+
html:not([data-theme]) input[class*="mds-input"]:focus {
|
|
407
|
+
background-color: rgba(255, 255, 255, 0.25) !important;
|
|
408
|
+
border-color: #60a5fa !important;
|
|
409
|
+
box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3) !important;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* Light theme - ultra specific */
|
|
413
|
+
html[data-theme="light"] input.mds-input,
|
|
414
|
+
html[data-theme="light"] .mds-input,
|
|
415
|
+
html[data-theme="light"] input[class*="mds-input"] {
|
|
416
|
+
background-color: #ffffff !important;
|
|
417
|
+
border-color: rgba(0, 0, 0, 0.3) !important;
|
|
418
|
+
color: #1a1a1a !important;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
html[data-theme="light"] input.mds-input:focus,
|
|
422
|
+
html[data-theme="light"] .mds-input:focus,
|
|
423
|
+
html[data-theme="light"] input[class*="mds-input"]:focus {
|
|
424
|
+
background-color: #ffffff !important;
|
|
425
|
+
border-color: #3b82f6 !important;
|
|
426
|
+
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/* Select overrides with maximum specificity */
|
|
430
|
+
select.mds-select,
|
|
431
|
+
.mds-select,
|
|
432
|
+
select[class*="mds-select"] {
|
|
433
|
+
padding: 8px 16px !important;
|
|
434
|
+
min-height: 40px !important;
|
|
435
|
+
max-height: 40px !important;
|
|
436
|
+
height: 40px !important;
|
|
437
|
+
font-size: 14px !important;
|
|
438
|
+
line-height: 1.4 !important;
|
|
439
|
+
box-sizing: border-box !important;
|
|
440
|
+
border-radius: 8px !important;
|
|
441
|
+
border-width: 1px !important;
|
|
442
|
+
border-style: solid !important;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* Dark theme select overrides */
|
|
446
|
+
html[data-theme="dark"] select.mds-select,
|
|
447
|
+
html[data-theme="dark"] .mds-select,
|
|
448
|
+
html[data-theme="dark"] select[class*="mds-select"],
|
|
449
|
+
html:not([data-theme]) select.mds-select,
|
|
450
|
+
html:not([data-theme]) .mds-select,
|
|
451
|
+
html:not([data-theme]) select[class*="mds-select"] {
|
|
452
|
+
background-color: rgba(255, 255, 255, 0.2) !important;
|
|
453
|
+
border-color: rgba(255, 255, 255, 0.5) !important;
|
|
454
|
+
color: #ffffff !important;
|
|
455
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* Light theme select overrides */
|
|
459
|
+
html[data-theme="light"] select.mds-select,
|
|
460
|
+
html[data-theme="light"] .mds-select,
|
|
461
|
+
html[data-theme="light"] select[class*="mds-select"] {
|
|
462
|
+
background-color: #ffffff !important;
|
|
463
|
+
border-color: rgba(0, 0, 0, 0.3) !important;
|
|
464
|
+
color: #1a1a1a !important;
|
|
465
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
|
|
466
|
+
}
|