Fixed up the borders for dark mode on Dashboard

refs: https://github.com/TryGhost/Team/issues/1531
This commit is contained in:
James Morris 2022-05-18 17:04:49 +01:00
parent fdece55480
commit 9019ae783c

View File

@ -1122,7 +1122,7 @@ kbd {
} }
/* Dashboard v5 */ /* Dashboard */
.gh-dashboard .gh-dashboard-anchor .gh-dashboard-stats { .gh-dashboard .gh-dashboard-anchor .gh-dashboard-stats {
background: transparent; background: transparent;
@ -1139,7 +1139,8 @@ kbd {
.gh-dashboard .gh-dashboard-list-header, .gh-dashboard .gh-dashboard-list-header,
.gh-dashboard .gh-dashboard-list-item, .gh-dashboard .gh-dashboard-list-item,
.gh-dashboard .gh-dashboard-list-footer { .gh-dashboard .gh-dashboard-list-footer,
.gh-dashboard .gh-dashboard-resource-title.has-border {
border-color: #394047; border-color: #394047;
} }
@ -1147,6 +1148,7 @@ kbd {
background: var(--main-bg-color); background: var(--main-bg-color);
} }
.gh-dashboard .gh-dashboard-minichart,
.gh-dashboard .gh-dashboard-column { .gh-dashboard .gh-dashboard-column {
border-color: #2b2d31; border-color: #2b2d31;
} }
@ -1164,10 +1166,10 @@ kbd {
background: linear-gradient(270deg, rgba(21,23,25,0) 0%, rgba(21,23,25,1) 100%); background: linear-gradient(270deg, rgba(21,23,25,0) 0%, rgba(21,23,25,1) 100%);
} }
.gh-dashboard-staff-picks .gh-dashboard-resource-body,
.gh-dashboard-resource-box.is-secondary .gh-dashboard-resource-footer, .gh-dashboard-resource-box.is-secondary .gh-dashboard-resource-footer,
.gh-dashboard-whats-new .gh-dashboard-resource-body { .gh-dashboard-staff-picks .gh-dashboard-resource-box,
border-color: #2c2e32; .gh-dashboard-whats-new .gh-dashboard-resource-box {
border-color: #26282b;
} }
.gh-dashboard-list-item:hover { .gh-dashboard-list-item:hover {