Skip to content

Commit 1d394bc

Browse files
authored
Tweaks for Material design (#7891)
1 parent abcf02f commit 1d394bc

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

panel/theme/css/material.css

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,27 @@ textarea.bk-input:not([type='file']) {
285285
border-bottom: 5px solid var(--mdc-theme-on-background);
286286
}
287287

288+
/* FileDropper */
289+
290+
.filepond--root {
291+
box-shadow:
292+
0px 2px 1px -1px rgba(0, 0, 0, 0.2),
293+
0px 1px 1px 0px rgba(0, 0, 0, 0.14),
294+
0px 1px 3px 0px rgba(0, 0, 0, 0.12);
295+
}
296+
297+
.bk-input.filepond--root:not([disabled]):hover {
298+
border: none;
299+
box-shadow:
300+
0px 3px 5px -1px rgba(0, 0, 0, 0.2),
301+
0px 6px 10px 0px rgba(0, 0, 0, 0.14),
302+
0px 1px 18px 0px rgba(0, 0, 0, 0.12);
303+
}
304+
305+
.filepond--panel-root {
306+
background-color: var(--mdc-theme-surface);
307+
}
308+
288309
/* Select widgets */
289310

290311
select:not([multiple]).bk-input,
@@ -531,13 +552,29 @@ div .tabulator .tabulator-header .tabulator-col {
531552
color: var(--mdc-theme-on-surface);
532553
}
533554

555+
.pnx-tabulator.tabulator
556+
.tabulator-tableholder
557+
.tabulator-table
558+
.tabulator-row {
559+
min-height: 35px;
560+
}
561+
562+
.pnx-tabulator.tabulator
563+
.tabulator-tableholder
564+
.tabulator-table
565+
.tabulator-row
566+
.tabulator-cell {
567+
min-height: 35px;
568+
padding: 6px 10px;
569+
}
570+
534571
.pnx-tabulator.tabulator
535572
.tabulator-tableholder
536573
.tabulator-table
537574
.tabulator-row.tabulator-selectable:hover {
538575
background-color: color-mix(
539576
in srgb,
540-
var(--mdc-theme-primary) 25%,
577+
var(--mdc-theme-primary) 75%,
541578
transparent
542579
);
543580
color: var(--mdc-theme-on-primary);

0 commit comments

Comments
 (0)