This commit is contained in:
Jeremy Thomas
2016-12-23 13:20:13 +00:00
parent 919504dfea
commit bec6de6407
8 changed files with 40 additions and 122 deletions

View File

@@ -54,6 +54,10 @@ a.nav-item
border-bottom: 3px solid $primary
color: $primary
padding-bottom: calc(0.5rem - 3px)
// Responsiveness
+desktop
&.is-brand
padding-left: 0
// Containers
@@ -120,26 +124,6 @@ a.nav-item
display: flex
min-height: $nav-height
width: 100%
& > .nav-left
& > .nav-item:first-child:not(.is-tab)
padding-left: 0
& > .nav-right
& > .nav-item:last-child:not(.is-tab)
padding-right: 0
.container > &
& > .nav-left
& > .nav-item:first-child:not(.is-tab)
padding-left: 0
& > .nav-right
& > .nav-item:last-child:not(.is-tab)
padding-right: 0
// Modifiers
&.has-shadow
box-shadow: 0 2px 3px rgba($black, 0.1)
// Responsiveness
+touch
& > .container,
.container > &
& > .nav-left
& > .nav-item.is-brand:first-child
padding-left: 1.5rem