mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
93 lines
No EOL
2.1 KiB
Text
93 lines
No EOL
2.1 KiB
Text
// Copyright (C) 2017-2022 Smart code 203358507
|
|
|
|
@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';
|
|
|
|
.horizontal-nav-bar-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
height: var(--horizontal-nav-bar-size);
|
|
padding-right: 1rem;
|
|
background-color: @color-background;
|
|
overflow: visible;
|
|
|
|
.logo-container {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: var(--vertical-nav-bar-size);
|
|
height: var(--horizontal-nav-bar-size);
|
|
|
|
.logo {
|
|
flex: none;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
object-position: center;
|
|
object-fit: contain;
|
|
opacity: 0.9;
|
|
}
|
|
}
|
|
|
|
.spacing {
|
|
flex: 1 0 0;
|
|
}
|
|
|
|
.title {
|
|
flex: 4 0 0;
|
|
padding: 0 1rem;
|
|
font-size: 1.2rem;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
letter-spacing: 0.01rem;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: @color-secondaryvariant2-light1-90;
|
|
|
|
&+.spacing {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.search-bar {
|
|
flex: 2 0 9.5rem;
|
|
max-width: 30rem;
|
|
|
|
&+.spacing {
|
|
max-width: 11rem;
|
|
}
|
|
}
|
|
|
|
.button-container {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: var(--horizontal-nav-bar-size);
|
|
height: var(--horizontal-nav-bar-size);
|
|
|
|
&.back-button-container {
|
|
width: var(--vertical-nav-bar-size);
|
|
height: var(--horizontal-nav-bar-size);
|
|
}
|
|
|
|
&:hover {
|
|
background-color: @color-background-light2;
|
|
}
|
|
|
|
&:global(.active) {
|
|
background-color: @color-background-light3;
|
|
|
|
.icon {
|
|
fill: @color-surface-light5-90;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
flex: none;
|
|
width: 1.7rem;
|
|
height: 1.7rem;
|
|
fill: @color-secondaryvariant2-light1-90;
|
|
}
|
|
}
|
|
} |