You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
2.3 KiB
128 lines
2.3 KiB
7 years ago
|
.dashboard-banner-container {
|
||
7 years ago
|
position: relative;
|
||
7 years ago
|
margin-top: -3rem;
|
||
7 years ago
|
background-color: $white;
|
||
|
box-shadow: 0 5px 40px -5px rgba($black, 0.25);
|
||
|
|
||
|
&:before {
|
||
|
content: "";
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 68px;
|
||
|
background-color: $white;
|
||
|
box-shadow: 0 0 40px -5px rgba($black, 0.25);
|
||
|
}
|
||
|
|
||
|
&:after {
|
||
|
content: "";
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
top: 3rem;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
left: 70%;
|
||
|
background-color: $primary;
|
||
6 years ago
|
box-shadow: 0 0 40px -5px rgba($black, 0.25);
|
||
7 years ago
|
|
||
|
@media (max-width: 992px) {
|
||
7 years ago
|
top: 2rem;
|
||
|
left: 80%;
|
||
7 years ago
|
}
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
.dashboard-banner {
|
||
7 years ago
|
position: relative;
|
||
7 years ago
|
display: grid;
|
||
7 years ago
|
grid-template-rows: 3rem 2fr 1fr;
|
||
7 years ago
|
grid-template-columns: 1fr 4fr;
|
||
7 years ago
|
grid-template-areas:
|
||
|
"chart ."
|
||
|
"chart stats"
|
||
|
"legend stats";
|
||
|
margin-top: -1rem;
|
||
7 years ago
|
margin-bottom: 3rem;
|
||
6 years ago
|
z-index: 9;
|
||
7 years ago
|
|
||
|
@media (max-width: 992px) {
|
||
|
grid-template-rows: 2rem auto;
|
||
|
grid-template-columns: auto;
|
||
|
}
|
||
7 years ago
|
}
|
||
|
|
||
|
.dashboard-banner-chart {
|
||
|
grid-area: chart;
|
||
|
// 15px padding matches the Bootstarp conatiner padding.
|
||
7 years ago
|
padding: 1rem 1rem 1rem 0;
|
||
7 years ago
|
}
|
||
|
|
||
|
.dashboard-banner-chart-legend {
|
||
|
grid-area: legend;
|
||
|
display: flex;
|
||
|
// 15px padding matches the Bootstarp conatiner padding.
|
||
7 years ago
|
padding: 1rem 1rem;
|
||
7 years ago
|
|
||
|
&-item {
|
||
|
padding-left: 0.5rem;
|
||
|
flex-grow: 1;
|
||
|
|
||
|
&:first-of-type {
|
||
|
border-left: 4px solid $secondary;
|
||
|
}
|
||
|
|
||
|
&:last-of-type {
|
||
|
border-left: 4px solid $primary;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-label {
|
||
|
display: block;
|
||
|
color: $text-muted;
|
||
|
}
|
||
|
|
||
|
&-value {
|
||
|
display: block;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.dashboard-banner-network-stats {
|
||
|
grid-area: stats;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-around;
|
||
|
// 15px padding matches the Bootstarp conatiner padding.
|
||
|
padding-right: 15px;
|
||
|
background-color: $primary;
|
||
6 years ago
|
box-shadow: -10px 0 15px 0 rgba($black, 0.14);
|
||
7 years ago
|
|
||
7 years ago
|
@media (max-width: 992px) {
|
||
|
flex-direction: column;
|
||
|
align-items: flex-start;
|
||
|
padding: 0.5rem 2rem;
|
||
|
}
|
||
|
|
||
7 years ago
|
&-item {
|
||
|
padding-left: 1rem;
|
||
|
color: $white;
|
||
|
border-left: 4px solid rgba($white, 0.6);
|
||
|
}
|
||
|
|
||
|
&-label {
|
||
|
display: block;
|
||
7 years ago
|
white-space: nowrap;
|
||
7 years ago
|
}
|
||
|
|
||
|
&-value {
|
||
|
display: block;
|
||
|
font-size: 1.5rem;
|
||
7 years ago
|
font-weight: 200;
|
||
7 years ago
|
|
||
|
@media (max-width: 992px) {
|
||
|
font-size: 1.25rem;
|
||
|
}
|
||
7 years ago
|
}
|
||
|
}
|