Skip to content
Snippets Groups Projects
Commit e3db9300 authored by alexisben's avatar alexisben
Browse files

polish nav

parent ac3d4a62
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,8 @@ ...@@ -82,7 +82,8 @@
img img
max-width: 100% max-width: 100%
figure figure
margin-right: half($grid-gutter) margin-left: $grid-gutter
margin-right: half(-$grid-gutter)
picture picture
img img
// FIXME Arnaud: I would like images at constant height, can't manage to get it right. // FIXME Arnaud: I would like images at constant height, can't manage to get it right.
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
@include meta @include meta
cursor: pointer cursor: pointer
transition: text-decoration 0.15s transition: text-decoration 0.15s
display: block
&:not(:hover) &:not(:hover)
text-decoration-color: transparent text-decoration-color: transparent
&[aria-expanded] &[aria-expanded]
...@@ -89,6 +90,9 @@ ...@@ -89,6 +90,9 @@
@include meta @include meta
@include media-breakpoint-up(desktop) @include media-breakpoint-up(desktop)
.nav-level-3
li
margin-top: $spacing0
@if $header-dropdown-full @if $header-dropdown-full
.dropdown-menu .dropdown-menu
inset: 100% 0 auto 0 inset: 100% 0 auto 0
...@@ -127,7 +131,7 @@ ...@@ -127,7 +131,7 @@
display: block display: block
li li
a, span a, span
padding: half($spacing1) 0 padding: half($spacing0) 0
display: block display: block
> li:not(:last-child) > li:not(:last-child)
border-bottom: 1px solid #adb5bd border-bottom: 1px solid #adb5bd
...@@ -156,6 +160,8 @@ ...@@ -156,6 +160,8 @@
.nav-level-2 .nav-level-2
> .has-children + .has-children > .has-children + .has-children
margin-top: $spacing1 margin-top: $spacing1
.nav-level-3
padding-top: 0
.share .share
display: flex display: flex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment