mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
50 lines
1.1 KiB
SCSS
50 lines
1.1 KiB
SCSS
|
|
// Alert
|
|
// --------------------------------------------------
|
|
|
|
$alert-ios-min-height: 80px !default;
|
|
$alert-ios-content-margin: 15px !default;
|
|
$alert-ios-background-color: #e8e8e8 !default;
|
|
$alert-ios-border-color: #b5b5b5 !default;
|
|
$alert-ios-border-radius: 15px !default;
|
|
$alert-ios-button-color: #007aff !default;
|
|
$alert-ios-button-font-size: 2rem !default;
|
|
|
|
|
|
.alert[mode="ios"] {
|
|
|
|
.alert-container {
|
|
border-radius: $alert-ios-border-radius;
|
|
background: $alert-ios-background-color;
|
|
text-align: center;
|
|
}
|
|
|
|
.alert-header {
|
|
margin: $alert-ios-content-margin;
|
|
}
|
|
|
|
.alert-content {
|
|
position: relative;
|
|
margin: $alert-ios-content-margin 0 0;
|
|
padding: 0 $alert-ios-content-margin $alert-ios-content-margin;
|
|
min-height: $alert-ios-min-height;
|
|
|
|
@include hairline(bottom, $alert-ios-border-color);
|
|
}
|
|
|
|
.alert-actions {
|
|
min-height: 44px;
|
|
|
|
button,
|
|
[button] {
|
|
flex: 1;
|
|
border: 0;
|
|
background: transparent;
|
|
font-size: $alert-ios-button-font-size;
|
|
font-weight: 400;
|
|
color: $alert-ios-button-color;
|
|
}
|
|
}
|
|
|
|
}
|