Spaces:
Running
Running
File size: 5,109 Bytes
227ea73 66f69ed 227ea73 63f0833 227ea73 66f69ed 227ea73 66f69ed 227ea73 f781593 227ea73 f781593 227ea73 f781593 227ea73 f781593 66f69ed f781593 63f0833 f781593 66f69ed f781593 227ea73 66f69ed 227ea73 66f69ed 227ea73 66f69ed 63f0833 66f69ed 8a8f34e 66f69ed 227ea73 66f69ed 227ea73 66f69ed 227ea73 f781593 66f69ed f781593 66f69ed f781593 227ea73 66f69ed 227ea73 66f69ed f781593 66f69ed 8a8f34e |
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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
.tab-content {
display: none;
}
#main {
display: block;
}
.tab-container {
margin-bottom: 2rem;
}
.results-table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
.results-table th,
.results-table td {
text-align: center;
padding: 0.4rem 0.2rem;
vertical-align: middle;
width: 50px;
max-width: 50px;
font-size: 0.75rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.results-table th {
background-color: #e0e0e0;
color: #333;
font-weight: 600;
position: sticky;
top: 0;
text-align: center;
}
.results-table tr:nth-child(even) {
background-color: #f0f6ff;
}
.results-table tr:hover {
background-color: #e5eeff;
}
.results-table tr:hover td:first-child {
background-color: #e5eeff;
}
.table-container {
padding: 0.75rem;
background-color: white;
border-radius: 6px;
box-shadow: 0 4px 6px rgba(10, 10, 10, 0.15);
margin-bottom: 2rem;
font-size: 0.9rem;
max-width: 100%;
overflow-x: auto;
}
.results-title {
margin-bottom: 1.5rem;
color: #004d99;
}
.navbar {
background-color: white;
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
}
.flame {
font-weight: bold;
color: #ff6b00;
}
body {
padding-top: 52px;
}
.tooltip-trigger {
position: relative;
cursor: help;
}
.tooltip-trigger:hover::after {
content: attr(data-title) "\A\A" attr(data-tooltip);
position: absolute;
top: 0;
left: 100%;
margin-left: 10px;
background-color: rgba(0, 0, 0, 0.9);
color: white;
padding: 12px 15px;
border-radius: 6px;
font-size: 0.85rem;
white-space: pre-wrap;
width: 300px;
max-width: 350px;
z-index: 9999;
text-align: left;
box-shadow: 0 3px 8px rgba(0,0,0,0.3);
overflow: visible;
word-wrap: break-word;
pointer-events: none;
}
.tooltip-trigger::after {
display: none;
}
.tooltip-trigger:hover::after {
display: block;
}
.tooltip-trigger:hover::first-line {
font-weight: normal;
font-size: inherit;
text-decoration: none;
}
/* Add hover effect to dataset names in all tables */
.results-table th.has-text-centered:hover {
text-decoration: none;
cursor: help;
}
.tooltip-trigger .first-line,
.tooltip-trigger::first-line {
font-weight: normal;
font-size: inherit;
text-decoration: none;
}
/* Add a class for manually marking right-aligned tooltips */
.tooltip-right:hover::after {
left: auto !important;
right: 100% !important;
margin-left: 0 !important;
margin-right: 10px !important;
}
/* Table borders */
.column-border-right {
border-right: 2px solid #b8d3ff;
}
.column-border-left {
border-left: 2px solid #b8d3ff;
}
.row-border-bottom {
border-bottom: 2px solid #004d99;
}
/* Metric labels in headers */
.metric-label {
display: block;
font-size: 0.6rem;
font-weight: normal;
margin-top: 0.1rem;
font-style: italic;
opacity: 0.75;
}
/* Model name column styling */
.results-table td:first-child {
font-weight: 600;
text-align: left;
background-color: #f8f9fa;
position: sticky;
left: 0;
z-index: 1;
box-shadow: 2px 0 5px rgba(0,0,0,0.05);
/* width: 110px; */
/* max-width: 110px; */
/* min-width: 110px; */
}
/* Ensure all data cells are center-aligned */
.results-table td:not(:first-child) {
text-align: center !important;
}
/* Adjust column widths for task groups */
.results-table th[colspan="4"],
.results-table th[colspan="3"],
.results-table th[colspan="5"],
.results-table th[colspan="2"] {
min-width: auto;
}
/* Fix for text classification tables */
/* .results-table th[colspan="4"] {
width: 220px;
max-width: 220px;
}
.results-table th[colspan="1"] {
width: 60px;
max-width: 60px;
} */
/* Ensure model column in all tabs has enough width */
.results-table th:first-child {
/* width: 110px; */
min-width: 110px;
/* max-width: 110px; */
text-align: left;
}
/* Performance highlighting colors */
.performance-best {
background-color: #1f93ff !important;
color: white !important;
font-weight: bold !important;
}
.performance-strong {
background-color: #70b7ff !important;
color: #003366 !important;
font-weight: 600 !important;
}
.performance-medium {
background-color: #a8d1ff !important;
color: #003366 !important;
}
.performance-low {
background-color: #e1efff !important;
}
/* Legend styles */
.performance-legend {
margin-top: 1.5rem;
margin-bottom: 0.5rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.performance-legend-item {
display: inline-flex;
align-items: center;
padding: 0.5rem 1rem;
margin: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.9rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
/* Responsive tooltip positioning */
@media screen and (max-width: 768px) {
.tooltip-trigger:hover::after,
.tooltip-right:hover::after {
width: 200px;
left: 0 !important;
right: auto !important;
top: 100%;
margin-left: 0;
margin-right: 0;
margin-top: 5px;
}
}@media (min-width: 768px) {
.container {
max-width: 1500px !important;
}
}
/* Add line breaks to longer model names */
.results-table td:first-child {
word-break: break-word;
hyphens: auto;
} |