mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
44 lines
723 B
SCSS
44 lines
723 B
SCSS
|
|
/**
|
|
* Action Sheets
|
|
* --------------------------------------------------
|
|
*/
|
|
|
|
.action-sheet {
|
|
@include translate3d(0, 100%, 0);
|
|
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 15px;
|
|
z-index: $zindex-modal;
|
|
overflow: hidden;
|
|
width: calc(100% - 30px);
|
|
|
|
.button {
|
|
display: block;
|
|
padding: 10px;
|
|
width: 100%;
|
|
border-radius: none;
|
|
background-color: transparent;
|
|
|
|
color: $brand-primary;
|
|
font-size: 18px;
|
|
|
|
&.destructive {
|
|
color: $brand-danger;
|
|
}
|
|
}
|
|
}
|
|
|
|
.action-sheet-title {
|
|
padding: 10px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.action-sheet-group {
|
|
margin-bottom: 10px;
|
|
border-radius: $sheet-border-radius;
|
|
background-color: rgba($sheet-bg-color, $sheet-opacity);
|
|
}
|