2018-04-16 16:42:06 +08:00
|
|
|
.dashboard-next {
|
|
|
|
|
|
|
|
&.admin-contents {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-columns {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2018-05-03 21:41:41 +08:00
|
|
|
@include small-width {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.section-column {
|
2018-04-20 00:19:21 +08:00
|
|
|
min-width: calc(50% - .5em);
|
2018-05-03 21:41:41 +08:00
|
|
|
|
|
|
|
@include small-width {
|
|
|
|
min-width: 100%;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
2018-04-20 00:19:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-column:last-child {
|
|
|
|
margin-left: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-column:first-child {
|
|
|
|
margin-right: .5em;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
2018-05-03 21:41:41 +08:00
|
|
|
|
|
|
|
@include small-width {
|
|
|
|
.section-column:last-child, .section-column:first-child {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.section {
|
|
|
|
.section-title {
|
|
|
|
h2 {
|
|
|
|
margin: 0 .5em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
border-bottom: 1px solid $primary-low-mid;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
padding-bottom: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-body {
|
|
|
|
padding: 1em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-20 00:19:21 +08:00
|
|
|
.dashboard-table {
|
2018-04-16 19:03:43 +08:00
|
|
|
margin-bottom: 1em;
|
|
|
|
|
2018-05-03 21:41:41 +08:00
|
|
|
@include small-width {
|
|
|
|
table {
|
|
|
|
tbody tr td {
|
|
|
|
font-size: $font-down-2;
|
|
|
|
}
|
|
|
|
}
|
2018-04-26 20:49:41 +08:00
|
|
|
}
|
|
|
|
|
2018-04-16 22:01:29 +08:00
|
|
|
&.is-loading {
|
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.table-title {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
h3 {
|
2018-04-16 22:01:29 +08:00
|
|
|
margin: .5em 0;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
2018-05-03 21:41:41 +08:00
|
|
|
table-layout: fixed;
|
2018-04-16 16:42:06 +08:00
|
|
|
|
|
|
|
thead {
|
|
|
|
tr {
|
|
|
|
background: $primary-low;
|
|
|
|
th {
|
|
|
|
text-align: center;
|
2018-04-26 20:49:41 +08:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
tr {
|
2018-05-03 21:41:41 +08:00
|
|
|
td:first-child {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
td {
|
2018-05-10 09:31:34 +08:00
|
|
|
border: 1px solid $primary-low;
|
2018-04-16 16:42:06 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
2018-04-26 20:49:41 +08:00
|
|
|
|
|
|
|
td.value {
|
|
|
|
i {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.high-trending-up, &.trending-up {
|
|
|
|
i.up {
|
|
|
|
color: $success;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.high-trending-down, &.trending-down {
|
|
|
|
i.down {
|
|
|
|
color: $danger;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.no-change {
|
|
|
|
i.down {
|
|
|
|
display: inline;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.charts {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
2018-04-16 18:00:49 +08:00
|
|
|
.dashboard-mini-chart {
|
2018-05-03 21:41:41 +08:00
|
|
|
max-width: calc(100% * (1/3));
|
|
|
|
width: 100%;
|
2018-04-16 16:42:06 +08:00
|
|
|
margin-bottom: 1em;
|
2018-04-20 00:19:21 +08:00
|
|
|
flex-grow: 1;
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-03 21:41:41 +08:00
|
|
|
@include small-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-04-16 22:01:29 +08:00
|
|
|
&.is-loading {
|
2018-05-03 21:41:41 +08:00
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-container.visible {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2018-04-16 22:01:29 +08:00
|
|
|
}
|
|
|
|
|
2018-04-16 18:00:49 +08:00
|
|
|
.d-icon-question-circle {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.chart-title {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2018-05-03 21:41:41 +08:00
|
|
|
justify-content: space-between;
|
2018-04-16 16:42:06 +08:00
|
|
|
|
|
|
|
h3 {
|
2018-04-20 00:19:21 +08:00
|
|
|
margin: 1em 0;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-26 20:49:41 +08:00
|
|
|
&.high-trending-up, &.trending-up {
|
2018-04-16 16:42:06 +08:00
|
|
|
.chart-trend, .data-point {
|
|
|
|
color: rgb(17, 141, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-26 20:49:41 +08:00
|
|
|
&.high-trending-down, &.trending-down {
|
2018-04-16 16:42:06 +08:00
|
|
|
.chart-trend, .data-point {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.one-data-point {
|
|
|
|
.chart-container {
|
2018-04-19 03:30:41 +08:00
|
|
|
min-height: 150px;
|
2018-04-16 16:42:06 +08:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.data-point {
|
2018-04-19 03:30:41 +08:00
|
|
|
width: 100%;
|
|
|
|
font-size: 6em;
|
2018-04-16 16:42:06 +08:00
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 3px;
|
|
|
|
background: rgba(200,220,240,0.3);
|
2018-04-19 03:30:41 +08:00
|
|
|
text-align: center;
|
|
|
|
padding: .5em 0;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-03 21:41:41 +08:00
|
|
|
@include small-width {
|
|
|
|
.dashboard-mini-chart {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.chart-container {
|
|
|
|
position: relative;
|
2018-04-20 00:19:21 +08:00
|
|
|
padding: 0 1em;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chart-trend {
|
2018-05-03 21:41:41 +08:00
|
|
|
font-size: $font-up-3;
|
2018-04-16 16:42:06 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: bold;
|
2018-05-03 21:41:41 +08:00
|
|
|
margin-right: 1em;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chart-canvas {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-04-19 03:30:41 +08:00
|
|
|
|
|
|
|
.misc {
|
|
|
|
.durability {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.durability-title {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|