@import "global";
@import "grid";
+@import "buttons";
//
// Top Bar Variables
text-transform: $topbar-link-text-transform;
background: $topbar-dropdown-bg;
+
&.button {
- background: $primary-color;
font-size: $topbar-link-font-size;
- padding-#{$opposite-direction}: $topbar-link-padding;
- padding-#{$default-float}: $topbar-link-padding;
- &:hover {
- background: scale-color($primary-color, $lightness: -27%);
- }
+ padding-#{$opposite-direction}: $topbar-link-padding;
+ padding-#{$default-float}: $topbar-link-padding;
+ @include button-style($bg:$primary-color);
}
- &.button.secondary {
- background: $secondary-color;
- &:hover {
- background: scale-color($secondary-color, $lightness: -11%);
- }
- }
- &.button.success {
- background: $success-color;
- &:hover {
- background: scale-color($success-color, $lightness: -21%);
- }
- }
- &.button.alert {
- background: $alert-color;
- &:hover {
- background: scale-color($alert-color, $lightness: -18%);
- }
- }
-
+ &.button.secondary { @include button-style($bg:$secondary-color); }
+ &.button.success { @include button-style($bg:$success-color); }
+ &.button.alert { @include button-style($bg:$alert-color); }
}
// Apply the hover link color when it has that class