mirror of https://github.com/ColorlibHQ/AdminLTE
51 lines
724 B
SCSS
51 lines
724 B
SCSS
//
|
|
// Component: Alert
|
|
//
|
|
|
|
.alert {
|
|
.icon {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.close {
|
|
color: $black;
|
|
opacity: .2;
|
|
|
|
&:hover {
|
|
opacity: .5;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: $white;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
//Alert Variants
|
|
.alert-success {
|
|
@extend .bg-success;
|
|
border-color: darken(theme-color('success'), 5%);
|
|
}
|
|
|
|
.alert-danger,
|
|
.alert-error {
|
|
@extend .bg-danger;
|
|
border-color: darken(theme-color('danger'), 5%);
|
|
}
|
|
|
|
.alert-warning {
|
|
@extend .bg-warning;
|
|
border-color: darken(theme-color('warning'), 5%);
|
|
}
|
|
|
|
.alert-info {
|
|
@extend .bg-info;
|
|
border-color: darken(theme-color('info'), 5%);
|
|
}
|
|
|
|
.alert-primary {
|
|
@extend .bg-primary;
|
|
border-color: darken(theme-color('primary'), 5%);
|
|
}
|