0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Better styling for the new empty state for new Dashboard

refs: https://github.com/TryGhost/Team/issues/1594
This commit is contained in:
James Morris 2022-05-10 17:38:29 +01:00
parent 9c98e2e094
commit cf3650ddcc
2 changed files with 11 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<div class="gh-dashboard5-zero">
<div class="gh-dashboard5-zero-message">
<h4>Welcome to your Dashboard</h4>
<p>You'll find member analytics here once someone signs up.</p>
<p><LinkTo @route="member.new">Add yourself as a member &rarr;</LinkTo></p>
<p>You'll find member analytics here<br />once someone signs up.</p>
<p><LinkTo @route="members">Add or import members &rarr;</LinkTo></p>
</div>
</div>

View file

@ -907,14 +907,14 @@ Dashboard v5 Zero */
background: #fff url(icons/analytics.svg) no-repeat 50% 36px;
background-size: 48px 48px;
min-width: 400px;
padding: 96px 48px 48px;
padding: 96px 48px 52px;
border-radius: 8px;
text-align: center;
box-shadow: 0 4px 24px rgba(0,0,0,0.066);
}
.gh-dashboard5-zero-message h4 {
font-size: 1.55rem;
font-size: 1.7rem;
font-weight: 700;
line-height: 1em;
margin: 0 0 10px;
@ -925,13 +925,18 @@ Dashboard v5 Zero */
}
.gh-dashboard5-zero-message p {
font-size: 1.2rem;
font-size: 1.4rem;
font-weight: 600;
line-height: 1.5em;
color: var(--middarkgrey);
letter-spacing: -.1px;
padding: 0;
margin: 0 0 8px;
margin: 0 0 16px;
}
.gh-dashboard5-zero-message p:last-child {
padding: 0;
margin: 0;
}
.gh-dashboard5-zero-message a {