Corrected top menu styling using sticky
This commit is contained in:
parent
1afec10f28
commit
0c24b915a6
@ -6,10 +6,8 @@
|
||||
text-align: center;
|
||||
|
||||
@include abstract.for-desktop {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
width: 100vw;
|
||||
z-index: 5000;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
|
||||
@ -31,6 +29,7 @@
|
||||
.mod-menu__sub > li {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.nav {
|
||||
@ -38,13 +37,11 @@
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
|
||||
@include abstract.for-desktop {
|
||||
padding: 0 10px;
|
||||
margin: 0;
|
||||
height: 40px;
|
||||
width: 980px;
|
||||
}
|
||||
|
||||
@ -52,14 +49,11 @@
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
|
||||
// height: 100%;
|
||||
|
||||
@include abstract.for-desktop {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
> a {
|
||||
position: relative;
|
||||
font-size: large;
|
||||
display: block;
|
||||
height: 100%;
|
||||
@ -81,7 +75,6 @@
|
||||
display: none;
|
||||
|
||||
@include abstract.for-desktop {
|
||||
z-index: 3000;
|
||||
margin: 0 20px 10px 0;
|
||||
border: none;
|
||||
padding: 0;
|
||||
@ -98,9 +91,6 @@
|
||||
@include abstract.for-desktop {
|
||||
padding: 10px 5px 10px 4px;
|
||||
|
||||
// border-left-color: transparent;
|
||||
// border-left-style: solid;
|
||||
// border-left-width: 6px;
|
||||
border-left: 6px solid transparent;
|
||||
}
|
||||
}
|
||||
@ -165,8 +155,11 @@
|
||||
|
||||
#topmenu-div {
|
||||
@include abstract.for-desktop {
|
||||
position: sticky;
|
||||
top: 0px;
|
||||
width: 100vw;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -174,6 +167,8 @@ a.facebook {
|
||||
img {
|
||||
display: none;
|
||||
|
||||
height: 25px;
|
||||
|
||||
@include abstract.for-desktop {
|
||||
display: inline;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user