2017-08-03 13:53:18 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
2017-06-13 20:27:11 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
@include nb-install-component() {
|
|
|
|
|
nb-card {
|
2017-06-13 20:27:11 +03:00
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 6rem;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
|
2017-07-06 17:28:58 +03:00
|
|
|
.icon-container {
|
2017-08-07 16:12:38 +03:00
|
|
|
height: 100%;
|
|
|
|
|
padding: 0.625rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon {
|
2017-07-10 19:57:04 +03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2017-08-07 16:12:38 +03:00
|
|
|
width: 5.75rem;
|
|
|
|
|
height: 4.75rem;
|
2017-09-11 17:02:09 +03:00
|
|
|
font-size: 3.75rem;
|
2017-08-07 16:12:38 +03:00
|
|
|
border-radius: nb-theme(card-border-radius);
|
2017-09-21 11:30:26 +03:00
|
|
|
transition: width 0.4s ease;
|
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
|
-webkit-transform-style: preserve-3d;
|
|
|
|
|
-webkit-backface-visibility: hidden;
|
2019-07-02 16:18:09 +03:00
|
|
|
color: nb-theme(text-control-color);
|
|
|
|
|
|
|
|
|
|
@each $status in nb-get-statuses() {
|
|
|
|
|
&.status-#{$status} {
|
|
|
|
|
$left-color: nb-theme(button-hero-#{$status}-left-background-color);
|
|
|
|
|
$right-color: nb-theme(button-hero-#{$status}-right-background-color);
|
|
|
|
|
background-image: linear-gradient(to right, $left-color, $right-color);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
$left-hover-color: nb-theme(button-hero-#{$status}-hover-left-background-color);
|
|
|
|
|
$right-hover-color: nb-theme(button-hero-#{$status}-hover-right-background-color);
|
|
|
|
|
background-image: linear-gradient(to right, $left-hover-color, $right-hover-color);
|
|
|
|
|
}
|
2018-06-21 15:16:53 +03:00
|
|
|
}
|
2017-06-13 20:27:11 +03:00
|
|
|
}
|
2017-07-06 17:28:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.off {
|
2019-07-02 16:18:09 +03:00
|
|
|
color: nb-theme(text-hint-color);
|
2017-07-06 17:28:58 +03:00
|
|
|
|
2019-07-15 14:14:04 +03:00
|
|
|
.status,
|
2019-07-02 16:18:09 +03:00
|
|
|
.title,
|
2017-08-07 16:12:38 +03:00
|
|
|
.icon {
|
2019-07-02 16:18:09 +03:00
|
|
|
color: nb-theme(text-hint-color);
|
|
|
|
|
}
|
2017-07-29 16:00:27 +03:00
|
|
|
|
2019-07-02 16:18:09 +03:00
|
|
|
@each $status in nb-get-statuses() {
|
|
|
|
|
.icon.status-#{$status} {
|
2017-07-06 17:28:58 +03:00
|
|
|
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 {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
height: 100%;
|
2018-05-11 17:25:02 +03:00
|
|
|
@include nb-ltr(padding, 0 0.5rem 0 0.75rem);
|
|
|
|
|
@include nb-rtl(padding, 0 0.75rem 0 0.5rem);
|
2017-07-06 17:28:58 +03:00
|
|
|
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 {
|
2019-07-02 16:18:09 +03:00
|
|
|
margin: 0;
|
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 {
|
|
|
|
|
text-transform: uppercase;
|
2018-06-21 15:16:53 +03:00
|
|
|
}
|
|
|
|
|
}
|
2025-05-21 13:51:30 +10:00
|
|
|
}
|