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

82 lines
1.9 KiB
SCSS
Raw Normal View History

2022-02-22 07:40:22 +01:00
.nitro-toolbar {
2022-01-06 04:05:35 +01:00
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: $toolbar-height;
z-index: $toolbar-zindex;
2022-02-22 07:40:22 +01:00
pointer-events: all;
background: rgba($dark, 0.95);
box-shadow: inset 0px 5px lighten(rgba($dark, 0.6), 2.5),
inset 0 -4px darken(rgba($dark, 0.6), 4);
2022-01-06 04:05:35 +01:00
2022-02-22 07:40:22 +01:00
.navigation-item {
2022-02-23 19:24:59 +01:00
position: relative;
2022-01-06 04:05:35 +01:00
2022-02-22 07:40:22 +01:00
&.item-avatar {
width: 50px;
height: 45px;
overflow: hidden;
.avatar-image {
margin-left: -5px;
margin-top: 25px;
2022-01-06 04:05:35 +01:00
}
}
2022-02-22 07:40:22 +01:00
&:hover {
-webkit-transform: translate(-1px, -1px);
transform: translate(-1px, -1px);
filter: drop-shadow(2px 2px 0 rgba($black, 0.8));
2022-01-06 04:05:35 +01:00
}
2022-02-22 07:40:22 +01:00
&.active,
&:active {
2022-02-23 19:24:59 +01:00
-webkit-transform: unset;
transform: unset;
filter: none;
2022-02-22 07:40:22 +01:00
}
}
2022-01-06 04:05:35 +01:00
2022-02-22 07:40:22 +01:00
#toolbar-chat-input-container {
2022-01-06 04:05:35 +01:00
2022-02-22 07:40:22 +01:00
@include media-breakpoint-down(sm) {
width: 0px;
height: 0px;
}
}
}
2022-01-06 04:05:35 +01:00
2022-02-22 07:40:22 +01:00
.nitro-toolbar-me {
position: absolute;
bottom: 60px;
left: 15px;
z-index: $toolbar-memenu-zindex;
background: rgba(20, 20, 20, .95);
border: 1px solid #101010;
box-shadow: inset 2px 2px rgba(255, 255, 255, .1), inset -2px -2px rgba(255, 255, 255, .1);
border-radius: $border-radius;
2022-01-06 04:05:35 +01:00
2022-02-22 07:40:22 +01:00
.navigation-item {
transition: filter .2s ease-out;
filter: grayscale(1);
2022-01-06 04:05:35 +01:00
2022-02-22 07:40:22 +01:00
&:hover {
filter: grayscale(0) drop-shadow(2px 2px 0 rgba($black, 0.8));
2022-01-06 04:05:35 +01:00
}
}
}
.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));
}