Files
Brandy Carney 5b0d60d4a2 fix(alert): add z-index and border-radius to fix ripple
copy button css to fix the border on ripple

closes #5203
2016-01-26 14:32:08 -05:00

82 lines
1.3 KiB
SCSS

@import "../../globals.core";
// Alerts
// --------------------------------------------------
$alert-min-width: 250px !default;
$alert-max-height: 90% !default;
$alert-button-line-height: 20px !default;
$alert-button-font-size: 14px !default;
$alert-button-margin-right: 8px !default;
ion-alert {
position: absolute;
z-index: $z-index-overlay;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
input {
width: 100%;
}
}
.alert-wrapper {
z-index: $z-index-overlay-wrapper;
min-width: $alert-min-width;
max-height: $alert-max-height;
display: flex;
flex-direction: column;
opacity: 0;
}
.alert-title {
margin: 0;
padding: 0;
}
.alert-sub-title {
margin: 5px 0 0 0;
padding: 0;
font-weight: normal;
}
.alert-message {
overflow: auto;
&:empty {
padding: 0;
}
}
.alert-input {
@include placeholder();
border: 0;
background: inherit;
padding: 10px 0;
}
.alert-button-group {
display: flex;
flex-direction: row;
}
.alert-button {
display: block;
margin: 0;
z-index: 0;
line-height: $alert-button-line-height;
font-size: $alert-button-font-size;
margin-right: $alert-button-margin-right;
}