2018-07-03 11:14:53 +08:00
|
|
|
.admin-reports,
|
2019-04-01 18:39:49 +08:00
|
|
|
.dashboard,
|
2018-07-03 11:14:53 +08:00
|
|
|
.dashboard-next {
|
|
|
|
&.admin-contents {
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-01 18:39:49 +08:00
|
|
|
.dashboard,
|
2018-04-16 16:42:06 +08:00
|
|
|
.dashboard-next {
|
2018-05-16 22:45:21 +08:00
|
|
|
.section-top {
|
2018-08-10 08:45:47 +08:00
|
|
|
margin-bottom: 0.5em;
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
|
|
|
|
2018-07-20 02:33:11 +08:00
|
|
|
.navigation {
|
|
|
|
display: flex;
|
2018-08-10 08:43:18 +08:00
|
|
|
margin: 0 0 2.5em 0;
|
|
|
|
border-bottom: 1px solid $primary-low-mid;
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
.navigation-item {
|
|
|
|
display: inline;
|
2018-08-10 08:43:18 +08:00
|
|
|
&:hover {
|
|
|
|
background: $primary-very-low;
|
|
|
|
}
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-link {
|
2018-08-10 08:43:18 +08:00
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
2018-08-10 08:45:47 +08:00
|
|
|
padding: 0.6em 1em 0.5em 1em;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin active-navigation-item {
|
2018-08-10 08:43:18 +08:00
|
|
|
.navigation-link {
|
2018-08-10 08:45:47 +08:00
|
|
|
border-bottom: 0.4em solid $tertiary;
|
2018-08-10 08:43:18 +08:00
|
|
|
}
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
|
2019-04-01 18:39:49 +08:00
|
|
|
&.dashboard-moderation .navigation-item.moderation {
|
2018-07-20 02:33:11 +08:00
|
|
|
@include active-navigation-item;
|
|
|
|
}
|
|
|
|
|
2019-04-01 18:39:49 +08:00
|
|
|
&.dashboard-security .navigation-item.security {
|
2018-12-14 20:47:59 +08:00
|
|
|
@include active-navigation-item;
|
|
|
|
}
|
|
|
|
|
2019-04-01 18:39:49 +08:00
|
|
|
&.dashboard-reports .navigation-item.reports {
|
2018-12-19 21:44:43 +08:00
|
|
|
@include active-navigation-item;
|
|
|
|
}
|
|
|
|
|
2018-07-20 02:33:11 +08:00
|
|
|
&.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-08-17 22:19:25 +08:00
|
|
|
margin-left: 0.5em;
|
2018-05-18 04:44:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
2018-08-17 22:19:25 +08:00
|
|
|
margin-right: 0.5em;
|
2018-05-18 04:44:33 +08:00
|
|
|
}
|
|
|
|
|
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-08-10 08:43:18 +08:00
|
|
|
> p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-17 22:19:25 +08:00
|
|
|
.admin-report .header {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2018-05-16 22:45:21 +08:00
|
|
|
.charts {
|
2018-08-17 22:19:25 +08:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
grid-column-gap: 1em;
|
|
|
|
grid-row-gap: 1em;
|
2018-04-16 19:03:43 +08:00
|
|
|
|
2018-11-06 01:51:26 +08:00
|
|
|
// IE11 grid support
|
|
|
|
display: -ms-grid;
|
|
|
|
-ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
|
|
-ms-grid-rows: 1fr 1fr;
|
|
|
|
.admin-report {
|
|
|
|
-ms-grid-column-span: 4;
|
2019-01-21 22:17:04 +08:00
|
|
|
|
2018-11-06 01:51:26 +08:00
|
|
|
&:nth-of-type(1) {
|
|
|
|
-ms-grid-row: 1;
|
|
|
|
-ms-grid-column: 1;
|
|
|
|
}
|
|
|
|
&:nth-of-type(2) {
|
2019-01-22 18:47:54 +08:00
|
|
|
-ms-grid-row: 2;
|
|
|
|
-ms-grid-column: 1;
|
2018-11-06 01:51:26 +08:00
|
|
|
}
|
|
|
|
&:nth-of-type(3) {
|
2019-01-22 18:47:54 +08:00
|
|
|
-ms-grid-row: 2;
|
|
|
|
-ms-grid-column: 5;
|
2018-11-06 01:51:26 +08:00
|
|
|
}
|
|
|
|
&:nth-of-type(4) {
|
|
|
|
-ms-grid-row: 2;
|
2019-01-22 18:47:54 +08:00
|
|
|
-ms-grid-column: 9;
|
2018-11-06 01:51:26 +08:00
|
|
|
}
|
|
|
|
&:nth-of-type(5) {
|
2019-01-22 18:47:54 +08:00
|
|
|
-ms-grid-row: 3;
|
|
|
|
-ms-grid-column: 1;
|
2018-11-06 01:51:26 +08:00
|
|
|
}
|
|
|
|
&:nth-of-type(6) {
|
2019-01-22 18:47:54 +08:00
|
|
|
-ms-grid-row: 3;
|
|
|
|
-ms-grid-column: 5;
|
|
|
|
}
|
|
|
|
&:nth-of-type(7) {
|
|
|
|
-ms-grid-row: 3;
|
2018-11-06 01:51:26 +08:00
|
|
|
-ms-grid-column: 9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-17 22:19:25 +08:00
|
|
|
.admin-report {
|
|
|
|
grid-column: span 4;
|
2019-01-21 22:17:04 +08:00
|
|
|
|
|
|
|
&.consolidated-page-views {
|
|
|
|
grid-column: span 12;
|
2019-01-22 18:47:54 +08:00
|
|
|
-ms-grid-column-span: 12;
|
2019-01-21 22:17:04 +08:00
|
|
|
}
|
2018-05-14 20:23:51 +08:00
|
|
|
}
|
|
|
|
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(medium) {
|
2018-08-17 22:19:25 +08:00
|
|
|
.admin-report {
|
|
|
|
grid-column: span 12;
|
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-12-15 06:14:46 +08:00
|
|
|
.storage-stats,
|
2018-06-08 17:49:31 +08:00
|
|
|
.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-12-15 06:14:46 +08:00
|
|
|
.storage-stats {
|
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-08-10 08:43:18 +08:00
|
|
|
border-right: 1px solid $primary-low;
|
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-17 03:49:02 +08:00
|
|
|
|
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
flex-wrap: wrap;
|
2018-12-15 06:14:46 +08:00
|
|
|
.storage-stats,
|
2018-06-08 17:49:31 +08:00
|
|
|
.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 {
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
2019-05-17 13:42:45 +08:00
|
|
|
flex-direction: column;
|
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-08-17 22:19:25 +08:00
|
|
|
.top-referred-topics {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
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-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 {
|
2018-08-10 08:43:18 +08:00
|
|
|
margin-bottom: 2.5em;
|
2018-06-12 18:47:03 +08:00
|
|
|
|
|
|
|
.d-icon-exclamation-triangle {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
2019-01-12 08:41:09 +08:00
|
|
|
margin: 1em 0 0 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
color: $primary-medium;
|
|
|
|
.btn {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2018-06-12 18:47:03 +08:00
|
|
|
}
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-08-17 22:19:25 +08:00
|
|
|
.counters-list {
|
|
|
|
display: flex;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2018-08-17 22:19:25 +08:00
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.counters-header {
|
|
|
|
display: grid;
|
2018-11-06 01:51:26 +08:00
|
|
|
flex: 1 0 auto;
|
2018-08-17 22:19:25 +08:00
|
|
|
grid-template-columns: 33% repeat(auto-fit, minmax(20px, 1fr));
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
border-bottom: 0;
|
|
|
|
font-weight: 700;
|
|
|
|
text-align: right;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.65em 0.25em;
|
2018-11-06 01:51:26 +08:00
|
|
|
|
|
|
|
// IE11 grid support
|
|
|
|
display: -ms-grid;
|
|
|
|
-ms-grid-columns: 2fr 1fr 1fr 1fr 1fr;
|
|
|
|
.counters-cell {
|
|
|
|
-ms-grid-row: 1;
|
|
|
|
-ms-grid-column-span: 1;
|
|
|
|
&:nth-of-type(1) {
|
|
|
|
-ms-grid-column: 1;
|
|
|
|
}
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
-ms-grid-column: 2;
|
|
|
|
}
|
|
|
|
&:nth-of-type(3) {
|
|
|
|
-ms-grid-column: 3;
|
|
|
|
}
|
|
|
|
&:nth-of-type(4) {
|
|
|
|
-ms-grid-column: 4;
|
|
|
|
}
|
|
|
|
&:nth-of-type(5) {
|
|
|
|
-ms-grid-column: 5;
|
|
|
|
}
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-08-17 22:19:25 +08:00
|
|
|
.admin-report .main {
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $primary-very-low;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-report:not(:last-child) {
|
|
|
|
.main {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conditional-loading-section.is-loading {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-report .conditional-loading-section.is-loading {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 0.5em 0.25em;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner {
|
|
|
|
margin: 0;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
margin-left: 0.5em;
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
|
2018-08-17 22:19:25 +08:00
|
|
|
.admin-report .main .report-alert {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 0.5em 0.25em;
|
|
|
|
align-items: center;
|
2018-08-22 17:25:12 +08:00
|
|
|
text-align: left;
|
2018-08-17 22:19:25 +08:00
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $primary-very-low;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
font-size: $font-up-1;
|
|
|
|
margin: 0 0.25em 0 0;
|
|
|
|
color: $primary-low-mid;
|
|
|
|
}
|
2018-05-16 22:45:21 +08:00
|
|
|
}
|
2018-04-16 16:42:06 +08:00
|
|
|
}
|
2018-05-18 04:44:33 +08:00
|
|
|
|
2018-08-07 04:57:40 +08:00
|
|
|
.activity-metrics {
|
2018-08-17 22:19:25 +08:00
|
|
|
margin-bottom: 1.5em;
|
2018-08-07 04:57:40 +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-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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
|
2018-08-17 22:19:25 +08:00
|
|
|
.users-by-trust-level,
|
|
|
|
.users-by-type {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
2018-07-20 02:33:11 +08:00
|
|
|
.community-health.section {
|
2018-08-17 22:19:25 +08:00
|
|
|
margin-bottom: 1.5em;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
|
2019-04-01 18:39:49 +08:00
|
|
|
.dashboard-moderation,
|
|
|
|
.dashboard-security {
|
2018-08-17 22:19:25 +08:00
|
|
|
.section-body {
|
|
|
|
margin-bottom: 1em;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-section {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
grid-column-gap: 1em;
|
2018-08-17 22:19:25 +08:00
|
|
|
grid-row-gap: 1em;
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
> * {
|
|
|
|
grid-column: span 12;
|
|
|
|
}
|
|
|
|
|
2018-12-14 20:47:59 +08:00
|
|
|
.admin-dashboard-security-bottom-outlet,
|
2018-07-20 02:33:11 +08:00
|
|
|
.admin-dashboard-moderation-bottom-outlet {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
grid-column-gap: 1em;
|
2018-08-17 22:19:25 +08:00
|
|
|
grid-row-gap: 1em;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-14 20:47:59 +08:00
|
|
|
.admin-report {
|
2018-07-20 07:29:58 +08:00
|
|
|
grid-column: span 12;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
2018-12-14 20:47:59 +08:00
|
|
|
}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
2019-04-01 18:39:49 +08:00
|
|
|
.dashboard-moderation {
|
2018-12-14 20:47:59 +08:00
|
|
|
.admin-dashboard-moderation-top {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(12, 1fr);
|
|
|
|
grid-column-gap: 1em;
|
|
|
|
grid-row-gap: 1em;
|
2018-07-20 02:33:11 +08:00
|
|
|
}
|
|
|
|
}
|
2018-12-19 21:44:43 +08:00
|
|
|
|
2019-04-01 18:39:49 +08:00
|
|
|
.dashboard-reports {
|
2018-12-19 21:44:43 +08:00
|
|
|
.reports-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0 -1.5%;
|
|
|
|
}
|
|
|
|
.report {
|
|
|
|
margin: 1.5%;
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
flex: 1 1 28%;
|
|
|
|
transition: box-shadow 0.25s;
|
|
|
|
min-width: 225px;
|
|
|
|
max-width: 550px;
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 1em;
|
|
|
|
.report-description {
|
|
|
|
color: $primary-high;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
box-shadow: shadow("card");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-01 18:39:49 +08:00
|
|
|
|
|
|
|
.version-checks {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
.section-title {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.version-check {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 50%;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
align-self: flex-start;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 10px 0 10px 0;
|
|
|
|
.upgrade-header {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
@media screen and (max-width: 650px) {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
tr {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
}
|
|
|
|
.version-number {
|
|
|
|
font-size: $font-up-2;
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
padding-right: 20px;
|
|
|
|
flex: 1 1 27%;
|
|
|
|
h3 {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
font-size: $font-down-2;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.version-status {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
flex: 1 1 24%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding-right: 20px;
|
|
|
|
min-width: 250px;
|
|
|
|
@include breakpoint(medium) {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
|
|
|
.face {
|
|
|
|
margin: 0 0.75em 0 0;
|
|
|
|
font-size: $font-up-3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.critical .version-notes .normal-note {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.normal .version-notes .critical-note {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.fa {
|
|
|
|
font-size: $font-up-4;
|
|
|
|
}
|
|
|
|
.up-to-date {
|
|
|
|
color: $success;
|
|
|
|
}
|
|
|
|
.updates-available {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
.critical-updates-available {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.update-nag {
|
|
|
|
.d-icon {
|
|
|
|
font-size: $font-up-3;
|
|
|
|
}
|
|
|
|
}
|