mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
using material design term instead of android
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
|
||||
// Android Toolbar
|
||||
// --------------------------------------------------
|
||||
|
||||
$tab-bar-android-min-height: 40px !default;
|
||||
$tab-bar-android-item-padding: 4px 10px !default;
|
||||
$tab-bar-android-active-border-width: 3px !default;
|
||||
$tab-bar-android-active-border-color: red !default;
|
||||
$tab-bar-android-text-transform: uppercase !default;
|
||||
$tab-bar-android-text-font-weight: 500 !default;
|
||||
|
||||
|
||||
.tabs-android {
|
||||
|
||||
.tab-bar-container {
|
||||
min-height: $tab-bar-android-min-height;
|
||||
}
|
||||
|
||||
.tab-bar-item {
|
||||
padding: $tab-bar-item-padding;
|
||||
text-transform: $tab-bar-android-text-transform;
|
||||
font-weight: $tab-bar-android-text-font-weight;
|
||||
}
|
||||
|
||||
.tab-bar .tab-bar-item {
|
||||
border-bottom: $tab-bar-android-active-border-width solid transparent;
|
||||
}
|
||||
|
||||
.tab-bar .tab-active {
|
||||
border-bottom-color: $tab-bar-android-active-border-color;
|
||||
}
|
||||
|
||||
}
|
||||
33
src/components/tabs/extensions/material.scss
Normal file
33
src/components/tabs/extensions/material.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
// Material Design Toolbar
|
||||
// --------------------------------------------------
|
||||
|
||||
$tab-bar-material-min-height: 40px !default;
|
||||
$tab-bar-material-item-padding: 4px 10px !default;
|
||||
$tab-bar-material-active-border-width: 3px !default;
|
||||
$tab-bar-material-active-border-color: red !default;
|
||||
$tab-bar-material-text-transform: uppercase !default;
|
||||
$tab-bar-material-text-font-weight: 500 !default;
|
||||
|
||||
|
||||
.tabs-md {
|
||||
|
||||
.tab-bar-container {
|
||||
min-height: $tab-bar-material-min-height;
|
||||
}
|
||||
|
||||
.tab-bar-item {
|
||||
padding: $tab-bar-material-item-padding;
|
||||
text-transform: $tab-bar-material-text-transform;
|
||||
font-weight: $tab-bar-material-text-font-weight;
|
||||
}
|
||||
|
||||
.tab-bar .tab-bar-item {
|
||||
border-bottom: $tab-bar-material-active-border-width solid transparent;
|
||||
}
|
||||
|
||||
.tab-bar .tab-active {
|
||||
border-bottom-color: $tab-bar-material-active-border-color;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user