+ unstable Navigation component
This commit is contained in:
1 parent
16a76fd793
commit
1e80bae401
6 files changed
+59
No files matched your search
@@ -0,0 +1,38 @@
|
||||
@import "../variables";
|
||||
|
||||
.navigation {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
overflow-x: scroll;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
white-space: nowrap;
|
||||
background-color: $darker-color;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navigation__right {
|
||||
color: $light-color;
|
||||
margin-right: 3em;
|
||||
}
|
||||
|
||||
@media (max-width: $mobile-width) {
|
||||
.navigation {
|
||||
overflow: hidden;
|
||||
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navigation__right {
|
||||
//display: none;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user