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

122 lines
3.0 KiB
SCSS
Raw Normal View History

2021-04-24 03:04:49 +02:00
.nitro-toolbar-container {
2021-04-14 21:12:16 +02:00
position: absolute;
2021-05-05 00:40:01 +02:00
bottom: 0;
left: 0;
width: 100%;
2021-05-12 02:29:00 +02:00
height: 59px;
2021-04-14 21:12:16 +02:00
z-index: $toolbar-zindex;
2021-05-05 00:40:01 +02:00
.nitro-toolbar {
height: 100%;
pointer-events: all;
2021-05-12 02:29:00 +02:00
background: rgba(20, 20, 20, .95);
border-top: 1px solid #101010;
box-shadow: inset 0px 2px rgba(255, 255, 255, .1);
2021-04-24 03:04:49 +02:00
2021-05-05 00:40:01 +02:00
.navigation-items {
2021-04-14 21:12:16 +02:00
display: flex;
align-items: center;
2021-05-12 02:29:00 +02:00
&.navigation-avatar {
border-right: 1px solid rgba(0, 0, 0, .3);
}
2021-05-05 00:40:01 +02:00
.navigation-item {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
width: 50px;
margin: 0 1px;
2021-04-14 21:12:16 +02:00
2021-05-12 02:29:00 +02:00
.toolbar-avatar {
height: 50px;
.avatar-image {
margin-left: -5px;
2021-05-12 03:12:42 +02:00
margin-top: -30px;
2021-05-12 02:29:00 +02:00
}
&:hover, &.active {
height: 53px;
}
}
2021-05-05 00:40:01 +02:00
.icon,
2021-05-12 02:29:00 +02:00
.toolbar-avatar {
transition: transform .2s ease-out;
2021-04-14 21:12:16 +02:00
2021-05-12 02:29:00 +02:00
&:hover, &.active {
-webkit-transform: translate(0, -3px);
transform: translate(0, -3px);
filter: drop-shadow(2px 2px 0 rgba($black, 0.8));
2021-05-05 00:40:01 +02:00
}
}
2021-04-14 21:12:16 +02:00
2021-05-05 00:40:01 +02:00
.avatar-image {
pointer-events: none;
}
2021-04-22 08:45:47 +02:00
2021-05-05 00:40:01 +02:00
.chat-input-container {
left: 60px;
}
.count {
top: 0rem;
right: 5px;
font-size: 10px;
}
2021-04-14 21:12:16 +02:00
}
}
2021-05-05 00:40:01 +02:00
.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;
2021-04-14 21:12:16 +02:00
i {
2021-05-05 00:40:01 +02:00
filter: grayscale(1);
}
&:hover {
color: $cyan;
text-decoration: underline;
i {
filter: grayscale(0);
}
}
.count {
top: 0px;
right: 5px;
font-size: 10px;
2021-04-14 21:12:16 +02:00
}
}
}
}
}
}
.toolbar-icon-animation {
position: absolute;
object-fit: cover;
height: auto;
width: auto;
max-width: 120px;
max-height: 150px;
z-index: 500;
}
2021-05-12 02:29:00 +02:00
@import './me/ToolbarMeView';