-
-
Notifications
You must be signed in to change notification settings - Fork 625
Expand file tree
/
Copy patharray.css
More file actions
69 lines (58 loc) · 1.48 KB
/
array.css
File metadata and controls
69 lines (58 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* ==========================================================================
ARRAY FIELDTYPE
========================================================================== */
.array-fieldtype {
}
.array-table-wrapper {
@apply overflow-hidden rounded-sm border dark:border-dark-900;
&:focus-within {
@apply ring-2 ring-blue-300 dark:ring-dark-blue-100;
}
}
.array-table {
@apply w-full rounded-sm text-sm ltr:text-left rtl:text-right;
&:focus {
@apply outline-hidden;
}
tr:not(:last-child) {
th,
td {
@apply border-b dark:border-dark-900;
}
}
th {
@apply bg-gray-300 p-2 dark:border-dark-900 dark:bg-dark-500 ltr:border-r rtl:border-l;
}
td {
@apply m-0 p-0;
}
tr:first-child th {
@apply ltr:rounded-tl rtl:rounded-tr;
}
tr:first-child td,
tr:first-child .input-text-minimal {
@apply ltr:rounded-tr rtl:rounded-tl;
}
tr:last-child th {
@apply ltr:rounded-bl rtl:rounded-br;
}
tr:last-child td:last-child,
tr:last-child .input-text-minimal {
@apply ltr:rounded-br rtl:rounded-bl;
}
&:focus-within {
@apply focus-none;
}
td:focus-within {
@apply bg-gray-200 dark:bg-dark-600;
}
/* Read Only */
.read-only-field & {
th {
@apply text-gray-500 dark:text-dark-150;
}
tr td {
@apply bg-gray-200 dark:bg-dark-600;
}
}
}