mirror of https://github.com/ColorlibHQ/AdminLTE
fix(3965): bg-* get overwritten by print mode
parent
a0e61b5aaf
commit
52d947384e
|
@ -12,6 +12,21 @@
|
|||
@include background-variant($name, $color);
|
||||
}
|
||||
|
||||
@media print {
|
||||
.table td,
|
||||
.table th {
|
||||
// Background colors (theme colors)
|
||||
@each $name, $color in $theme-colors {
|
||||
@include background-variant($name, $color);
|
||||
}
|
||||
|
||||
// Background colors (colors)
|
||||
@each $name, $color in $colors {
|
||||
@include background-variant($name, $color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bg-gray {
|
||||
background-color: $gray-500;
|
||||
color: color-yiq($gray-500);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// Background Variant
|
||||
@mixin background-variant($name, $color) {
|
||||
.bg-#{$name} {
|
||||
&.bg-#{$name} {
|
||||
background-color: #{$color} !important;
|
||||
|
||||
&,
|
||||
|
|
Loading…
Reference in New Issue