mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
49 lines
804 B
SCSS
49 lines
804 B
SCSS
@import "../../globals.core";
|
|
|
|
// Action Sheet
|
|
// --------------------------------------------------
|
|
|
|
$action-sheet-width: 100% !default;
|
|
$action-sheet-max-width: 520px !default;
|
|
|
|
|
|
ion-action-sheet {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
z-index: $z-index-overlay;
|
|
}
|
|
|
|
.action-sheet-wrapper {
|
|
position: absolute;
|
|
z-index: $z-index-overlay-wrapper;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
display: block;
|
|
max-width: 500px;
|
|
margin: auto;
|
|
|
|
transform: translate3d(0, 100%, 0);
|
|
}
|
|
|
|
.action-sheet-container {
|
|
width: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.action-sheet-button {
|
|
display: block;
|
|
width: 100%;
|
|
margin: 0;
|
|
border-radius: 0;
|
|
|
|
&.activated {
|
|
box-shadow: none;
|
|
}
|
|
}
|