2019-07-07 11:18:12 +05:30
|
|
|
.dashboard-cards {
|
|
|
|
margin-right: -$gl-padding-8;
|
|
|
|
margin-left: -$gl-padding-8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard-card {
|
2020-04-22 19:07:51 +05:30
|
|
|
@include gl-cursor-grab;
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
&-header {
|
|
|
|
&-warning {
|
|
|
|
background-color: $orange-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-body {
|
2019-07-31 22:56:46 +05:30
|
|
|
min-height: 120px;
|
2019-07-07 11:18:12 +05:30
|
|
|
|
|
|
|
&-warning {
|
|
|
|
background-color: $orange-50;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-failed {
|
|
|
|
background-color: $red-50;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-31 22:56:46 +05:30
|
|
|
&-icon {
|
|
|
|
color: $gray-500;
|
2019-07-07 11:18:12 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&-footer {
|
|
|
|
border-radius: $gl-padding;
|
|
|
|
height: $gl-padding-32;
|
|
|
|
|
|
|
|
&-arrow {
|
|
|
|
color: $gray-300;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-downstream {
|
|
|
|
margin-right: -$gl-padding-8;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-extra {
|
|
|
|
background-color: $gray-400;
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: $gl-line-height;
|
|
|
|
width: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-31 22:56:46 +05:30
|
|
|
&-header,
|
|
|
|
&-footer {
|
|
|
|
&-failed {
|
|
|
|
background-color: $red-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
&-skeleton-info {
|
|
|
|
border-radius: $gl-padding;
|
|
|
|
height: $gl-padding;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
animation: blockTextShine 1s linear infinite forwards;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
background-image: linear-gradient(to right,
|
|
|
|
$gray-100 0%,
|
|
|
|
$gray-50 20%,
|
|
|
|
$gray-100 40%,
|
|
|
|
$gray-100 100%);
|
|
|
|
border-radius: $gl-padding;
|
|
|
|
height: $gl-padding;
|
|
|
|
margin-top: -$gl-padding-8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|