box-shadow: none;
}
+.button.is-ghost {
+ background: none;
+ border-color: transparent;
+ color: #3273dc;
+ text-decoration: none;
+}
+
+.button.is-ghost:hover, .button.is-ghost.is-hovered {
+ color: #3273dc;
+ text-decoration: underline;
+}
+
.button.is-white {
background-color: white;
border-color: transparent;
<button class="button is-dark">Dark</button>
<button class="button is-black">Black</button>
<button class="button is-text">Text</button>
+<button class="button is-ghost">Ghost</button>
{% endcapture %}
{% capture button_colors_b_example %}
$button-text-hover-background-color: $background !default
$button-text-hover-color: $text-strong !default
+$button-ghost-background: none !default
+$button-ghost-border-color: transparent !default
+$button-ghost-color: $link !default
+$button-ghost-decoration: none !default
+$button-ghost-hover-color: $link !default
+$button-ghost-hover-decoration: underline !default
+
$button-disabled-background-color: $scheme-main !default
$button-disabled-border-color: $border !default
$button-disabled-shadow: none !default
background-color: transparent
border-color: transparent
box-shadow: none
+ &.is-ghost
+ background: $button-ghost-background
+ border-color: $button-ghost-border-color
+ color: $button-ghost-color
+ text-decoration: $button-ghost-decoration
+ &:hover,
+ &.is-hovered
+ color: $button-ghost-hover-color
+ text-decoration: $button-ghost-hover-decoration
@each $name, $pair in $button-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)