Skip to content

Commit

Permalink
switch to zurb buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
trosborn committed Dec 30, 2015
1 parent 58eeddf commit 3341207
Show file tree
Hide file tree
Showing 30 changed files with 42 additions and 171 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: ruby
rvm:
- 2.2.2
before_script: bundle exec rake db:create
before_script: bundle exec rake db:setup
deploy:
provider: heroku
api_key:
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
@import 'navbar';
@import 'reset';
@import 'welcome';
@import 'order-bar';
@import 'order_bar';
@import 'menu';
5 changes: 3 additions & 2 deletions app/assets/stylesheets/colors.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
$pag-red: #B81F23;
$pag-tan: #FFFDEE;
$pag-red: #b81f23;
$pag-dark-red: #96191d;
$pag-tan: #fffdee;
10 changes: 9 additions & 1 deletion app/assets/stylesheets/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
margin-right: auto;
margin-left: auto;
display: block;
position: relative;
}

#logo-wrapper {
height: 200px;
width: 163px;
top: -40px;
position: relative;
}

#phone-numbers a {
color: white;
font-size: 140%;
font-weight: 600;
text-shadow: 0 0 20px #000;
}
22 changes: 0 additions & 22 deletions app/assets/stylesheets/order-bar.scss

This file was deleted.

14 changes: 14 additions & 0 deletions app/assets/stylesheets/order_bar.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.button {
background-color: $pag-red;
width: 220px;
&:hover {
background-color: $pag-dark-red;
}
}

@media only screen and (max-width: 40em) {
.button {
max-width: 180px;
}
}

7 changes: 4 additions & 3 deletions app/views/layouts/_header.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.row
.row#logo-wrapper
= link_to image_tag('pag-banner-logo.png', id: 'logo'), '/'
.row#phone-numbers
.large-6.small-6.columns
= link_to '206-727-1717', 'tel:+12067261717', class: 'right'
= link_to '206.727.1717', 'tel:+12067261717', class: 'right'
.large-6.small-6.columns
= link_to '425-453-1717', 'tel:+14254531717'
= link_to '425.453.1717', 'tel:+14254531717'
%br
2 changes: 0 additions & 2 deletions app/views/layouts/_navbar.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@
%li
= link_to 'MENU', '/menu'
%li


7 changes: 3 additions & 4 deletions app/views/layouts/_order_bar.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.row
.large-6.small-6.columns
.order-buttons.right
= link_to 'ORDER ONLINE!', 'pagliacci.com', alt: 'Order Online!'
.right
= link_to 'ORDER ONLINE', 'pagliacci.com', alt: 'Order Online', class: 'button large'
.large-6.small-6.columns
.order-buttons
= link_to 'FIND SLICES!', 'pagliacci.com', alt: 'Find Slices!'
= link_to 'FIND SLICES', 'pagliacci.com', alt: 'Find Slices', class: 'button large'
10 changes: 0 additions & 10 deletions db/migrate/20151001200751_create_salad_toppings.rb

This file was deleted.

12 changes: 0 additions & 12 deletions db/migrate/20151014024316_create_beverages.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151018005333_add_seasonal_to_gelatos.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151018005515_add_active_to_gelatos.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151019084003_add_sizes_to_gelato.rb

This file was deleted.

11 changes: 0 additions & 11 deletions db/migrate/20151024070446_create_sizes.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151031071104_add_salad_id_to_sizes.rb

This file was deleted.

8 changes: 0 additions & 8 deletions db/migrate/20151107113606_remove_extra_columns.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151110092342_drop_salads_table.rb

This file was deleted.

6 changes: 0 additions & 6 deletions db/migrate/20151110093955_add_topping_references_to_items.rb

This file was deleted.

9 changes: 0 additions & 9 deletions db/migrate/20151110100001_remove_all_the_tables.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151110223825_remove_toppings_from_items.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151111041950_add_pizza_i_dto_items.rb

This file was deleted.

6 changes: 0 additions & 6 deletions db/migrate/20151111043919_removestuff.rb

This file was deleted.

10 changes: 0 additions & 10 deletions db/migrate/20151111075226_create_item_toppings.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151111082945_rename_salad_id.rb

This file was deleted.

7 changes: 0 additions & 7 deletions db/migrate/20151113081409_and_attributes_to_items.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151116230429_create_toppings.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151116231655_destroy_toppings.rb

This file was deleted.

5 changes: 0 additions & 5 deletions db/migrate/20151119082005_add_qualifier_to_items.rb

This file was deleted.

8 changes: 7 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20151119082005) do
ActiveRecord::Schema.define(version: 20151211090127) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand All @@ -25,6 +25,7 @@
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "location_id"
t.integer "order_id"
end

create_table "item_toppings", force: :cascade do |t|
Expand Down Expand Up @@ -57,6 +58,11 @@
t.datetime "updated_at", null: false
end

create_table "orders", force: :cascade do |t|
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end

create_table "sizes", force: :cascade do |t|
t.string "name"
t.float "price"
Expand Down

0 comments on commit 3341207

Please sign in to comment.