-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
21,109 additions
and
45 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
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 |
---|---|---|
|
@@ -61,3 +61,7 @@ padding: 3px 3px; | |
.download-button p { | ||
text-align: center; | ||
} | ||
|
||
.new { | ||
color: #9C1452; | ||
} |
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,5 @@ | ||
/* | ||
*= require_self | ||
*= require_tree ./admin | ||
*= require ./mobile/mobile | ||
*/ |
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,94 @@ | ||
// Settings (mobile-first) | ||
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap'); | ||
|
||
$navy: #253848; | ||
$black: #2D2D2D; | ||
$medium-grey: #dddddd; | ||
$dark-grey: #747474; | ||
$link-navy: #376382; | ||
$link-blue: #0088cc; | ||
|
||
$screen-sm: 768px; | ||
$screen-md: 1024px; | ||
$screen-lg: 1200px; | ||
$screen-xl: 1600px; | ||
|
||
.mobile { | ||
font-family: 'Open Sans', sans-serif; | ||
color: $dark-grey; | ||
font-weight: 400; | ||
font-size: 12px; | ||
line-height: 1.75; | ||
// get rid of the default margin on the body | ||
margin-top: -40px; | ||
|
||
h2 { | ||
font-weight: 600; | ||
font-size: 20px; | ||
} | ||
|
||
h3 { | ||
font-weight: 400; | ||
font-size: 18px; | ||
} | ||
|
||
h4 { | ||
color: $black; | ||
font-weight: 700; | ||
font-size: 15px; | ||
margin: 1rem 0; | ||
padding-top: 1rem; | ||
line-height: 1.5; | ||
} | ||
|
||
a { | ||
color: $link-navy; | ||
text-decoration: underline; | ||
} | ||
|
||
a:hover { | ||
color: $link-blue; | ||
} | ||
|
||
&-header { | ||
text-align: center; | ||
|
||
&__hero { | ||
background-color: $navy; | ||
color: white; | ||
padding: 6% 2%; | ||
margin-bottom: 1rem; | ||
} | ||
} | ||
|
||
&-body { | ||
padding: 0 2rem 2rem; | ||
} | ||
|
||
// breakpoints | ||
// @media screen and (min-width:$screen-sm){ | ||
// } | ||
|
||
@media screen and (min-width:$screen-lg){ | ||
font-size: 15px; | ||
|
||
&-body { | ||
padding: 0 6rem 6rem; | ||
} | ||
|
||
h2 { | ||
font-size: 1.75rem; | ||
} | ||
|
||
h3 { | ||
font-size: 1.5rem; | ||
} | ||
|
||
h4 { | ||
font-size: 1.25rem; | ||
} | ||
} | ||
|
||
// @media screen and (min-width:$screen-xl){ | ||
// } | ||
} |
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,10 @@ | ||
class MobileController < ApplicationController | ||
layout 'mobile' | ||
|
||
def terms_and_conditions | ||
end | ||
|
||
# TODO: uncomment when privacy policy content is updated | ||
# def privacy_policy | ||
# end | ||
end |
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
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,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Species+ mobile</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<%= stylesheet_link_tag "mobile" %> | ||
<%= javascript_include_tag "application" %> | ||
<%= csrf_meta_tags %> | ||
</head> | ||
<body> | ||
<div class="mobile"> | ||
<%= render 'shared/alerts' %> | ||
<%= yield %> | ||
</div> | ||
</body> | ||
</html> |
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 @@ | ||
<section class="mobile-header"> | ||
</section> | ||
<section class="mobile-body"> | ||
</section> | ||
<footer class="mobile-footer"> | ||
</footer> |
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,9 @@ | ||
<section class="mobile-header"> | ||
<div class="mobile-header__hero"> | ||
<h3>Species+</h3> | ||
<h2><%= t('mobile.terms.hero') %></h2> | ||
</div> | ||
</section> | ||
<section class="mobile-body"> | ||
<%= t('mobile.terms.body').html_safe %> | ||
</section> |
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.