Almost there
This commit is contained in:
10
style.scss
10
style.scss
@ -148,15 +148,18 @@ nav.main {
|
|||||||
top: -20px; // hardcoded!
|
top: -20px; // hardcoded!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// single item: just a dot
|
// single item: just a dot
|
||||||
&:first-of-type:last-of-type {
|
&:first-of-type:last-of-type {
|
||||||
|
&::before {
|
||||||
|
// background-image: none;
|
||||||
|
}
|
||||||
> a {
|
> a {
|
||||||
&::before {
|
&::before {
|
||||||
background-image: $dot-img;
|
background-image: $dot-img;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@include variable-left-border-connector($subnav-indent * 4);
|
@include variable-left-border-connector($subnav-indent * 4);
|
||||||
|
|
||||||
// subnav level 2
|
// subnav level 2
|
||||||
@ -168,6 +171,8 @@ nav.main {
|
|||||||
left: $subnav-indent * 4;
|
left: $subnav-indent * 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@include variable-left-border-connector($subnav-indent * 7);
|
||||||
|
|
||||||
// subnav level 3
|
// subnav level 3
|
||||||
> ul {
|
> ul {
|
||||||
li {
|
li {
|
||||||
@ -177,10 +182,11 @@ nav.main {
|
|||||||
left: $subnav-indent * 7;
|
left: $subnav-indent * 7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@include variable-left-border-connector($subnav-indent * 10);
|
||||||
|
|
||||||
// subnav level 4
|
// subnav level 4
|
||||||
> ul {
|
> ul {
|
||||||
> li {
|
li {
|
||||||
a {
|
a {
|
||||||
padding-left: $subnav-indent * 13;
|
padding-left: $subnav-indent * 13;
|
||||||
&::before {
|
&::before {
|
||||||
|
|||||||
Reference in New Issue
Block a user