mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
68 lines
1.4 KiB
SCSS
68 lines
1.4 KiB
SCSS
|
|
// iOS Toolbar
|
|
// --------------------------------------------------
|
|
|
|
$toolbar-ios-height: 4.4rem !default;
|
|
$toolbar-ios-background: #f7f7f8 !default;
|
|
$toolbar-ios-border-color: #c4c4c4 !default;
|
|
|
|
$toolbar-ios-title-font-size: 1.7rem !default;
|
|
$toolbar-ios-button-font-size: 1.7rem !default;
|
|
$toolbar-ios-button-text-color: #007aff !default;
|
|
$toolbar-ios-button-background-color: transparent !default;
|
|
|
|
|
|
.toolbar-ios {
|
|
height: $toolbar-ios-height;
|
|
background: $toolbar-ios-background;
|
|
|
|
&:after {
|
|
position: absolute;
|
|
top: auto;
|
|
right: auto;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: $z-index-toolbar-border;
|
|
display: block;
|
|
|
|
width: 100%;
|
|
height: 1px;
|
|
|
|
background-color: $toolbar-ios-border-color;
|
|
|
|
@include transform-origin(50%, 100%);
|
|
|
|
content: '';
|
|
}
|
|
|
|
.bar-primary-item {
|
|
@include flex-order(2);
|
|
}
|
|
|
|
.bar-title {
|
|
@include flex-order(3);
|
|
font-size: $toolbar-ios-title-font-size;
|
|
text-align: center;
|
|
}
|
|
|
|
.bar-inner-title {
|
|
opacity: 0;
|
|
}
|
|
|
|
.bar-secondary-item {
|
|
@include flex-order(4);
|
|
}
|
|
|
|
.button {
|
|
font-size: $toolbar-ios-button-font-size;
|
|
color: $toolbar-ios-button-text-color;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0 10px;
|
|
min-height: $toolbar-ios-height;
|
|
min-width: 0;
|
|
background: $toolbar-ios-button-background-color;
|
|
}
|
|
|
|
}
|