styles.scss 1.6 KB
Newer Older
B
Boris Sekachev 已提交
1 2 3 4
// Copyright (C) 2020 Intel Corporation
//
// SPDX-License-Identifier: MIT

B
Boris Sekachev 已提交
5 6 7
@import '../../base.scss';

.cvat-models-page {
8 9
    padding-top: $grid-unit-size * 2;
    padding-bottom: $grid-unit-size;
10
    height: 90%;
B
Boris Sekachev 已提交
11
    overflow: auto;
12 13
    position: fixed;
    width: 100%;
B
Boris Sekachev 已提交
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

    > div:nth-child(1) {
        margin-bottom: 10px;

        > div:nth-child(1) {
            display: flex;
        }

        > div:nth-child(2) {
            display: flex;
            justify-content: flex-end;
        }
    }
}

.cvat-empty-models-list {
    /* empty-models icon */
    > div:nth-child(1) {
        margin-top: 50px;
    }

    /* No models uploaded yet */
    > div:nth-child(2) > div {
        margin-top: 20px;

        > span {
            font-size: 20px;
            color: $text-color;
        }
    }

    /* To annotate your task automatically */
    > div:nth-child(3) {
        margin-top: 10px;
    }
}

.cvat-models-list {
    height: 100%;
    overflow-y: auto;
}

.cvat-models-list-item {
    width: 100%;
58
    height: auto;
B
Boris Sekachev 已提交
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
    border: 1px solid $border-color-1;
    border-radius: 3px;
    margin-bottom: 15px;
    padding: 15px;
    background: $background-color-1;

    &:hover {
        border: 1px solid $border-color-hover;
    }

    > div {
        display: flex;
        align-items: center;
    }

    > div:nth-child(2) > span {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    > div:nth-child(3) > span {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}

#cvat-create-model-button {
    padding: 0 30px;
}