0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Updated buttons for share modal and post analytics (publish flow) in dark mode (#20989)

Buttons in the share modal as well as on the Analytics page weren't
getting the right colours and hover states. That's fixed now.
This commit is contained in:
Daniël van der Winden 2024-09-12 13:39:50 +02:00 committed by GitHub
parent 7fa8faefc7
commit 96cfa97c84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1299,6 +1299,20 @@ kbd {
background: transparent;
}
.gh-post-analytics-meta .gh-post-list-cta {
border: none!important;
box-shadow: none!important;
}
.gh-post-analytics-meta .gh-post-list-cta:hover, .gh-post-analytics-meta .refresh:hover {
background: var(--lightgrey-d1);
color: var(--black);
}
.gh-post-analytics-meta .gh-btn.refresh {
border: none;
}
/* Post rows */
@ -1436,3 +1450,19 @@ Onboarding checklist: Share publication modal */
.gh-sidebar-banner.gh-error-banner {
background: var(--lightgrey-d1);
}
/* ---------------------------------
Publish flow: Share modal */
.modal-post-success .modal-footer .gh-btn:is(.twitter, .threads, .facebook, .linkedin) {
background: var(--lightgrey-l1)!important;
}
.modal-post-success .modal-footer .gh-btn:is(.twitter, .threads, .facebook, .linkedin, .copy-link, .copy-preview-link):hover {
background: var(--lightgrey-l2)!important;
}
.modal-post-success .modal-footer .gh-btn:is(.twitter, .threads) svg path {
fill: var(--darkgrey);
}