Skip to content

Commit

Permalink
Additional design treatments to better align with the wp-admin onboar…
Browse files Browse the repository at this point in the history
…ding wizard
  • Loading branch information
justinshreve committed May 16, 2019
1 parent de4a9c8 commit 6d45492
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
19 changes: 17 additions & 2 deletions client/blocks/login/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,40 @@
left: 0;
top: 0;
height: 56px;

svg > g {
transform: translateX( 25% );
}

@media( max-width: 660px ) {
margin-top: 45px;
}
}

.jetpack-header {
margin: 0;
text-align: center;
margin-right: auto;
margin-left: auto;
padding-left: 112px;
padding-left: 0px;
margin-top: 15px;
display: block;
}

.login__form-header {
margin-top: 32px;

@media( max-width: 660px ) {
margin-top: 92px;
}
}

.login__header-subtitle {
color: var( --color-primary-100 );
font-size: 14px;
margin-top: 1em;
font-size: 16px;
line-height: 24px;
font-weight: 400;
}

.jetpack-logo__icon-circle {
Expand Down
21 changes: 20 additions & 1 deletion client/jetpack-connect/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -891,20 +891,39 @@ $colophon-height: 50px; // wpcomColophon element at the bottom
left: 0;
top: 0;
height: 56px;

svg > g {
transform: translateX( 25% );
}

@media( max-width: 660px ) {
margin-top: 45px;
}
}

.jetpack-header {
margin: 0;
text-align: center;
margin-right: auto;
margin-left: auto;
padding-left: 112px;
padding-left: 0px;
margin-top: 15px;
display: block;
}

.formatted-header__subtitle {
margin-top: 1em;
font-size: 16px;
line-height: 24px;
font-weight: 400;
}

.jetpack-connect__authorize-form {
margin-top: 32px;

@media( max-width: 660px ) {
margin-top: 92px;
}
}

.jetpack-logo__icon-circle {
Expand Down
5 changes: 5 additions & 0 deletions client/login/wp-login/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,12 @@ $image-height: 47px;
.layout.is-jetpack-woocommerce-flow {
background-color: var( --color-woocommerce-onboarding-background );

.wp-login__links {
margin-top: 1em;
}

.wp-login__links a {
border-bottom: none;
line-height: 2.5em;
}
}

0 comments on commit 6d45492

Please sign in to comment.