Skip to content

Commit

Permalink
Restyle single project page
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsoco committed Oct 5, 2015
1 parent 0df1834 commit e5a565f
Show file tree
Hide file tree
Showing 4 changed files with 324 additions and 280 deletions.
20 changes: 20 additions & 0 deletions static/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ p {
padding: 36px;
background: #ffffff;
}
.inline-dialog .dialog-body.fixed-width {
width: 460px;
}
.inline-dialog label {
display: block;
font-size: 24px;
Expand All @@ -167,6 +170,12 @@ p {
.inline-dialog input {
height: 55px;
}
.inline-dialog input.confirm {
background-color: #65d850;
border-color: #efefef;
color: #ffffff;
box-shadow: none;
}
.inline-dialog textarea {
resize: none;
height: 140px;
Expand All @@ -182,6 +191,9 @@ p {
.inline-dialog textarea + .button {
margin-top: 0;
}
.inline-dialog .ui-slider {
margin-bottom: 32px;
}
.login-form p {
display: block;
margin-top: -16px;
Expand Down Expand Up @@ -317,3 +329,11 @@ a.button.confirm {
text-align: center;
margin-bottom: 72px;
}
#minbeds {
display: none;
}
#project-description {
padding-bottom: 36px;
border-bottom: 2px solid #e2e2e2;
margin-bottom: 36px;
}
30 changes: 27 additions & 3 deletions static/css/home.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ body {

h2 {
font-size: 32px;
margin-bottom: 32px;
margin-bottom: @control-margin-bottom;
}

h2 {
Expand Down Expand Up @@ -138,7 +138,7 @@ p {

h2 {
padding-left: 0;
margin-bottom: 32px;
margin-bottom: @control-margin-bottom;
}

.dialog-body {
Expand All @@ -150,6 +150,10 @@ p {
padding: 36px;

background: @white;

&.fixed-width {
width: 460px;
}
}

label {
Expand All @@ -167,7 +171,7 @@ p {
font-size: 28px;
background-color: @input-grey;
padding-left: 10px;
margin-bottom: 32px;
margin-bottom: @control-margin-bottom;

border: none;
border-radius: 6px;
Expand All @@ -179,6 +183,12 @@ p {
}
input {
height: 55px;
&.confirm {
background-color: rgb(101, 216, 80);
border-color: rgb(239, 239, 239);
color: @white;
box-shadow: none;
}
}
textarea {
resize: none;
Expand All @@ -197,6 +207,10 @@ p {
textarea + .button {
margin-top: 0;
}

.ui-slider {
margin-bottom: @control-margin-bottom;
}
}

.login-form {
Expand Down Expand Up @@ -363,4 +377,14 @@ a.button {
.footer {
text-align: center;
margin-bottom: 72px;
}

#minbeds {
display: none;
}

#project-description {
padding-bottom: 36px;
border-bottom: 2px solid @input-grey;
margin-bottom: 36px;
}
1 change: 1 addition & 0 deletions static/css/localcode-scheme.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
@input-grey: rgb(226, 226, 226);

@project-width: 400px;
@control-margin-bottom: 32px;

// Typography
@sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
Expand Down
Loading

0 comments on commit e5a565f

Please # to comment.