AdminLTE/build/scss/_alerts.scss

38 lines
609 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
@each $color, $value in $theme-colors {
.alert-#{$color} {
color: color-yiq($value);
background: $value;
border-color: darken($value, 5%);
}
.alert-default-#{$color} {
@include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
}
}