Finish create run styles

This commit is contained in:
Ben Ramey
2014-04-07 22:15:45 -05:00
parent 29206122aa
commit 3678c9d9df
4 changed files with 66 additions and 18 deletions

View File

@@ -3,7 +3,24 @@
@import "home.less";
@import "header-footer.less";
@import "forms.less";
#page {
padding-bottom: 60px;
body {
color: #fff;
}
#page {
.interior {
background-color: rgba(0,0,0,0.8);
box-shadow: 0px 0px 20px #000;
h1 {
.glyphicon {
vertical-align: text-bottom;
margin-right: 10px;
font-size: 1.2em;
}
}
.interior-content {
padding: 20px 40px;
}
}
}

View File

@@ -1,10 +1,37 @@
form {
section {
margin: 40px 0;
.step-num {
text-align: center;
.glyphicon {
font-size: 5em;
}
}
}
input.form-control {
font-size: 2em;
height: auto;
margin: 0 0 10px 0;
}
.btn-primary {
font-size: 4em;
}
}
.create-run-form {
h1 {
color: #fff;
padding: 20px 0;
font-size: 3em;
text-shadow: 4px 4px 6px #000;
text-transform: uppercase;
.invitee {
input, .btn {
width: auto;
float: left;
}
input {
margin-right: 10px;
}
}
.btn-default {
font-size: 2em;
}
}
.create-order-form {

View File

@@ -1,16 +1,16 @@
div.create-run-form(ng-controller='CreateRunCtrl')
form.container(name='form',novalidate,role='form')
h1.text-center
| start a new lunch run
div.interior.create-run-form(ng-controller='CreateRunCtrl')
include nav
h1
span.glyphicon.glyphicon-chevron-right
| start a new lunch run
form.interior-content(name='form',novalidate,role='form')
section.name
.bg  
.row
.col-xs-2.step-num
span.glyphicon.glyphicon-info-sign
.col-xs-10
input#name.form-control(type='text',ng-model='run.name',required,placeholder='Name your run')
section
.bg  
.row
.col-xs-2.step-num
span.glyphicon.glyphicon-user
@@ -18,7 +18,6 @@ div.create-run-form(ng-controller='CreateRunCtrl')
input#creatorName.form-control(type='text',ng-model='run.creatorName',required,placeholder='Your name')
input#creatorEmail.form-control(type='email',ng-model='run.creatorEmail',required,placeholder='Your email')
section
.bg  
.row
.col-xs-2.step-num
span.glyphicon.glyphicon-map-marker
@@ -27,12 +26,11 @@ div.create-run-form(ng-controller='CreateRunCtrl')
input#menuUrl.form-control(type='url',ng-model='run.menuUrl',placeholder='Menu URL')
section.invitees
.bg  
.row
.col-xs-2.step-num
span.glyphicon.glyphicon-list
.col-xs-10
.invitee(ng-repeat='i in run.invitees')
.invitee.clearfix(ng-repeat='i in run.invitees')
input.form-control(ng-model='i.name',required,placeholder='Name')
input.form-control(ng-model='i.email',required,placeholder='Email')
button.btn.btn-warning(ng-click='removeInvitee($index)')

View File

@@ -0,0 +1,6 @@
nav.navbar(role='navigation')
.container-fluid
.collapse.navbar-collapse#main-nav
ul.nav.navbar-nav
li
a(href='/') home