2018-07-03 11:14:53 +08:00
|
|
|
.admin-reports,
|
|
|
|
.dashboard-next {
|
|
|
|
&.admin-contents {
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.dashboard-next {
|
2018-05-16 22:45:21 +08:00
|
|
|
.section-top {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2018-07-20 02:33:11 +08:00
|
|
|
.navigation {
|
|
|
|
display: flex;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
|
|
|
|
.navigation-item {
|
|
|
|
display: inline;
|
|
|
|
background: $secondary;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-link {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin active-navigation-item {
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
border-bottom: 10px solid $secondary;
|
|
|
|
}
|
|
|
|
|
2018-07-27 02:59:28 +08:00
|
|
|
&.dashboard-next-moderation .navigation-item.moderation {
|
2018-07-20 02:33:11 +08:00
|
|
|
@include active-navigation-item;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.general .navigation-item.general {
|
|
|
|
@include active-navigation-item;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sections {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.section-columns {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-05-03 21:41:41 +08:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-04-16 16:42:06 +08:00
|
|
|
.section-column {
|
2018-06-08 17:49:31 +08:00
|
|
|
min-width: calc(50% - 0.5em);
|
2018-05-17 12:01:13 +08:00
|
|
|
max-width: 100%;
|
2018-05-03 21:41:41 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
&:last-child {
|
2018-05-18 04:44:33 +08:00
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-05-03 21:41:41 +08:00
|
|
|
min-width: 100%;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
2018-04-20 00:19:21 +08:00
|
|
|
}
|
|
|
|
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
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 {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin: 0 0.5em 0 0;
|
2018-07-20 07:29:58 +08:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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-06-08 17:49:31 +08:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
padding-bottom: 0.5em;
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.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-06-08 17:49:31 +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-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
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
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.durability,
|
|
|
|
.last-dashboard-update {
|
2018-05-17 03:49:02 +08:00
|
|
|
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-06-08 17:49:31 +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;
|
2018-06-08 17:49:31 +08:00
|
|
|
.durability,
|
|
|
|
.last-dashboard-update {
|
2018-05-17 03:49:02 +08:00
|
|
|
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-06-08 17:49:31 +08:00
|
|
|
.top-referred-topics,
|
|
|
|
.trending-search {
|
2018-05-18 04:44:33 +08:00
|
|
|
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-07-20 02:33:11 +08:00
|
|
|
.section {
|
2018-05-16 22:45:21 +08:00
|
|
|
.period-chooser .period-chooser-header {
|
2018-06-08 17:49:31 +08:00
|
|
|
.selected-name,
|
|
|
|
.d-icon {
|
2018-05-16 22:45:21 +08:00
|
|
|
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-06-12 18:47:03 +08:00
|
|
|
|
|
|
|
.dashboard-problems {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
|
|
|
|
.d-icon-exclamation-triangle {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-07-20 02:33:11 +08:00
|
|
|
.admin-report-table {
|
2018-05-16 22:45:21 +08:00
|
|
|
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-06-08 17:49:31 +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-18 04:44:33 +08:00
|
|
|
|
2018-05-23 03:33:06 +08:00
|
|
|
.user-metrics {
|
2018-05-25 18:09:30 +08:00
|
|
|
display: flex;
|
2018-05-23 03:33:06 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
2018-07-20 02:33:11 +08:00
|
|
|
flex-direction: column;
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.dashboard-inline-table {
|
|
|
|
// and "hides" margin when the item spans 100% width
|
2018-05-23 03:33:06 +08:00
|
|
|
flex: 1 0 auto;
|
|
|
|
max-width: 95%;
|
|
|
|
}
|
2018-05-24 04:55:57 +08:00
|
|
|
.table-cell {
|
|
|
|
display: flex;
|
|
|
|
flex: 0 1 auto;
|
2018-05-24 06:46:25 +08:00
|
|
|
margin: 0 10px 5px 0;
|
2018-05-24 04:55:57 +08:00
|
|
|
border: 1px solid $primary-low;
|
|
|
|
border-radius: 10px;
|
|
|
|
.label {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
color: $primary;
|
|
|
|
background: $primary-very-low;
|
|
|
|
justify-content: center;
|
2018-05-24 06:46:25 +08:00
|
|
|
border-radius: 9px 0 0 9px;
|
|
|
|
padding: 0 5px 0 8px;
|
2018-05-25 18:09:30 +08:00
|
|
|
|
2018-05-24 04:55:57 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 5px;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 06:46:25 +08:00
|
|
|
|
|
|
|
.value {
|
|
|
|
padding: 0 8px 0 5px;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
&.user-newuser {
|
2018-05-24 04:55:57 +08:00
|
|
|
.label {
|
|
|
|
color: $primary-high;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
&.user-basic,
|
|
|
|
&.user-member {
|
2018-05-24 04:55:57 +08:00
|
|
|
border-color: $bronze;
|
|
|
|
.label {
|
2018-05-25 18:09:30 +08:00
|
|
|
border-color: $bronze;
|
2018-05-24 04:55:57 +08:00
|
|
|
background: $bronze;
|
|
|
|
color: $secondary;
|
2018-05-25 18:09:30 +08:00
|
|
|
}
|
2018-05-24 04:55:57 +08:00
|
|
|
}
|
|
|
|
&.user-regular {
|
|
|
|
border-color: $silver;
|
|
|
|
.label {
|
2018-05-25 18:09:30 +08:00
|
|
|
border-color: $silver;
|
2018-05-24 04:55:57 +08:00
|
|
|
background: $silver;
|
|
|
|
color: $secondary;
|
2018-05-25 18:09:30 +08:00
|
|
|
}
|
2018-05-24 04:55:57 +08:00
|
|
|
}
|
2018-05-25 18:09:30 +08:00
|
|
|
&.user-leader {
|
2018-05-24 04:55:57 +08:00
|
|
|
border-color: $gold;
|
|
|
|
.label {
|
|
|
|
background: $gold;
|
2018-05-25 18:09:30 +08:00
|
|
|
border-color: $gold;
|
2018-05-24 04:55:57 +08:00
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 06:46:25 +08:00
|
|
|
}
|
2018-05-24 04:55:57 +08:00
|
|
|
|
2018-07-20 02:33:11 +08:00
|
|
|
.admin-report.activity-metrics {
|
2018-08-02 07:08:53 +08:00
|
|
|
.report-table {
|
2018-05-18 04:44:33 +08:00
|
|
|
@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;
|
2018-05-22 22:47:23 +08:00
|
|
|
text-align: center;
|
2018-05-18 05:03:56 +08:00
|
|
|
}
|
|
|
|
@media screen and (max-width: 400px) {
|
2018-06-08 17:49:31 +08:00
|
|
|
.d-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-05-18 05:03:56 +08:00
|
|
|
td.title {
|
|
|
|
padding: 8px 0 8px 4px;
|
|
|
|
}
|
|
|
|
}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
text-overflow: unset;
|
|
|
|
overflow: auto;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:first-child {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
text-align: center;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.title {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.value {
|
|
|
|
text-align: right;
|
2018-07-31 02:40:26 +08:00
|
|
|
white-space: nowrap;
|
2018-07-20 02:33:11 +08:00
|
|
|
padding: 8px 21px 8px 8px; // accounting for negative right caret margin
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
padding: 8px 12px 8px;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
margin-right: -12px; // align on caret
|
|
|
|
@media screen and (max-width: 650px) {
|
|
|
|
margin-right: -9px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.high-trending-up,
|
|
|
|
&.trending-up {
|
|
|
|
i {
|
|
|
|
color: $success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.high-trending-down,
|
|
|
|
&.trending-down {
|
|
|
|
i {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-18 04:44:33 +08:00
|
|
|
}
|
|
|
|
}
|
2018-05-29 16:22:31 +08:00
|
|
|
|
|
|
|
.rtl .dashboard-next {
|
|
|
|
.section-column {
|
2018-06-08 17:49:31 +08:00
|
|
|
&:last-child {
|
2018-05-29 16:22:31 +08:00
|
|
|
margin-right: 1em;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard-table table tbody tr {
|
|
|
|
td.title {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.value i {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: -12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-metrics .table-cell {
|
|
|
|
margin: 0 0 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-cell {
|
|
|
|
.label {
|
|
|
|
border-radius: 0 9px 9px 0;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
.community-health.section {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard-next.moderation {
|
|
|
|
.admin-dashboard-moderation-top {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
grid-column-gap: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-section {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
grid-column-gap: 1em;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
grid-column: span 12;
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-dashboard-moderation-bottom-outlet {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
grid-column-gap: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-report.flags-status {
|
2018-07-20 07:29:58 +08:00
|
|
|
grid-column: span 12;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.admin-report.post-edits {
|
2018-07-20 07:29:58 +08:00
|
|
|
grid-column: span 12;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
}
|