-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* styles login * styles login * fixes specs * fixes specs
- Loading branch information
1 parent
798c915
commit 2187f5a
Showing
33 changed files
with
1,444 additions
and
640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.logo { | ||
height: 4rem; | ||
width: 4rem; | ||
background-image: url("../images/logo1.svg"); | ||
background-size: 90% 90%; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
-svg-mixer-fill: $primary; | ||
|
||
&.logo-large { | ||
height: 6rem; | ||
width: 6rem; | ||
background-image: url("../images/logo1.svg"); | ||
background-size: 90% 90%; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
-svg-mixer-fill: $primary; | ||
} | ||
|
||
&.logo-white { | ||
height: 4rem; | ||
width: 4rem; | ||
background-image: url("../images/logo1.svg"); | ||
background-size: 90% 90%; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
-svg-mixer-fill: white; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
body { | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
$waves_footer_bg_height: 30vh; | ||
$waves_footer_height: 15vh; | ||
$waves_offset: calc(#{$waves_footer_height} - #{$waves_footer_bg_height}); | ||
|
||
.waves-footer-container { | ||
position: relative; | ||
min-height: $waves_footer_height; | ||
width: 100vw; | ||
} | ||
|
||
.waves-footer-content { | ||
position: absolute; | ||
bottom: 0; | ||
width: 100vw; | ||
min-height: $waves_footer_height; | ||
display: flex; | ||
align-items: flex-end; | ||
} | ||
|
||
.waves-footer-background { | ||
overflow: hidden; | ||
width: 100vw; | ||
height: $waves_footer_bg_height; | ||
background-image: url("../images/bottom_waves2.svg"); | ||
-svg-mixer-fill: $primary; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
background-position-y: top; | ||
background-position-x: center; | ||
position: absolute; | ||
z-index: -1; | ||
|
||
&::before { | ||
display: block; | ||
content: " "; | ||
background-image: url("../images/bottom_waves1.svg"); | ||
-svg-mixer-fill: $secondary; | ||
height: $waves_footer_bg_height; | ||
background-size: cover; | ||
width: 100vw; | ||
position: absolute; | ||
background-position-x: center; | ||
background-position-y: top; | ||
background-repeat: no-repeat; | ||
bottom: calc(#{$waves_footer_bg_height}/ -5); | ||
} | ||
|
||
&::after { | ||
display: block; | ||
content: " "; | ||
background-image: url("../images/bottom_waves3.svg"); | ||
-svg-mixer-fill: $tertiary; | ||
background-size: cover; | ||
height: $waves_footer_bg_height; | ||
width: 100vw; | ||
position: absolute; | ||
background-position-x: center; | ||
background-position-y: top; | ||
background-repeat: no-repeat; | ||
bottom: calc(#{$waves_footer_bg_height}/ -3); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
$waves_header_bg_height: 30vh; | ||
$waves_header_height: 10vh; | ||
$waves_offset: calc(#{$waves_header_height} - #{$waves_header_bg_height}); | ||
|
||
.waves-header-container { | ||
position: relative; | ||
min-height: $waves_header_height; | ||
width: 100vw; | ||
} | ||
|
||
.waves-header-content { | ||
position: absolute; | ||
top: 0; | ||
width: 100vw; | ||
min-height: $waves_header_height; | ||
display: flex; | ||
align-items: flex-end; | ||
z-index: 99; | ||
} | ||
|
||
.waves-header-background { | ||
overflow: hidden; | ||
width: 100vw; | ||
height: $waves_header_bg_height; | ||
background-image: url("../images/top_waves1.svg"); | ||
-svg-mixer-fill: $primary; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
background-position-y: bottom; | ||
background-position-x: center; | ||
position: absolute; | ||
|
||
&::before { | ||
display: block; | ||
content: " "; | ||
background-image: url("../images/top_waves2.svg"); | ||
-svg-mixer-fill: $secondary; | ||
height: $waves_header_bg_height; | ||
background-size: cover; | ||
width: 100vw; | ||
position: absolute; | ||
background-position-x: center; | ||
background-position-y: bottom; | ||
background-repeat: no-repeat; | ||
top: calc(#{$waves_header_bg_height}/ -5); | ||
} | ||
|
||
&::after { | ||
display: block; | ||
content: " "; | ||
background-image: url("../images/top_waves3.svg"); | ||
-svg-mixer-fill: $tertiary; | ||
background-size: cover; | ||
height: $waves_header_bg_height; | ||
width: 100vw; | ||
position: absolute; | ||
background-position-x: center; | ||
background-position-y: bottom; | ||
background-repeat: no-repeat; | ||
top: calc(#{$waves_header_bg_height}/ -3); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
body, | ||
main { | ||
overflow-x: hidden; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
<h2 data-toggle="tooltip" data-placement="top" title="Tooltip on top">Log in</h2> | ||
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> | ||
<div class="field"> | ||
<%= f.label :email %><br /> | ||
<%= f.email_field :email, autofocus: true, autocomplete: "email" %> | ||
</div> | ||
<div class="field"> | ||
<%= f.label :password %><br /> | ||
<%= f.password_field :password, autocomplete: "current-password" %> | ||
</div> | ||
<% if devise_mapping.rememberable? %> | ||
<div class="field"> | ||
<%= f.check_box :remember_me %> | ||
<%= f.label :remember_me %> | ||
<div class="row justify-content-center align-items-center"> | ||
<div class="col-sm-10 col-md-6 col-lg-4 col-xl-3"> | ||
<div class="d-flex justify-content-center"> | ||
<div class="logo logo-large"></div> | ||
</div> | ||
<% end %> | ||
<div class="actions"> | ||
<%= f.submit "Log in" %> | ||
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> | ||
<div class="container-fluid"> | ||
<div class="form-group"> | ||
<%= f.label :email %><br /> | ||
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "form-control" %> | ||
</div> | ||
<div class="form-group"> | ||
<%= f.label :password %><br /> | ||
<%= f.password_field :password, autocomplete: "current-password", class: "form-control" %> | ||
</div> | ||
<% if devise_mapping.rememberable? %> | ||
<div class="form-group text-center"> | ||
<%= f.check_box :remember_me %> | ||
<%= f.label :remember_me %> | ||
</div> | ||
<% end %> | ||
<div class="actions text-center"> | ||
<%= f.submit t('devise.sessions.sign_in'), class:"btn btn-lg btn-outline-primary btn--cta px-4 py-3 " %> | ||
<br> | ||
<br> | ||
<%= render "devise/shared/links" %> | ||
</div> | ||
</div> | ||
<% end %> | ||
</div> | ||
<% end %> | ||
<%= render "devise/shared/links" %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.