/
vshmidt
/
label-studio
Обзор
Документация
Войти
/
vshmidt
/
label-studio
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
web/libs/editor/src/components/AnnotationTabs/AnnotationTabs.prefix.css
128 строк
2 KB
Raul Martin
refactor: ECHO-448: Biome - enable format (#9625)
17 мар 2026, 18:27
Не верифицирован
17 мар 2026, 18:27
567cb96
Код
Авторство
О чём код?
.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); } }