fix(toolbar/tabs): change toolbar-background to use the background property

Renamed Sass variables for toolbar and tabbar to use just background,
not color. Closes #716
This commit is contained in:
Brandy Carney
2015-12-10 11:02:38 -05:00
parent 5793716b67
commit 901508e035
7 changed files with 12 additions and 12 deletions

View File

@@ -4,7 +4,7 @@
// iOS Tabs
// --------------------------------------------------
$tabbar-ios-background-color: $toolbar-ios-background-color !default;
$tabbar-ios-background: $toolbar-ios-background !default;
$tabbar-ios-item-padding: 0px 10px !default;
$tabbar-ios-item-font-size: 10px !default;
$tabbar-ios-item-icon-size: 32px !default;
@@ -18,7 +18,7 @@ $tab-button-ios-inactive-color: $toolbar-ios-inactive-color !default;
tabbar {
border-top: 1px solid $toolbar-ios-border-color;
background: $tabbar-ios-background-color;
background: $tabbar-ios-background;
}
ion-tabs[tabbar-placement=top] tabbar {

View File

@@ -4,7 +4,7 @@
// Material Design Tabs
// --------------------------------------------------
$tabbar-md-background-color: $toolbar-md-background-color !default;
$tabbar-md-background: $toolbar-md-background !default;
$tabbar-md-item-padding: 12px 10px 5px 10px !default;
$tabbar-md-item-font-size: 1.4rem !default;
$tabbar-md-item-font-weight: 500 !default;
@@ -16,7 +16,7 @@ $tab-button-md-inactive-color: $toolbar-md-inactive-color !default;
tabbar {
background: $tabbar-md-background-color;
background: $tabbar-md-background;
}

View File

@@ -43,7 +43,7 @@ ion-navbar-section {
border-bottom-width: 1px;
border-bottom-style: solid;
border-color: $toolbar-ios-border-color;
background-color: $toolbar-ios-background-color;
background: $toolbar-ios-background;
}
&.hairlines .toolbar-background {
@@ -82,7 +82,7 @@ ion-title {
.toolbar[#{$color-name}] {
.toolbar-background {
background-color: $color-value;
background: $color-value;
border-color: darken($color-value, 10%);
}

View File

@@ -41,7 +41,7 @@ ion-navbar-section {
.toolbar-background {
border-color: $toolbar-md-border-color;
background-color: $toolbar-md-background-color;
background: $toolbar-md-background;
}
@@ -67,7 +67,7 @@ ion-title {
.toolbar[#{$color-name}] {
.toolbar-background {
background-color: $color-value;
background: $color-value;
}
.toolbar-title,
@@ -112,7 +112,7 @@ ion-buttons[right] {
margin-top: 0;
margin-bottom: 0;
margin-left: 0.2rem;
margin-right: 0.2rem;
margin-right: 0.2rem;
padding: 0 5px;
min-height: 32px;
border: 0;