Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Merge pull request #94 from muffinresearch/update-for-android-967145
Browse files Browse the repository at this point in the history
Update android styling (bug 967145)
  • Loading branch information
muffinresearch committed Jul 22, 2014
2 parents 87bd6d0 + e745a54 commit 25bb936
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 5 deletions.
7 changes: 7 additions & 0 deletions public/stylus/_full-error.styl
Expand Up @@ -66,6 +66,13 @@

@media $small-min-width {
.full-error {

h1 {
font-size: 30px;
margin: 0;
padding: 0 0 15px;
}

.error {
position: static;
}
Expand Down
23 changes: 23 additions & 0 deletions public/stylus/_pin.styl
Expand Up @@ -66,3 +66,26 @@
}
}
}

@media $small-min-width {
.pin {

margin: 0 auto;
max-width: 520px;

.pin-container {
max-width: 100%;
}

.buttons {
margin-top: 10px;

.button,
.button:only-child {
width: 48%;
width: calc(50% - 5px);
}
}

}
}
3 changes: 2 additions & 1 deletion public/stylus/_throbber.styl
Expand Up @@ -2,6 +2,7 @@
// This will normally be overlaid hence it needs it's own background.
background: $bg-color;
background: rgba(244, 244, 244, 0.9);
padding-top: 80px;
bottom: 0;
grain();
left: 0;
Expand All @@ -16,7 +17,7 @@

.progress {
display: block;
margin: 80px auto 0;
margin: 0 auto;
height: 53px;
width: 53px;
background: transparent embedurl('throbber-53.gif') no-repeat 50% 50%;
Expand Down
14 changes: 14 additions & 0 deletions public/stylus/_typography.styl
Expand Up @@ -40,3 +40,17 @@ a:focus {
line-height: 18px;
text-decoration: none;
}

@media $small-min-width {
h1 {
border-bottom: 1px solid $light-gray;
font-size: 30px;
margin-bottom: 30px;
padding-bottom: 10px;
}

p {
font-size: 22px;
line-height: 28px;
}
}
23 changes: 22 additions & 1 deletion public/stylus/spartacus.styl
Expand Up @@ -62,9 +62,30 @@ main,
}

@media $small-min-width {

.view {
min-height: 100%;
height: auto;
}

main {
height: 100%;
}

.page {
height: auto;
}

main,
.page {
min-height: 100%;
overflow: visible;
}


.inner {
display: block;
padding-top: 30px;
padding: 85px;
}
}

Expand Down
10 changes: 7 additions & 3 deletions styleguide/context.js
Expand Up @@ -6,21 +6,25 @@ module.exports = {
heading: "Error Heading",
msg: "An error message telling the user what happened",
errorCode: "ERROR_CODE",
showCta: true,
cancelModifier: 'cancel cta',
cancelText: 'Cancel',
showCancel: true,
showCta: false,
},
throbber: {
msg: "Loading",
},
pinForm: {
pinTitle: "Create Pin",
pinTitle: "Create PIN",
ctaText: "Continue"
},
locked: {
pageclass: 'full-error locked',
heading: 'Pin Locked',
msg: 'You entered the wrong PIN too many times. Your account is locked. Please try your purchase again in 5 minutes.',
showCancel: true,
cancelText: 'OK'
cancelText: 'OK',
cancelModifier: 'cancel cta',
}

};

0 comments on commit 25bb936

Please sign in to comment.