// Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT

@import 'base.scss';

.attribute-annotation-workspace.ant-layout {
    height: 100%;
}

.attribute-annotation-sidebar:not(.ant-layout-sider-collapsed) {
    background: $background-color-2;
    padding: 5px;

    > .ant-layout-sider-children {
        display: flex;
        flex-direction: column;
    }
}

.cvat-attribute-annotation-sidebar-object-switcher,
.cvat-attribute-annotation-sidebar-attribute-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    margin-top: 10px;

    > span {
        max-width: 60%;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    > button > span[role='img'] {
        color: $objects-bar-icons-color;
    }
}

.cvat-attribute-annotation-sidebar-basics-editor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    margin: 10px 0;
}

.attribute-annotations-sidebar-not-found-wrapper {
    margin-top: 20px;
    text-align: center;
    flex-grow: 10;
}

.attribute-annotations-sidebar-attribute-editor {
    flex-grow: 10;
}

.attribute-annotation-sidebar-attr-list-wrapper {
    margin: 10px 0 10px 10px;
}

.attribute-annotation-sidebar-attr-elem-wrapper {
    width: 60%;
}

.attribute-annotation-sidebar-number-list {
    display: flex;
    justify-content: space-around;
}

.cvat-attribute-annotation-sidebar-attr-editor {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.cvat-sidebar-collapse-button-spacer {
    height: 32px;
}
