nitro-react/src/views/toolbar/ToolbarView.scss

99 lines
2.2 KiB
SCSS
Raw Normal View History

2021-04-14 21:12:16 +02:00
.nitro-toolbar {
position: absolute;
2021-04-22 08:45:47 +02:00
width: 70px;
top: 10px;
2021-04-14 21:12:16 +02:00
left: 10px;
z-index: $toolbar-zindex;
pointer-events: all;
.list-group {
align-items: center;
.list-group-item {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: unset;
min-width: 50px;
2021-04-15 08:23:55 +02:00
min-height: 60px;
2021-04-14 21:12:16 +02:00
width: 50px;
2021-04-15 08:23:55 +02:00
height: 60px;
2021-04-14 21:12:16 +02:00
margin: 0 5px;
&:active {
-webkit-transform: translate(0, 1px);
transform: translate(0, 1px);
}
2021-04-15 08:23:55 +02:00
.avatar-image {
top: 20px;
2021-04-14 21:12:16 +02:00
}
.icon,
.avatar-image {
position: relative;
filter: drop-shadow(0px 2px 0px black);
}
2021-04-22 08:45:47 +02:00
.chat-input-container {
left: 60px;
}
2021-04-14 21:12:16 +02:00
.count {
top: 0rem;
right: 5px;
font-size: 10px;
}
}
}
.nitro-toolbar-me-menu {
bottom: 77px;
left: 200px;
position: absolute;
font-size: 12px;
z-index: $toolbar-memenu-zindex;
.list-group {
.list-group-item {
min-width: 70px;
transition: all .3s;
font-size: 10px;
text-align: center;
i {
filter: grayscale(1);
}
&:hover {
color: $cyan;
text-decoration: underline;
i {
filter: grayscale(0);
}
}
.count {
top: 0px;
right: 5px;
font-size: 10px;
}
}
}
}
}
.toolbar-icon-animation {
position: absolute;
object-fit: cover;
height: auto;
width: auto;
max-width: 120px;
max-height: 150px;
z-index: 500;
filter: drop-shadow(2px 1px 0 rgba($white, 1)) drop-shadow(-2px 1px 0 rgba($white, 1)) drop-shadow(0 -2px 0 rgba($white, 1));
}