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.
107 lines
2.0 KiB
SCSS
107 lines
2.0 KiB
SCSS
@import 'base.scss';
|
|
|
|
.cvat-canvas-container {
|
|
background-color: $background-color-1;
|
|
}
|
|
|
|
.cvat-objects-sidebar-sider {
|
|
top: 0px;
|
|
right: 0px;
|
|
left: auto;
|
|
background-color: $background-color-2;
|
|
border-left: 1px solid $border-color-1;
|
|
z-index: 2;
|
|
}
|
|
|
|
.cvat-objects-sidebar {
|
|
height: 100%;
|
|
}
|
|
|
|
.cvat-canvas-controls-sidebar {
|
|
background-color: $background-color-2;
|
|
border-right: 1px solid $border-color-1;
|
|
|
|
> div {
|
|
> i {
|
|
border-radius: 3.3px;
|
|
transform: scale(0.65);
|
|
padding: 2px;
|
|
|
|
&:hover {
|
|
background: $header-color;
|
|
transform: scale(0.75);
|
|
}
|
|
|
|
&:active {
|
|
transform: scale(0.65);
|
|
}
|
|
|
|
> svg {
|
|
transform: scale(0.8);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.cvat-active-canvas-control {
|
|
background: $header-color;
|
|
transform: scale(0.75);
|
|
}
|
|
|
|
.cvat-rotate-canvas-controls-left,
|
|
.cvat-rotate-canvas-controls-right {
|
|
transform: scale(0.65);
|
|
border-radius: 5px;
|
|
|
|
&:hover {
|
|
transform: scale(0.75);
|
|
}
|
|
&:active {
|
|
transform: scale(0.65);
|
|
}
|
|
}
|
|
|
|
.cvat-rotate-canvas-controls >
|
|
.ant-popover-content >
|
|
.ant-popover-inner > div >
|
|
.ant-popover-inner-content {
|
|
padding: 0px;
|
|
}
|
|
|
|
.cvat-rotate-canvas-controls-right > svg {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.cvat-draw-shape-popover >
|
|
.ant-popover-content >
|
|
.ant-popover-inner > div >
|
|
.ant-popover-inner-content {
|
|
padding: 0px;
|
|
}
|
|
|
|
.cvat-draw-shape-popover-points-selector {
|
|
width: 100%;
|
|
}
|
|
|
|
.cvat-draw-shape-popover-content {
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
background: $background-color-2;
|
|
width: 250px;
|
|
> div {
|
|
margin-top: 5px;
|
|
}
|
|
> div:nth-child(3) > div > div {
|
|
width: 100%;
|
|
}
|
|
div:last-child > div > button {
|
|
width: 100%;
|
|
&:nth-child(1) {
|
|
border-radius: 3px 0px 0px 3px;
|
|
}
|
|
&:nth-child(2) {
|
|
border-radius: 0px 3px 3px 0px;
|
|
}
|
|
}
|
|
}
|