AdminLTE/build/scss/_alerts.scss
REJack 6773bd1772
further scss changes
- changed /* comments to // (to avoid displaying in compiled css file)
- added .alert-primary
- removed _label.scss (due renamed to badge with BS4)
- reworked bg-*, bg-gradient-*, custom-switch-*, custom-range-* as mixin
- changed control-sidebar-light border color to main-header border
- renamed `.direct-chat-info` to `.direct-chat-infos` (not theme color, its a extra block inside direct-chat & updated demo files
- enhanced direct-chat with all colors
- added `.dropdown-menu-xl`
- reworked color-palette in pages/UI/general
- changed `Block Quotes Pulled Right` to `Secondary Block Quotes` in pages/UI/general
- removed `@-webkit-keyframes flipInX` due autoprefixer
- enhanced demo.js with additional colors for sidebar & renamed `Navbar border` to `No Navbar border`
2019-07-18 16:22:11 +02:00

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%);
}