Spaces:
Running
Running
| .custom-dataframe thead th:nth-child(-n+5), | |
| .custom-dataframe tbody td:nth-child(-n+5) { | |
| background-color: var(--global-column-background) ; | |
| } | |
| .custom-dataframe thead th:nth-child(n+6), | |
| .custom-dataframe tbody td:nth-child(n+6) { | |
| background-color: var(--dimension-column-background) ; | |
| } | |
| .custom-dataframe tbody tr:nth-child(even) td:nth-child(-n+5) { | |
| background-color: var(--row-even-global) ; | |
| } | |
| .custom-dataframe tbody tr:nth-child(even) td:nth-child(n+6) { | |
| background-color: var(--row-even-dimension) ; | |
| } | |
| /* Dark mode styles */ | |
| @media (prefers-color-scheme: dark) { | |
| .custom-dataframe { | |
| color: var(--text-color) ; | |
| background-color: var(--background-color) ; | |
| } | |
| .custom-dataframe thead th { | |
| background-color: var(--header-background) ; | |
| color: var(--text-color) ; | |
| } | |
| .custom-dataframe tbody td { | |
| background-color: var(--background-color) ; | |
| color: var(--text-color) ; | |
| } | |
| .custom-dataframe thead th:nth-child(-n+5), | |
| .custom-dataframe tbody td:nth-child(-n+5) { | |
| background-color: var(--global-column-background) ; | |
| } | |
| .custom-dataframe thead th:nth-child(n+6), | |
| .custom-dataframe tbody td:nth-child(n+6) { | |
| background-color: var(--dimension-column-background) ; | |
| } | |
| .custom-dataframe tbody tr:nth-child(even) td:nth-child(-n+5) { | |
| background-color: var(--row-even-global) ; | |
| } | |
| .custom-dataframe tbody tr:nth-child(even) td:nth-child(n+6) { | |
| background-color: var(--row-even-dimension) ; | |
| } | |
| .custom-dataframe tbody tr:hover td { | |
| background-color: var(--hover-background) ; | |
| } | |
| } | |