* Added: `.modal-card`
* Added: display responsive utilites
+* Added: `.nav-center`
+* Added: `.tabs ul` left center right
+* Changed: `.navbar` renamed to `.level`
+* Changed: `.header` renamed to `.nav`
+* Fixed: `.hero` layout
## 0.0.25
@import "card"
@import "grid"
@import "highlight"
+@import "level"
@import "media"
@import "menu"
@import "message"
@import "modal"
@import "nav"
-@import "navbar"
@import "pagination"
@import "panel"
@import "tabs"
--- /dev/null
+.level-item
+ .title,
+ .subtitle
+ margin-bottom: 0
+ // Responsiveness
+ +mobile
+ &:not(:last-child)
+ margin-bottom: 10px
+
+.level-left,
+.level-right
+ .level-item
+ &:not(:last-child)
+ margin-right: 10px
+ // Modifiers
+ &.is-flexible
+ flex: 1
+
+.level-left
+ // Responsiveness
+ +mobile
+ & + .level-right
+ margin-top: 20px
+ +tablet
+ align-items: center
+ display: flex
+
+.level-right
+ // Responsiveness
+ +tablet
+ align-items: center
+ display: flex
+ justify-content: flex-end
+
+.level
+ @extend .block
+ align-items: center
+ justify-content: space-between
+ code
+ border-radius: $radius
+ img
+ display: inline-block
+ vertical-align: top
+ // Modifiers
+ &.is-mobile
+ display: flex
+ & > .level-item
+ &:not(:last-child)
+ margin-bottom: 0
+ &:not(.is-narrow)
+ flex: 1
+ // Responsiveness
+ +tablet
+ display: flex
+ & > .level-item
+ &:not(.is-narrow)
+ flex: 1
display: flex
min-height: $nav-height
width: 100%
- +tablet
- & > .container
- & > .nav-left
- margin-left: -10px
- & > .nav-right
- margin-left: -10px
+ // Modifiers
+ &.has-shadow
+ box-shadow: 0 2px 3px rgba($black, 0.1)
.nav-toggle
@extend .hamburger
// Modifiers
&.is-active
color: $link-active
+ &.is-tab
+ border-bottom: 1px solid transparent
+ border-top: 1px solid transparent
+ padding-left: 12px
+ padding-right: 12px
+ &:hover
+ border-bottom: 1px solid $link
+ border-top: 1px solid transparent
+ &.is-active
+ border-bottom: 3px solid $link
+ border-top: 3px solid transparent
+ color: $link
.nav-tab
align-items: center
- border-bottom: 1px solid transparent
+ border: 1px solid transparent
color: $text
display: block
height: $nav-height
.nav-item
border-top: 1px solid rgba($border, 0.5)
padding: 10px
- // Modifiers
&.is-active
display: block
align-items: stretch
display: flex
flex: 1
+ justify-content: flex-start
overflow: hidden
overflow-x: auto
white-space: nowrap
-.nav-right
+.nav-center
align-items: stretch
+ display: flex
+ justify-content: center
+
+.nav-right
// Responsiveness
+tablet
+ align-items: stretch
display: flex
+ flex: 1
+ justify-content: flex-end
a
background: $white
border-color: $border
- border-bottom-color: transparent
+ border-bottom-color: transparent !important
&.is-fullwidth
li
flex: 1
.content
@extend .block
// Inline
+ a
+ &:visited
+ color: $link-visited
li + li
margin-top: 0.25em
// Block
justify-content: space-between
.nav
background: none
- & > .container
- box-shadow: 0 1px 0 rgba($border, 0.3)
+ box-shadow: 0 1px 0 rgba($border, 0.3)
.tabs
- a
- border: none
ul
border-bottom: none
// Colors
strong
color: $color-invert
.nav
- & > .container
- box-shadow: 0 1px 0 rgba($color-invert, 0.2)
+ box-shadow: 0 1px 0 rgba($color-invert, 0.2)
+ .nav-menu
+ +mobile
+ background: $color
a.nav-item,
.nav-item a:not(.button)
color: rgba($color-invert, 0.5)
&,
&:hover
background: $color-invert
+ border-color: $color-invert
color: $color
// Modifiers
&.is-bold
&.is-fullheight
min-height: 100vh
.hero-body
- align-items: stretch
+ align-items: center
display: flex
- flex-direction: column
- justify-content: center
- padding-bottom: 240px
- padding-top: 240px
+ & > .container
+ align-items: stretch
+ display: flex
+ flex: 1
+ flex-direction: column
+ justify-content: center
@charset "utf-8"
-@import "header"
@import "hero"
@import "section"
@import "footer"