Skip to content

Commit

Permalink
argoproj#44 Adjust boxes to small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
wokeGit committed Aug 30, 2017
1 parent ea5327d commit 9378894
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="logo"></div>
</div>

<div class="setup__box">
<div class="setup__box setup__box--forgot-password-confirm">
<div class="setup__header">
<h1>{{ 'Password Reset Email Sent' | translate }}</h1>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="logo"></div>
</div>

<div class="setup__box">
<div class="setup__box setup__box--forgot-password">
<div class="setup__header">
<h1>{{ 'Forgot Password' | translate }}?</h1>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="logo"></div>
</div>

<div class="setup__box">
<div class="setup__box setup__box--reset-password-confirm">
<div class="setup__header">
<h1>{{ 'Password Reset Complete' | translate }}</h1>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="logo"></div>
</div>

<div class="setup__box">
<div class="setup__box setup__box--reset-password">
<div class="setup__header">
<h1>{{ 'Reset Your Password' | translate }}</h1>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="logo"></div>
</div>

<div class="setup__box">
<div class="setup__box setup__box--setup-confirm">
<div class="setup__header">
<h1>{{ 'Thanks for joining Argo!' | translate }}</h1>
</div>
Expand Down
19 changes: 14 additions & 5 deletions saas/axops/src/ui/src/app/views/setup/setup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ $setup-box-content-shadow: 3px 3px 20px black;
width: 150px;
position: absolute;
left: 47px;
z-index: -1;
}

&__shortcut {
Expand Down Expand Up @@ -53,19 +52,27 @@ $setup-box-content-shadow: 3px 3px 20px black;
}

&__box {
position: fixed;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
margin: auto auto 50px auto;

&--welcome {
margin-top: 50px;
}

&--forgot-password, &--reset-password, &--setup-confirm, &--forgot-password-confirm, &--reset-password-confirm {
margin-top: 130px;
}
}

&__header {
position: relative;

h1 {
line-height: 80px;
font-size: 35px;
font-weight: 300;
color: white;
text-align: center;
margin-bottom: 0;
}
}

Expand All @@ -76,6 +83,8 @@ $setup-box-content-shadow: 3px 3px 20px black;
padding: 50px 60px;
border: 1px solid black;
box-shadow: $setup-box-content-shadow;
z-index: 1;
position: relative;

p {
font-size: 15px;
Expand Down
2 changes: 1 addition & 1 deletion saas/axops/src/ui/src/app/views/setup/sign-up/sign-up.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="logo"></div>
</div>

<div class="setup__box">
<div class="setup__box setup__box--welcome">
<div class="setup__header">
<div class="setup__logo"></div>
<div class="setup__welcome-text">
Expand Down

0 comments on commit 9378894

Please sign in to comment.