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
|
||||
// --------------------------------------------------
|
||||
|
||||
$toolbar-android-height: 6.4rem !default;
|
||||
$toolbar-android-background: #f7f7f8 !default;
|
||||
|
||||
$toolbar-android-title-font-size: 2rem !default;
|
||||
$toolbar-android-button-font-size: 2rem !default;
|
||||
$toolbar-android-button-text-color: #007aff !default;
|
||||
|
||||
|
||||
.toolbar-android {
|
||||
height: $toolbar-android-height;
|
||||
background: $toolbar-android-background;
|
||||
|
||||
.toolbar-title {
|
||||
font-size: $toolbar-android-title-font-size;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size: $toolbar-android-button-font-size;
|
||||
color: $toolbar-android-button-text-color;
|
||||
border: none;
|
||||
|
||||
padding: 0;
|
||||
margin: 0 10px;
|
||||
|
||||
min-height: $toolbar-android-height;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
}
|
||||
33
src/components/toolbar/extensions/material.scss
Normal file
33
src/components/toolbar/extensions/material.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
// Material Design Toolbar
|
||||
// --------------------------------------------------
|
||||
|
||||
$toolbar-material-height: 6.4rem !default;
|
||||
$toolbar-material-background: #f7f7f8 !default;
|
||||
|
||||
$toolbar-material-title-font-size: 2rem !default;
|
||||
$toolbar-material-button-font-size: 2rem !default;
|
||||
$toolbar-material-button-text-color: #007aff !default;
|
||||
|
||||
|
||||
.toolbar-md {
|
||||
height: $toolbar-material-height;
|
||||
background: $toolbar-material-background;
|
||||
|
||||
.toolbar-title {
|
||||
font-size: $toolbar-material-title-font-size;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size: $toolbar-material-button-font-size;
|
||||
color: $toolbar-material-button-text-color;
|
||||
border: none;
|
||||
|
||||
padding: 0;
|
||||
margin: 0 10px;
|
||||
|
||||
min-height: $toolbar-material-height;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user