mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
80 lines
2.4 KiB
SCSS
80 lines
2.4 KiB
SCSS
@import "../../globals.wp";
|
|
@import "./action-sheet";
|
|
|
|
// Windows Action Sheet
|
|
// --------------------------------------------------
|
|
|
|
$action-sheet-wp-text-align: left !default;
|
|
|
|
$action-sheet-wp-background-color: #ffffff !default;
|
|
$action-sheet-wp-box-shadow: 0px -1px 0px rgba(0,0,0,0.2) !default;
|
|
|
|
$action-sheet-wp-title-padding: 19px 16px 17px !default;
|
|
$action-sheet-wp-title-font-size: 2.0rem !default;
|
|
$action-sheet-wp-title-color: #4D4D4D !default;
|
|
$action-sheet-wp-title-text-align: $action-sheet-wp-text-align !default;
|
|
|
|
$action-sheet-wp-button-height: 4.8rem !default;
|
|
$action-sheet-wp-button-text-color: #4D4D4D !default;
|
|
$action-sheet-wp-button-font-size: 1.5rem !default;
|
|
$action-sheet-wp-button-padding: 0 16px !default;
|
|
$action-sheet-wp-button-text-align: $action-sheet-wp-text-align !default;
|
|
$action-sheet-wp-button-background-active-color: $list-wp-activated-background-color !default;
|
|
|
|
$action-sheet-wp-icon-font-size: 2.4rem !default;
|
|
$action-sheet-wp-icon-margin: 0 28px 0 0 !default;
|
|
|
|
.action-sheet-wrapper {
|
|
box-shadow: $action-sheet-wp-box-shadow;
|
|
}
|
|
|
|
.action-sheet-title {
|
|
padding: $action-sheet-wp-title-padding;
|
|
font-size: $action-sheet-wp-title-font-size;
|
|
color: $action-sheet-wp-title-color;
|
|
text-align: $action-sheet-wp-title-text-align;
|
|
}
|
|
|
|
.action-sheet-button {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: $action-sheet-wp-button-padding;
|
|
min-height: $action-sheet-wp-button-height;
|
|
font-size: $action-sheet-wp-button-font-size;
|
|
font-weight: normal;
|
|
color: $action-sheet-wp-button-text-color;
|
|
background-color: transparent;
|
|
text-align: $action-sheet-wp-button-text-align;
|
|
|
|
&.activated {
|
|
background: $action-sheet-wp-button-background-active-color;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
.action-sheet-icon {
|
|
display: inline-block;
|
|
margin: $action-sheet-wp-icon-margin;
|
|
min-width: 24px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
font-size: $action-sheet-wp-icon-font-size;
|
|
}
|
|
|
|
.action-sheet-group {
|
|
overflow: hidden;
|
|
margin: 0;
|
|
border-radius: 0;
|
|
background-color: $action-sheet-wp-background-color;
|
|
|
|
&:last-child .action-sheet-button {
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
.action-sheet-cancel {
|
|
background-color: $action-sheet-wp-background-color;
|
|
border: none;
|
|
}
|