2019-07-18 14:22:11 +00:00
|
|
|
//
|
|
|
|
// Misc: Colors
|
|
|
|
//
|
2019-06-28 10:51:44 +00:00
|
|
|
|
|
|
|
// Background colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Background colors (colors)
|
|
|
|
@each $name, $color in $colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bg-gray {
|
|
|
|
background-color: $gray-500;
|
|
|
|
color: color-yiq($gray-500);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-gray-light {
|
|
|
|
background-color: lighten($gray-200, 3%);
|
|
|
|
color: color-yiq(lighten($gray-200, 3%)) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-black {
|
|
|
|
background-color: $black;
|
|
|
|
color: color-yiq($black) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-white {
|
|
|
|
background-color: $white;
|
|
|
|
color: color-yiq($white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Gradient Background colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-gradient-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Gradient Background colors (colors)
|
|
|
|
@each $name, $color in $colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-gradient-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Backgrund Color Disabled
|
|
|
|
[class^='bg-'].disabled {
|
|
|
|
opacity: .65;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Text muted hover
|
|
|
|
a.text-muted:hover {
|
|
|
|
color: theme-color(primary) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Link Styles
|
|
|
|
.link-muted {
|
|
|
|
color: darken($gray-500, 30%);
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: darken($gray-500, 40%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-black {
|
|
|
|
color: $gray-600;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: lighten($gray-500, 20%);
|
|
|
|
}
|
|
|
|
}
|
2019-09-21 08:19:05 +00:00
|
|
|
|
|
|
|
// Accent colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors {
|
|
|
|
@include accent-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Accent colors (colors)
|
|
|
|
@each $name, $color in $colors {
|
|
|
|
@include accent-variant($name, $color);
|
|
|
|
}
|
2019-12-04 08:34:36 +00:00
|
|
|
|
|
|
|
// Accent button override fix
|
|
|
|
[class*="accent-"] {
|
|
|
|
@each $name, $color in $theme-colors {
|
|
|
|
a.btn-#{$name} {
|
|
|
|
color: color-yiq($color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|