File tree Expand file tree Collapse file tree 1 file changed +32
-31
lines changed
packages/ui-components/src/lib/table Expand file tree Collapse file tree 1 file changed +32
-31
lines changed Original file line number Diff line number Diff line change 2323 @apply lc--mt-24;
2424 }
2525
26- thead ,
27- tbody ,
28- tfoot {
29- & th ,
30- & td {
31- @apply lc-text-left;
32- @apply lc-px-20 md:lc-px-24;
33- @apply lc-py-16 md:lc-py-20;
26+ thead th ,
27+ thead td ,
28+ tbody th ,
29+ tbody td ,
30+ tfoot th ,
31+ tfoot td {
32+ @apply lc-text-left;
33+ @apply lc-px-20 md:lc-px-24;
34+ @apply lc-py-16 md:lc-py-20;
35+ }
36+
37+ thead th : last-child : not (: first-child ),
38+ thead td : last-child : not (: first-child ),
39+ tbody th : last-child : not (: first-child ),
40+ tbody td : last-child : not (: first-child ),
41+ tfoot th : last-child : not (: first-child ),
42+ tfoot td : last-child : not (: first-child ) {
43+ @apply lc-text-right;
44+ }
3445
35- & : last-child : not (: first-child ) {
36- @apply lc-text-right;
37- }
38- }
46+ thead th ,
47+ thead td ,
48+ tfoot th ,
49+ tfoot td {
50+ @apply lc-text-gray-dark;
51+ @apply lc-font-normal;
3952 }
4053
41- thead ,
42- tfoot {
43- & th ,
44- & td {
45- @apply lc-text-gray-dark;
46- @apply lc-font-normal;
47- }
54+ thead th ,
55+ thead td {
56+ @apply lc-pt-0;
4857 }
4958
50- thead {
51- & th ,
52- & td {
53- @apply lc-pt-0;
54- }
59+ tbody tr : nth-child (odd) td {
60+ @apply lc-bg-gray-lightest;
5561 }
5662
57- tbody {
58- tr : nth-child (odd) {
59- & td ,
60- & th {
61- @apply lc-bg-gray-lightest;
62- }
63- }
63+ tbody tr : nth-child (odd) th {
64+ @apply lc-bg-gray-lightest;
6465 }
6566}
You can’t perform that action at this time.
0 commit comments