You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
1.6 KiB
SCSS
90 lines
1.6 KiB
SCSS
// Copyright (C) 2020 Intel Corporation
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
@import '../../base.scss';
|
|
|
|
.cvat-models-page {
|
|
padding-top: $grid-unit-size * 2;
|
|
padding-bottom: $grid-unit-size;
|
|
height: 90%;
|
|
overflow: auto;
|
|
position: fixed;
|
|
width: 100%;
|
|
|
|
> 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%;
|
|
height: auto;
|
|
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;
|
|
}
|