// Copyright (C) 2020-2022 Intel Corporation // // SPDX-License-Identifier: MIT @import '../../base.scss'; @import '../../styles.scss'; .cvat-tasks-page { padding-top: $grid-unit-size * 2; padding-bottom: $grid-unit-size; height: 100%; width: 100%; .cvat-tasks-page-top-bar { > div { display: flex; justify-content: space-between; > .cvat-tasks-page-filters-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; > div { > *:not(:last-child) { margin-right: $grid-unit-size; } display: flex; margin-right: $grid-unit-size * 4; } .cvat-tasks-page-search-bar { width: $grid-unit-size * 32; } } } } > div:nth-child(2) { height: 83%; padding-top: 10px; } @media screen and (min-height: 900px) { > div:nth-child(2) { height: 88%; } } @media screen and (min-height: 1200px) { > div:nth-child(2) { height: 93%; } } > div:nth-child(3) { padding-top: 10px; } } .cvat-empty-tasks-list { .ant-empty { top: 50%; left: 50%; position: absolute; transform: translate(-50%, -50%); } } .cvat-tasks-pagination { display: flex; justify-content: center; } .cvat-tasks-list { height: 100%; overflow-y: auto; } .cvat-tasks-list-item { width: 100%; height: 120px; border: 1px solid $border-color-1; border-radius: 3px; margin-bottom: 15px; padding-top: 20px; background: $background-color-1; &:hover { border: 1px solid $border-color-hover; } } .cvat-task-item-preview-wrapper { display: flex; justify-content: center; overflow: hidden; margin: 20px; margin-top: 0; > .cvat-task-item-preview { max-width: 140px; max-height: 80px; } } .cvat-task-item-description { word-break: break-all; max-height: 100%; overflow: hidden; } .cvat-task-progress { width: 100%; } .cvat-task-completed-progress { color: $completed-progress-color; fill: $completed-progress-color; margin-right: 5px; } .cvat-task-completed-progress div.ant-progress-bg { background: $completed-progress-color !important; } .cvat-task-progress-progress { color: $inprogress-progress-color; fill: $inprogress-progress-color; margin-right: 5px; } .cvat-task-pending-progress { color: $pending-progress-color; fill: $pending-progress-color; margin-right: 5px; } .close-auto-annotation-icon { color: $danger-icon-color; opacity: 0.7; &:hover { opacity: 1; } } .cvat-item-open-task-actions { margin-right: $grid-unit-size; margin-top: $grid-unit-size; display: flex; align-items: center; padding: $grid-unit-size; line-height: 14px; } .cvat-item-open-task-button { margin-right: 20px; } .cvat-item-task-name { @extend .cvat-text-color; }