mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
56 lines
909 B
SCSS
56 lines
909 B
SCSS
@import "../../globals.core";
|
|
|
|
// Item Sliding
|
|
// --------------------------------------------------
|
|
// The hidden right-side buttons that can be exposed under a list item with dragging.
|
|
|
|
|
|
ion-item-sliding {
|
|
display: block;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
.item {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
ion-item-options {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
z-index: $z-index-item-options;
|
|
height: 100%;
|
|
visibility: hidden;
|
|
}
|
|
|
|
ion-item-options .button {
|
|
margin: 0;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
height: 100%;
|
|
}
|
|
|
|
ion-item-sliding.active-slide {
|
|
|
|
|
|
.item,
|
|
.item.activated {
|
|
position: relative;
|
|
z-index: $z-index-item-options + 1;
|
|
opacity: 1;
|
|
transition: all 300ms cubic-bezier(0.36,0.66,0.04,1);
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
ion-item-options {
|
|
display: flex;
|
|
}
|
|
|
|
&.active-options ion-item-options {
|
|
visibility: visible;
|
|
}
|
|
}
|