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.

304 lines
5.0 KiB
SCSS

// Copyright (C) 2020 Intel Corporation
//
// SPDX-License-Identifier: MIT
@import '../../base.scss';
.cvat-annotation-page.ant-layout {
height: 100%
}
.ant-layout-header.cvat-annotation-header {
background-color: $background-color-2;
border-bottom: 1px solid $border-color-1;
height: 54px;
padding: 0px;
}
.cvat-annotation-header-left-group {
> button:first-child {
filter: invert(0.9);
background: $background-color-1;
border-radius: 0px;
width: 70px;
}
}
.ant-btn.cvat-annotation-header-button {
padding: 0px;
width: 54px;
height: 54px;
float: left;
text-align: center;
user-select: none;
color: $text-color;
display: flex;
flex-direction: column;
align-items: center;
margin: 0px 3px;
> span {
margin-left: 0px;
font-size: 10px;
}
> i {
transform: scale(0.8);
padding: 3px;
}
&:hover > i {
transform: scale(0.85);
}
&:active > i {
transform: scale(0.8);
}
> * {
display: block;
line-height: 0px;
}
}
.cvat-annotation-disabled-header-button {
@extend .cvat-annotation-header-button;
opacity: 0.5;
pointer-events: none;
}
.cvat-annotation-header-player-group > div {
height: 54px;
line-height: 0px;
}
.cvat-player-buttons {
display: flex;
align-items: center;
position: relative;
height: 100%;
margin-right: 10px;
> i {
font-size: 25px;
margin: 0px 7px;
color: $player-buttons-color;
&:hover {
transform: scale(1.1);
}
&:active {
transform: scale(1);
}
}
}
.cvat-player-controls {
position: relative;
height: 100%;
line-height: 27px;
> div {
position: relative;
height: 50%;
}
}
.cvat-player-slider {
width: 350px;
> .ant-slider-rail {
background-color: $player-slider-color;
}
}
.cvat-player-filename-wrapper {
max-width: 300px;
overflow: hidden;
text-overflow: ellipsis;
user-select: none;
word-break: break-all;
}
.cvat-player-frame-url-icon {
opacity: 0.7;
color: $objects-bar-icons-color;
&:hover {
opacity: 1;
}
&:active {
opacity: 0.7;
}
}
.cvat-player-frame-selector {
width: 5em;
padding-right: 5px;
margin-left: 5px;
}
.cvat-annotation-header-right-group {
> div {
float: left;
display: block;
height: 54px;
margin-right: 15px;
}
}
.cvat-workspace-selector {
width: 150px;
}
.cvat-job-info-modal-window {
> div {
margin-top: 10px;
}
> div:nth-child(1) {
> div {
> .ant-select, i {
margin-left: 10px;
}
}
}
> div:nth-child(2) {
> div {
> span {
font-size: 20px;
}
}
}
> div:nth-child(3) {
> div {
display: grid;
}
}
> .cvat-job-info-bug-tracker {
> div {
display: grid;
}
}
> .cvat-job-info-statistics {
> div {
> span {
font-size: 20px;
}
.ant-table-thead {
> tr > th {
padding: 5px 5px;
}
}
}
}
}
.ant-menu.cvat-annotation-menu {
box-shadow: 0 0 17px rgba(0,0,0,0.2);
> li:hover {
background-color: $hover-menu-color;
}
.ant-menu-submenu-title {
margin: 0px;
width: 15em;
}
}
// TODO: Move canvas from standard workspace and create its own .scss
.cvat-canvas-context-menu {
opacity: 0.6;
position: fixed;
width: 300px;
z-index: 10;
max-height: 50%;
overflow-y: auto;
&:hover {
opacity: 1;
}
}
.cvat-canvas-point-context-menu {
opacity: 0.6;
position: fixed;
width: 135px;
z-index: 10;
max-height: 50%;
overflow-y: auto;
background-color: #ffffff;
border-radius: 4px;
&:hover {
opacity: 1;
}
}
.cvat-canvas-z-axis-wrapper {
position: absolute;
background: $background-color-2;
bottom: 10px;
right: 10px;
height: 150px;
z-index: 100;
border-radius: 6px;
opacity: 0.5;
border: 1px solid $border-color-3;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 3px;
&:hover {
opacity: 1;
}
> .ant-slider {
height: 75%;
margin: 5px 3px;
> .ant-slider-rail {
background-color: #979797;
}
> .ant-slider-handle {
transform: none !important;
}
}
> i {
opacity: 0.7;
color: $objects-bar-icons-color;
&:hover {
opacity: 1;
}
&:active {
opacity: 0.7;
}
}
}
.cvat-annotations-filters-input.ant-select > div {
height: 32px;
> div {
height: 32px;
ul {
display: flex;
}
}
}