Spaces:
Running
Running
File size: 1,753 Bytes
8553d06 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
.custom-dataframe {
width: 100% !important;
overflow-x: auto !important;
}
.custom-dataframe table {
width: auto !important;
min-width: 100% !important;
font-size: 14px !important;
}
.custom-dataframe thead th {
padding: 4px 8px !important;
text-align: center !important;
vertical-align: middle !important;
white-space: nowrap !important;
overflow: visible !important;
font-size: 12px !important;
font-weight: bold !important;
line-height: 1.2 !important;
}
.custom-dataframe tbody td {
padding: 4px 8px !important;
text-align: right !important;
vertical-align: middle !important;
white-space: nowrap !important;
overflow: visible !important;
line-height: 1.2 !important;
}
.custom-dataframe tbody td:first-child {
text-align: left !important;
}
/* Adjust the sort indicator position */
.custom-dataframe thead th::after {
font-size: 12px !important;
line-height: 1 !important;
margin-left: 4px !important;
}
/* Style for global result columns */
.custom-dataframe thead th:nth-child(-n+4),
.custom-dataframe tbody td:nth-child(-n+4) {
background-color: #f0f8ff !important; /* 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 !important; /* Light green background */
}
/* Alternating row colors for better readability */
.custom-dataframe tbody tr:nth-child(even) td:nth-child(-n+4) {
background-color: #e6f3ff !important; /* Slightly darker light blue */
}
.custom-dataframe tbody tr:nth-child(even) td:nth-child(n+5) {
background-color: #e6ffe6 !important; /* Slightly darker light green */
}
|