mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
fix(toolbar): change to activated background color
This commit is contained in:
@ -199,7 +199,7 @@
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
&.activated {
|
&.activated {
|
||||||
color: $toolbar-ios-text-color;
|
color: $toolbar-ios-background-color;
|
||||||
background-color: $toolbar-ios-button-color;
|
background-color: $toolbar-ios-button-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ $toolbar-ios-button-color: ion-color($colors-ios, prima
|
|||||||
$toolbar-ios-button-background-color: $toolbar-ios-background-color !default;
|
$toolbar-ios-button-background-color: $toolbar-ios-background-color !default;
|
||||||
|
|
||||||
/// @prop - Background color of the toolbar button when activated
|
/// @prop - Background color of the toolbar button when activated
|
||||||
$toolbar-ios-button-background-color-activated: ion-color($colors-ios, primary, tint, ios);
|
$toolbar-ios-button-background-color-activated: $toolbar-ios-color-active !default;
|
||||||
|
|
||||||
/// @prop - Border radius of the toolbar button
|
/// @prop - Border radius of the toolbar button
|
||||||
$toolbar-ios-button-border-radius: 4px !default;
|
$toolbar-ios-button-border-radius: 4px !default;
|
||||||
|
@ -28,7 +28,7 @@ $toolbar-md-button-color: $toolbar-md-text-color !defaul
|
|||||||
$toolbar-md-button-background-color: $toolbar-md-background-color !default;
|
$toolbar-md-button-background-color: $toolbar-md-background-color !default;
|
||||||
|
|
||||||
/// @prop - Background color of the toolbar button when activated
|
/// @prop - Background color of the toolbar button when activated
|
||||||
$toolbar-md-button-background-color-activated: ion-color($colors-md, primary, tint, md);
|
$toolbar-md-button-background-color-activated: $toolbar-md-color-active !default;
|
||||||
|
|
||||||
/// @prop - Border radius of the toolbar button
|
/// @prop - Border radius of the toolbar button
|
||||||
$toolbar-md-button-border-radius: 2px !default;
|
$toolbar-md-button-border-radius: 2px !default;
|
||||||
|
@ -105,7 +105,7 @@ $toolbar-md-height: 56px !default;
|
|||||||
$toolbar-md-padding: 4px !default;
|
$toolbar-md-padding: 4px !default;
|
||||||
$toolbar-md-background-color: css-var($toolbar-background-color, toolbar-md-background-color) !default;
|
$toolbar-md-background-color: css-var($toolbar-background-color, toolbar-md-background-color) !default;
|
||||||
$toolbar-md-border-color: css-var($border-md-color, toolbar-md-border-color) !default;
|
$toolbar-md-border-color: css-var($border-md-color, toolbar-md-border-color) !default;
|
||||||
$toolbar-md-color-active: css-var($toolbar-color-active, toolbar-md-color-active) !default;
|
$toolbar-md-color-active: css-var(#4a4a4a, toolbar-md-color-active) !default;
|
||||||
$toolbar-md-color-inactive: css-var($toolbar-color-inactive, toolbar-md-color-inactive) !default;
|
$toolbar-md-color-inactive: css-var($toolbar-color-inactive, toolbar-md-color-inactive) !default;
|
||||||
$toolbar-md-text-color: css-var(#424242, toolbar-md-text-color) !default;
|
$toolbar-md-text-color: css-var(#424242, toolbar-md-text-color) !default;
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ $tabbar-text-color: css-var(#8c8c8c, tabbar-text-color) !def
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
$toolbar-background-color: css-var(#f8f8f8, toolbar-background-color) !default;
|
$toolbar-background-color: css-var(#f8f8f8, toolbar-background-color) !default;
|
||||||
$toolbar-border-color: css-var($border-color, toolbar-border-color) !default;
|
$toolbar-border-color: css-var($border-color, toolbar-border-color) !default;
|
||||||
$toolbar-color-active: css-var(#488aff, toolbar-color-active) !default;
|
$toolbar-color-active: css-var(#4a4a4a, toolbar-color-active) !default;
|
||||||
$toolbar-color-inactive: css-var(#8c8c8c, toolbar-color-inactive) !default;
|
$toolbar-color-inactive: css-var(#8c8c8c, toolbar-color-inactive) !default;
|
||||||
$toolbar-text-color: css-var($text-color, toolbar-text-color) !default;
|
$toolbar-text-color: css-var($text-color, toolbar-text-color) !default;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user