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

177 lines
4.1 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 {
width: 600px;
2021-06-13 07:13:55 +02:00
2021-08-08 01:05:31 +02:00
.content-area {
2021-08-08 04:04:19 +02:00
min-height: 441px;
height: 441px;
2021-08-08 01:05:31 +02:00
resize: vertical;
.picture-preview {
width: 320px;
height: 320px;
.slider {
background: linear-gradient(180deg, transparent, black);
text-shadow: 1px 1px rgba(0, 0, 0, .5);
}
}
}
.effect-grid {
.grid-item-container {
height: 60px !important;
max-height: 60px !important;
.grid-item {
overflow: unset;
.remove-effect {
position: absolute;
top: -1px;
right: -1px;
padding: 2px;
font-size: 11px;
line-height: 11px;
min-height: unset;
}
.effect-thumbnail-image {
img {
width: 40px;
height: 40px;
image-rendering: auto;
}
}
}
}
}
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
}
2021-06-20 16:04:31 +02:00
}
.nitro-camera-checkout {
2021-08-09 04:21:40 +02:00
width: 388px;
2021-06-20 16:04:31 +02:00
.picture-preview {
width: 320px;
height: 320px;
2021-06-13 07:13:55 +02:00
}
}