nitro-react/src/views/avatar-editor/AvatarEditorView.scss

147 lines
3.4 KiB
SCSS
Raw Normal View History

2021-05-12 11:23:15 +02:00
.nitro-avatar-editor {
2021-09-22 21:01:56 +02:00
width: $avatar-editor-width;
height: $avatar-editor-height;
2021-07-21 09:09:03 +02:00
.category-item {
height: 40px;
2021-07-19 19:26:54 +02:00
}
.figure-preview-container {
position: relative;
height: 100%;
background-color: $pale-sky;
overflow: hidden;
z-index: 1;
.arrow-container {
position: absolute;
width: 100%;
margin: 0 auto;
2021-07-21 09:09:03 +02:00
padding: 0 10px;
2021-07-19 19:26:54 +02:00
display: flex;
2021-07-21 09:09:03 +02:00
justify-content: space-between;
2021-07-19 19:26:54 +02:00
bottom: 12px;
2021-07-21 09:09:03 +02:00
z-index: 5;
2021-07-19 19:26:54 +02:00
.icon {
cursor: pointer;
}
2021-07-21 09:09:03 +02:00
}
.avatar-image {
position: absolute;
left: 0;
right: 0;
bottom: 50px;
margin: 0 auto;
z-index: 4;
}
.avatar-spotlight {
position: absolute;
top: -10px;
width: 100%;
height: 305px;
margin: 0 auto;
background: transparent url('../../assets/images/avatareditor/spotlight.png') no-repeat center;
opacity: 0.3;
pointer-events: none;
z-index: 3;
}
.avatar-shadow {
position: absolute;
left: 0;
right: 0;
bottom: 15px;
width: 70px;
height: 30px;
margin: 0 auto;
border-radius: 100%;
background-color: rgba(0, 0, 0, 0.20);
z-index: 2;
2021-07-19 19:26:54 +02:00
}
&:after {
position: absolute;
content: '';
top: 75%;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
2021-07-21 09:09:03 +02:00
background-color: $pale-sky;
box-shadow: 0 0 8px 2px rgba($white,.6);
2021-07-19 19:26:54 +02:00
transform: scale(2);
}
2021-05-12 11:23:15 +02:00
}
2021-09-30 04:30:25 +02:00
}
.nitro-wardrobe-grid {
--nitro-grid-column-min-width: 80px !important;
.grid-item {
height: 140px;
max-height: 140px;
background-color: $ghost;
&:after {
position: absolute;
content: '';
top: 75%;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
background-color: $gray-chateau;
box-shadow: 0 0 8px 2px rgba($white,.6);
transform: scale(2);
}
.avatar-image {
position: absolute;
bottom: 0;
background-position-y: -23px !important;
z-index: 4;
}
.figure-button-container {
background-color: $gray-chateau;
z-index: 3;
}
}
2021-07-21 23:53:36 +02:00
2021-09-30 04:30:25 +02:00
.grid-item-container {
height: 142px !important;
max-height: 142px !important;
2021-07-21 23:53:36 +02:00
2021-09-22 21:01:56 +02:00
.grid-item {
background-color: $ghost;
.avatar-image {
position: absolute;
bottom: 0;
background-position-y: -23px !important;
2021-09-30 04:30:25 +02:00
z-index: 3;
2021-09-22 21:01:56 +02:00
}
.figure-button-container {
background-color: $gray-chateau;
2021-09-30 04:30:25 +02:00
z-index: 2;
2021-09-22 21:01:56 +02:00
}
2021-09-30 04:30:25 +02:00
&:after {
position: absolute;
content: '';
height: 50%;
bottom: 0;
left: 0;
right: 0;
background-color: $gray-chateau;
box-shadow: 0 0 8px 2px rgba($white,.6);
z-index: 1;
2021-07-22 05:53:47 +02:00
}
2021-07-21 23:53:36 +02:00
}
}
2021-05-12 11:23:15 +02:00
}