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

Commit

Permalink
fix(styles): sassify border radii
Browse files Browse the repository at this point in the history
  • Loading branch information
johngruen committed Jul 3, 2014
1 parent 41b5e9c commit 10f53c0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
18 changes: 9 additions & 9 deletions app/styles/_general.scss
Expand Up @@ -95,7 +95,7 @@ noscript {

#stage {
background: $stage-background-color;
border-radius: 5px;
border-radius: $big-border-radius;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
margin: -5px auto 0 auto;
min-height: 450px;
Expand Down Expand Up @@ -180,7 +180,7 @@ strong.email {

.error,
.success {
border-radius: 3px;
border-radius: $small-border-radius;
color: $message-text-color;
display: none;
margin-bottom: 5px;
Expand Down Expand Up @@ -246,7 +246,7 @@ strong.email {

.tooltip {
background: $error-background-color;
border-radius: 1px;
border-radius: $small-border-radius;
color: $message-text-color;
left: 3px;
padding: 5px 12px;
Expand Down Expand Up @@ -288,7 +288,7 @@ strong.email {
.input-row select {
background-color: $mobile-html-background-color;
border: 1px solid $input-row-border-color;
border-radius: 5px;
border-radius: $big-border-radius;
box-shadow: inset 0 1px 1px $input-row-box-shadow-color;
color: $input-text-color;
font-size: 18px;
Expand Down Expand Up @@ -440,7 +440,7 @@ label:focus ~ .input-help-focused {

.select-row {
background: url(/images/ddarrow_inactive.png) 96% center no-repeat;
border-radius: 5px;
border-radius: $big-border-radius;
border: 1px solid $input-row-border-color;
cursor:pointer;
height:45px;
Expand Down Expand Up @@ -529,7 +529,7 @@ label:focus ~ .input-help-focused {
.button-row a.button {
background: $button-background-color;
border: none;
border-radius: 5px;
border-radius: $big-border-radius;
color: $message-text-color;
cursor: pointer;
@include font();
Expand Down Expand Up @@ -655,7 +655,7 @@ ul.links li {
.password-row .show-password-label {
background-color: $stage-background-color;
border-left: 1px solid $input-row-border-color;
border-radius: 0 4px 4px 0;
border-radius: 0 $big-border-radius $big-border-radius 0;
color: $input-placeholder-color;
cursor: pointer;
font-size: 16px;
Expand Down Expand Up @@ -770,7 +770,7 @@ input[type="text"] ~ .show-password-label:hover {
}

.label-helper {
border-radius: 2px;
border-radius: $small-border-radius;
color: $input-placeholder-color;
font-size: 12px;
font-weight: normal;
Expand Down Expand Up @@ -813,7 +813,7 @@ input[type="text"] ~ .show-password-label:hover {

.marketing {
background-color: $marketing-background-color;
border-radius: 0 0 5px 5px;
border-radius: 0 0 $big-border-radius $big-border-radius;
border-top: 1px solid $marketing-border-color;
// pull in the margins from #stage
margin: 60px -40px -40px -40px;
Expand Down
8 changes: 4 additions & 4 deletions app/styles/_media_queries.scss
Expand Up @@ -180,7 +180,7 @@

.marketing {
background-color: none;
border-radius: 0 0 5px 5px;
border-radius: 0 0 $big-border-radius $big-border-radius;
border-top: 1px solid $marketing-border-color;
bottom: 0;
left: 0;
Expand Down Expand Up @@ -287,7 +287,7 @@
.input-row input[type='email'],
.input-row input[type='password'],
.input-row select {
border-radius: 2px;
border-radius: $small-border-radius;
font-size: 16px;
height: 36px;
padding: 0 $input-left-right-padding * .5;
Expand All @@ -298,14 +298,14 @@
}

.password-row .show-password-label {
border-radius: 0 2px 2px 0;
border-radius: 0 $small-border-radius $small-border-radius 0;
font-size: 14px;
height: 34px;
line-height: 34px;
}

.select-row {
border-radius:2px;
border-radius: $small-border-radius;
height:36px;
}

Expand Down
3 changes: 3 additions & 0 deletions app/styles/_variables.scss
Expand Up @@ -26,6 +26,9 @@ $stage-background-color: #fff;
$success-background-color: #5fad47;
$text-color: #424f59;

$small-border-radius: 2px;
$big-border-radius: $small-border-radius * 2;

@mixin font() {
font-family: $default-font;
}
Expand Down

0 comments on commit 10f53c0

Please sign in to comment.