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

122 lines
2.7 KiB
SCSS
Raw Normal View History

2021-06-15 19:40:02 +02:00
.nitro-camera-capture {
2021-06-22 18:40:28 +02:00
.nitro-close {
2021-06-20 16:04:31 +02:00
top: 7px;
2021-06-23 00:08:08 +02:00
right: 9px;
2021-06-20 16:04:31 +02:00
}
2021-06-15 19:40:02 +02:00
.camera-canvas {
width: 340px;
height: 462px;
background-image: url('../../../../assets/images/room-widgets/camera-widget/camera-spritesheet.png');
.camera-frame {
position: absolute;
2021-06-20 09:39:47 +02:00
width: 320px;
height: 320px;
2021-06-20 16:04:31 +02:00
margin-top: 37px;
2021-06-15 19:40:02 +02:00
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;
2021-06-20 16:04:31 +02:00
margin-top: 362px;
2021-06-15 19:40:02 +02:00
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 {
2021-06-20 11:39:44 +02:00
height: 363px;
min-height: 363px;
2021-06-20 09:39:47 +02:00
max-height: 363px;
2021-06-15 19:40:02 +02:00
2021-06-20 11:39:44 +02:00
.btn-remove-effect {
z-index: 10;
min-height: 0px;
border-radius: 100px;
width: 20px;
}
2021-06-15 19:40:02 +02:00
.effect-thumbnail {
border-color: $grid-border-color !important;
background-color: $grid-bg-color;
2021-06-20 11:39:44 +02:00
height: 60px;
2021-06-15 19:40:02 +02:00
&.active {
border-color: $grid-active-border-color !important;
background-color: $grid-active-bg-color;
}
.effect-thumbnail-image {
img {
2021-06-20 11:39:44 +02:00
width: 40px;
height: 40px;
2021-06-15 19:40:02 +02:00
}
}
2021-06-13 07:13:55 +02:00
}
2021-06-15 19:40:02 +02:00
}
.picture-preview {
2021-06-20 09:39:47 +02:00
width: 320px;
height: 320px;
2021-06-13 07:13:55 +02:00
2021-06-20 16:04:31 +02:00
.slider {
background: linear-gradient(180deg, transparent, black);
text-shadow: 1px 1px rgba(0, 0, 0, .5);
2021-06-13 07:13:55 +02:00
}
2021-06-20 16:04:31 +02:00
}
}
.nitro-camera-checkout {
width: 336px;
.picture-preview {
width: 320px;
height: 320px;
2021-06-20 11:39:44 +02:00
.slider {
background: linear-gradient(180deg, transparent, black);
text-shadow: 1px 1px rgba(0, 0, 0, .5);
}
2021-06-13 07:13:55 +02:00
}
}