octicon-rss(16/)
You've already forked ionic-framework
mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 22:44:13 +08:00
chore(): sync with main
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 518 changed files with 1010 additions and 465 deletions
@@ -4,28 +4,14 @@
|
||||
// Material Design Header
|
||||
// --------------------------------------------------
|
||||
|
||||
.header-md::after {
|
||||
// Using a datauri png background image for improved scroll
|
||||
// performance rather than using a box-shadow. There is a
|
||||
// noticeable performance difference on older Android devices.
|
||||
@include position(null, null, -$header-md-box-shadow-height, 0);
|
||||
@include background-position(start, 0, top, -2px);
|
||||
|
||||
position: absolute;
|
||||
|
||||
width: 100%;
|
||||
height: $header-md-box-shadow-height;
|
||||
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);
|
||||
background-repeat: repeat-x;
|
||||
|
||||
content: "";
|
||||
.header-md {
|
||||
box-shadow: $header-md-box-shadow;
|
||||
}
|
||||
|
||||
.header-collapse-condense {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-md.ion-no-border::after {
|
||||
display: none;
|
||||
}
|
||||
.header-md.ion-no-border {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
// Material Design Header
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Height of the header box shadow
|
||||
$header-md-box-shadow-height: 5px !default;
|
||||
/// @Prop - Box shadow of the header
|
||||
$header-md-box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
|
||||
0 1px 10px 0 rgba(0, 0, 0, 0.12) !default;
|
||||
|
||||
Reference in New Issue
Block a user