Spaces:
Running
Running
| .custom-dataframe { | |
| width: 100% ; | |
| overflow-x: auto ; | |
| } | |
| .custom-dataframe table { | |
| width: auto ; | |
| min-width: 100% ; | |
| font-size: 14px ; | |
| } | |
| .custom-dataframe thead th { | |
| padding: 4px 8px ; | |
| text-align: center ; | |
| vertical-align: middle ; | |
| white-space: nowrap ; | |
| overflow: visible ; | |
| font-size: 12px ; | |
| font-weight: bold ; | |
| line-height: 1.2 ; | |
| } | |
| .custom-dataframe tbody td { | |
| padding: 4px 8px ; | |
| text-align: right ; | |
| vertical-align: middle ; | |
| white-space: nowrap ; | |
| overflow: visible ; | |
| line-height: 1.2 ; | |
| } | |
| .custom-dataframe tbody td:first-child { | |
| text-align: left ; | |
| } | |
| /* Adjust the sort indicator position */ | |
| .custom-dataframe thead th::after { | |
| font-size: 12px ; | |
| line-height: 1 ; | |
| margin-left: 4px ; | |
| } | |
| /* Style for global result columns */ | |
| .custom-dataframe thead th:nth-child(-n+4), | |
| .custom-dataframe tbody td:nth-child(-n+4) { | |
| background-color: #f0f8ff ; /* Light blue background */ | |
| } | |
| /* Style for dimension-specific result columns */ | |
| .custom-dataframe thead th:nth-child(n+5), | |
| .custom-dataframe tbody td:nth-child(n+5) { | |
| background-color: #f0fff0 ; /* Light green background */ | |
| } | |
| /* Alternating row colors for better readability */ | |
| .custom-dataframe tbody tr:nth-child(even) td:nth-child(-n+4) { | |
| background-color: #e6f3ff ; /* Slightly darker light blue */ | |
| } | |
| .custom-dataframe tbody tr:nth-child(even) td:nth-child(n+5) { | |
| background-color: #e6ffe6 ; /* Slightly darker light green */ | |
| } | |