$navbar-breakpoint: $desktop !default
+$navbar-colors: $colors !default
+
=navbar-fixed
left: 0
position: fixed
min-height: $navbar-height
position: relative
z-index: $navbar-z
- @each $name, $pair in $colors
+ @each $name, $pair in $navbar-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
$button-static-background-color: $scheme-main-ter !default
$button-static-border-color: $border !default
+$button-colors: $colors !default
+
// The button sizes use mixins so they can be used at different breakpoints
=button-small
border-radius: $radius-small
background-color: transparent
border-color: transparent
box-shadow: none
- @each $name, $pair in $colors
+ @each $name, $pair in $button-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
$notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
$notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
+$notification-colors: $colors !default
+
.notification
@extend %block
background-color: $notification-background-color
.content
color: currentColor
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $notification-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
$progress-indeterminate-duration: 1.5s !default
+$progress-colors: $colors !default
+
.progress
@extend %block
-moz-appearance: none
background-color: $progress-value-background-color
border: none
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $progress-colors
$color: nth($pair, 1)
&.is-#{$name}
&::-webkit-progress-value
$table-striped-row-even-background-color: $scheme-main-bis !default
$table-striped-row-even-hover-background-color: $scheme-main-ter !default
+$table-colors: $colors !default
+
.table
@extend %block
background-color: $table-background-color
padding: $table-cell-padding
vertical-align: top
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $table-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
$tag-radius: $radius !default
$tag-delete-margin: 1px !default
+$tag-colors: $colors !default
+
.tags
align-items: center
display: flex
+ltr-property("margin", 0.25rem, false)
+ltr-property("margin", -0.375rem)
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $tag-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
$file-name-border-width: 1px 1px 1px 0 !default
$file-name-max-width: 16em !default
+$file-colors: $form-colors !default
+
.file
@extend %unselectable
align-items: stretch
justify-content: flex-start
position: relative
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $file-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
$textarea-max-height: 40em !default
$textarea-min-height: 8em !default
+$textarea-colors: $form-colors !default
+
%input-textarea
@extend %input
box-shadow: $input-shadow
&[readonly]
box-shadow: none
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $textarea-colors
$color: nth($pair, 1)
&.is-#{$name}
border-color: $color
+$select-colors: $form-colors !default
+
.select
display: inline-block
max-width: 100%
&::after
border-color: $input-hover-color
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $select-colors
$color: nth($pair, 1)
&.is-#{$name}
&:not(:hover)::after
+$form-colors: $colors !default
+
$input-color: $text-strong !default
$input-background-color: $scheme-main !default
$input-border-color: $border !default
$help-size: $size-small !default
+$label-colors: $form-colors !default
+
.label
color: $label-color
display: block
display: block
font-size: $help-size
margin-top: 0.25rem
- @each $name, $pair in $colors
+ @each $name, $pair in $label-colors
$color: nth($pair, 1)
&.is-#{$name}
color: $color
$hero-body-padding-medium: 9rem 1.5rem !default
$hero-body-padding-large: 18rem 1.5rem !default
+$hero-colors: $colors !default
+
// Main container
.hero
align-items: stretch
ul
border-bottom: none
// Colors
- @each $name, $pair in $colors
+ @each $name, $pair in $hero-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}