crossner-extractor-comparison / multi-dataset.css
Amadou98's picture
Add grouped MIT and CoNLL results with overall NER ranking
f090f43 verified
Raw History Blame Contribute Delete
3.88 kB
/* Preview-specific grouping; reuse the existing font, theme and metric styling. */
table { min-width: 1686px; width: 100%; }
.overall-col { width: 120px; }
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 4px; }
.table-scroll[data-custom-scrollbar] { scrollbar-width: none; margin-bottom: 10px; }
.table-scroll[data-custom-scrollbar]::-webkit-scrollbar { display: none; }
.table-scrollbar {
appearance: none; display: block; width: 100%; height: 20px;
margin: 0 0 14px; padding: 0; background: transparent; cursor: grab;
accent-color: var(--link);
}
.table-scrollbar:active { cursor: grabbing; }
.table-scrollbar:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 999px; }
.table-scrollbar::-webkit-slider-runnable-track { height: 7px; background: var(--line); border-radius: 999px; }
.table-scrollbar::-webkit-slider-thumb {
appearance: none; width: var(--thumb-width, 80px); height: 7px;
background: linear-gradient(90deg, color-mix(in srgb, var(--muted) 55%, var(--paper)), color-mix(in srgb, var(--link) 55%, var(--muted)));
border-radius: 999px; box-shadow: 0 1px 2px #00000012;
}
.table-scrollbar:hover::-webkit-slider-thumb { background: var(--link); }
.table-scrollbar::-moz-range-track { height: 7px; background: var(--line); border-radius: 999px; }
.table-scrollbar::-moz-range-thumb { width: var(--thumb-width, 80px); height: 7px; border: 0; border-radius: 999px; background: var(--link); }
.table-scroll::-webkit-scrollbar { height: 14px; }
.table-scroll::-webkit-scrollbar-track { background: var(--paper); border-radius: 999px; }
.table-scroll::-webkit-scrollbar-thumb {
background: linear-gradient(90deg, color-mix(in srgb, var(--muted) 60%, var(--paper)), color-mix(in srgb, var(--link) 55%, var(--muted)));
border: 4px solid var(--paper); border-radius: 999px; background-clip: padding-box;
}
.table-scroll::-webkit-scrollbar-thumb:hover { background: var(--link); border: 3px solid var(--paper); background-clip: padding-box; }
@supports not selector(::-webkit-scrollbar) {
.table-scroll { scrollbar-color: var(--muted) var(--paper); scrollbar-width: auto; }
}
@media (forced-colors: active) {
.table-scroll { scrollbar-color: auto; }
}
.rank-col { width: 62px; }
.system-col { width: 175px; }
.configuration-col { width: 255px; }
.domain-col { width: 104px; }
.dataset-col { width: 150px; }
thead tr:first-child th[scope="colgroup"] { text-align: center; color: var(--ink); background: var(--soft, var(--paper)); border-bottom: 1px solid var(--line); }
thead th { text-align: left; vertical-align: middle; }
thead tr:nth-child(2) th { padding-top: 10px; padding-bottom: 10px; }
thead .column-label { justify-content: flex-start !important; }
.metric-sort { color: inherit; font: inherit; font-weight: inherit; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.metric-sort:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
tbody th { position: sticky; left: var(--rank-offset, 62px); z-index: 2; background: var(--paper); text-align: left; }
tbody td:first-child { position: sticky; left: 0; z-index: 2; background: var(--paper); }
tbody td.configuration { position: sticky; left: var(--config-offset, 237px); z-index: 2; background: var(--paper); box-shadow: 3px 0 4px -4px var(--muted); }
thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 3; }
thead tr:first-child th:nth-child(2) { position: sticky; left: var(--rank-offset, 62px); z-index: 3; }
thead tr:first-child th:nth-child(3) { position: sticky; left: var(--config-offset, 237px); z-index: 3; }
thead th { padding-inline: 10px; }
.scroll-note { display: block; }
@media (max-width: 800px) {
tbody td.configuration, thead tr:first-child th:nth-child(3) { position: static; }
}