nitro-react/src/views/room/widgets/infostand/InfoStandWidgetView.scss

81 lines
1.9 KiB
SCSS
Raw Normal View History

2021-06-15 20:06:46 +02:00
.nitro-infostand-container {
position: absolute;
right: 10px;
bottom: $toolbar-height + 10px;
pointer-events: none;
z-index: $infostand-zindex;
.nitro-infostand {
position: relative;
2021-06-17 19:23:34 +02:00
min-width: 170px;
max-width: 170px;
2021-06-15 20:06:46 +02:00
z-index: $infostand-zindex;
pointer-events: auto;
2021-06-17 19:23:34 +02:00
box-shadow: inset 0 2px 0 rgba($white, .15), 0 1px 1px rgba($black, .1);
2021-06-15 20:06:46 +02:00
2021-06-20 18:30:15 +02:00
&.nitro-infostand-user {
max-width: 180px;
2021-06-15 20:06:46 +02:00
}
.pet-image {
position: relative;
width: 100%;
height: 130px;
background-repeat: no-repeat;
background-position: center;
}
.body-image {
display: flex;
align-items: center;
justify-content: center;
background-color: rgba($secondary, 1);
width: 100%;
max-width: 68px;
border-radius: 3px;
margin-right: 5px;
&.bot {
background-image: url('../../../../assets/images/infostand/bot_background.png');
background-repeat: no-repeat;
background-position: center;
}
&.furni {
background-color: transparent;
margin-right: 0;
}
}
2021-06-20 18:30:15 +02:00
.badge-image {
width: 45px;
height: 45px;
2021-06-15 20:06:46 +02:00
}
2021-06-20 18:30:15 +02:00
.motto-content {
min-height: 18px;
}
2021-06-15 20:06:46 +02:00
2021-06-20 18:30:15 +02:00
.motto-input {
width: 100%;
height: 100%;
font-size: 12px;
padding: 0;
outline: 0;
border: 0;
color: rgba($white, 1);
position: relative;
background: transparent;
resize: none;
2021-06-15 20:06:46 +02:00
2021-06-20 18:30:15 +02:00
&:focus {
font-style: italic;
2021-06-15 20:06:46 +02:00
}
}
}
.button-container {
pointer-events: auto;
}
}