|
:root { |
|
--background-color: #ffffff; |
|
--text-color: #000000; |
|
--header-background: #f0f0f0; |
|
--global-column-background: #f0f8ff; |
|
--dimension-column-background: #f0fff0; |
|
--hover-background: rgba(0, 0, 0, 0.1); |
|
--border-color: #e0e0e0; |
|
--row-even-global: #e6f3ff; |
|
--row-even-dimension: #e6ffe6; |
|
} |
|
|
|
@media (prefers-color-scheme: dark) { |
|
:root { |
|
--background-color: #1a1a1a; |
|
--text-color: #e0e0e0; |
|
--header-background: #333333; |
|
--global-column-background: rgba(0, 50, 100, 0.3); |
|
--dimension-column-background: rgba(0, 75, 0, 0.3); |
|
--hover-background: rgba(255, 255, 255, 0.1); |
|
--border-color: #3a3a3a; |
|
--row-even-global: rgba(0, 60, 120, 0.3); |
|
--row-even-dimension: rgba(0, 90, 0, 0.3); |
|
} |
|
} |
|
|
|
|
|
.custom-dataframe { |
|
color: var(--text-color); |
|
background-color: var(--background-color); |
|
} |
|
|
|
.custom-dataframe thead th { |
|
background-color: var(--header-background) !important; |
|
color: var(--text-color) !important; |
|
} |
|
|
|
.custom-dataframe tbody td { |
|
background-color: var(--background-color) !important; |
|
color: var(--text-color) !important; |
|
} |
|
|
|
.table-caption { |
|
text-align: center; |
|
margin-top: 10px; |
|
color: var(--text-color); |
|
} |
|
|
|
|
|
.custom-dataframe td, |
|
.custom-dataframe th { |
|
padding: 8px !important; |
|
white-space: nowrap !important; |
|
overflow: hidden !important; |
|
text-overflow: ellipsis !important; |
|
} |
|
|
|
|
|
.custom-dataframe td:first-child, |
|
.custom-dataframe th:first-child { |
|
width: 80px !important; |
|
min-width: 80px !important; |
|
max-width: 80px !important; |
|
text-align: center !important; |
|
} |
|
|
|
|
|
.custom-dataframe td:nth-child(2), |
|
.custom-dataframe th:nth-child(2) { |
|
width: 220px !important; |
|
min-width: 220px !important; |
|
max-width: 220px !important; |
|
} |
|
|
|
|
|
.custom-dataframe td:nth-child(n+3):nth-child(-n+5), |
|
.custom-dataframe th:nth-child(n+3):nth-child(-n+5) { |
|
width: 140px !important; |
|
min-width: 140px !important; |
|
max-width: 140px !important; |
|
text-align: right !important; |
|
} |
|
|
|
|
|
.custom-dataframe td:nth-child(n+6), |
|
.custom-dataframe th:nth-child(n+6) { |
|
width: 140px !important; |
|
min-width: 140px !important; |
|
max-width: 140px !important; |
|
text-align: right !important; |
|
} |
|
|
|
|
|
.custom-dataframe th { |
|
height: auto !important; |
|
line-height: 1.2 !important; |
|
white-space: normal !important; |
|
vertical-align: bottom !important; |
|
} |
|
|
|
.custom-dataframe a { |
|
text-decoration: none; |
|
color: #2196F3; |
|
white-space: nowrap !important; |
|
} |
|
|