2018-04-16 16:42:06 +08:00
|
|
|
.dashboard-next {
|
|
|
|
|
|
|
|
&.admin-contents {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-columns {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.section-column {
|
|
|
|
flex: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-16 18:00:49 +08:00
|
|
|
.dashboard-mini-table {
|
2018-04-16 19:03:43 +08:00
|
|
|
margin-bottom: 1em;
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.table-title {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin: .5em;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0 .5em 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border: 1px solid $primary-low-mid;
|
|
|
|
table-layout: fixed;
|
|
|
|
|
|
|
|
thead {
|
|
|
|
tr {
|
|
|
|
background: $primary-low;
|
|
|
|
th {
|
|
|
|
border: 1px solid $primary-low-mid;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
border: 1px solid $primary-low-mid;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.charts {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
2018-04-16 18:00:49 +08:00
|
|
|
.dashboard-mini-chart {
|
2018-04-16 16:42:06 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
width: calc(100% * (1/3) - 1px);
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
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;
|
|
|
|
margin: .5em;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0 .5em 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.double-up, &.up {
|
|
|
|
.chart-trend, .data-point {
|
|
|
|
color: rgb(17, 141, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.double-down, &.down {
|
|
|
|
.chart-trend, .data-point {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.one-data-point {
|
|
|
|
.chart-container {
|
|
|
|
height: 100px;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.data-point {
|
|
|
|
font-size: $font-up-5;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 1em;
|
|
|
|
border-radius: 3px;
|
|
|
|
background: rgba(200,220,240,0.3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chart-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chart-trend {
|
|
|
|
font-size: $font-up-5;
|
|
|
|
position: absolute;
|
2018-04-16 18:00:49 +08:00
|
|
|
left: 2em;
|
2018-04-16 16:42:06 +08:00
|
|
|
top: .5em;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chart-canvas {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|