Allow different hover button colors per tenant
This commit is contained in:
@@ -5,14 +5,16 @@
|
|||||||
// `.tenant-public` selector.
|
// `.tenant-public` selector.
|
||||||
//
|
//
|
||||||
// You can use CSS variables to customize the colors. Here's an example
|
// You can use CSS variables to customize the colors. Here's an example
|
||||||
// changing the brand, links and main layout colors for just the main
|
// changing the brand, buttons, links and main layout colors for just
|
||||||
// tenant.
|
// the main tenant.
|
||||||
//
|
//
|
||||||
// .tenant-public {
|
// .tenant-public {
|
||||||
// --anchor-color: #372;
|
// --anchor-color: #372;
|
||||||
// --anchor-color-hover: #137;
|
// --anchor-color-hover: #137;
|
||||||
// --brand: #153;
|
// --brand: #153;
|
||||||
// --brand-secondary: #134a00;
|
// --brand-secondary: #134a00;
|
||||||
|
// --button-background-hover: #fa0;
|
||||||
|
// --button-background-hover-contrast: #{$black};
|
||||||
// --footer: #e6e6e6;
|
// --footer: #e6e6e6;
|
||||||
// --main-header: #351;
|
// --main-header: #351;
|
||||||
// --top-links: var(--main-header);
|
// --top-links: var(--main-header);
|
||||||
|
|||||||
@@ -122,7 +122,6 @@ button,
|
|||||||
|
|
||||||
.button {
|
.button {
|
||||||
@extend %button;
|
@extend %button;
|
||||||
@include brand-background;
|
|
||||||
|
|
||||||
&.medium {
|
&.medium {
|
||||||
font-size: $small-font-size;
|
font-size: $small-font-size;
|
||||||
|
|||||||
@@ -14,10 +14,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%button {
|
|
||||||
@include base-button;
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin regular-button($color: $brand) {
|
@mixin regular-button($color: $brand) {
|
||||||
@include base-button;
|
@include base-button;
|
||||||
|
|
||||||
@@ -29,10 +25,14 @@
|
|||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
@include background-with-text-contrast($button-background-hover);
|
@include background-with-text-contrast($button-background-hover, button-background-hover);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%button {
|
||||||
|
@include regular-button;
|
||||||
|
}
|
||||||
|
|
||||||
@mixin hollow-button($color: $anchor-color) {
|
@mixin hollow-button($color: $anchor-color) {
|
||||||
@include normal-selection;
|
@include normal-selection;
|
||||||
@include base-button;
|
@include base-button;
|
||||||
|
|||||||
Reference in New Issue
Block a user