nitro-react/src/components/camera/CameraWidgetView.scss

129 lines
2.9 KiB
SCSS
Raw Normal View History

2021-06-15 19:40:02 +02:00
.nitro-camera-capture {
2021-08-05 08:26:43 +02:00
position: relative;
.header-close {
top: 8px;
right: 8px;
border-radius: $border-radius;
box-shadow: 0 0 0 1.5px $white;
border: 2px solid #921911;
background: repeating-linear-gradient(rgba(245,80,65,1), rgba(245,80,65,1) 50%, rgba(194,48,39,1) 50%, rgba(194,48,39,1) 100%);
cursor: pointer;
line-height: 1;
padding: 1px 3px;
&:hover {
filter: brightness(1.2);
}
&:active {
filter: brightness(0.8);
}
}
.camera-area {
position: absolute;
top: 37px;
left: 10px;
width: 320px;
height: 320px;
2021-06-20 16:04:31 +02:00
}
2021-06-15 19:40:02 +02:00
.camera-canvas {
2021-08-05 08:26:43 +02:00
position: relative;
2021-06-15 19:40:02 +02:00
width: 340px;
height: 462px;
2021-09-01 00:17:29 +02:00
background-image: url('../../assets/images/room-widgets/camera-widget/camera-spritesheet.png');
2021-08-05 08:26:43 +02:00
background-position: -1px -1px;
z-index: 2;
2021-06-15 19:40:02 +02:00
.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
2021-09-01 00:17:29 +02:00
background-image: url('../../assets/images/room-widgets/camera-widget/camera-spritesheet.png');
2021-08-05 08:26:43 +02:00
background-position: -343px -321px;
2021-06-15 19:40:02 +02:00
&:hover {
2021-08-05 08:26:43 +02:00
background-position: -535px -321px;
2021-06-15 19:40:02 +02:00
}
&:active {
2021-08-05 08:26:43 +02:00
background-position: -439px -321px;
}
}
.camera-view-finder {
2021-09-01 00:17:29 +02:00
background-image: url('../../assets/images/room-widgets/camera-widget/camera-spritesheet.png');
2021-08-05 08:26:43 +02:00
background-position: -343px -1px;
}
.camera-frame {
.camera-frame-preview-actions {
background: rgba(0, 0, 0, .5);
2021-06-15 19:40:02 +02:00
}
}
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 {
2022-01-11 06:54:24 +01:00
width: $camera-editor-width;
height: $camera-editor-height;
2021-08-08 01:05:31 +02:00
2022-01-11 06:54:24 +01:00
.picture-preview {
width: 320px;
height: 320px;
2021-08-08 01:05:31 +02:00
}
2022-01-11 06:54:24 +01:00
.layout-grid-item {
height: 60px !important;
max-height: 60px !important;
2021-08-08 01:05:31 +02:00
}
2022-01-11 06:54:24 +01:00
.effect-thumbnail-image {
2021-06-15 19:40:02 +02:00
2022-01-11 06:54:24 +01:00
img {
width: 50px;
height: 50px;
image-rendering: auto;
object-fit: contain;
2021-06-20 11:39:44 +02:00
}
2022-01-11 06:54:24 +01:00
}
2021-06-20 11:39:44 +02:00
2022-01-11 06:54:24 +01:00
.remove-effect {
position: absolute;
top: 1px;
right: 1px;
padding: 2px;
font-size: 10px;
min-height: unset;
2021-06-15 19:40:02 +02:00
}
2021-06-20 16:04:31 +02:00
}
.nitro-camera-checkout {
2022-01-11 06:54:24 +01:00
width: $camera-checkout-width;
2021-06-20 16:04:31 +02:00
.picture-preview {
width: 320px;
height: 320px;
2021-06-13 07:13:55 +02:00
}
}