AdminLTE/build/scss/_alerts.scss

37 lines
608 B
SCSS
Raw Normal View History

//
// Component: Alert
//
2015-10-31 21:00:16 +00:00
.alert {
.icon {
margin-right: 10px;
}
2018-03-17 17:07:55 +00:00
2015-10-31 21:00:16 +00:00
.close {
color: $black;
2015-10-31 21:00:16 +00:00
opacity: .2;
2015-10-31 21:00:16 +00:00
&:hover {
opacity: .5;
}
}
2018-03-17 17:07:55 +00:00
2015-10-31 21:00:16 +00:00
a {
2018-03-17 17:07:55 +00:00
color: $white;
2015-10-31 21:00:16 +00: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));
}
}