mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
feat(header, footer): add ios fading header style (#24011)
This commit is contained in:
@ -25,6 +25,7 @@
|
||||
--border-width: 0;
|
||||
--border-style: solid;
|
||||
--opacity: 1;
|
||||
--opacity-scale: 1;
|
||||
|
||||
@include font-smoothing();
|
||||
@include padding-horizontal(var(--ion-safe-area-left), var(--ion-safe-area-right));
|
||||
@ -91,7 +92,7 @@
|
||||
background: var(--background);
|
||||
|
||||
contain: strict;
|
||||
opacity: var(--opacity);
|
||||
opacity: calc(var(--opacity) * var(--opacity-scale));
|
||||
z-index: $z-index-toolbar-background;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user