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