Work on the register UI

This commit is contained in:
nikolark committed 2012-01-07 03:36:12 +01:00
1 parent 7a15006455
commit 135fe821e1
16 files changed
+290 -167

No files matched your search

+1
View File
@@ -3,3 +3,4 @@
settings.py settings.py
dev.db dev.db
static/gaute/.sass-cache static/gaute/.sass-cache
uploads
+5 -1
View File
@@ -1,7 +1,11 @@
from django.contrib import admin from django.contrib import admin
from bbs.main.models import Product from bbs.main.models import *
class ProductAdmin(admin.ModelAdmin): class ProductAdmin(admin.ModelAdmin):
pass pass
admin.site.register(Product, ProductAdmin) admin.site.register(Product, ProductAdmin)
admin.site.register(Order)
admin.site.register(OrderLine)
admin.site.register(Transaction)
admin.site.register(UserProfile)
+18
View File
@@ -0,0 +1,18 @@
from django import forms
from models import *
class OrderForm(forms.Form):
pass
class OrderLineForm(forms.ModelForm):
#product = forms.CharField(required=True, widget=forms.HiddenInput)
#amount = forms.IntegerField(required=True)
class Meta:
model = OrderLine
fields = ('amount','product')
widgets = {
'product': forms.HiddenInput(),
'amount': forms.TextInput(attrs={'size': '2'}),
}
# TODO : Validation
+16 -4
View File
@@ -14,9 +14,9 @@ class Product(models.Model):
description = models.CharField(max_length=256, blank=True) description = models.CharField(max_length=256, blank=True)
volume_liter = models.FloatField(null=True) volume_liter = models.FloatField(null=True)
alcohol_percent = models.FloatField(null=True) alcohol_percent = models.FloatField(null=True)
image = models.ImageField(upload_to='uploads', blank=True) image = models.ImageField(upload_to='products', blank=True)
active = models.BooleanField(default=True)
customer_support = models.CharField(max_length=32, blank=True) customer_support = models.CharField(max_length=32, blank=True)
active = models.BooleanField(default=True)
created = models.DateTimeField(auto_now_add=True) created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True) updated = models.DateTimeField(auto_now=True)
@@ -25,12 +25,18 @@ class Order(models.Model):
order_sum = models.FloatField(db_column='sum') order_sum = models.FloatField(db_column='sum')
created = models.DateTimeField(auto_now_add=True) created = models.DateTimeField(auto_now_add=True)
def __unicode__(self):
return "{0}: {1} kr".format(self.user, self.order_sum)
class OrderLine(models.Model): class OrderLine(models.Model):
order = models.ForeignKey(Order) order = models.ForeignKey(Order)
product = models.ForeignKey(Product) product = models.ForeignKey(Product)
amount = models.IntegerField() amount = models.IntegerField()
unit_price = models.FloatField() unit_price = models.FloatField()
def __unicode__(self):
return "{1} {0} ({2} kr per)".format(self.product, self.amount, self.unit_price)
class Meta: class Meta:
unique_together = ('order', 'product') unique_together = ('order', 'product')
@@ -39,13 +45,19 @@ class Transaction(models.Model):
amount = models.FloatField() amount = models.FloatField()
created = models.DateTimeField(auto_now_add=True) created = models.DateTimeField(auto_now_add=True)
def __unicode__(self):
return "{0}: {1}: {2}".format(self.id, self.user, self.amount)
class UserProfile(models.Model): class UserProfile(models.Model):
user = models.ForeignKey(User, unique=True) user = models.ForeignKey(User, unique=True)
balance = models.FloatField(default=0.0) balance = models.FloatField(default=0.0)
image = models.ImageField(upload_to='uploads', blank=True) image = models.ImageField(upload_to='users', blank=True)
def __unicode__(self):
return "{0}".format(self.user)
# Create a new UserProfile object when we create a new User. # Create a new UserProfile object when we create a new User.
@receiver(post_save, sender=User) @receiver(post_save, sender=User, dispatch_uid='randomz')
def create_user_profile(sender, instance, created, **kwargs): def create_user_profile(sender, instance, created, **kwargs):
if created: if created:
UserProfile.objects.create(user=instance) UserProfile.objects.create(user=instance)
+2 -3
View File
@@ -1,6 +1,5 @@
from django.conf.urls.defaults import patterns, include, url from django.conf.urls.defaults import patterns, include, url
urlpatterns = patterns('', urlpatterns = patterns('bbs.main.views',
url(r'^$', 'bbs.main.views.home', name='home'), url(r'^register/$', 'register', name='register'),
url(r'^register/$', 'bbs.main.views.register', name='register'),
) )
+13
View File
@@ -6,9 +6,12 @@ from django.core.urlresolvers import reverse
from django.http import HttpResponse, HttpResponseRedirect from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response, get_object_or_404 from django.shortcuts import render_to_response, get_object_or_404
from django.template import RequestContext from django.template import RequestContext
from django.forms.formsets import formset_factory
from models import * from models import *
from forms import *
def home(request): def home(request):
if request.method == "POST": if request.method == "POST":
form = AuthenticationForm(data=request.POST) form = AuthenticationForm(data=request.POST)
@@ -25,8 +28,18 @@ def home(request):
@login_required @login_required
def register(request): def register(request):
if request.method == "POST":
# TODO: Form processing is not working at all
form = OrderLineForm(data=request.POST)
if form.is_valid():
form.save()
return HttpResponseRedirect( reverse('bbs.main.views.register') )
products = Product.objects.all() products = Product.objects.all()
users = User.objects.all() users = User.objects.all()
# Formset for orderlines
# FIXME: Like this?
#OrderLineFormSet = formset_factory(OrderLineForm, extra=products.count())
#formset = OrderLineFormSet()
return render_to_response('register.html', locals(), context_instance=RequestContext(request)) return render_to_response('register.html', locals(), context_instance=RequestContext(request))
def logout(request): def logout(request):
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

+63
View File
@@ -11,3 +11,66 @@
@import "partials/page"; @import "partials/page";
@import "partials/form"; @import "partials/form";
@import "partials/two_col"; @import "partials/two_col";
@import "compass";
body {
background-color: $blueprint-background-color;
#header {
nav {
margin:2em;
ul {
@include inline-block-list;
}
}
}
#register {
#customer {
ul {
@include inline-block-list;
li {
img { }
padding: 1em;
text-align: center;
width: 100px;
&:hover {
background-color: darken($blueprint-background-color, 20%);
}
&.selected {
background-color: darken($blueprint-background-color, 20%);
}
}
}
}
#products {
ul {
@include inline-block-list;
li {
padding: 1.5em;
text-align: center;
&:hover {
background-color: darken($blueprint-background-color, 20%);
}
}
}
}
}
input[type=submit] {
padding: 1em;
padding-left: 1.5em;
padding-right: 1.5em;
position:relative;
left: 100px;
}
section {
margin-bottom:2em;
}
}
-24
View File
@@ -1,108 +1,84 @@
/* line 7, ../sass/ie.scss */
body.bp { body.bp {
text-align: center; text-align: center;
} }
/* line 44, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
* html body.bp legend { * html body.bp legend {
margin: 0px -8px 16px 0; margin: 0px -8px 16px 0;
padding: 0; padding: 0;
} }
/* line 48, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
html > body.bp p code { html > body.bp p code {
*white-space: normal; *white-space: normal;
} }
/* line 60, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp .container { body.bp .container {
text-align: left; text-align: left;
} }
/* line 62, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp sup { body.bp sup {
vertical-align: text-top; vertical-align: text-top;
} }
/* line 64, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp sub { body.bp sub {
vertical-align: text-bottom; vertical-align: text-bottom;
} }
/* line 66, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp hr { body.bp hr {
margin: -8px auto 11px; margin: -8px auto 11px;
} }
/* line 68, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp img { body.bp img {
-ms-interpolation-mode: bicubic; -ms-interpolation-mode: bicubic;
} }
/* line 70, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp fieldset { body.bp fieldset {
padding-top: 0; padding-top: 0;
} }
/* line 72, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp legend { body.bp legend {
margin-top: -0.2em; margin-top: -0.2em;
margin-bottom: 1em; margin-bottom: 1em;
margin-left: -0.5em; margin-left: -0.5em;
} }
/* line 76, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp fieldset, body.bp #IE8#HACK { body.bp fieldset, body.bp #IE8#HACK {
padding-top: 1.4em; padding-top: 1.4em;
} }
/* line 77, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp legend, body.bp #IE8#HACK { body.bp legend, body.bp #IE8#HACK {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
/* line 78, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp textarea { body.bp textarea {
overflow: auto; overflow: auto;
} }
/* line 80, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp label { body.bp label {
position: relative; position: relative;
top: -0.25em; top: -0.25em;
} }
/* line 84, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.text { body.bp input.text {
margin: 0.5em 0; margin: 0.5em 0;
background-color: white; background-color: white;
border: 1px solid #bbbbbb; border: 1px solid #bbbbbb;
} }
/* line 88, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.text:focus { body.bp input.text:focus {
border: 1px solid #666666; border: 1px solid #666666;
} }
/* line 90, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.title { body.bp input.title {
margin: 0.5em 0; margin: 0.5em 0;
background-color: white; background-color: white;
border: 1px solid #bbbbbb; border: 1px solid #bbbbbb;
} }
/* line 94, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.title:focus { body.bp input.title:focus {
border: 1px solid #666666; border: 1px solid #666666;
} }
/* line 96, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.checkbox { body.bp input.checkbox {
position: relative; position: relative;
top: 0.25em; top: 0.25em;
} }
/* line 99, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.radio { body.bp input.radio {
position: relative; position: relative;
top: 0.25em; top: 0.25em;
} }
/* line 102, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.button { body.bp input.button {
position: relative; position: relative;
top: 0.25em; top: 0.25em;
} }
/* line 105, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp textarea { body.bp textarea {
margin: 0.5em 0; margin: 0.5em 0;
} }
/* line 107, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp select { body.bp select {
margin: 0.5em 0; margin: 0.5em 0;
} }
/* line 109, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp button { body.bp button {
position: relative; position: relative;
top: 0.25em; top: 0.25em;
-14
View File
@@ -1,4 +1,3 @@
/* line 4, ../sass/print.scss */
body.bp { body.bp {
line-height: 1.5; line-height: 1.5;
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
@@ -6,11 +5,9 @@ body.bp {
background: none; background: none;
font-size: 10pt; font-size: 10pt;
} }
/* line 45, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .container { body.bp .container {
background: none; background: none;
} }
/* line 47, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp hr { body.bp hr {
background: #cccccc; background: #cccccc;
color: #cccccc; color: #cccccc;
@@ -20,54 +17,43 @@ body.bp hr {
padding: 0; padding: 0;
border: none; border: none;
} }
/* line 55, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp hr.space { body.bp hr.space {
background: white; background: white;
color: white; color: white;
} }
/* line 58, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 { body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
} }
/* line 60, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp code { body.bp code {
font-size: 0.9em; font-size: 0.9em;
font-family: "andale mono", "lucida console", monospace; font-family: "andale mono", "lucida console", monospace;
} }
/* line 65, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp a img { body.bp a img {
border: none; border: none;
} }
/* line 68, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp a:link, body.bp a:visited { body.bp a:link, body.bp a:visited {
background: transparent; background: transparent;
font-weight: 700; font-weight: 700;
text-decoration: underline; text-decoration: underline;
} }
/* line 72, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp p img.top { body.bp p img.top {
margin-top: 0; margin-top: 0;
} }
/* line 74, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp blockquote { body.bp blockquote {
margin: 1.5em; margin: 1.5em;
padding: 1em; padding: 1em;
font-style: italic; font-style: italic;
font-size: 0.9em; font-size: 0.9em;
} }
/* line 79, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .small { body.bp .small {
font-size: 0.9em; font-size: 0.9em;
} }
/* line 81, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .large { body.bp .large {
font-size: 1.1em; font-size: 1.1em;
} }
/* line 83, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .quiet { body.bp .quiet {
color: #999999; color: #999999;
} }
/* line 85, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .hide { body.bp .hide {
display: none; display: none;
} }
+98 -100
View File
@@ -1,11 +1,9 @@
/* line 4, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
html { html {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
} }
/* line 18, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
.bp-reset-element, body, h1, h2, h3, h4, h5, h6, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, blockquote, q, th, td, caption, table, .bp-reset-element, body, h1, h2, h3, h4, h5, h6, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, blockquote, q, th, td, caption, table,
div, span, object, iframe, p, div, span, object, iframe, p,
pre, a, abbr, acronym, address, pre, a, abbr, acronym, address,
@@ -23,21 +21,17 @@ caption, tbody, tfoot, thead, tr {
vertical-align: baseline; vertical-align: baseline;
} }
/* line 20, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block; display: block;
} }
/* line 21, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
blockquote, q { blockquote, q {
quotes: "" ""; quotes: "" "";
} }
/* line 67, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
blockquote:before, blockquote:after, q:before, q:after { blockquote:before, blockquote:after, q:before, q:after {
content: ""; content: "";
} }
/* line 22, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
th, td, caption { th, td, caption {
float: none !important; float: none !important;
text-align: left; text-align: left;
@@ -45,261 +39,207 @@ th, td, caption {
vertical-align: middle; vertical-align: middle;
} }
/* line 23, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
table { table {
border-collapse: separate; border-collapse: separate;
border-spacing: 0; border-spacing: 0;
vertical-align: middle; vertical-align: middle;
} }
/* line 24, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
a img { a img {
border: none; border: none;
} }
/* line 9, ../sass/partials/_page.scss */
body.bp { body.bp {
line-height: 1.5; line-height: 1.5;
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #333333; color: #333333;
font-size: 75%; font-size: 75%;
} }
/* line 51, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 { body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 {
font-weight: normal; font-weight: normal;
color: #222222; color: #222222;
} }
/* line 52, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h1 img, body.bp h2 img, body.bp h3 img, body.bp h4 img, body.bp h5 img, body.bp h6 img { body.bp h1 img, body.bp h2 img, body.bp h3 img, body.bp h4 img, body.bp h5 img, body.bp h6 img {
margin: 0; margin: 0;
} }
/* line 53, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h1 { body.bp h1 {
font-size: 3em; font-size: 3em;
line-height: 1; line-height: 1;
margin-bottom: 0.50em; margin-bottom: 0.50em;
} }
/* line 54, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h2 { body.bp h2 {
font-size: 2em; font-size: 2em;
margin-bottom: 0.75em; margin-bottom: 0.75em;
} }
/* line 55, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h3 { body.bp h3 {
font-size: 1.5em; font-size: 1.5em;
line-height: 1; line-height: 1;
margin-bottom: 1.00em; margin-bottom: 1.00em;
} }
/* line 56, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h4 { body.bp h4 {
font-size: 1.2em; font-size: 1.2em;
line-height: 1.25; line-height: 1.25;
margin-bottom: 1.25em; margin-bottom: 1.25em;
} }
/* line 57, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h5 { body.bp h5 {
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
margin-bottom: 1.50em; margin-bottom: 1.50em;
} }
/* line 58, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h6 { body.bp h6 {
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
} }
/* line 59, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp p { body.bp p {
margin: 0 0 1.5em; margin: 0 0 1.5em;
} }
/* line 60, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp p .left { body.bp p .left {
display: inline; display: inline;
float: left; float: left;
margin: 1.5em 1.5em 1.5em 0; margin: 1.5em 1.5em 1.5em 0;
padding: 0; padding: 0;
} }
/* line 61, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp p .right { body.bp p .right {
display: inline; display: inline;
float: right; float: right;
margin: 1.5em 0 1.5em 1.5em; margin: 1.5em 0 1.5em 1.5em;
padding: 0; padding: 0;
} }
/* line 62, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp a { body.bp a {
text-decoration: underline; text-decoration: underline;
color: #0066cc; color: #0066cc;
} }
/* line 18, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:visited { body.bp a:visited {
color: #004c99; color: #004c99;
} }
/* line 21, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:focus { body.bp a:focus {
color: #0099ff; color: #0099ff;
} }
/* line 24, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:hover { body.bp a:hover {
color: #0099ff; color: #0099ff;
} }
/* line 27, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:active { body.bp a:active {
color: #bf00ff; color: #bf00ff;
} }
/* line 63, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp blockquote { body.bp blockquote {
margin: 1.5em; margin: 1.5em;
color: #666666; color: #666666;
font-style: italic; font-style: italic;
} }
/* line 64, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp strong, body.bp dfn { body.bp strong, body.bp dfn {
font-weight: bold; font-weight: bold;
} }
/* line 65, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp em, body.bp dfn { body.bp em, body.bp dfn {
font-style: italic; font-style: italic;
} }
/* line 66, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp sup, body.bp sub { body.bp sup, body.bp sub {
line-height: 0; line-height: 0;
} }
/* line 67, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp abbr, body.bp acronym { body.bp abbr, body.bp acronym {
border-bottom: 1px dotted #666666; border-bottom: 1px dotted #666666;
} }
/* line 68, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp address { body.bp address {
margin: 0 0 1.5em; margin: 0 0 1.5em;
font-style: italic; font-style: italic;
} }
/* line 69, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp del { body.bp del {
color: #666666; color: #666666;
} }
/* line 70, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp pre { body.bp pre {
margin: 1.5em 0; margin: 1.5em 0;
white-space: pre; white-space: pre;
} }
/* line 71, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp pre, body.bp code, body.bp tt { body.bp pre, body.bp code, body.bp tt {
font: 1em "andale mono", "lucida console", monospace; font: 1em "andale mono", "lucida console", monospace;
line-height: 1.5; line-height: 1.5;
} }
/* line 72, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp li ul, body.bp li ol { body.bp li ul, body.bp li ol {
margin: 0; margin: 0;
} }
/* line 73, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp ul, body.bp ol { body.bp ul, body.bp ol {
margin: 0 1.5em 1.5em 0; margin: 0 1.5em 1.5em 0;
padding-left: 1.5em; padding-left: 1.5em;
} }
/* line 74, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp ul { body.bp ul {
list-style-type: disc; list-style-type: disc;
} }
/* line 75, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp ol { body.bp ol {
list-style-type: decimal; list-style-type: decimal;
} }
/* line 76, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp dl { body.bp dl {
margin: 0 0 1.5em 0; margin: 0 0 1.5em 0;
} }
/* line 77, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp dl dt { body.bp dl dt {
font-weight: bold; font-weight: bold;
} }
/* line 78, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp dd { body.bp dd {
margin-left: 1.5em; margin-left: 1.5em;
} }
/* line 79, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp table { body.bp table {
margin-bottom: 1.4em; margin-bottom: 1.4em;
width: 100%; width: 100%;
} }
/* line 80, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp th { body.bp th {
font-weight: bold; font-weight: bold;
} }
/* line 81, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp thead th { body.bp thead th {
background: #c3d9ff; background: #c3d9ff;
} }
/* line 82, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp th, body.bp td, body.bp caption { body.bp th, body.bp td, body.bp caption {
padding: 4px 10px 4px 5px; padding: 4px 10px 4px 5px;
} }
/* line 85, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp table.striped tr:nth-child(even) td, body.bp table.striped tr:nth-child(even) td,
body.bp table tr.even td { body.bp table tr.even td {
background: #e5ecf9; background: #e5ecf9;
} }
/* line 86, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp tfoot { body.bp tfoot {
font-style: italic; font-style: italic;
} }
/* line 87, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp caption { body.bp caption {
background: #eeeeee; background: #eeeeee;
} }
/* line 88, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp .quiet { body.bp .quiet {
color: #666666; color: #666666;
} }
/* line 89, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp .loud { body.bp .loud {
color: #111111; color: #111111;
} }
/* line 9, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .clear { body.bp .clear {
clear: both; clear: both;
} }
/* line 12, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .nowrap { body.bp .nowrap {
white-space: nowrap; white-space: nowrap;
} }
/* line 16, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .clearfix { body.bp .clearfix {
overflow: hidden; overflow: hidden;
*zoom: 1; *zoom: 1;
} }
/* line 18, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .small { body.bp .small {
font-size: 0.8em; font-size: 0.8em;
margin-bottom: 1.875em; margin-bottom: 1.875em;
line-height: 1.875em; line-height: 1.875em;
} }
/* line 22, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .large { body.bp .large {
font-size: 1.2em; font-size: 1.2em;
line-height: 2.5em; line-height: 2.5em;
margin-bottom: 1.25em; margin-bottom: 1.25em;
} }
/* line 26, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .first { body.bp .first {
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
} }
/* line 29, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .last { body.bp .last {
margin-right: 0; margin-right: 0;
padding-right: 0; padding-right: 0;
} }
/* line 32, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .top { body.bp .top {
margin-top: 0; margin-top: 0;
padding-top: 0; padding-top: 0;
} }
/* line 35, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .bottom { body.bp .bottom {
margin-bottom: 0; margin-bottom: 0;
padding-bottom: 0; padding-bottom: 0;
} }
/* line 25, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_debug.scss */
body.bp .showgrid { body.bp .showgrid {
background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(5%, rgba(0, 0, 0, 0.5)), color-stop(5%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 0% 50%, 960 50%, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(0%, rgba(100, 100, 225, 0.25)), color-stop(3.125%, rgba(100, 100, 225, 0.25)), color-stop(3.125%, rgba(0, 0, 0, 0)), color-stop(4.167%, rgba(0, 0, 0, 0)), color-stop(4.167%, rgba(100, 100, 225, 0.25)), color-stop(7.292%, rgba(100, 100, 225, 0.25)), color-stop(7.292%, rgba(0, 0, 0, 0)), color-stop(8.333%, rgba(0, 0, 0, 0)), color-stop(8.333%, rgba(100, 100, 225, 0.25)), color-stop(11.458%, rgba(100, 100, 225, 0.25)), color-stop(11.458%, rgba(0, 0, 0, 0)), color-stop(12.5%, rgba(0, 0, 0, 0)), color-stop(12.5%, rgba(100, 100, 225, 0.25)), color-stop(15.625%, rgba(100, 100, 225, 0.25)), color-stop(15.625%, rgba(0, 0, 0, 0)), color-stop(16.667%, rgba(0, 0, 0, 0)), color-stop(16.667%, rgba(100, 100, 225, 0.25)), color-stop(19.792%, rgba(100, 100, 225, 0.25)), color-stop(19.792%, rgba(0, 0, 0, 0)), color-stop(20.833%, rgba(0, 0, 0, 0)), color-stop(20.833%, rgba(100, 100, 225, 0.25)), color-stop(23.958%, rgba(100, 100, 225, 0.25)), color-stop(23.958%, rgba(0, 0, 0, 0)), color-stop(25%, rgba(0, 0, 0, 0)), color-stop(25%, rgba(100, 100, 225, 0.25)), color-stop(28.125%, rgba(100, 100, 225, 0.25)), color-stop(28.125%, rgba(0, 0, 0, 0)), color-stop(29.167%, rgba(0, 0, 0, 0)), color-stop(29.167%, rgba(100, 100, 225, 0.25)), color-stop(32.292%, rgba(100, 100, 225, 0.25)), color-stop(32.292%, rgba(0, 0, 0, 0)), color-stop(33.333%, rgba(0, 0, 0, 0)), color-stop(33.333%, rgba(100, 100, 225, 0.25)), color-stop(36.458%, rgba(100, 100, 225, 0.25)), color-stop(36.458%, rgba(0, 0, 0, 0)), color-stop(37.5%, rgba(0, 0, 0, 0)), color-stop(37.5%, rgba(100, 100, 225, 0.25)), color-stop(40.625%, rgba(100, 100, 225, 0.25)), color-stop(40.625%, rgba(0, 0, 0, 0)), color-stop(41.667%, rgba(0, 0, 0, 0)), color-stop(41.667%, rgba(100, 100, 225, 0.25)), color-stop(44.792%, rgba(100, 100, 225, 0.25)), color-stop(44.792%, rgba(0, 0, 0, 0)), color-stop(45.833%, rgba(0, 0, 0, 0)), color-stop(45.833%, rgba(100, 100, 225, 0.25)), color-stop(48.958%, rgba(100, 100, 225, 0.25)), color-stop(48.958%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(100, 100, 225, 0.25)), color-stop(53.125%, rgba(100, 100, 225, 0.25)), color-stop(53.125%, rgba(0, 0, 0, 0)), color-stop(54.167%, rgba(0, 0, 0, 0)), color-stop(54.167%, rgba(100, 100, 225, 0.25)), color-stop(57.292%, rgba(100, 100, 225, 0.25)), color-stop(57.292%, rgba(0, 0, 0, 0)), color-stop(58.333%, rgba(0, 0, 0, 0)), color-stop(58.333%, rgba(100, 100, 225, 0.25)), color-stop(61.458%, rgba(100, 100, 225, 0.25)), color-stop(61.458%, rgba(0, 0, 0, 0)), color-stop(62.5%, rgba(0, 0, 0, 0)), color-stop(62.5%, rgba(100, 100, 225, 0.25)), color-stop(65.625%, rgba(100, 100, 225, 0.25)), color-stop(65.625%, rgba(0, 0, 0, 0)), color-stop(66.667%, rgba(0, 0, 0, 0)), color-stop(66.667%, rgba(100, 100, 225, 0.25)), color-stop(69.792%, rgba(100, 100, 225, 0.25)), color-stop(69.792%, rgba(0, 0, 0, 0)), color-stop(70.833%, rgba(0, 0, 0, 0)), color-stop(70.833%, rgba(100, 100, 225, 0.25)), color-stop(73.958%, rgba(100, 100, 225, 0.25)), color-stop(73.958%, rgba(0, 0, 0, 0)), color-stop(75%, rgba(0, 0, 0, 0)), color-stop(75%, rgba(100, 100, 225, 0.25)), color-stop(78.125%, rgba(100, 100, 225, 0.25)), color-stop(78.125%, rgba(0, 0, 0, 0)), color-stop(79.167%, rgba(0, 0, 0, 0)), color-stop(79.167%, rgba(100, 100, 225, 0.25)), color-stop(82.292%, rgba(100, 100, 225, 0.25)), color-stop(82.292%, rgba(0, 0, 0, 0)), color-stop(83.333%, rgba(0, 0, 0, 0)), color-stop(83.333%, rgba(100, 100, 225, 0.25)), color-stop(86.458%, rgba(100, 100, 225, 0.25)), color-stop(86.458%, rgba(0, 0, 0, 0)), color-stop(87.5%, rgba(0, 0, 0, 0)), color-stop(87.5%, rgba(100, 100, 225, 0.25)), color-stop(90.625%, rgba(100, 100, 225, 0.25)), color-stop(90.625%, rgba(0, 0, 0, 0)), color-stop(91.667%, rgba(0, 0, 0, 0)), color-stop(91.667%, rgba(100, 100, 225, 0.25)), color-stop(94.792%, rgba(100, 100, 225, 0.25)), color-stop(94.792%, rgba(0, 0, 0, 0)), color-stop(95.833%, rgba(0, 0, 0, 0)), color-stop(95.833%, rgba(100, 100, 225, 0.25)), color-stop(98.958%, rgba(100, 100, 225, 0.25)), color-stop(98.958%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0))); background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(5%, rgba(0, 0, 0, 0.5)), color-stop(5%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 0% 50%, 960 50%, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(0%, rgba(100, 100, 225, 0.25)), color-stop(3.125%, rgba(100, 100, 225, 0.25)), color-stop(3.125%, rgba(0, 0, 0, 0)), color-stop(4.167%, rgba(0, 0, 0, 0)), color-stop(4.167%, rgba(100, 100, 225, 0.25)), color-stop(7.292%, rgba(100, 100, 225, 0.25)), color-stop(7.292%, rgba(0, 0, 0, 0)), color-stop(8.333%, rgba(0, 0, 0, 0)), color-stop(8.333%, rgba(100, 100, 225, 0.25)), color-stop(11.458%, rgba(100, 100, 225, 0.25)), color-stop(11.458%, rgba(0, 0, 0, 0)), color-stop(12.5%, rgba(0, 0, 0, 0)), color-stop(12.5%, rgba(100, 100, 225, 0.25)), color-stop(15.625%, rgba(100, 100, 225, 0.25)), color-stop(15.625%, rgba(0, 0, 0, 0)), color-stop(16.667%, rgba(0, 0, 0, 0)), color-stop(16.667%, rgba(100, 100, 225, 0.25)), color-stop(19.792%, rgba(100, 100, 225, 0.25)), color-stop(19.792%, rgba(0, 0, 0, 0)), color-stop(20.833%, rgba(0, 0, 0, 0)), color-stop(20.833%, rgba(100, 100, 225, 0.25)), color-stop(23.958%, rgba(100, 100, 225, 0.25)), color-stop(23.958%, rgba(0, 0, 0, 0)), color-stop(25%, rgba(0, 0, 0, 0)), color-stop(25%, rgba(100, 100, 225, 0.25)), color-stop(28.125%, rgba(100, 100, 225, 0.25)), color-stop(28.125%, rgba(0, 0, 0, 0)), color-stop(29.167%, rgba(0, 0, 0, 0)), color-stop(29.167%, rgba(100, 100, 225, 0.25)), color-stop(32.292%, rgba(100, 100, 225, 0.25)), color-stop(32.292%, rgba(0, 0, 0, 0)), color-stop(33.333%, rgba(0, 0, 0, 0)), color-stop(33.333%, rgba(100, 100, 225, 0.25)), color-stop(36.458%, rgba(100, 100, 225, 0.25)), color-stop(36.458%, rgba(0, 0, 0, 0)), color-stop(37.5%, rgba(0, 0, 0, 0)), color-stop(37.5%, rgba(100, 100, 225, 0.25)), color-stop(40.625%, rgba(100, 100, 225, 0.25)), color-stop(40.625%, rgba(0, 0, 0, 0)), color-stop(41.667%, rgba(0, 0, 0, 0)), color-stop(41.667%, rgba(100, 100, 225, 0.25)), color-stop(44.792%, rgba(100, 100, 225, 0.25)), color-stop(44.792%, rgba(0, 0, 0, 0)), color-stop(45.833%, rgba(0, 0, 0, 0)), color-stop(45.833%, rgba(100, 100, 225, 0.25)), color-stop(48.958%, rgba(100, 100, 225, 0.25)), color-stop(48.958%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(100, 100, 225, 0.25)), color-stop(53.125%, rgba(100, 100, 225, 0.25)), color-stop(53.125%, rgba(0, 0, 0, 0)), color-stop(54.167%, rgba(0, 0, 0, 0)), color-stop(54.167%, rgba(100, 100, 225, 0.25)), color-stop(57.292%, rgba(100, 100, 225, 0.25)), color-stop(57.292%, rgba(0, 0, 0, 0)), color-stop(58.333%, rgba(0, 0, 0, 0)), color-stop(58.333%, rgba(100, 100, 225, 0.25)), color-stop(61.458%, rgba(100, 100, 225, 0.25)), color-stop(61.458%, rgba(0, 0, 0, 0)), color-stop(62.5%, rgba(0, 0, 0, 0)), color-stop(62.5%, rgba(100, 100, 225, 0.25)), color-stop(65.625%, rgba(100, 100, 225, 0.25)), color-stop(65.625%, rgba(0, 0, 0, 0)), color-stop(66.667%, rgba(0, 0, 0, 0)), color-stop(66.667%, rgba(100, 100, 225, 0.25)), color-stop(69.792%, rgba(100, 100, 225, 0.25)), color-stop(69.792%, rgba(0, 0, 0, 0)), color-stop(70.833%, rgba(0, 0, 0, 0)), color-stop(70.833%, rgba(100, 100, 225, 0.25)), color-stop(73.958%, rgba(100, 100, 225, 0.25)), color-stop(73.958%, rgba(0, 0, 0, 0)), color-stop(75%, rgba(0, 0, 0, 0)), color-stop(75%, rgba(100, 100, 225, 0.25)), color-stop(78.125%, rgba(100, 100, 225, 0.25)), color-stop(78.125%, rgba(0, 0, 0, 0)), color-stop(79.167%, rgba(0, 0, 0, 0)), color-stop(79.167%, rgba(100, 100, 225, 0.25)), color-stop(82.292%, rgba(100, 100, 225, 0.25)), color-stop(82.292%, rgba(0, 0, 0, 0)), color-stop(83.333%, rgba(0, 0, 0, 0)), color-stop(83.333%, rgba(100, 100, 225, 0.25)), color-stop(86.458%, rgba(100, 100, 225, 0.25)), color-stop(86.458%, rgba(0, 0, 0, 0)), color-stop(87.5%, rgba(0, 0, 0, 0)), color-stop(87.5%, rgba(100, 100, 225, 0.25)), color-stop(90.625%, rgba(100, 100, 225, 0.25)), color-stop(90.625%, rgba(0, 0, 0, 0)), color-stop(91.667%, rgba(0, 0, 0, 0)), color-stop(91.667%, rgba(100, 100, 225, 0.25)), color-stop(94.792%, rgba(100, 100, 225, 0.25)), color-stop(94.792%, rgba(0, 0, 0, 0)), color-stop(95.833%, rgba(0, 0, 0, 0)), color-stop(95.833%, rgba(100, 100, 225, 0.25)), color-stop(98.958%, rgba(100, 100, 225, 0.25)), color-stop(98.958%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0)));
background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(100, 100, 225, 0.25) 0px, rgba(100, 100, 225, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(100, 100, 225, 0.25) 40px, rgba(100, 100, 225, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(100, 100, 225, 0.25) 80px, rgba(100, 100, 225, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(100, 100, 225, 0.25) 120px, rgba(100, 100, 225, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(100, 100, 225, 0.25) 160px, rgba(100, 100, 225, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(100, 100, 225, 0.25) 200px, rgba(100, 100, 225, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(100, 100, 225, 0.25) 240px, rgba(100, 100, 225, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(100, 100, 225, 0.25) 280px, rgba(100, 100, 225, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(100, 100, 225, 0.25) 320px, rgba(100, 100, 225, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(100, 100, 225, 0.25) 360px, rgba(100, 100, 225, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(100, 100, 225, 0.25) 400px, rgba(100, 100, 225, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(100, 100, 225, 0.25) 440px, rgba(100, 100, 225, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(100, 100, 225, 0.25) 480px, rgba(100, 100, 225, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(100, 100, 225, 0.25) 520px, rgba(100, 100, 225, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(100, 100, 225, 0.25) 560px, rgba(100, 100, 225, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(100, 100, 225, 0.25) 600px, rgba(100, 100, 225, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(100, 100, 225, 0.25) 640px, rgba(100, 100, 225, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(100, 100, 225, 0.25) 680px, rgba(100, 100, 225, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(100, 100, 225, 0.25) 720px, rgba(100, 100, 225, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(100, 100, 225, 0.25) 760px, rgba(100, 100, 225, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(100, 100, 225, 0.25) 800px, rgba(100, 100, 225, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(100, 100, 225, 0.25) 840px, rgba(100, 100, 225, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(100, 100, 225, 0.25) 880px, rgba(100, 100, 225, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(100, 100, 225, 0.25) 920px, rgba(100, 100, 225, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px); background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(100, 100, 225, 0.25) 0px, rgba(100, 100, 225, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(100, 100, 225, 0.25) 40px, rgba(100, 100, 225, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(100, 100, 225, 0.25) 80px, rgba(100, 100, 225, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(100, 100, 225, 0.25) 120px, rgba(100, 100, 225, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(100, 100, 225, 0.25) 160px, rgba(100, 100, 225, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(100, 100, 225, 0.25) 200px, rgba(100, 100, 225, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(100, 100, 225, 0.25) 240px, rgba(100, 100, 225, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(100, 100, 225, 0.25) 280px, rgba(100, 100, 225, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(100, 100, 225, 0.25) 320px, rgba(100, 100, 225, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(100, 100, 225, 0.25) 360px, rgba(100, 100, 225, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(100, 100, 225, 0.25) 400px, rgba(100, 100, 225, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(100, 100, 225, 0.25) 440px, rgba(100, 100, 225, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(100, 100, 225, 0.25) 480px, rgba(100, 100, 225, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(100, 100, 225, 0.25) 520px, rgba(100, 100, 225, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(100, 100, 225, 0.25) 560px, rgba(100, 100, 225, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(100, 100, 225, 0.25) 600px, rgba(100, 100, 225, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(100, 100, 225, 0.25) 640px, rgba(100, 100, 225, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(100, 100, 225, 0.25) 680px, rgba(100, 100, 225, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(100, 100, 225, 0.25) 720px, rgba(100, 100, 225, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(100, 100, 225, 0.25) 760px, rgba(100, 100, 225, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(100, 100, 225, 0.25) 800px, rgba(100, 100, 225, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(100, 100, 225, 0.25) 840px, rgba(100, 100, 225, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(100, 100, 225, 0.25) 880px, rgba(100, 100, 225, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(100, 100, 225, 0.25) 920px, rgba(100, 100, 225, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
@@ -313,89 +253,72 @@ body.bp .showgrid {
background-size: 100% 18px, auto; background-size: 100% 18px, auto;
background-position: left top; background-position: left top;
} }
/* line 4, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .feedback, body.bp .error, body.bp .alert, body.bp .notice, body.bp .success, body.bp .info { body.bp .feedback, body.bp .error, body.bp .alert, body.bp .notice, body.bp .success, body.bp .info {
padding: 0.8em; padding: 0.8em;
margin-bottom: 1em; margin-bottom: 1em;
border: 2px solid #dddddd; border: 2px solid #dddddd;
} }
/* line 5, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .error, body.bp .alert { body.bp .error, body.bp .alert {
background: #fbe3e4; background: #fbe3e4;
color: #8a1f11; color: #8a1f11;
border-color: #fbc2c4; border-color: #fbc2c4;
} }
/* line 27, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .error a, body.bp .alert a { body.bp .error a, body.bp .alert a {
color: #8a1f11; color: #8a1f11;
} }
/* line 7, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .notice { body.bp .notice {
background: #fff6bf; background: #fff6bf;
color: #514721; color: #514721;
border-color: #ffd324; border-color: #ffd324;
} }
/* line 36, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .notice a { body.bp .notice a {
color: #514721; color: #514721;
} }
/* line 8, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .success { body.bp .success {
background: #e6efc2; background: #e6efc2;
color: #264409; color: #264409;
border-color: #c6d880; border-color: #c6d880;
} }
/* line 45, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .success a { body.bp .success a {
color: #264409; color: #264409;
} }
/* line 9, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .info { body.bp .info {
background: #d5edf8; background: #d5edf8;
color: #205791; color: #205791;
border-color: #92cae4; border-color: #92cae4;
} }
/* line 54, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .info a { body.bp .info a {
color: #205791; color: #205791;
} }
/* line 10, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .hide { body.bp .hide {
display: none; display: none;
} }
/* line 11, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .highlight { body.bp .highlight {
background: yellow; background: yellow;
} }
/* line 12, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .added { body.bp .added {
background: #006600; background: #006600;
color: white; color: white;
} }
/* line 13, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .removed { body.bp .removed {
background: #990000; background: #990000;
color: white; color: white;
} }
/* line 39, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
body.bp .box { body.bp .box {
padding: 1.5em; padding: 1.5em;
margin-bottom: 1.5em; margin-bottom: 1.5em;
background: #e5ecf9; background: #e5ecf9;
} }
/* line 42, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
body.bp .border { body.bp .border {
padding-right: 4px; padding-right: 4px;
margin-right: 5px; margin-right: 5px;
border-right: 1px solid #dddddd; border-right: 1px solid #dddddd;
} }
/* line 45, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
body.bp .colborder { body.bp .colborder {
padding-right: 24px; padding-right: 24px;
margin-right: 25px; margin-right: 25px;
border-right: 1px solid #dddddd; border-right: 1px solid #dddddd;
} }
/* line 47, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
body.bp hr { body.bp hr {
background: #dddddd; background: #dddddd;
color: #dddddd; color: #dddddd;
@@ -406,7 +329,6 @@ body.bp hr {
margin: 0 0 1.45em; margin: 0 0 1.45em;
border: none; border: none;
} }
/* line 49, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
body.bp hr.space { body.bp hr.space {
background: #dddddd; background: #dddddd;
color: #dddddd; color: #dddddd;
@@ -420,116 +342,192 @@ body.bp hr.space {
color: white; color: white;
visibility: hidden; visibility: hidden;
} }
/* line 51, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
body.bp form.inline { body.bp form.inline {
line-height: 3; line-height: 3;
} }
/* line 6, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
body.bp form.inline p { body.bp form.inline p {
margin-bottom: 0; margin-bottom: 0;
} }
/* line 18, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp label { form.bp label {
font-weight: bold; font-weight: bold;
} }
/* line 19, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp fieldset { form.bp fieldset {
padding: 1.4em; padding: 1.4em;
margin: 0 0 1.5em 0; margin: 0 0 1.5em 0;
} }
/* line 20, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp legend { form.bp legend {
font-weight: bold; font-weight: bold;
font-size: 1.2em; font-size: 1.2em;
} }
/* line 26, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] { form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] {
margin: 0.5em 0; margin: 0.5em 0;
background-color: white; background-color: white;
padding: 5px; padding: 5px;
} }
/* line 27, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.title { form.bp input.title {
font-size: 1.5em; font-size: 1.5em;
} }
/* line 29, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp textarea { form.bp textarea {
margin: 0.5em 0; margin: 0.5em 0;
padding: 5px; padding: 5px;
} }
/* line 30, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp select { form.bp select {
margin: 0.5em 0; margin: 0.5em 0;
} }
/* line 55, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp fieldset { form.bp fieldset {
border: 1px solid #cccccc; border: 1px solid #cccccc;
} }
/* line 58, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password], form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password],
form.bp textarea { form.bp textarea {
background-color: #fff; background-color: #fff;
border: 1px solid #bbbbbb; border: 1px solid #bbbbbb;
} }
/* line 61, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text:focus, form.bp input.title:focus, form.bp input[type=email]:focus, form.bp input[type=text]:focus, form.bp input[type=password]:focus, form.bp input.text:focus, form.bp input.title:focus, form.bp input[type=email]:focus, form.bp input[type=text]:focus, form.bp input[type=password]:focus,
form.bp textarea:focus { form.bp textarea:focus {
border-color: #666666; border-color: #666666;
} }
/* line 65, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp select { form.bp select {
background-color: #fff; background-color: #fff;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
} }
/* line 44, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] { form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] {
width: 300px; width: 300px;
} }
/* line 46, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp textarea { form.bp textarea {
width: 390px; width: 390px;
height: 250px; height: 250px;
} }
/* line 25, ../sass/partials/_two_col.scss */
body.two-col #container { body.two-col #container {
width: 950px; width: 950px;
margin: 0 auto; margin: 0 auto;
overflow: hidden; overflow: hidden;
*zoom: 1; *zoom: 1;
} }
/* line 27, ../sass/partials/_two_col.scss */
body.two-col #header, body.two-col #footer { body.two-col #header, body.two-col #footer {
display: inline; display: inline;
float: left; float: left;
margin-right: 10px; margin-right: 10px;
width: 950px; width: 950px;
} }
/* line 147, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_grid.scss */
* html body.two-col #header, * html body.two-col #footer { * html body.two-col #header, * html body.two-col #footer {
overflow-x: hidden; overflow-x: hidden;
} }
/* line 29, ../sass/partials/_two_col.scss */
body.two-col #sidebar { body.two-col #sidebar {
display: inline; display: inline;
float: left; float: left;
margin-right: 10px; margin-right: 10px;
width: 310px; width: 310px;
} }
/* line 147, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_grid.scss */
* html body.two-col #sidebar { * html body.two-col #sidebar {
overflow-x: hidden; overflow-x: hidden;
} }
/* line 33, ../sass/partials/_two_col.scss */
body.two-col #content { body.two-col #content {
display: inline; display: inline;
float: left; float: left;
margin-right: 0; margin-right: 0;
width: 630px; width: 630px;
} }
/* line 147, ../../../../../../../var/lib/gems/1.9.1/gems/compass-0.11.6/frameworks/blueprint/stylesheets/blueprint/_grid.scss */
* html body.two-col #content { * html body.two-col #content {
overflow-x: hidden; overflow-x: hidden;
} }
body {
background-color: #eeeeee;
}
body #header nav {
margin: 2em;
}
body #header nav ul {
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
*zoom: 1;
}
body #header nav ul li {
list-style-image: none;
list-style-type: none;
margin-left: 0px;
display: -moz-inline-box;
-moz-box-orient: vertical;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
white-space: nowrap;
}
body #header nav ul li {
*display: inline;
}
body #register #customer ul {
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
*zoom: 1;
}
body #register #customer ul li {
list-style-image: none;
list-style-type: none;
margin-left: 0px;
display: -moz-inline-box;
-moz-box-orient: vertical;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
white-space: nowrap;
}
body #register #customer ul li {
*display: inline;
}
body #register #customer ul li {
padding: 1em;
text-align: center;
width: 100px;
}
body #register #customer ul li:hover {
background-color: #bbbbbb;
}
body #register #customer ul li.selected {
background-color: #bbbbbb;
}
body #register #products ul {
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
*zoom: 1;
}
body #register #products ul li {
list-style-image: none;
list-style-type: none;
margin-left: 0px;
display: -moz-inline-box;
-moz-box-orient: vertical;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
white-space: nowrap;
}
body #register #products ul li {
*display: inline;
}
body #register #products ul li {
padding: 1.5em;
text-align: center;
}
body #register #products ul li:hover {
background-color: #bbbbbb;
}
body input[type=submit] {
padding: 1em;
padding-left: 1.5em;
padding-right: 1.5em;
position: relative;
left: 100px;
}
body section {
margin-bottom: 2em;
}
+26
View File
@@ -0,0 +1,26 @@
$(document).ready(function() {
/* Customer selection */
$("li.customer").click( function() {
/* Enable all buttons */
$("li.customer").each(function(i) {
$(this).removeClass("selected");
});
/* Disable the customer button just clicked */
$(this).addClass("selected");
/* Update the form */
$("input[name=customer]").val($(this).children("span.name").text());
});
/* Product amount controls */
$("li.product").click( function() {
var form_field = $(this).children("input[type=text]");
var qty = Number(form_field.val()) + 1;
form_field.val(qty);
});
/* Also reset the hidden customer fields */
$("input[type=reset]").click( function() {
$("input[name=customer]").val("");
});
/* TODO: keyboard shortcuts */
});
+3 -1
View File
@@ -1,13 +1,15 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<title>{%block title%}Userinfo{%endblock%}</title> <title>{%block title%}BBS{%endblock%}</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="stylesheet" href="/static/gaute/stylesheets/screen.css" type="text/css" media="screen, projection"> <link rel="stylesheet" href="/static/gaute/stylesheets/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/static/gaute/stylesheets/print.css" type="text/css" media="print"> <link rel="stylesheet" href="/static/gaute/stylesheets/print.css" type="text/css" media="print">
<!--[if lt IE 8]> <!--[if lt IE 8]>
<link rel="stylesheet" href="/static/gaute/stylesheets/ie.css" type="text/css" media="screen, projection"> <link rel="stylesheet" href="/static/gaute/stylesheets/ie.css" type="text/css" media="screen, projection">
<![endif]--> <![endif]-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
<script src="/static/js/register.js"></script>
{%block headinc %} {%block headinc %}
{%endblock%} {%endblock%}
</head> </head>
+42 -20
View File
@@ -1,29 +1,51 @@
{% extends "base.html" %} {% extends "base.html" %}
{%block header%} {% block header %}
<h1>Biceps Bar System</h1> <h1>Biceps Bar System</h1>
{%endblock%} <nav>
<ul>
<li><a href="{% url main.views.logout %}">Logout</a></li>
</ul>
</nav>
{% endblock %}
{%block content%} {% block content %}
<section id="nav"> <section id="register">
<form id="order" method="post">
{% csrf_token %}
<section id="customer">
<h2>Velg kunde</h2>
<input type="hidden" name="customer" value="" />
<ul> <ul>
<li><a href="{% url main.views.logout %}">Logout</a></li> {% for user in users %}
<li class="customer">
{% if user.get_profile.image %}
  <img class="profile" src="{{ user.get_profile.image.url }}" /><br />
{% else %}
  <img class="profile" src="/static/gaute/images/unknown.png" /><br />
{% endif %}
<span class="name">{{ user }}</span> ({{ user.get_profile.balance }})</li>
{% endfor %}
</ul> </ul>
</section> </section>
<section id="register"> <section id="products">
<div id="user"> <h2>Velg antall</h2>
Selg til: <ul>
{% for user in users %}
  <button id="{{ user }}">{{ user }}</button>
{% endfor %}
</div>
<div id="products">
Vi selger:<br />
{% for product in products %} {% for product in products %}
  <button id="{{ product.id }}">+ {{ product.name }}</button> <li id="form-{{forloop.counter0}}" class="product"><input type="hidden" name="form-{{ forloop.counter0 }}-product" value="{{product.id }}" />
  <button id="{{ product.id }}">- {{ product.name }}</button> <input type="text" id="form-{{ forloop.counter0 }}-amount" name="form-{{ forloop.counter0 }}-amount" value="0" size="2" />
{% if product.image %}
<img class="product" src="{{ product.image.url }}" /><br />
{% else %}
<img class="product" src="/static/gaute/images/product.png" /><br />
{% endif %}
{{ product.name }}
</li>
{% endfor %} {% endfor %}
</div> </ul>
<div id="total">Totalt: <span class="total_text"></span></div>
  <button id="submit">Kjøp</button>
</section> </section>
{%endblock%} <section id="total"><h3>Totalt</h3><span class="total_text"></span></section>
  <input type="reset" id="reset" value="Start på nytt" />
  <input type="submit" id="submit_order" name="submit_order" value="Kjøp" />
</form>
</section>
{% endblock %}
+3
View File
@@ -13,3 +13,6 @@ urlpatterns = patterns('',
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
) )
from django.contrib.staticfiles.urls import staticfiles_urlpatterns # for dev
urlpatterns += staticfiles_urlpatterns()