mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Deleted unused get-started modal code
refs https://github.com/TryGhost/Team/issues/1412 - we've switched to a full "done" page instead so the now-unused modal and related styling can be cleaned up
This commit is contained in:
parent
4ec15f7323
commit
e6b02fb416
@ -1,23 +0,0 @@
|
||||
<div class="modal-content gh-get-started" data-test-modal="get-started">
|
||||
<button type="button" class="close" role="button" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
||||
|
||||
<section class="gh-get-started-welcome">
|
||||
<header>
|
||||
<h1>All set up!</h1>
|
||||
<p>Your site is now ready to start publishing content.</p>
|
||||
<p><LinkTo @route="dashboard" class="gh-btn gh-btn-green" {{on "click" @close}}><span>Start writing</span></LinkTo></p>
|
||||
</header>
|
||||
<footer>
|
||||
<ul>
|
||||
<li>
|
||||
<LinkTo @route="settings.membership" {{on "click" @close}}>Connect Stripe →</LinkTo>
|
||||
<p>Build a sustainable business.</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://ghost.org/docs/migration/" target="_blank" rel="noopener noreferrer" {{on "click" @close}}>Import members →</a>
|
||||
<p>Migrate your people to us.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</footer>
|
||||
</section>
|
||||
</div>
|
@ -900,7 +900,7 @@
|
||||
transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||
transform: translate3d(-260px, 0px, 0px);
|
||||
}
|
||||
|
||||
|
||||
.mobile-menu-expanded .gh-nav {
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
@ -1826,7 +1826,7 @@ section.gh-ds h2 {
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
|
||||
.gh-done header p {
|
||||
.gh-done header p {
|
||||
font-size: 1.9rem;
|
||||
line-height: 1.3em;
|
||||
margin: 0.5rem 0 2rem;
|
||||
@ -2045,7 +2045,7 @@ section.gh-ds h2 {
|
||||
box-shadow: none;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
.gh-done-preview .tabs {
|
||||
display: none;
|
||||
}
|
||||
@ -2073,93 +2073,3 @@ section.gh-ds h2 {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* Get started modal */
|
||||
/* ---------------------------------------------------- */
|
||||
|
||||
@keyframes reveal {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(32px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.epm-modal .modal-content.gh-get-started {
|
||||
padding: 0;
|
||||
background-image: url(img/get-started.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: top right;
|
||||
background-size: cover;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
animation: reveal 275ms normal 800ms forwards ease-out;
|
||||
opacity: 0;
|
||||
transform: translateY(32px);
|
||||
}
|
||||
|
||||
.modal-content.gh-get-started .close svg {
|
||||
fill: var(--white);
|
||||
}
|
||||
|
||||
.gh-get-started-welcome {
|
||||
padding: 4rem 6rem 2rem 4rem;
|
||||
width: 66%;
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
.gh-get-started-welcome header p:first-of-type {
|
||||
margin-bottom: 1.75rem;
|
||||
font-size: 1.5rem;
|
||||
color: var(--midgrey);
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer {
|
||||
margin: 10rem 0 0;
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer li {
|
||||
margin: 0 0 0.5rem;
|
||||
padding: 0 0 0 40px;
|
||||
background: transparent;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center left;
|
||||
background-size: 20px;
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer li:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer li:first-of-type {
|
||||
background-image: url(icons/get-started-members.svg);
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer li:last-of-type {
|
||||
background-image: url(icons/get-started-import.svg);
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer a {
|
||||
display: inline-block;
|
||||
margin: 0 0 0.25rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
color: var(--darkgrey);
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer a:hover {
|
||||
color: var(--blackgrey);
|
||||
}
|
||||
|
||||
.gh-get-started-welcome footer p {
|
||||
color: var(--midgrey);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user