mirror of https://github.com/ColorlibHQ/AdminLTE
Daniel
2 years ago
2 changed files with 35 additions and 0 deletions
@ -0,0 +1,34 @@
|
||||
// |
||||
// Callouts |
||||
// |
||||
|
||||
.callout { |
||||
--#{$prefix}link-color-rgb: var(--#{$lte-prefix}callout-link); |
||||
--#{$prefix}code-color: var(--#{$lte-prefix}callout-code-color); |
||||
|
||||
padding: 1.25rem; |
||||
color: var(--#{$lte-prefix}callout-color, inherit); |
||||
background-color: var(--#{$lte-prefix}callout-bg, var(--bs-gray-100)); |
||||
border-left: .25rem solid var(--#{$lte-prefix}callout-border, var(--bs-gray-300)); |
||||
|
||||
h4 { |
||||
margin-bottom: .25rem; |
||||
} |
||||
|
||||
> :last-child { |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
+ .callout { |
||||
margin-top: -.25rem; |
||||
} |
||||
} |
||||
|
||||
// Variations |
||||
@each $name, $color in $theme-colors { |
||||
.callout-#{$name} { |
||||
--#{$lte-prefix}callout-color: var(--#{$prefix}#{$name}-text-emphasis); |
||||
--#{$lte-prefix}callout-bg: var(--#{$prefix}#{$name}-bg-subtle); |
||||
--#{$lte-prefix}callout-border: var(--#{$prefix}#{$name}-border-subtle); |
||||
} |
||||
} |
Loading…
Reference in new issue