2017-06-16 19:21:22 +03:00
|
|
|
@import '../../../@theme/styles/variables';
|
2017-06-26 12:38:12 +03:00
|
|
|
@import '~@akveo/nga-theme/styles/global/bootstrap/hero-buttons';
|
2017-06-13 20:27:11 +03:00
|
|
|
|
|
|
|
|
@include nga-install-component() {
|
|
|
|
|
nga-card {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 6rem;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
$bevel: btn-hero-bevel(nga-theme(card-bg));
|
|
|
|
|
$shadow: btn-hero-shadow();
|
|
|
|
|
box-shadow: $bevel, $shadow;
|
|
|
|
|
transition: all 0.1s ease-out;
|
|
|
|
|
|
|
|
|
|
$border-radius: nga-theme(card-border-radius);
|
|
|
|
|
.icon-container {
|
2017-07-10 19:57:04 +03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 7rem;
|
2017-07-06 17:28:58 +03:00
|
|
|
font-size: 4em;
|
|
|
|
|
border-radius: $border-radius 0 0 $border-radius;
|
|
|
|
|
transition: all 0.1s ease-out, color 0s;
|
2017-07-29 16:00:27 +03:00
|
|
|
color: nga-theme(color-white);
|
2017-07-06 17:28:58 +03:00
|
|
|
|
|
|
|
|
&.primary {
|
|
|
|
|
@include btn-hero-primary-gradient();
|
|
|
|
|
@include btn-hero-primary-bevel-glow-shadow();
|
|
|
|
|
}
|
|
|
|
|
&.success {
|
|
|
|
|
@include btn-hero-success-gradient();
|
|
|
|
|
@include btn-hero-success-bevel-glow-shadow();
|
|
|
|
|
}
|
|
|
|
|
&.info {
|
|
|
|
|
@include btn-hero-info-gradient();
|
|
|
|
|
@include btn-hero-info-bevel-glow-shadow();
|
|
|
|
|
}
|
|
|
|
|
&.warning {
|
|
|
|
|
@include btn-hero-warning-gradient();
|
|
|
|
|
@include btn-hero-warning-bevel-glow-shadow();
|
|
|
|
|
}
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
|
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
&:hover {
|
|
|
|
|
background: lighten(nga-theme(card-bg), 5%);
|
2017-06-13 20:27:11 +03:00
|
|
|
|
|
|
|
|
.icon-container {
|
2017-07-06 17:28:58 +03:00
|
|
|
&.primary {
|
|
|
|
|
background-image: btn-hero-primary-light-gradient();
|
|
|
|
|
}
|
2017-06-13 20:27:11 +03:00
|
|
|
&.success {
|
2017-07-06 17:28:58 +03:00
|
|
|
background-image: btn-hero-success-light-gradient();
|
|
|
|
|
}
|
|
|
|
|
&.info {
|
|
|
|
|
background-image: btn-hero-info-light-gradient();
|
|
|
|
|
}
|
|
|
|
|
&.warning {
|
|
|
|
|
background-image: btn-hero-warning-light-gradient();
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
|
|
|
|
}
|
2017-07-06 17:28:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
background: nga-theme(card-bg);
|
|
|
|
|
|
|
|
|
|
.icon-container {
|
|
|
|
|
&.primary, &.success, &.info, &.warning {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
&.primary {
|
|
|
|
|
background-image: btn-hero-primary-dark-gradient();
|
|
|
|
|
}
|
|
|
|
|
&.success {
|
|
|
|
|
background-image: btn-hero-success-dark-gradient();
|
|
|
|
|
}
|
|
|
|
|
&.info {
|
|
|
|
|
background-image: btn-hero-info-dark-gradient();
|
|
|
|
|
}
|
|
|
|
|
&.warning {
|
|
|
|
|
background-image: btn-hero-warning-dark-gradient();
|
|
|
|
|
}
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
&.off {
|
|
|
|
|
color: nga-theme(card-fg);
|
|
|
|
|
|
|
|
|
|
.icon-container {
|
2017-07-29 16:00:27 +03:00
|
|
|
color: nga-theme(card-fg);
|
|
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
&.primary, &.success, &.info, &.warning {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
background-image: linear-gradient(to right, transparent, transparent);
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-06-13 20:27:11 +03:00
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
.details {
|
|
|
|
|
border-left: 1px solid nga-theme(separator);
|
|
|
|
|
}
|
2017-07-29 16:00:27 +03:00
|
|
|
.title {
|
2017-07-06 17:28:58 +03:00
|
|
|
color: nga-theme(card-fg);
|
|
|
|
|
}
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
2017-07-06 17:28:58 +03:00
|
|
|
|
|
|
|
|
.details {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
height: 100%;
|
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
|
border-left: 1px solid transparent;
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
2017-07-29 16:00:27 +03:00
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
.title {
|
2017-07-10 19:57:04 +03:00
|
|
|
font-family: nga-theme(font-secondary);
|
2017-07-06 17:28:58 +03:00
|
|
|
font-size: 1.5rem;
|
2017-07-10 19:57:04 +03:00
|
|
|
font-weight: nga-theme(font-weight-bolder);
|
2017-07-29 16:00:27 +03:00
|
|
|
color: nga-theme(card-fg-heading);
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
2017-07-29 16:00:27 +03:00
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
.status {
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
font-weight: nga-theme(font-weight-light);
|
|
|
|
|
text-transform: uppercase;
|
2017-07-29 16:00:27 +03:00
|
|
|
color: nga-theme(card-fg);
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|