2016-05-07 22:40:06 +00:00
|
|
|
// Components
|
|
|
|
|
2016-01-26 00:02:38 +00:00
|
|
|
.hero-video
|
|
|
|
+overlay
|
|
|
|
overflow: hidden
|
|
|
|
video
|
|
|
|
left: 50%
|
|
|
|
min-height: 100%
|
|
|
|
min-width: 100%
|
|
|
|
position: absolute
|
|
|
|
top: 50%
|
|
|
|
transform: translate3d(-50%, -50%, 0)
|
2016-04-10 15:56:27 +00:00
|
|
|
// Modifiers
|
|
|
|
&.is-transparent
|
|
|
|
opacity: 0.3
|
|
|
|
// Responsiveness
|
2016-01-26 00:02:38 +00:00
|
|
|
+mobile
|
|
|
|
display: none
|
|
|
|
|
2016-01-24 12:32:11 +00:00
|
|
|
.hero-buttons
|
|
|
|
margin-top: 20px
|
2016-04-10 15:56:27 +00:00
|
|
|
// Responsiveness
|
2016-01-24 12:32:11 +00:00
|
|
|
+mobile
|
|
|
|
.button
|
2016-05-07 22:40:06 +00:00
|
|
|
display: flex
|
2016-01-24 12:32:11 +00:00
|
|
|
&:not(:last-child)
|
|
|
|
margin-bottom: 10px
|
|
|
|
+tablet
|
|
|
|
display: flex
|
|
|
|
justify-content: center
|
|
|
|
.button:not(:last-child)
|
|
|
|
margin-right: 20px
|
|
|
|
|
2016-05-07 22:40:06 +00:00
|
|
|
// Containers
|
|
|
|
|
|
|
|
.hero-head,
|
|
|
|
.hero-foot
|
|
|
|
flex-shrink: 0
|
|
|
|
|
|
|
|
.hero-body
|
|
|
|
flex: 1
|
|
|
|
padding: 40px 20px
|
|
|
|
// Responsiveness
|
|
|
|
+desktop
|
|
|
|
padding-left: 0
|
|
|
|
padding-right: 0
|
|
|
|
|
|
|
|
// Main container
|
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.hero
|
2016-05-07 22:40:06 +00:00
|
|
|
align-items: stretch
|
2016-05-05 23:23:00 +00:00
|
|
|
background: $white
|
2016-05-07 22:40:06 +00:00
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
|
|
|
justify-content: space-between
|
|
|
|
.nav
|
2016-01-24 00:03:43 +00:00
|
|
|
background: none
|
2016-05-08 00:35:43 +00:00
|
|
|
box-shadow: 0 1px 0 rgba($border, 0.3)
|
2016-01-24 00:03:43 +00:00
|
|
|
.tabs
|
2016-01-26 00:02:38 +00:00
|
|
|
ul
|
|
|
|
border-bottom: none
|
2016-04-10 15:56:27 +00:00
|
|
|
// Colors
|
2016-01-24 00:03:43 +00:00
|
|
|
@each $name, $pair in $colors
|
|
|
|
$color: nth($pair, 1)
|
|
|
|
$color-invert: nth($pair, 2)
|
|
|
|
&.is-#{$name}
|
|
|
|
background: $color
|
|
|
|
color: $color-invert
|
|
|
|
.title
|
|
|
|
color: $color-invert
|
2016-01-27 00:24:05 +00:00
|
|
|
a,
|
2016-01-24 00:03:43 +00:00
|
|
|
strong
|
|
|
|
color: inherit
|
|
|
|
.subtitle
|
|
|
|
color: rgba($color-invert, 0.7)
|
2016-04-16 15:29:36 +00:00
|
|
|
a,
|
2016-01-24 00:03:43 +00:00
|
|
|
strong
|
|
|
|
color: $color-invert
|
2016-05-07 22:40:06 +00:00
|
|
|
.nav
|
2016-05-08 00:35:43 +00:00
|
|
|
box-shadow: 0 1px 0 rgba($color-invert, 0.2)
|
|
|
|
.nav-menu
|
|
|
|
+mobile
|
|
|
|
background: $color
|
2016-05-07 22:40:06 +00:00
|
|
|
a.nav-item,
|
|
|
|
.nav-item a:not(.button)
|
2016-03-25 13:38:40 +00:00
|
|
|
color: rgba($color-invert, 0.5)
|
2016-01-24 00:03:43 +00:00
|
|
|
&:hover,
|
|
|
|
&.is-active
|
2016-03-25 13:38:40 +00:00
|
|
|
color: $color-invert
|
2016-01-24 00:03:43 +00:00
|
|
|
.tabs
|
|
|
|
a
|
|
|
|
color: $color-invert
|
|
|
|
opacity: 0.5
|
|
|
|
&:hover
|
|
|
|
opacity: 1
|
2016-05-07 22:40:06 +00:00
|
|
|
li
|
|
|
|
&.is-active a
|
|
|
|
opacity: 1
|
2016-01-26 00:02:38 +00:00
|
|
|
&.is-boxed,
|
|
|
|
&.is-toggle
|
2016-01-24 00:03:43 +00:00
|
|
|
a
|
|
|
|
color: $color-invert
|
|
|
|
&:hover
|
2016-05-05 23:23:00 +00:00
|
|
|
background: rgba($black, 0.1)
|
2016-01-24 00:03:43 +00:00
|
|
|
li.is-active a
|
|
|
|
&,
|
|
|
|
&:hover
|
|
|
|
background: $color-invert
|
2016-05-08 00:35:43 +00:00
|
|
|
border-color: $color-invert
|
2016-01-24 00:03:43 +00:00
|
|
|
color: $color
|
2016-04-10 15:56:27 +00:00
|
|
|
// Modifiers
|
2016-01-24 00:03:43 +00:00
|
|
|
&.is-bold
|
|
|
|
$gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
|
|
|
|
$gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
|
|
|
|
background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
|
2016-04-10 15:56:27 +00:00
|
|
|
// Responsiveness
|
2016-01-24 00:03:43 +00:00
|
|
|
+mobile
|
2016-05-07 22:40:06 +00:00
|
|
|
.nav-toggle
|
2016-01-24 00:03:43 +00:00
|
|
|
span
|
|
|
|
background: $color-invert
|
|
|
|
&:hover
|
2016-05-05 23:23:00 +00:00
|
|
|
background: rgba($black, 0.1)
|
2016-01-24 00:03:43 +00:00
|
|
|
&.is-active
|
|
|
|
span
|
|
|
|
background: $color-invert
|
2016-05-07 22:40:06 +00:00
|
|
|
.nav-menu
|
|
|
|
.nav-item
|
2016-01-24 00:03:43 +00:00
|
|
|
border-top-color: rgba($color-invert, 0.2)
|
2016-04-10 15:56:27 +00:00
|
|
|
// Sizes
|
2016-01-24 00:03:43 +00:00
|
|
|
&.is-medium
|
|
|
|
+tablet
|
2016-05-07 22:40:06 +00:00
|
|
|
.hero-body
|
|
|
|
padding-bottom: 120px
|
|
|
|
padding-top: 120px
|
|
|
|
&.is-large
|
|
|
|
+tablet
|
|
|
|
.hero-body
|
|
|
|
padding-bottom: 240px
|
|
|
|
padding-top: 240px
|
2016-01-24 12:32:11 +00:00
|
|
|
&.is-fullheight
|
2016-01-30 21:40:28 +00:00
|
|
|
min-height: 100vh
|
2016-05-07 22:40:06 +00:00
|
|
|
.hero-body
|
2016-05-08 00:35:43 +00:00
|
|
|
align-items: center
|
2016-01-24 12:32:11 +00:00
|
|
|
display: flex
|
2016-05-08 00:35:43 +00:00
|
|
|
& > .container
|
|
|
|
flex: 1
|