AdminLTE/build/scss/_alerts.scss

51 lines
724 B
SCSS
Raw Normal View History

//
// Component: Alert
//
2015-10-31 22:00:16 +01:00
.alert {
.icon {
margin-right: 10px;
}
2018-03-17 18:07:55 +01:00
2015-10-31 22:00:16 +01:00
.close {
color: $black;
2015-10-31 22:00:16 +01:00
opacity: .2;
2015-10-31 22:00:16 +01:00
&:hover {
opacity: .5;
}
}
2018-03-17 18:07:55 +01:00
2015-10-31 22:00:16 +01:00
a {
2018-03-17 18:07:55 +01:00
color: $white;
2015-10-31 22:00:16 +01:00
text-decoration: underline;
}
}
//Alert Variants
.alert-success {
2018-03-17 18:07:55 +01:00
@extend .bg-success;
border-color: darken(theme-color('success'), 5%);
2015-10-31 22:00:16 +01:00
}
.alert-danger,
.alert-error {
2018-03-17 18:07:55 +01:00
@extend .bg-danger;
border-color: darken(theme-color('danger'), 5%);
2015-10-31 22:00:16 +01:00
}
.alert-warning {
2018-03-17 18:07:55 +01:00
@extend .bg-warning;
border-color: darken(theme-color('warning'), 5%);
2015-10-31 22:00:16 +01:00
}
.alert-info {
2018-03-17 18:07:55 +01:00
@extend .bg-info;
border-color: darken(theme-color('info'), 5%);
2015-10-31 22:00:16 +01:00
}
.alert-primary {
@extend .bg-primary;
border-color: darken(theme-color('primary'), 5%);
}