html
- background: $body-background
+ background-color: $body-background
font-size: $size-normal
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
color: $link-hover
code
- background: $code-background
+ background-color: $code-background
color: $code
font-size: 12px
font-weight: normal
// Block
pre
- background: $pre-background
+ background-color: $pre-background
color: $pre
white-space: pre
word-wrap: normal
code
- background: $pre-background
+ background-color: $pre-background
color: $pre
display: block
overflow-x: auto
border-right: 1px solid $border
.card
- background: $white
+ background-color: $white
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
color: $text
max-width: 100%
.media-number
- background: $background
+ background-color: $background
border-radius: 290486px
display: inline-block
font-size: $size-medium
display: block
padding: 5px 10px
&:hover
- background: $background
+ background-color: $background
color: $link
// Modifiers
&.is-active
- background: $link
+ background-color: $link
color: $link-invert
li
ul
color: inherit
.message-header
- background: $text
+ background-color: $text
border-radius: $radius $radius 0 0
color: $text-invert
padding: 7px 10px
.message
@extend .block
- background: $background
+ background-color: $background
border-radius: $radius
// Colors
@each $name, $pair in $colors
$lightning: max((100% - lightness($color)) - 4%, 0%)
$darkness: max(lightness($color) - 10%, lightness($color))
&.is-#{$name}
- background: lighten($color, $lightning)
+ background-color: lighten($color, $lightning)
.message-header
- background: $color
+ background-color: $color
color: $color-invert
.message-body
border-color: $color
.modal-background
+overlay
- background: rgba($black, 0.86)
+ background-color: rgba($black, 0.86)
.modal-content
margin: 0 20px
.modal-card
@extend .modal-content
- background: $white
+ background-color: $white
border-radius: $radius-large
display: flex
flex-direction: column
.modal-card-head,
.modal-card-foot
align-items: center
- background: $background
+ background-color: $background
display: flex
flex-shrink: 0
justify-content: flex-start
.nav-menu
// Responsiveness
+mobile
- background: $white
+ background-color: $white
box-shadow: 0 4px 7px rgba($black, 0.1)
left: 0
display: none
.nav
align-items: stretch
- background: $white
+ background-color: $white
display: flex
min-height: $nav-height
position: relative
line-height: inherit
.panel-heading
- background: $background
+ background-color: $background
border-bottom: 1px solid $border
border-radius: 4px 4px 0 0
color: $text-strong
a.panel-block
&:hover
- background: $background
+ background-color: $background
.panel
border: 1px solid $border
padding-bottom: 5px
padding-top: 5px
&:hover
- background: $background
+ background-color: $background
border-bottom-color: $border
li
&.is-active
a
- background: $white
+ background-color: $white
border-color: $border
border-bottom-color: transparent !important
&.is-fullwidth
padding-top: 5px
position: relative
&:hover
- background: $background
+ background-color: $background
border-color: $border-hover
z-index: 2
li
border-radius: 0 $radius $radius 0
&.is-active
a
- background: $primary
+ background-color: $primary
border-color: $primary
color: $primary-invert
z-index: 1
.box
@extend .block
- background: $white
+ background-color: $white
border-radius: $radius-large
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
display: block
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
- background: $color
+ background-color: $color
border-color: transparent
color: $color-invert
&:hover,
&:focus,
&.is-active
- background: darken($color, 10%)
+ background-color: darken($color, 10%)
border-color: transparent
color: $color-invert
&:active
border-color: transparent
&.is-inverted
- background: $color-invert
+ background-color: $color-invert
color: $color
&:hover
- background: darken($color-invert, 5%)
+ background-color: darken($color-invert, 5%)
&.is-loading
&:after
border-color: transparent transparent $color-invert $color-invert !important
&.is-outlined
- background: transparent
+ background-color: transparent
border-color: $color
color: $color
&:hover,
&:focus
- background: $color
+ background-color: $color
border-color: $color
color: $color-invert
&.is-link
- background: transparent
+ background-color: transparent
border-color: transparent
color: $text
text-decoration: underline
&:hover,
&:focus
- background: $border
+ background-color: $border
color: $text-strong
// Sizes
&.is-small
&:not(:first-child)
margin-top: 40px
blockquote
- background: $background
+ background-color: $background
border-left: 5px solid $border
padding: 1.5em
h1
.notification
@extend .block
+clearfix
- background: $background
+ background-color: $background
border-radius: $radius
padding: 16px 20px
position: relative
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
- background: $color
+ background-color: $color
color: $color-invert
@extend .unselectable
-moz-appearance: none
-webkit-appearance: none
- background: rgba($black, 0.2)
+ background-color: rgba($black, 0.2)
border: none
border-radius: 290486px
cursor: pointer
width: 24px
&:before,
&:after
- background: $white
+ background-color: $white
content: ""
display: block
height: 2px
&:after
transform: rotate(-45deg)
&:hover
- background: rgba($black, 0.5)
+ background-color: rgba($black, 0.5)
// Sizes
&.is-small
height: 16px
position: relative
width: $nav-height
span
- background: $text
+ background-color: $text
display: block
height: 1px
left: 50%
&:nth-child(3)
margin-top: 4px
&:hover
- background: $background
+ background-color: $background
// Modifers
&.is-active
span
- background: $link
+ background-color: $link
&:nth-child(1)
margin-left: -5px
transform: rotate(45deg)
width: 16px
.number
- background: $background
+ background-color: $background
border-radius: 290486px
display: inline-block
font-size: $size-medium
.tag
align-items: center
- background: $background
+ background-color: $background
border-radius: 290486px
color: $text
display: inline-flex
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
- background: $color
+ background-color: $color
color: $color-invert
// Sizes
&.is-small
padding: 0
width: 100%
&::-webkit-progress-bar
- background: $border
+ background-color: $border
&::-webkit-progress-value
- background: $text
+ background-color: $text
&::-moz-progress-bar
- background: $text
+ background-color: $text
// Colors
@each $name, $pair in $colors
$color: nth($pair, 1)
&.is-#{$name}
&::-webkit-progress-value
- background: $color
+ background-color: $color
&::-moz-progress-bar
- background: $color
+ background-color: $color
// Sizes
&.is-small
height: 8px
.table
- background: $white
+ background-color: $white
color: $text-strong
margin-bottom: 20px
width: 100%
display: block
padding: 8px 10px
&:hover
- background: $link
+ background-color: $link
color: $link-invert
&.is-narrow
white-space: nowrap
text-align: left
tr
&:hover
- background: $background
+ background-color: $background
color: $text-strong
thead
td,
tbody
tr
&:hover
- background: darken($background, 2%)
+ background-color: darken($background, 2%)
&:nth-child(2n)
- background: $background
+ background-color: $background
&:hover
- background: darken($background, 2%)
+ background-color: darken($background, 2%)
.footer
- background: $background
+ background-color: $background
padding: 40px 20px 80px
a
&,
.header
+clearfix
- background: $white
+ background-color: $white
display: flex
line-height: 24px
min-height: $header-height
justify-content: center
.header.is-small
- background: $background
+ background-color: $background
box-shadow: none
height: 40px
z-index: 1
.hero
align-items: stretch
- background: $white
+ background-color: $white
display: flex
flex-direction: column
justify-content: space-between
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
- background: $color
+ background-color: $color
color: $color-invert
.title
color: $color-invert
box-shadow: 0 1px 0 rgba($color-invert, 0.2)
.nav-menu
+mobile
- background: $color
+ background-color: $color
a.nav-item,
.nav-item a:not(.button)
color: rgba($color-invert, 0.5)
a
color: $color-invert
&:hover
- background: rgba($black, 0.1)
+ background-color: rgba($black, 0.1)
li.is-active a
&,
&:hover
- background: $color-invert
+ background-color: $color-invert
border-color: $color-invert
color: $color
// Modifiers
+mobile
.nav-toggle
span
- background: $color-invert
+ background-color: $color-invert
&:hover
- background: rgba($black, 0.1)
+ background-color: rgba($black, 0.1)
&.is-active
span
- background: $color-invert
+ background-color: $color-invert
.nav-menu
.nav-item
border-top-color: rgba($color-invert, 0.2)
.section
- background: $white
+ background-color: $white
padding: 40px 20px
// Responsiveness
+desktop
-moz-appearance: none
-webkit-appearance: none
align-items: center
- background: $control-background
+ background-color: $control-background
border: 1px solid $control-border
border-radius: $radius
color: $control
outline: none
&[disabled],
&.is-disabled
- background: $background
+ background-color: $background
border-color: $control-border
cursor: not-allowed
pointer-events: none
@content
=replace($background, $width, $height)
- background: $background center center no-repeat
+ background-color: $background
+ background-position: center center
+ background-repeat: no-repeat
background-size: $width $height
display: block
height: $height