Skip to content

Commit

Permalink
Add fallback colors for backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Prathan Thananart committed Oct 25, 2011
1 parent 7aa8813 commit 450d6ae
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 18 deletions.
6 changes: 0 additions & 6 deletions app/assets/javascripts/application.js.coffee
@@ -1,9 +1,3 @@
# This is a manifest file that'll be compiled into including all the files listed below.
# Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
# be included in the compiled file accessible from http://example.com/assets/application.js
# It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
# the compiled file.
#
#= require jquery
#= require jquery_ujs
#= require_tree .
Expand Down
3 changes: 0 additions & 3 deletions app/assets/javascripts/reports.js.coffee
@@ -1,3 +0,0 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
4 changes: 0 additions & 4 deletions app/assets/javascripts/zones.js.coffee
@@ -1,7 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

$ ->
$('#initiate_report input:submit').click ->
zone_id = parseInt $('#zone_id').val()
Expand Down
3 changes: 2 additions & 1 deletion app/assets/stylesheets/global.css.scss
@@ -1,4 +1,5 @@
body {
background: #222 url(dark_brick_wall.png);
margin: 0;
color: #333;
font-family: "Lucida Grande", "Leelawadee", sans-serif;
Expand All @@ -8,7 +9,7 @@ body {
}

div#main {
background-image: url(stucco.png);
background: #f8f8f8 url(stucco.png);
padding: 2em 0 1em;
text-align: center;
header {
Expand Down
4 changes: 0 additions & 4 deletions app/assets/stylesheets/zones.css.scss
Expand Up @@ -2,10 +2,6 @@
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

body {
background: url(dark_brick_wall.png);
}

section#landing {
text-align: center;
margin: 0 auto;
Expand Down

0 comments on commit 450d6ae

Please sign in to comment.