mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
62 lines
1007 B
SCSS
62 lines
1007 B
SCSS
|
|
// Alerts
|
|
// --------------------------------------------------
|
|
|
|
.alert {
|
|
padding: 8px 35px 8px 14px;
|
|
border: 1px solid $warning-border;
|
|
background-color: $warning-bg;
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
|
}
|
|
.alert,
|
|
.alert h4 {
|
|
color: $warning-text;
|
|
}
|
|
|
|
.alert .close {
|
|
position: relative;
|
|
top: -2px;
|
|
right: -21px;
|
|
line-height: $line-height-base;
|
|
}
|
|
|
|
.alert-block {
|
|
padding-top: 14px;
|
|
padding-bottom: 14px;
|
|
}
|
|
.alert-block > p,
|
|
.alert-block > ul {
|
|
margin-bottom: 0;
|
|
}
|
|
.alert-block p + p {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.alert-success {
|
|
border-color: $success-border;
|
|
background-color: $success-bg;
|
|
color: $success-text;
|
|
}
|
|
.alert-success h4 {
|
|
color: $success-text;
|
|
}
|
|
.alert-danger,
|
|
.alert-error {
|
|
border-color: $error-border;
|
|
background-color: $error-bg;
|
|
color: $error-text;
|
|
}
|
|
.alert-danger h4,
|
|
.alert-error h4 {
|
|
color: $error-text;
|
|
}
|
|
.alert-info {
|
|
border-color: $info-border;
|
|
background-color: $info-bg;
|
|
color: $info-text;
|
|
}
|
|
.alert-info h4 {
|
|
color: $info-text;
|
|
}
|
|
|