2019-10-29 08:22:51 +00:00
|
|
|
//
|
|
|
|
// Mixins: Cards Variant
|
|
|
|
//
|
|
|
|
|
|
|
|
@mixin cards-variant($name, $color) {
|
|
|
|
.card-#{$name} {
|
2019-11-04 08:57:11 +00:00
|
|
|
&:not(.card-outline) {
|
2019-11-28 08:58:54 +00:00
|
|
|
> .card-header {
|
2019-11-04 08:57:11 +00:00
|
|
|
background-color: $color;
|
2019-10-29 08:22:51 +00:00
|
|
|
|
2019-11-04 08:57:11 +00:00
|
|
|
&,
|
|
|
|
a {
|
|
|
|
color: color-yiq($color);
|
|
|
|
}
|
2019-10-29 08:22:51 +00:00
|
|
|
|
2019-11-04 08:57:11 +00:00
|
|
|
a.active {
|
|
|
|
color: color-yiq($white);
|
2019-10-29 08:22:51 +00:00
|
|
|
}
|
|
|
|
}
|
2019-11-04 08:57:11 +00:00
|
|
|
}
|
2019-10-29 08:22:51 +00:00
|
|
|
|
2019-11-04 08:57:11 +00:00
|
|
|
&.card-outline {
|
|
|
|
border-top: 3px solid $color;
|
2019-10-29 08:22:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.card-outline-tabs {
|
2019-11-28 08:58:54 +00:00
|
|
|
> .card-header {
|
2022-01-12 18:21:15 +00:00
|
|
|
a:hover{
|
|
|
|
border-top: 3px solid $nav-tabs-border-color;
|
|
|
|
}
|
|
|
|
a.active,
|
|
|
|
a.active:hover{
|
|
|
|
border-top: 3px solid $color;
|
2019-10-29 08:22:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-#{$name},
|
|
|
|
.bg-gradient-#{$name},
|
|
|
|
.card-#{$name}:not(.card-outline) {
|
2021-02-02 06:47:15 +00:00
|
|
|
> .card-header {
|
|
|
|
.btn-tool {
|
|
|
|
color: rgba(color-yiq($color), .8);
|
2019-10-29 08:22:51 +00:00
|
|
|
|
2021-02-02 06:47:15 +00:00
|
|
|
&:hover {
|
|
|
|
color: color-yiq($color);
|
|
|
|
}
|
2019-10-29 08:22:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card.bg-#{$name},
|
|
|
|
.card.bg-gradient-#{$name} {
|
|
|
|
.bootstrap-datetimepicker-widget {
|
|
|
|
.table td,
|
|
|
|
.table th {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
table thead tr:first-child th:hover,
|
|
|
|
table td.day:hover,
|
|
|
|
table td.hour:hover,
|
|
|
|
table td.minute:hover,
|
|
|
|
table td.second:hover {
|
2020-06-13 10:22:58 +00:00
|
|
|
background-color: darken($color, 8%);
|
2019-10-29 08:22:51 +00:00
|
|
|
color: color-yiq($color);
|
|
|
|
}
|
|
|
|
|
|
|
|
table td.today::before {
|
|
|
|
border-bottom-color: color-yiq($color);
|
|
|
|
}
|
|
|
|
|
|
|
|
table td.active,
|
|
|
|
table td.active:hover {
|
2020-06-13 10:22:58 +00:00
|
|
|
background-color: lighten($color, 10%);
|
2019-10-29 08:22:51 +00:00
|
|
|
color: color-yiq($color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|