Skip to content

Commit e630279

Browse files
committed
_sass/tables.scss
1 parent 24ce55a commit e630279

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

_sass/tables.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
overflow-x: auto;
1010
border-radius: $border-radius;
1111
box-shadow:
12-
0 1px 2px rgba(0, 0, 0, 0.12),
13-
0 3px 10px rgba(0, 0, 0, 0.08);
12+
0 1px 2px rgba(0, 0, 0, 0.12),
13+
0 3px 10px rgba(0, 0, 0, 0.08);
1414
}
1515

1616
table {
@@ -23,7 +23,7 @@ th,
2323
td {
2424
min-width: 7.5rem;
2525
padding: $sp-2 $sp-3;
26-
background-color: $table-background-color;
26+
// background-color: $table-background-color;
2727
border-bottom: $border rgba($border-color, 0.5);
2828
border-left: $border $border-color;
2929

@@ -35,6 +35,13 @@ td {
3535
}
3636

3737
tbody {
38+
tr:nth-child(even) {
39+
background-color: $table-background-color !important; // White for odd rows
40+
}
41+
42+
tr:nth-child(odd) {
43+
background-color: rgba($duckdb-gray, 0.05) !important; // Light grey for even rows
44+
}
3845
tr {
3946
&:last-of-type {
4047
th,

0 commit comments

Comments
 (0)