mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix up button colour variables
This commit is contained in:
@@ -395,6 +395,8 @@
|
||||
.button.secondary {
|
||||
display: block;
|
||||
background-color: $color-btn-secondary-hover-bg;
|
||||
color: $color-btn-hover-bg;
|
||||
border-color: $color-btn-hover-border;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,20 +54,16 @@ button:not(.plain):not(.trix-button),
|
||||
|
||||
&.secondary {
|
||||
background-color: $color-btn-secondary-bg;
|
||||
border: 1px solid $color-btn-bg;
|
||||
color: $color-btn-bg;
|
||||
color: $color-link;
|
||||
|
||||
&:hover {
|
||||
background-color: $color-11;
|
||||
border: 1px solid $color-btn-secondary-hover-bg;
|
||||
color: $color-btn-secondary-hover-bg;
|
||||
background-color: $color-btn-secondary-hover-bg;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&:focus {
|
||||
background-color: $color-11;
|
||||
border: 1px solid $color-4;
|
||||
color: $color-4;
|
||||
background-color: $color-btn-secondary-hover-bg;
|
||||
border-color: $color-link-focus;
|
||||
color: $color-link-focus;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ $color-btn-disabled-text: $lighter-grey !default;
|
||||
$color-btn-red-bg: $red !default;
|
||||
$color-btn-red-hover-bg: $roof-terracotta !default;
|
||||
$color-btn-secondary-bg: $white !default;
|
||||
$color-btn-secondary-hover-bg: $orient !default;
|
||||
$color-btn-secondary-hover-bg: $mystic !default;
|
||||
|
||||
// Actions colors
|
||||
$color-action-edit-bg: very-light($teal) !default;
|
||||
|
||||
Reference in New Issue
Block a user