nitro-react/src/views/room/widgets/camera/CameraWidgetView.scss

95 lines
2.2 KiB
SCSS
Raw Normal View History

2021-06-15 19:40:02 +02:00
.nitro-camera-capture {
.camera-canvas {
width: 340px;
height: 462px;
background-image: url('../../../../assets/images/room-widgets/camera-widget/camera-spritesheet.png');
.camera-frame {
position: absolute;
width: 318px;
height: 318px;
margin-top: 9px;
margin-left: 11.4px;
2021-06-13 07:13:55 +02:00
2021-06-15 19:40:02 +02:00
&.bg {
background: black;
}
2021-06-13 07:13:55 +02:00
2021-06-15 19:40:02 +02:00
.camera-frame-preview-actions {
background: rgba(0, 0, 0, .5);
}
}
.camera-button {
width: 94px;
height: 94px;
cursor: pointer;
margin-top: 334px;
background-image: url('../../../../assets/images/room-widgets/camera-widget/camera-spritesheet.png');
background-position: -340px 0px;
&:hover {
background-position: -340px -94px;
}
&:active {
background-position: -340px -188px;
}
}
2021-06-14 09:49:30 +02:00
}
2021-06-15 19:40:02 +02:00
.camera-roll {
width: 330px;
background: #bab8b4;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
border: 1px solid black;
box-shadow: inset 1px 0px white, inset -1px -1px white;
2021-06-13 07:13:55 +02:00
2021-06-15 19:40:02 +02:00
img {
width: 56px;
height: 56px;
border: 1px solid black;
}
}
}
.nitro-camera-editor {
width: 600px;
2021-06-13 07:13:55 +02:00
2021-06-15 19:40:02 +02:00
.effects {
max-height: 354px;
.effect-thumbnail {
border-color: $grid-border-color !important;
background-color: $grid-bg-color;
&.active {
border-color: $grid-active-border-color !important;
background-color: $grid-active-bg-color;
}
.effect-thumbnail-image {
background: black;
img {
width: 56px;
height: 56px;
}
}
2021-06-13 07:13:55 +02:00
}
2021-06-15 19:40:02 +02:00
}
.picture-preview {
width: 318px;
height: 318px;
2021-06-13 07:13:55 +02:00
2021-06-15 19:40:02 +02:00
&.zoomed {
background-size: 636px;
background-position: center;
2021-06-13 07:13:55 +02:00
}
}
}