Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2555 from bsteinlo/temp
Browse files Browse the repository at this point in the history
[FIX] landing page styles
  • Loading branch information
MatthewPhinney committed Jul 1, 2015
2 parents 43ea7c9 + 98796a0 commit 950b507
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 33 deletions.
56 changes: 27 additions & 29 deletions src/less/ripple/landing.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@ header.loggedOut {
background: url('/img/bg_title.png'), -moz-linear-gradient(83.68% 67.94% 160.57deg,rgba(67, 147, 184, 1) 0%,rgba(52, 106, 169, 1) 100%);
background: url('/img/bg_title.png'), linear-gradient(160.57deg, rgba(67, 147, 184, 1) 0%, rgba(52, 106, 169, 1) 100%);
background-repeat: no-repeat;
background-position: 25% 60%;
background-position: 0% 30%;
z-index: 1;
background-color: #4c8db8; /* Old browsers */
height: auto;
min-height: 820px;


// Pixel ratio: 2
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2) {
background: url('/img/bg_title_2x.png'), -webkit-linear-gradient(160.57deg, rgba(67, 147, 184, 1) 0%, rgba(52, 106, 169, 1) 100%);
background: url('/img/bg_title_2x.png'), -moz-linear-gradient(83.68% 67.94% 160.57deg,rgba(67, 147, 184, 1) 0%,rgba(52, 106, 169, 1) 100%);
background: url('/img/bg_title_2x.png'), linear-gradient(160.57deg, rgba(67, 147, 184, 1) 0%, rgba(52, 106, 169, 1) 100%);
background-repeat: no-repeat;
background-position: 25% 60%;
background-position: 0% 30%;
z-index: 1;
background-size: 100%;
height: auto;
height: auto;
min-height: 820px;
}

Expand All @@ -71,10 +71,10 @@ header.loggedOut {
height: auto;
max-width: 1400px;
margin: auto;

& a {
color: @white;

&:hover {
color: @midgray;
}
Expand All @@ -85,14 +85,13 @@ header.loggedOut {
text-align: center;
font-family: 'OpenSansLight';
}

.welcomeText {
text-align: center;
font-family: 'OpenSansLight';
font-size: 60px;
color: @white;
margin: 150px auto 70px;
max-width: 400px;
margin: 50px auto 30px;
}

hr {
Expand Down Expand Up @@ -137,7 +136,7 @@ header.loggedOut {
-webkit-transition:.5s;
transition:.5s;
padding-top: 20px;

&:hover {
opacity: .7;
-o-transition:.5s;
Expand All @@ -149,9 +148,8 @@ header.loggedOut {
}

#t-login .auth-form-container .auth-form-wrapper, #t-account .auth-form-container .auth-form-wrapper {
float: right;
border: none;
background: rgba(76, 141, 184, .8);
background: transparent;
border-radius: 5px;
}

Expand All @@ -172,13 +170,13 @@ header.loggedOut {

h2.loginTop {
border-bottom: none !important;
padding-bottom: 0px !important;
padding-bottom: 0px !important;
font-size: 35px;
}

h2.signUpTop {
border-bottom: none !important;
padding-bottom: 0px !important;
padding-bottom: 0px !important;
font-size: 35px;

& a:hover {
Expand All @@ -202,7 +200,7 @@ header.loggedOut {
color: @white;
max-width: 600px;
margin: auto;
padding: 60px 0 50px;
padding: 20px 0 50px;
}

.form-group {
Expand All @@ -221,11 +219,11 @@ header.loggedOut {
text-align: left !important;
color: @landingblue;
}

.secretText {
color: @brand-success !important;
}

.reSend {
cursor: pointer;
margin-top: 0px;
Expand All @@ -237,7 +235,7 @@ header.loggedOut {
top: 2px;
}
}

.loading_text:hover {
color: @midgray;
text-decoration: underline;
Expand All @@ -253,7 +251,7 @@ header.loggedOut {
background-color: rgba(52,65,77,.4);
color: @white;
border: none;

&:focus {
-webkit-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 8px rgba(255, 255, 255, 0.4);
-moz-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 8px rgba(255, 255, 255, 0.4);
Expand Down Expand Up @@ -302,7 +300,7 @@ header.loggedOut {
footer.loggedOut {
border-top: none;
}

.loggingIn, .error, .success, .fa-exclamation-triangle {
color: @white !important;
}
Expand Down Expand Up @@ -349,7 +347,7 @@ header.loggedOut {
}




//buttons
form.ng-invalid .btn-success {
Expand Down Expand Up @@ -378,7 +376,7 @@ header.loggedOut {
-moz-transition:5s;
-webkit-transition:.5s;
transition:.5s;

&:hover {
background: rgba(255,255,255,0.4);
-o-transition:.5s;
Expand All @@ -391,7 +389,7 @@ header.loggedOut {
text-decoration: none;
}
}

}

}
Expand Down Expand Up @@ -449,7 +447,7 @@ header.loggedOut {
h2.signUpTop, h2.loginTop {
font-size: 2em !important;
}

.tabBg {
height: 85px !important;
}
Expand All @@ -466,11 +464,11 @@ header.loggedOut {
.tabBg {
width: 48% !important;
}

.t-login .tabBg, .pm-default .tabBg {
left: 15px !important;
}

}


Expand All @@ -481,7 +479,7 @@ header.loggedOut {
.tabBg {
width: 25% !important;
}

.t-login .tabBg, .pm-default .tabBg {
left: 50%;
}
Expand All @@ -493,4 +491,4 @@ header.loggedOut {
img.xrpHolder {
width: 75%;
}
}
}
8 changes: 4 additions & 4 deletions src/templates/tabs/login.jade
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
section.col-xs-12.content(ng-controller="LoginCtrl")
include ../tabs/banner/announcement
.row.auth-form-container(ng-hide="$routeParams.to")
.col-xs-12.col-sm-4.col-md-8.hidden-xs
.col-xs-12.hidden-xs
.welcomeText(l10n) Welcome to Ripple Trade
hr
p.heroText(l10n) Trade hundreds of assets, from XRP to crypto to gold to fiat.
Expand Down Expand Up @@ -35,7 +35,7 @@ section.col-xs-12.content(ng-controller="LoginCtrl")
p(l10n-inc)  to 
.address {{ $routeParams.to | rpripplenamefull:{tilde:true} }}
| .
p(l10n-inc) Log in to your Ripple Trade account to continue. You
p(l10n-inc) Log in to your Ripple Trade account to continue. You
| will be able to confirm this transaction on the next page.
div.info(ng-show="'trust' == $route.current.tabName")
p.literal {{$routeParams.label}}
Expand All @@ -51,7 +51,7 @@ section.col-xs-12.content(ng-controller="LoginCtrl")
.amount
span.currency {{$routeParams.amount | rpamount}} {{$routeParams.amount | rpcurrency}}
| .
p(l10n-inc) Log in to your Ripple Trade account to continue. You
p(l10n-inc) Log in to your Ripple Trade account to continue. You
| will be able to confirm this transaction on the next page.

div.info(ng-show="'contacts' == $route.current.tabName")
Expand All @@ -60,7 +60,7 @@ section.col-xs-12.content(ng-controller="LoginCtrl")
p(l10n-inc) You're adding
.address {{ $routeParams.to | rpripplenamefull:{tilde:true} }}
p(l10n-inc) to your contacts list
p(l10n-inc) Log in to your Ripple Trade account to continue. You
p(l10n-inc) Log in to your Ripple Trade account to continue. You
| will be able to confirm this transaction on the next page.


Expand Down

0 comments on commit 950b507

Please sign in to comment.