2018-04-16 16:42:06 +08:00
|
|
|
.dashboard-next {
|
2018-05-16 22:45:21 +08:00
|
|
|
.section-top {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.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-17 12:01:13 +08:00
|
|
|
max-width: 100%;
|
2018-05-03 21:41:41 +08:00
|
|
|
|
2018-05-18 04:44:33 +08:00
|
|
|
&:last-child, {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-05-03 21:41:41 +08:00
|
|
|
@include small-width {
|
2018-05-18 04:44:33 +08:00
|
|
|
.section-column:last-child,
|
|
|
|
.section-column:first-child {
|
2018-05-03 21:41:41 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.section {
|
|
|
|
.section-title {
|
|
|
|
h2 {
|
|
|
|
margin: 0 .5em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
display: flex;
|
2018-05-17 23:41:58 +08:00
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2018-05-16 08:18:21 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2018-04-16 16:42:06 +08:00
|
|
|
margin-bottom: .5em;
|
|
|
|
padding-bottom: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-body {
|
2018-05-17 23:41:58 +08:00
|
|
|
padding: 1em 0 0;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.charts {
|
|
|
|
display: flex;
|
2018-05-17 03:06:23 +08:00
|
|
|
justify-content: space-between;
|
2018-05-16 22:45:21 +08:00
|
|
|
flex-wrap: wrap;
|
2018-04-16 19:03:43 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.chart {
|
2018-05-17 03:06:23 +08:00
|
|
|
max-width: calc(100% * 1/3.2);
|
2018-05-16 22:45:21 +08:00
|
|
|
width: 100%;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 100%;
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 1em;
|
2018-05-14 20:23:51 +08:00
|
|
|
}
|
|
|
|
|
2018-05-03 21:41:41 +08:00
|
|
|
@include small-width {
|
2018-05-16 22:45:21 +08:00
|
|
|
.chart {
|
|
|
|
max-width: 100%;
|
2018-05-03 21:41:41 +08:00
|
|
|
}
|
2018-04-26 20:49:41 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.chart-canvas-container {
|
|
|
|
position: relative;
|
2018-05-17 03:06:23 +08:00
|
|
|
margin-left: -5px;
|
2018-04-16 22:01:29 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.chart-canvas {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.misc {
|
2018-05-17 03:49:02 +08:00
|
|
|
display: flex;
|
2018-05-17 03:06:23 +08:00
|
|
|
border: 1px solid $primary-low;
|
2018-05-17 03:49:02 +08:00
|
|
|
|
|
|
|
.durability, .last-dashboard-update {
|
|
|
|
flex: 1 1 50%;
|
|
|
|
box-sizing: border-box;
|
2018-05-18 04:44:33 +08:00
|
|
|
margin: 1em 0;
|
|
|
|
padding: 0 1em;
|
2018-05-17 03:49:02 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.durability {
|
2018-04-16 16:42:06 +08:00
|
|
|
display: flex;
|
2018-05-17 03:49:02 +08:00
|
|
|
flex-wrap: wrap;
|
2018-04-16 16:42:06 +08:00
|
|
|
justify-content: space-between;
|
2018-05-18 04:44:33 +08:00
|
|
|
|
2018-05-17 03:49:02 +08:00
|
|
|
.backups, .uploads {
|
2018-05-18 04:44:33 +08:00
|
|
|
flex: 1 1 100%;
|
2018-05-17 03:49:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploads p:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.durability-title {
|
|
|
|
text-transform: capitalize;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
2018-05-17 03:49:02 +08:00
|
|
|
|
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
.durability, .last-dashboard-update {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.last-dashboard-update {
|
|
|
|
display: block;
|
|
|
|
margin: 0 20px 20px 20px;
|
|
|
|
padding: 20px 0 0 0;
|
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.last-dashboard-update {
|
|
|
|
border-left: 1px solid $primary-low;
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
2018-05-18 04:44:33 +08:00
|
|
|
justify-content: center;
|
2018-05-17 03:49:02 +08:00
|
|
|
div {
|
|
|
|
align-self: center;
|
|
|
|
h4 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-18 04:44:33 +08:00
|
|
|
.top-referred-topics, .trending-search {
|
|
|
|
th:first-of-type {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
2018-05-17 03:49:02 +08:00
|
|
|
|
2018-05-18 04:44:33 +08:00
|
|
|
.top-referred-topics {
|
|
|
|
.dashboard-table table {
|
|
|
|
table-layout: auto;
|
|
|
|
}
|
|
|
|
}
|
2018-05-17 03:49:02 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.community-health {
|
|
|
|
.period-chooser .period-chooser-header {
|
|
|
|
.selected-name, .d-icon {
|
|
|
|
font-size: $font-up-1;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.d-icon {
|
|
|
|
margin: 0;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.dashboard-mini-chart {
|
|
|
|
.status {
|
2018-04-16 16:42:06 +08:00
|
|
|
display: flex;
|
2018-05-16 22:45:21 +08:00
|
|
|
justify-content: space-between;
|
2018-05-17 03:06:23 +08:00
|
|
|
margin-bottom: .5em;
|
|
|
|
padding: 0 .45em 0 0;
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.title {
|
2018-05-17 03:06:23 +08:00
|
|
|
font-size: $font-up-1;
|
2018-05-16 22:45:21 +08:00
|
|
|
font-weight: 700;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
a { color: $primary; }
|
|
|
|
|
|
|
|
.info {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: .25em;
|
2018-05-17 03:06:23 +08:00
|
|
|
color: $primary-low-mid;
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.trend {
|
|
|
|
align-items: center;
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
&.trending-down, &.high-trending-down {
|
|
|
|
color: $danger;
|
2018-05-16 02:12:03 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
&.trending-up, &.high-trending-up {
|
|
|
|
color: $success;
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.trend-value {
|
|
|
|
font-size: $font-up-1;
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.trend-icon {
|
|
|
|
font-size: $font-up-1;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.conditional-loading-section {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex: 1;
|
2018-05-17 08:25:10 +08:00
|
|
|
width: 100%;
|
2018-05-17 12:47:10 +08:00
|
|
|
min-width: 0;
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
@include small-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
&.is-loading {
|
|
|
|
height: 200px;
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.loading-container.visible {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-18 04:44:33 +08:00
|
|
|
.tooltip {
|
2018-05-16 22:45:21 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.chart-title {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
h3 {
|
|
|
|
margin: 1em 0;
|
|
|
|
a, a:visited {
|
|
|
|
color: $primary;
|
2018-05-03 21:41:41 +08:00
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
|
|
|
}
|
2018-05-17 05:18:13 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.dashboard-table {
|
|
|
|
margin-bottom: 1em;
|
2018-04-16 18:00:49 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
&.is-disabled {
|
|
|
|
background: $primary-low;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-17 03:49:02 +08:00
|
|
|
@media screen and (max-width: 650px) {
|
2018-05-16 22:45:21 +08:00
|
|
|
table {
|
|
|
|
tbody tr td {
|
2018-05-17 03:49:02 +08:00
|
|
|
font-size: $font-down-1;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
&.is-loading {
|
|
|
|
height: 150px;
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.table-title {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
h3 {
|
2018-05-17 03:06:23 +08:00
|
|
|
margin: 1em 0 0 0;
|
2018-05-03 21:41:41 +08:00
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-05-03 21:41:41 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
table {
|
|
|
|
table-layout: fixed;
|
2018-05-17 03:06:23 +08:00
|
|
|
border: 1px solid $primary-low;
|
2018-05-16 22:45:21 +08:00
|
|
|
|
|
|
|
thead {
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
tr {
|
|
|
|
th {
|
|
|
|
text-align: center;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
tbody {
|
2018-05-17 03:06:23 +08:00
|
|
|
border-top: none;
|
2018-05-16 22:45:21 +08:00
|
|
|
tr {
|
|
|
|
td:first-child {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2018-05-16 02:12:03 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
td {
|
|
|
|
text-align: center;
|
2018-05-17 04:04:22 +08:00
|
|
|
padding: 8px;
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-05-18 04:44:33 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
td.left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2018-04-19 03:30:41 +08:00
|
|
|
|
2018-05-17 03:06:23 +08:00
|
|
|
td.title {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
td.value {
|
2018-05-17 03:06:23 +08:00
|
|
|
text-align: right;
|
2018-05-17 23:41:58 +08:00
|
|
|
padding: 8px 21px 8px 8px; // accounting for negative right caret margin
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
padding: 8px 12px 8px;
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
i {
|
|
|
|
display: none;
|
2018-05-17 04:04:22 +08:00
|
|
|
margin-right: -12px; // align on caret
|
|
|
|
@media screen and (max-width: 650px) {
|
|
|
|
margin-right: -9px;
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-04-19 03:30:41 +08:00
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
&.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-19 03:30:41 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
2018-05-18 04:44:33 +08:00
|
|
|
|
|
|
|
.dashboard-table.activity-metrics {
|
|
|
|
table {
|
|
|
|
@media screen and (min-width: 400px) {
|
|
|
|
table-layout: auto;
|
|
|
|
}
|
|
|
|
tr th {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2018-05-18 05:03:56 +08:00
|
|
|
.d-icon {
|
|
|
|
color: $primary-low-mid;
|
|
|
|
min-width: 14px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
.d-icon { display: none; }
|
|
|
|
td.title {
|
|
|
|
padding: 8px 0 8px 4px;
|
|
|
|
}
|
|
|
|
}
|
2018-05-18 04:44:33 +08:00
|
|
|
}
|
|
|
|
}
|