Spaces:
Configuration error
Configuration error
File size: 2,534 Bytes
a7060a0 | 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 | .annotation-tabs {
height: 44px;
width: 100%;
display: flex;
display: grid;
z-index: 100;
position: sticky;
grid-template-columns: 1fr;
top: var(--sticky-items-offset);
background-color: var(--color-neutral-surface);
border-bottom: 1px solid var(--color-neutral-border);
&_viewAll {
grid-template-columns: 1fr 44px;
}
&_addNew {
grid-template-columns: 44px 1fr;
}
&_viewAll.annotation-tabs_addNew {
grid-template-columns: 44px 1fr 44px;
}
&__add,
&__all {
border: none;
width: 44px;
height: 44px;
padding: 0;
margin: 0;
cursor: pointer;
font-size: 16px;
background: none;
display: flex;
align-items: center;
justify-content: center;
}
&__add {
border-right: 1px solid var(--color-neutral-content-subtler);
}
&__all {
outline: none;
color: var(--color-neutral-subtler);
&_active {
color: var(--color-primary-content);
}
}
&__list {
flex: 1;
display: flex;
overflow: auto;
position: relative;
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
}
.entity-tab {
height: 100%;
min-width: 170px;
display: flex;
cursor: pointer;
align-items: center;
padding: var(--spacing-tight);
box-sizing: border-box;
margin-bottom: var(--spacing-tight);
color: var(--color-primary-content);
font-weight: var(--font-weight-medium);
transition:
background-color 150ms ease-out,
border-color 150ms ease-out;
border: 1px solid transparent;
border-radius: var(--corner-radius-small);
&:hover {
background-color: var(--color-primary-emphasis-subtle);
}
&:focus-visible {
outline: 2px solid var(--color-primary-border);
outline-offset: -2px;
}
&_bordered {
border-right: 1px solid var(--color-neutral-border);
}
&_selected {
opacity: 1;
cursor: default;
background-color: var(--color-neutral-background);
box-shadow: inset 0 2px 0 var(--color-primary-shadow);
}
&__userpic {
width: 24px;
height: 24px;
&_prediction {
color: var(--color-accent-plum-bold);
background-color: var(--color-accent-plum-subtle);
box-shadow: inset 0 0 0 1px rgba(var(--color-accent-plum-bolder-raw) / 15%);
}
}
&__ground-truth {
color: var(--color-accent-canteloupe-bold);
margin-top: -2px;
& path {
fill-opacity: 1;
stroke-opacity: 1;
}
}
&__skipped {
color: var(--color-negative-content);
}
}
|