Files
ionic-framework/scss/ionic/_alerts.scss
2013-09-10 13:49:08 -05:00

65 lines
1.1 KiB
SCSS

// Alerts
// --------------------------------------------------
.alert {
padding: 8px 35px 8px 14px;
margin-bottom: $line-height-base;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
background-color: $warning-bg;
border: 1px solid $warning-border;
}
.alert,
.alert h4 {
// Specified for the h4 to prevent conflicts of changing $headingsColor
color: $warning-text;
margin: 0;
}
.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 {
background-color: $success-bg;
border-color: $success-border;
color: $success-text;
}
.alert-success h4 {
color: $success-text;
}
.alert-danger,
.alert-error {
background-color: $error-bg;
border-color: $error-border;
color: $error-text;
}
.alert-danger h4,
.alert-error h4 {
color: $error-text;
}
.alert-info {
background-color: $info-bg;
border-color: $info-border;
color: $info-text;
}
.alert-info h4 {
color: $info-text;
}