Skip to content

Commit

Permalink
Design
Browse files Browse the repository at this point in the history
  • Loading branch information
silent1mezzo committed Apr 14, 2012
1 parent ce7d998 commit 51a9d08
Show file tree
Hide file tree
Showing 9 changed files with 886 additions and 838 deletions.
6 changes: 6 additions & 0 deletions hackto/apps/around/context_processors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.conf import settings

def api_key(request):
return {
'MAPS_API_KEY': settings.MAPS_API_KEY,
}
1 change: 1 addition & 0 deletions hackto/apps/around/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

urlpatterns = patterns('',
url(r'^$', 'around.views.index', name='home'),
url(r'^about/$', 'around.views.index', name='about')
)
12 changes: 12 additions & 0 deletions hackto/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,16 @@
os.path.join(PROJECT_ROOT, 'templates'),
)

TEMPLATE_CONTEXT_PROCESSORS = (
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.contrib.messages.context_processors.messages",
"around.context_processors.api_key",
)

INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
Expand Down Expand Up @@ -161,3 +171,5 @@
},
}
}

MAPS_API_KEY = 'AIzaSyCgN9qpMZffjKwlQBIuoNOBsToanT1O140'
Binary file removed hackto/settings.pyc
Binary file not shown.
28 changes: 27 additions & 1 deletion hackto/static_media/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,9 @@ table .span24 {
.btn-info,
.btn-info:hover,
.btn-inverse,
.btn-inverse:hover {
.btn-inverse:hover,
.btn-orange,
.btn-orange:hover {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: #ffffff;
}
Expand Down Expand Up @@ -2209,6 +2211,30 @@ table .span24 {
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-orange {
background-color: #D04313;
background-image: -moz-linear-gradient(top, #de6c43, #D04313);
background-image: -ms-linear-gradient(top, #de6c43, #D04313);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#de6c43), to(#D04313));
background-image: -webkit-linear-gradient(top, #de6c43, #D04313);
background-image: -o-linear-gradient(top, #de6c43, #D04313);
background-image: linear-gradient(top, #de6c43, #D04313);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#de6c43', endColorstr='#D04313', GradientType=0);
border-color: #D04313 #D04313 #D04313;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-orange:hover,
.btn-orange:active,
.btn-orange.active,
.btn-orange.disabled,
.btn-orange[disabled] {
background-color: #D04313;
}

.btn-info:hover,
.btn-info:active,
.btn-info.active,
Expand Down
Loading

0 comments on commit 51a9d08

Please sign in to comment.