6773bd1772
- 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`
52 lines
894 B
SCSS
52 lines
894 B
SCSS
//
|
|
// Component: Callout
|
|
//
|
|
|
|
// Base styles (regardless of theme)
|
|
.callout {
|
|
@if $enable-rounded {
|
|
@include border-radius($border-radius);
|
|
}
|
|
|
|
@if $enable-shadows {
|
|
@extend .elevation-1;
|
|
} @else {
|
|
border: 1px solid $gray-300;
|
|
}
|
|
|
|
@extend .mb-3;
|
|
background-color: $white;
|
|
border-left: 5px solid $gray-200;
|
|
padding: .5rem 1rem .5rem .5rem;
|
|
|
|
a {
|
|
color: $white;
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
color: $gray-200;
|
|
}
|
|
}
|
|
|
|
p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
// Themes for different contexts
|
|
&.callout-danger {
|
|
border-left-color: darken(theme-color('danger'), 10%);
|
|
}
|
|
|
|
&.callout-warning {
|
|
border-left-color: darken(theme-color('warning'), 10%);
|
|
}
|
|
|
|
&.callout-info {
|
|
border-left-color: darken(theme-color('info'), 10%);
|
|
}
|
|
|
|
&.callout-success {
|
|
border-left-color: darken(theme-color('success'), 10%);
|
|
}
|
|
}
|