diff --git a/.gitignore b/.gitignore index 6db3c9a5bc..0bb97dce5f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,9 +7,20 @@ # Ignore bundler config. /.bundle + +/coverage/ +#Ignore .DS_Store +/.DS_Store +.DS_Store + +#ignore our secrets +/.env + +# Ignore the default SQLite database. +/db/*.sqlite3 +/db/*.sqlite3-journal + # Ignore all logfiles and tempfiles. /log/* !/log/.keep /tmp - -.DS_Store diff --git a/.ruby-gemset b/.ruby-gemset deleted file mode 100644 index d5c660823f..0000000000 --- a/.ruby-gemset +++ /dev/null @@ -1 +0,0 @@ -betsy diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 2bf1c1ccf3..0000000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -2.3.1 diff --git a/Gemfile b/Gemfile index c69f4ddde9..0ed3d10f2e 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,22 @@ source 'https://rubygems.org' -ruby '2.3.1' + +#Foundation Rails gem +gem 'foundation-rails' +gem 'jquery-turbolinks' +gem "awesome_print" +gem "omniauth" +gem "omniauth-github" + +gem 'simplecov', group: :test +gem 'pg', group: :production +gem 'rails_12factor', group: :production # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '4.2.6' -# Use postgresql as the database for Active Record -# gem 'pg', '~> 0.15' +gem 'rails', '4.2.7' +# Use sqlite3 as the database for Active Record +gem 'sqlite3', group: [:development, :test] # Use SCSS for stylesheets + gem 'sass-rails', '~> 5.0' # Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' @@ -35,6 +46,9 @@ gem 'sdoc', '~> 0.4.0', group: :doc group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug' + gem 'dotenv-rails' + gem 'better_errors' + gem 'pry' end group :development do @@ -44,3 +58,7 @@ group :development do # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' end + +group :test do + gem 'minitest-reporters' +end diff --git a/Gemfile.lock b/Gemfile.lock index 20975578b8..f79301bfe3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,46 +1,57 @@ GEM remote: https://rubygems.org/ specs: - actionmailer (4.2.6) - actionpack (= 4.2.6) - actionview (= 4.2.6) - activejob (= 4.2.6) + actionmailer (4.2.7) + actionpack (= 4.2.7) + actionview (= 4.2.7) + activejob (= 4.2.7) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 1.0, >= 1.0.5) - actionpack (4.2.6) - actionview (= 4.2.6) - activesupport (= 4.2.6) + actionpack (4.2.7) + actionview (= 4.2.7) + activesupport (= 4.2.7) rack (~> 1.6) rack-test (~> 0.6.2) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (4.2.6) - activesupport (= 4.2.6) + actionview (4.2.7) + activesupport (= 4.2.7) builder (~> 3.1) erubis (~> 2.7.0) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) - activejob (4.2.6) - activesupport (= 4.2.6) + activejob (4.2.7) + activesupport (= 4.2.7) globalid (>= 0.3.0) - activemodel (4.2.6) - activesupport (= 4.2.6) + activemodel (4.2.7) + activesupport (= 4.2.7) builder (~> 3.1) - activerecord (4.2.6) - activemodel (= 4.2.6) - activesupport (= 4.2.6) + activerecord (4.2.7) + activemodel (= 4.2.7) + activesupport (= 4.2.7) arel (~> 6.0) - activesupport (4.2.6) + activesupport (4.2.7) i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) + ansi (1.5.0) arel (6.0.3) + awesome_print (1.7.0) + babel-source (5.8.35) + babel-transpiler (0.7.0) + babel-source (>= 4.0, < 6) + execjs (~> 2.0) + better_errors (2.1.1) + coderay (>= 1.0.0) + erubis (>= 2.6.6) + rack (>= 0.9.0) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) builder (3.2.2) - byebug (8.2.5) + byebug (9.0.6) + coderay (1.1.1) coffee-rails (4.1.1) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.1.x) @@ -48,46 +59,90 @@ GEM coffee-script-source execjs coffee-script-source (1.10.0) - concurrent-ruby (1.0.1) + concurrent-ruby (1.0.2) debug_inspector (0.0.2) + docile (1.1.5) + dotenv (2.1.1) + dotenv-rails (2.1.1) + dotenv (= 2.1.1) + railties (>= 4.0, < 5.1) erubis (2.7.0) - execjs (2.6.0) - globalid (0.3.6) + execjs (2.7.0) + faraday (0.9.2) + multipart-post (>= 1.2, < 3) + foundation-rails (6.2.4.0) + railties (>= 3.1.0) + sass (>= 3.3.0, < 3.5) + sprockets-es6 (>= 0.9.0) + globalid (0.3.7) activesupport (>= 4.1.0) + hashie (3.4.6) i18n (0.7.0) - jbuilder (2.4.1) + jbuilder (2.6.0) activesupport (>= 3.0.0, < 5.1) multi_json (~> 1.2) - jquery-rails (4.1.1) + jquery-rails (4.2.1) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) + jquery-turbolinks (2.1.0) + railties (>= 3.1.0) + turbolinks json (1.8.3) + jwt (1.5.6) loofah (2.0.3) nokogiri (>= 1.5.9) mail (2.6.4) mime-types (>= 1.16, < 4) - mime-types (3.0) + method_source (0.8.2) + mime-types (3.1) mime-types-data (~> 3.2015) - mime-types-data (3.2016.0221) - mini_portile2 (2.0.0) - minitest (5.8.4) - multi_json (1.11.3) - nokogiri (1.6.7.2) - mini_portile2 (~> 2.0.0.rc2) + mime-types-data (3.2016.0521) + mini_portile2 (2.1.0) + minitest (5.9.1) + minitest-reporters (1.1.11) + ansi + builder + minitest (>= 5.0) + ruby-progressbar + multi_json (1.12.1) + multi_xml (0.5.5) + multipart-post (2.0.0) + nokogiri (1.6.8.1) + mini_portile2 (~> 2.1.0) + oauth2 (1.2.0) + faraday (>= 0.8, < 0.10) + jwt (~> 1.0) + multi_json (~> 1.3) + multi_xml (~> 0.5) + rack (>= 1.2, < 3) + omniauth (1.3.1) + hashie (>= 1.2, < 4) + rack (>= 1.0, < 3) + omniauth-github (1.1.2) + omniauth (~> 1.0) + omniauth-oauth2 (~> 1.1) + omniauth-oauth2 (1.4.0) + oauth2 (~> 1.0) + omniauth (~> 1.2) + pg (0.19.0) + pry (0.10.4) + coderay (~> 1.1.0) + method_source (~> 0.8.1) + slop (~> 3.4) rack (1.6.4) rack-test (0.6.3) rack (>= 1.0) - rails (4.2.6) - actionmailer (= 4.2.6) - actionpack (= 4.2.6) - actionview (= 4.2.6) - activejob (= 4.2.6) - activemodel (= 4.2.6) - activerecord (= 4.2.6) - activesupport (= 4.2.6) + rails (4.2.7) + actionmailer (= 4.2.7) + actionpack (= 4.2.7) + actionview (= 4.2.7) + activejob (= 4.2.7) + activemodel (= 4.2.7) + activerecord (= 4.2.7) + activesupport (= 4.2.7) bundler (>= 1.3.0, < 2.0) - railties (= 4.2.6) + railties (= 4.2.7) sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) @@ -97,40 +152,59 @@ GEM rails-deprecated_sanitizer (>= 1.0.1) rails-html-sanitizer (1.0.3) loofah (~> 2.0) - railties (4.2.6) - actionpack (= 4.2.6) - activesupport (= 4.2.6) + rails_12factor (0.0.3) + rails_serve_static_assets + rails_stdout_logging + rails_serve_static_assets (0.0.5) + rails_stdout_logging (0.0.5) + railties (4.2.7) + actionpack (= 4.2.7) + activesupport (= 4.2.7) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (11.1.2) + rake (11.3.0) rdoc (4.2.2) json (~> 1.4) + ruby-progressbar (1.8.1) sass (3.4.22) - sass-rails (5.0.4) - railties (>= 4.0.0, < 5.0) + sass-rails (5.0.6) + railties (>= 4.0.0, < 6) sass (~> 3.1) sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) - sdoc (0.4.1) + sdoc (0.4.2) json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) - spring (1.7.1) - sprockets (3.6.0) + simplecov (0.12.0) + docile (~> 1.1.0) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + slop (3.6.0) + spring (2.0.0) + activesupport (>= 4.2) + sprockets (3.7.0) concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.0.4) + sprockets-es6 (0.9.2) + babel-source (>= 5.8.11) + babel-transpiler + sprockets (>= 3.0.0) + sprockets-rails (3.2.0) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) + sqlite3 (1.3.12) thor (0.19.1) thread_safe (0.3.5) - tilt (2.0.2) - turbolinks (2.5.3) - coffee-rails + tilt (2.0.5) + turbolinks (5.0.1) + turbolinks-source (~> 5) + turbolinks-source (5.0.0) tzinfo (1.2.2) thread_safe (~> 0.1) - uglifier (3.0.0) + uglifier (3.0.2) execjs (>= 0.3.0, < 3) web-console (2.3.0) activemodel (>= 4.0) @@ -142,20 +216,30 @@ PLATFORMS ruby DEPENDENCIES + awesome_print + better_errors byebug coffee-rails (~> 4.1.0) + dotenv-rails + foundation-rails jbuilder (~> 2.0) jquery-rails - rails (= 4.2.6) + jquery-turbolinks + minitest-reporters + omniauth + omniauth-github + pg + pry + rails (= 4.2.7) + rails_12factor sass-rails (~> 5.0) sdoc (~> 0.4.0) + simplecov spring + sqlite3 turbolinks uglifier (>= 1.3.0) web-console (~> 2.0) -RUBY VERSION - ruby 2.3.1p112 - BUNDLED WITH - 1.13.5 + 1.13.1 diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000000..dd4e97e22e --- /dev/null +++ b/README.rdoc @@ -0,0 +1,28 @@ +== README + +This README would normally document whatever steps are necessary to get the +application up and running. + +Things you may want to cover: + +* Ruby version + +* System dependencies + +* Configuration + +* Database creation + +* Database initialization + +* How to run the test suite + +* Services (job queues, cache servers, search engines, etc.) + +* Deployment instructions + +* ... + + +Please feel free to use a different markup language if you do not plan to run +rake doc:app. diff --git a/app/assets/images/NoProductImage.png b/app/assets/images/NoProductImage.png new file mode 100644 index 0000000000..29dc815944 Binary files /dev/null and b/app/assets/images/NoProductImage.png differ diff --git a/app/assets/images/NotYetsyLogo.png b/app/assets/images/NotYetsyLogo.png new file mode 100644 index 0000000000..6d0fc01b3c Binary files /dev/null and b/app/assets/images/NotYetsyLogo.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.16.29 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.16.29 PM.png new file mode 100644 index 0000000000..e1aa569760 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.16.29 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.16.41 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.16.41 PM.png new file mode 100644 index 0000000000..e8f17d82f3 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.16.41 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.16.54 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.16.54 PM.png new file mode 100644 index 0000000000..84b615f849 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.16.54 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.17.06 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.17.06 PM.png new file mode 100644 index 0000000000..18e0518067 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.17.06 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.17.18 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.17.18 PM.png new file mode 100644 index 0000000000..6b863b9a24 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.17.18 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.17.26 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.17.26 PM.png new file mode 100644 index 0000000000..d84d507c8c Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.17.26 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.17.33 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.17.33 PM.png new file mode 100644 index 0000000000..4119d7d160 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.17.33 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.17.47 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.17.47 PM.png new file mode 100644 index 0000000000..4ff7f1afe0 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.17.47 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.17.55 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.17.55 PM.png new file mode 100644 index 0000000000..d5850fbd32 Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.17.55 PM.png differ diff --git a/app/assets/images/Screen Shot 2016-10-24 at 5.18.04 PM.png b/app/assets/images/Screen Shot 2016-10-24 at 5.18.04 PM.png new file mode 100644 index 0000000000..a04f9c933b Binary files /dev/null and b/app/assets/images/Screen Shot 2016-10-24 at 5.18.04 PM.png differ diff --git a/app/assets/images/bath_bomb.jpg b/app/assets/images/bath_bomb.jpg new file mode 100644 index 0000000000..a27252cf99 Binary files /dev/null and b/app/assets/images/bath_bomb.jpg differ diff --git a/app/assets/images/bone_fish.jpg b/app/assets/images/bone_fish.jpg new file mode 100644 index 0000000000..44523a5134 Binary files /dev/null and b/app/assets/images/bone_fish.jpg differ diff --git a/app/assets/images/card_humanity.jpg b/app/assets/images/card_humanity.jpg new file mode 100644 index 0000000000..78af573409 Binary files /dev/null and b/app/assets/images/card_humanity.jpg differ diff --git a/app/assets/images/cat_watch.jpg b/app/assets/images/cat_watch.jpg new file mode 100644 index 0000000000..126e6ee631 Binary files /dev/null and b/app/assets/images/cat_watch.jpg differ diff --git a/app/assets/images/drunk_stoned_or_stupid.jpg b/app/assets/images/drunk_stoned_or_stupid.jpg new file mode 100644 index 0000000000..99f5eb9111 Binary files /dev/null and b/app/assets/images/drunk_stoned_or_stupid.jpg differ diff --git a/app/assets/images/elephant_wine.jpg b/app/assets/images/elephant_wine.jpg new file mode 100644 index 0000000000..f2435b2782 Binary files /dev/null and b/app/assets/images/elephant_wine.jpg differ diff --git a/app/assets/images/eyelash_goggles.jpg b/app/assets/images/eyelash_goggles.jpg new file mode 100644 index 0000000000..9dfeca6ca3 Binary files /dev/null and b/app/assets/images/eyelash_goggles.jpg differ diff --git a/app/assets/images/face.jpg b/app/assets/images/face.jpg new file mode 100644 index 0000000000..07f327964b Binary files /dev/null and b/app/assets/images/face.jpg differ diff --git a/app/assets/images/fake_banana.jpg b/app/assets/images/fake_banana.jpg new file mode 100644 index 0000000000..b51959c959 Binary files /dev/null and b/app/assets/images/fake_banana.jpg differ diff --git a/app/assets/images/finger_stash.jpg b/app/assets/images/finger_stash.jpg new file mode 100644 index 0000000000..fd0930ab41 Binary files /dev/null and b/app/assets/images/finger_stash.jpg differ diff --git a/app/assets/images/flamingo_lights.jpg b/app/assets/images/flamingo_lights.jpg new file mode 100644 index 0000000000..d5fa18b62d Binary files /dev/null and b/app/assets/images/flamingo_lights.jpg differ diff --git a/app/assets/images/galaxy_lollipops.jpg b/app/assets/images/galaxy_lollipops.jpg new file mode 100644 index 0000000000..f65ec5ac4f Binary files /dev/null and b/app/assets/images/galaxy_lollipops.jpg differ diff --git a/app/assets/images/giraffe.jpg b/app/assets/images/giraffe.jpg new file mode 100644 index 0000000000..c77c37f97b Binary files /dev/null and b/app/assets/images/giraffe.jpg differ diff --git a/app/assets/images/glass_dino.jpg b/app/assets/images/glass_dino.jpg new file mode 100644 index 0000000000..f97dc64187 Binary files /dev/null and b/app/assets/images/glass_dino.jpg differ diff --git a/app/assets/images/gosling_blanket.jpg b/app/assets/images/gosling_blanket.jpg new file mode 100644 index 0000000000..e4ca458fa3 Binary files /dev/null and b/app/assets/images/gosling_blanket.jpg differ diff --git a/app/assets/images/gosling_pillow.jpg b/app/assets/images/gosling_pillow.jpg new file mode 100644 index 0000000000..c7f6fa7e3d Binary files /dev/null and b/app/assets/images/gosling_pillow.jpg differ diff --git a/app/assets/images/hamock.jpg b/app/assets/images/hamock.jpg new file mode 100644 index 0000000000..190e6ff79a Binary files /dev/null and b/app/assets/images/hamock.jpg differ diff --git a/app/assets/images/hand.jpg b/app/assets/images/hand.jpg new file mode 100644 index 0000000000..c020f57751 Binary files /dev/null and b/app/assets/images/hand.jpg differ diff --git a/app/assets/images/hey_girl.jpg b/app/assets/images/hey_girl.jpg new file mode 100644 index 0000000000..e6eb2a19e8 Binary files /dev/null and b/app/assets/images/hey_girl.jpg differ diff --git a/app/assets/images/horse_lamp.jpg b/app/assets/images/horse_lamp.jpg new file mode 100644 index 0000000000..9fae6de4b6 Binary files /dev/null and b/app/assets/images/horse_lamp.jpg differ diff --git a/app/assets/images/hotdog_lego.jpg b/app/assets/images/hotdog_lego.jpg new file mode 100644 index 0000000000..5443e3ae14 Binary files /dev/null and b/app/assets/images/hotdog_lego.jpg differ diff --git a/app/assets/images/knives.jpg b/app/assets/images/knives.jpg new file mode 100644 index 0000000000..1562423bde Binary files /dev/null and b/app/assets/images/knives.jpg differ diff --git a/app/assets/images/ludicrous_choices.jpg b/app/assets/images/ludicrous_choices.jpg new file mode 100644 index 0000000000..1ce8fd3d9a Binary files /dev/null and b/app/assets/images/ludicrous_choices.jpg differ diff --git a/app/assets/images/mask.jpg b/app/assets/images/mask.jpg new file mode 100644 index 0000000000..f4eca0a2af Binary files /dev/null and b/app/assets/images/mask.jpg differ diff --git a/app/assets/images/mermaid_lego.jpg b/app/assets/images/mermaid_lego.jpg new file mode 100644 index 0000000000..db9dfd390f Binary files /dev/null and b/app/assets/images/mermaid_lego.jpg differ diff --git a/app/assets/images/monkey_pizza_cutter.jpg b/app/assets/images/monkey_pizza_cutter.jpg new file mode 100644 index 0000000000..7ec525956b Binary files /dev/null and b/app/assets/images/monkey_pizza_cutter.jpg differ diff --git a/app/assets/images/mustache_clips.jpg b/app/assets/images/mustache_clips.jpg new file mode 100644 index 0000000000..8b15cc3edb Binary files /dev/null and b/app/assets/images/mustache_clips.jpg differ diff --git a/app/assets/images/mythical_pillow.jpg b/app/assets/images/mythical_pillow.jpg new file mode 100644 index 0000000000..3670f1810e Binary files /dev/null and b/app/assets/images/mythical_pillow.jpg differ diff --git a/app/assets/images/nude_cat_pillow.jpg b/app/assets/images/nude_cat_pillow.jpg new file mode 100644 index 0000000000..9fa5103e14 Binary files /dev/null and b/app/assets/images/nude_cat_pillow.jpg differ diff --git a/app/assets/images/nude_cat_statue.jpg b/app/assets/images/nude_cat_statue.jpg new file mode 100644 index 0000000000..2ed82a37bb Binary files /dev/null and b/app/assets/images/nude_cat_statue.jpg differ diff --git a/app/assets/images/nudes_book.jpg b/app/assets/images/nudes_book.jpg new file mode 100644 index 0000000000..de36469ba4 Binary files /dev/null and b/app/assets/images/nudes_book.jpg differ diff --git a/app/assets/images/outlet_stash.jpg b/app/assets/images/outlet_stash.jpg new file mode 100644 index 0000000000..d67f25bce5 Binary files /dev/null and b/app/assets/images/outlet_stash.jpg differ diff --git a/app/assets/images/pac_man_clock.jpg b/app/assets/images/pac_man_clock.jpg new file mode 100644 index 0000000000..ea7e0c4ac5 Binary files /dev/null and b/app/assets/images/pac_man_clock.jpg differ diff --git a/app/assets/images/party_plungers.jpg b/app/assets/images/party_plungers.jpg new file mode 100644 index 0000000000..125c0d1eae Binary files /dev/null and b/app/assets/images/party_plungers.jpg differ diff --git a/app/assets/images/pens.jpg b/app/assets/images/pens.jpg new file mode 100644 index 0000000000..1d7c90e44d Binary files /dev/null and b/app/assets/images/pens.jpg differ diff --git a/app/assets/images/phone_case.jpg b/app/assets/images/phone_case.jpg new file mode 100644 index 0000000000..ad56f42d40 Binary files /dev/null and b/app/assets/images/phone_case.jpg differ diff --git a/app/assets/images/pig_egg.jpg b/app/assets/images/pig_egg.jpg new file mode 100644 index 0000000000..23e7b29e33 Binary files /dev/null and b/app/assets/images/pig_egg.jpg differ diff --git a/app/assets/images/pizza_raft.jpg b/app/assets/images/pizza_raft.jpg new file mode 100644 index 0000000000..2a87395739 Binary files /dev/null and b/app/assets/images/pizza_raft.jpg differ diff --git a/app/assets/images/rainbow_maker.jpg b/app/assets/images/rainbow_maker.jpg new file mode 100644 index 0000000000..37d9d7bddc Binary files /dev/null and b/app/assets/images/rainbow_maker.jpg differ diff --git a/app/assets/images/sheep.jpg b/app/assets/images/sheep.jpg new file mode 100644 index 0000000000..260f6386a8 Binary files /dev/null and b/app/assets/images/sheep.jpg differ diff --git a/app/assets/images/sphinx_bedding.jpg b/app/assets/images/sphinx_bedding.jpg new file mode 100644 index 0000000000..9e79db6b2f Binary files /dev/null and b/app/assets/images/sphinx_bedding.jpg differ diff --git a/app/assets/images/sphinx_book.jpg b/app/assets/images/sphinx_book.jpg new file mode 100644 index 0000000000..1e5ba4e847 Binary files /dev/null and b/app/assets/images/sphinx_book.jpg differ diff --git a/app/assets/images/sphinx_clock.jpg b/app/assets/images/sphinx_clock.jpg new file mode 100644 index 0000000000..d97047e1bb Binary files /dev/null and b/app/assets/images/sphinx_clock.jpg differ diff --git a/app/assets/images/sphinx_mask.jpg b/app/assets/images/sphinx_mask.jpg new file mode 100644 index 0000000000..fb76d917ac Binary files /dev/null and b/app/assets/images/sphinx_mask.jpg differ diff --git a/app/assets/images/sphinx_shirt.jpg b/app/assets/images/sphinx_shirt.jpg new file mode 100644 index 0000000000..58910bb50b Binary files /dev/null and b/app/assets/images/sphinx_shirt.jpg differ diff --git a/app/assets/images/spinning_zombie_game.jpg b/app/assets/images/spinning_zombie_game.jpg new file mode 100644 index 0000000000..87d8b07fd3 Binary files /dev/null and b/app/assets/images/spinning_zombie_game.jpg differ diff --git a/app/assets/images/sticky_notes.jpg b/app/assets/images/sticky_notes.jpg new file mode 100644 index 0000000000..1fd2393612 Binary files /dev/null and b/app/assets/images/sticky_notes.jpg differ diff --git a/app/assets/images/stress_balls.jpg b/app/assets/images/stress_balls.jpg new file mode 100644 index 0000000000..70fb826d1b Binary files /dev/null and b/app/assets/images/stress_balls.jpg differ diff --git a/app/assets/images/tea_infuser.jpg b/app/assets/images/tea_infuser.jpg new file mode 100644 index 0000000000..c79817f4e7 Binary files /dev/null and b/app/assets/images/tea_infuser.jpg differ diff --git a/app/assets/images/tire_swing.jpg b/app/assets/images/tire_swing.jpg new file mode 100644 index 0000000000..9b4b040e64 Binary files /dev/null and b/app/assets/images/tire_swing.jpg differ diff --git a/app/assets/images/umbrella.jpg b/app/assets/images/umbrella.jpg new file mode 100644 index 0000000000..8c4665010f Binary files /dev/null and b/app/assets/images/umbrella.jpg differ diff --git a/app/assets/images/unicorn.jpg b/app/assets/images/unicorn.jpg new file mode 100644 index 0000000000..5de6eb8bd5 Binary files /dev/null and b/app/assets/images/unicorn.jpg differ diff --git a/app/assets/images/unicorn_animal.jpg b/app/assets/images/unicorn_animal.jpg new file mode 100644 index 0000000000..ba3772f06d Binary files /dev/null and b/app/assets/images/unicorn_animal.jpg differ diff --git a/app/assets/images/unicorn_head.jpg b/app/assets/images/unicorn_head.jpg new file mode 100644 index 0000000000..394c9eab8f Binary files /dev/null and b/app/assets/images/unicorn_head.jpg differ diff --git a/app/assets/images/view_master.jpg b/app/assets/images/view_master.jpg new file mode 100644 index 0000000000..bba058655a Binary files /dev/null and b/app/assets/images/view_master.jpg differ diff --git a/app/assets/images/water.jpg b/app/assets/images/water.jpg new file mode 100644 index 0000000000..8ebaa16a68 Binary files /dev/null and b/app/assets/images/water.jpg differ diff --git a/app/assets/images/wedding_ring.jpg b/app/assets/images/wedding_ring.jpg new file mode 100644 index 0000000000..5d9547ebd3 Binary files /dev/null and b/app/assets/images/wedding_ring.jpg differ diff --git a/app/assets/images/wig.jpg b/app/assets/images/wig.jpg new file mode 100644 index 0000000000..ca17f66514 Binary files /dev/null and b/app/assets/images/wig.jpg differ diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index e07c5a830f..038d8d7ecc 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -12,5 +12,15 @@ // //= require jquery //= require jquery_ujs +//= require foundation //= require turbolinks //= require_tree . + +$(function(){ $(document).foundation(); }); + +//= require foundation +$(document).foundation(); + +$(document).on('turbolinks:load', function() { + $(function(){ $(document).foundation(); }); +}); diff --git a/app/assets/javascripts/categories.coffee b/app/assets/javascripts/categories.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/categories.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/javascripts/guests.coffee b/app/assets/javascripts/guests.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/guests.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/javascripts/landing.coffee b/app/assets/javascripts/landing.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/landing.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/javascripts/merchants.coffee b/app/assets/javascripts/merchants.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/merchants.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/javascripts/orders.coffee b/app/assets/javascripts/orders.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/orders.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/javascripts/products.coffee b/app/assets/javascripts/products.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/products.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/javascripts/reviews.coffee b/app/assets/javascripts/reviews.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/reviews.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/javascripts/sessions.coffee b/app/assets/javascripts/sessions.coffee new file mode 100644 index 0000000000..24f83d18bb --- /dev/null +++ b/app/assets/javascripts/sessions.coffee @@ -0,0 +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://coffeescript.org/ diff --git a/app/assets/stylesheets/_settings.scss b/app/assets/stylesheets/_settings.scss new file mode 100644 index 0000000000..703053eb9d --- /dev/null +++ b/app/assets/stylesheets/_settings.scss @@ -0,0 +1,574 @@ +// Foundation for Sites Settings +// ----------------------------- +// +// Table of Contents: +// +// 1. Global +// 2. Breakpoints +// 3. The Grid +// 4. Base Typography +// 5. Typography Helpers +// 6. Abide +// 7. Accordion +// 8. Accordion Menu +// 9. Badge +// 10. Breadcrumbs +// 11. Button +// 12. Button Group +// 13. Callout +// 14. Close Button +// 15. Drilldown +// 16. Dropdown +// 17. Dropdown Menu +// 18. Flex Video +// 19. Forms +// 20. Label +// 21. Media Object +// 22. Menu +// 23. Meter +// 24. Off-canvas +// 25. Orbit +// 26. Pagination +// 27. Progress Bar +// 28. Reveal +// 29. Slider +// 30. Switch +// 31. Table +// 32. Tabs +// 33. Thumbnail +// 34. Title Bar +// 35. Tooltip +// 36. Top Bar + +@import 'util/util'; + +// 1. Global +// --------- + +$global-font-size: 100%; +$global-width: rem-calc(1200); +$global-lineheight: 1.5; +$foundation-palette: ( + primary: #2199e8, + secondary: #777, + success: #3adb76, + warning: #ffae00, + alert: #ec5840, +); +$light-gray: #e6e6e6; +$medium-gray: #cacaca; +$dark-gray: #8a8a8a; +$black: #0a0a0a; +$white: #fefefe; +$body-background: $white; +$body-font-color: $black; +$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; +$body-antialiased: true; +$global-margin: 1rem; +$global-padding: 1rem; +$global-weight-normal: normal; +$global-weight-bold: bold; +$global-radius: 0; +$global-text-direction: ltr; +$global-flexbox: false; +$print-transparent-backgrounds: true; + +@include add-foundation-colors; + +// 2. Breakpoints +// -------------- + +$breakpoints: ( + small: 0, + medium: 640px, + large: 1024px, + xlarge: 1200px, + xxlarge: 1440px, +); +$breakpoint-classes: (small medium large); + +// 3. The Grid +// ----------- + +$grid-row-width: $global-width; +$grid-column-count: 12; +$grid-column-gutter: ( + small: 20px, + medium: 30px, +); +$grid-column-align-edge: true; +$block-grid-max: 8; + +// 4. Base Typography +// ------------------ + +$header-font-family: $body-font-family; +$header-font-weight: $global-weight-normal; +$header-font-style: normal; +$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace; +$header-sizes: ( + small: ( + 'h1': 24, + 'h2': 20, + 'h3': 19, + 'h4': 18, + 'h5': 17, + 'h6': 16, + ), + medium: ( + 'h1': 48, + 'h2': 40, + 'h3': 31, + 'h4': 25, + 'h5': 20, + 'h6': 16, + ), +); +$header-color: inherit; +$header-lineheight: 1.4; +$header-margin-bottom: 0.5rem; +$header-text-rendering: optimizeLegibility; +$small-font-size: 80%; +$header-small-font-color: $medium-gray; +$paragraph-lineheight: 1.6; +$paragraph-margin-bottom: 1rem; +$paragraph-text-rendering: optimizeLegibility; +$code-color: $black; +$code-font-family: $font-family-monospace; +$code-font-weight: $global-weight-normal; +$code-background: $light-gray; +$code-border: 1px solid $medium-gray; +$code-padding: rem-calc(2 5 1); +$anchor-color: $primary-color; +$anchor-color-hover: scale-color($anchor-color, $lightness: -14%); +$anchor-text-decoration: none; +$anchor-text-decoration-hover: none; +$hr-width: $global-width; +$hr-border: 1px solid $medium-gray; +$hr-margin: rem-calc(20) auto; +$list-lineheight: $paragraph-lineheight; +$list-margin-bottom: $paragraph-margin-bottom; +$list-style-type: disc; +$list-style-position: outside; +$list-side-margin: 1.25rem; +$list-nested-side-margin: 1.25rem; +$defnlist-margin-bottom: 1rem; +$defnlist-term-weight: $global-weight-bold; +$defnlist-term-margin-bottom: 0.3rem; +$blockquote-color: $dark-gray; +$blockquote-padding: rem-calc(9 20 0 19); +$blockquote-border: 1px solid $medium-gray; +$cite-font-size: rem-calc(13); +$cite-color: $dark-gray; +$keystroke-font: $font-family-monospace; +$keystroke-color: $black; +$keystroke-background: $light-gray; +$keystroke-padding: rem-calc(2 4 0); +$keystroke-radius: $global-radius; +$abbr-underline: 1px dotted $black; + +// 5. Typography Helpers +// --------------------- + +$lead-font-size: $global-font-size * 1.25; +$lead-lineheight: 1.6; +$subheader-lineheight: 1.4; +$subheader-color: $dark-gray; +$subheader-font-weight: $global-weight-normal; +$subheader-margin-top: 0.2rem; +$subheader-margin-bottom: 0.5rem; +$stat-font-size: 2.5rem; + +// 6. Abide +// -------- + +$abide-inputs: true; +$abide-labels: true; +$input-background-invalid: map-get($foundation-palette, alert); +$form-label-color-invalid: map-get($foundation-palette, alert); +$input-error-color: map-get($foundation-palette, alert); +$input-error-font-size: rem-calc(12); +$input-error-font-weight: $global-weight-bold; + +// 7. Accordion +// ------------ + +$accordion-background: $white; +$accordion-plusminus: true; +$accordion-item-color: foreground($accordion-background, $primary-color); +$accordion-item-background-hover: $light-gray; +$accordion-item-padding: 1.25rem 1rem; +$accordion-content-background: $white; +$accordion-content-border: 1px solid $light-gray; +$accordion-content-color: foreground($accordion-content-background, $body-font-color); +$accordion-content-padding: 1rem; + +// 8. Accordion Menu +// ----------------- + +$accordionmenu-arrows: true; +$accordionmenu-arrow-color: $primary-color; + +// 9. Badge +// -------- + +$badge-background: $primary-color; +$badge-color: foreground($badge-background); +$badge-padding: 0.3em; +$badge-minwidth: 2.1em; +$badge-font-size: 0.6rem; + +// 10. Breadcrumbs +// --------------- + +$breadcrumbs-margin: 0 0 $global-margin 0; +$breadcrumbs-item-font-size: rem-calc(11); +$breadcrumbs-item-color: $primary-color; +$breadcrumbs-item-color-current: $black; +$breadcrumbs-item-color-disabled: $medium-gray; +$breadcrumbs-item-margin: 0.75rem; +$breadcrumbs-item-uppercase: true; +$breadcrumbs-item-slash: true; + +// 11. Button +// ---------- + +$button-padding: 0.85em 1em; +$button-margin: 0 0 $global-margin 0; +$button-fill: solid; +$button-background: $primary-color; +$button-background-hover: scale-color($button-background, $lightness: -15%); +$button-color: $white; +$button-color-alt: $black; +$button-radius: $global-radius; +$button-sizes: ( + tiny: 0.6rem, + small: 0.75rem, + default: 0.9rem, + large: 1.25rem, +); +$button-opacity-disabled: 0.25; +$button-background-hover-lightness: -20%; +$button-hollow-hover-lightness: -50%; + +// 12. Button Group +// ---------------- + +$buttongroup-margin: 1rem; +$buttongroup-spacing: 1px; +$buttongroup-child-selector: '.button'; +$buttongroup-expand-max: 6; + +// 13. Callout +// ----------- + +$callout-background: $white; +$callout-background-fade: 85%; +$callout-border: 1px solid rgba($black, 0.25); +$callout-margin: 0 0 1rem 0; +$callout-padding: 1rem; +$callout-font-color: $body-font-color; +$callout-font-color-alt: $body-background; +$callout-radius: $global-radius; +$callout-link-tint: 30%; + +// 14. Close Button +// ---------------- + +$closebutton-position: right top; +$closebutton-offset-horizontal: 1rem; +$closebutton-offset-vertical: 0.5rem; +$closebutton-size: 2em; +$closebutton-lineheight: 1; +$closebutton-color: $dark-gray; +$closebutton-color-hover: $black; + +// 15. Drilldown +// ------------- + +$drilldown-transition: transform 0.15s linear; +$drilldown-arrows: true; +$drilldown-arrow-color: $primary-color; +$drilldown-background: $white; + +// 16. Dropdown +// ------------ + +$dropdown-padding: 1rem; +$dropdown-border: 1px solid $medium-gray; +$dropdown-font-size: 1rem; +$dropdown-width: 300px; +$dropdown-radius: $global-radius; +$dropdown-sizes: ( + tiny: 100px, + small: 200px, + large: 400px, +); + +// 17. Dropdown Menu +// ----------------- + +$dropdownmenu-arrows: true; +$dropdownmenu-arrow-color: $anchor-color; +$dropdownmenu-min-width: 200px; +$dropdownmenu-background: $white; +$dropdownmenu-border: 1px solid $medium-gray; + +// 18. Flex Video +// -------------- + +$flexvideo-margin-bottom: rem-calc(16); +$flexvideo-ratio: 4 by 3; +$flexvideo-ratio-widescreen: 16 by 9; + +// 19. Forms +// --------- + +$fieldset-border: 1px solid $medium-gray; +$fieldset-padding: rem-calc(20); +$fieldset-margin: rem-calc(18 0); +$legend-padding: rem-calc(0 3); +$form-spacing: rem-calc(16); +$helptext-color: $black; +$helptext-font-size: rem-calc(13); +$helptext-font-style: italic; +$input-prefix-color: $black; +$input-prefix-background: $light-gray; +$input-prefix-border: 1px solid $medium-gray; +$input-prefix-padding: 1rem; +$form-label-color: $black; +$form-label-font-size: rem-calc(14); +$form-label-font-weight: $global-weight-normal; +$form-label-line-height: 1.8; +$select-background: $white; +$select-triangle-color: $dark-gray; +$select-radius: $global-radius; +$input-color: $black; +$input-placeholder-color: $medium-gray; +$input-font-family: inherit; +$input-font-size: rem-calc(16); +$input-background: $white; +$input-background-focus: $white; +$input-background-disabled: $light-gray; +$input-border: 1px solid $medium-gray; +$input-border-focus: 1px solid $dark-gray; +$input-shadow: inset 0 1px 2px rgba($black, 0.1); +$input-shadow-focus: 0 0 5px $medium-gray; +$input-cursor-disabled: not-allowed; +$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out; +$input-number-spinners: true; +$input-radius: $global-radius; +$button-radius: $global-radius; + +// 20. Label +// --------- + +$label-background: $primary-color; +$label-color: foreground($label-background); +$label-font-size: 0.8rem; +$label-padding: 0.33333rem 0.5rem; +$label-radius: $global-radius; + +// 21. Media Object +// ---------------- + +$mediaobject-margin-bottom: $global-margin; +$mediaobject-section-padding: $global-padding; +$mediaobject-image-width-stacked: 100%; + +// 22. Menu +// -------- + +$menu-margin: 0; +$menu-margin-nested: 1rem; +$menu-item-padding: 0.7rem 1rem; +$menu-item-color-active: $white; +$menu-item-background-active: map-get($foundation-palette, primary); +$menu-icon-spacing: 0.25rem; + +// 23. Meter +// --------- + +$meter-height: 1rem; +$meter-radius: $global-radius; +$meter-background: $medium-gray; +$meter-fill-good: $success-color; +$meter-fill-medium: $warning-color; +$meter-fill-bad: $alert-color; + +// 24. Off-canvas +// -------------- + +$offcanvas-size: 250px; +$offcanvas-background: $light-gray; +$offcanvas-zindex: -1; +$offcanvas-transition-length: 0.5s; +$offcanvas-transition-timing: ease; +$offcanvas-fixed-reveal: true; +$offcanvas-exit-background: rgba($white, 0.25); +$maincontent-class: 'off-canvas-content'; +$maincontent-shadow: 0 0 10px rgba($black, 0.5); + +// 25. Orbit +// --------- + +$orbit-bullet-background: $medium-gray; +$orbit-bullet-background-active: $dark-gray; +$orbit-bullet-diameter: 1.2rem; +$orbit-bullet-margin: 0.1rem; +$orbit-bullet-margin-top: 0.8rem; +$orbit-bullet-margin-bottom: 0.8rem; +$orbit-caption-background: rgba($black, 0.5); +$orbit-caption-padding: 1rem; +$orbit-control-background-hover: rgba($black, 0.5); +$orbit-control-padding: 1rem; +$orbit-control-zindex: 10; + +// 26. Pagination +// -------------- + +$pagination-font-size: rem-calc(14); +$pagination-margin-bottom: $global-margin; +$pagination-item-color: $black; +$pagination-item-padding: rem-calc(3 10); +$pagination-item-spacing: rem-calc(1); +$pagination-radius: $global-radius; +$pagination-item-background-hover: $light-gray; +$pagination-item-background-current: $primary-color; +$pagination-item-color-current: foreground($pagination-item-background-current); +$pagination-item-color-disabled: $medium-gray; +$pagination-ellipsis-color: $black; +$pagination-mobile-items: false; +$pagination-mobile-current-item: false; +$pagination-arrows: true; + +// 27. Progress Bar +// ---------------- + +$progress-height: 1rem; +$progress-background: $medium-gray; +$progress-margin-bottom: $global-margin; +$progress-meter-background: $primary-color; +$progress-radius: $global-radius; + +// 28. Reveal +// ---------- + +$reveal-background: $white; +$reveal-width: 600px; +$reveal-max-width: $global-width; +$reveal-padding: $global-padding; +$reveal-border: 1px solid $medium-gray; +$reveal-radius: $global-radius; +$reveal-zindex: 1005; +$reveal-overlay-background: rgba($black, 0.45); + +// 29. Slider +// ---------- + +$slider-width-vertical: 0.5rem; +$slider-transition: all 0.2s ease-in-out; +$slider-height: 0.5rem; +$slider-background: $light-gray; +$slider-fill-background: $medium-gray; +$slider-handle-height: 1.4rem; +$slider-handle-width: 1.4rem; +$slider-handle-background: $primary-color; +$slider-opacity-disabled: 0.25; +$slider-radius: $global-radius; + +// 30. Switch +// ---------- + +$switch-background: $medium-gray; +$switch-background-active: $primary-color; +$switch-height: 2rem; +$switch-height-tiny: 1.5rem; +$switch-height-small: 1.75rem; +$switch-height-large: 2.5rem; +$switch-radius: $global-radius; +$switch-margin: $global-margin; +$switch-paddle-background: $white; +$switch-paddle-offset: 0.25rem; +$switch-paddle-radius: $global-radius; +$switch-paddle-transition: all 0.25s ease-out; + +// 31. Table +// --------- + +$table-background: $white; +$table-color-scale: 5%; +$table-border: 1px solid smart-scale($table-background, $table-color-scale); +$table-padding: rem-calc(8 10 10); +$table-hover-scale: 2%; +$table-row-hover: darken($table-background, $table-hover-scale); +$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale); +$table-striped-background: smart-scale($table-background, $table-color-scale); +$table-stripe: even; +$table-head-background: smart-scale($table-background, $table-color-scale / 2); +$table-head-row-hover: darken($table-head-background, $table-hover-scale); +$table-foot-background: smart-scale($table-background, $table-color-scale); +$table-foot-row-hover: darken($table-foot-background, $table-hover-scale); +$table-head-font-color: $body-font-color; +$table-foot-font-color: $body-font-color; +$show-header-for-stacked: false; + +// 32. Tabs +// -------- + +$tab-margin: 0; +$tab-background: $white; +$tab-background-active: $light-gray; +$tab-item-font-size: rem-calc(12); +$tab-item-background-hover: $white; +$tab-item-padding: 1.25rem 1.5rem; +$tab-expand-max: 6; +$tab-content-background: $white; +$tab-content-border: $light-gray; +$tab-content-color: foreground($tab-background, $primary-color); +$tab-content-padding: 1rem; + +// 33. Thumbnail +// ------------- + +$thumbnail-border: solid 4px $white; +$thumbnail-margin-bottom: $global-margin; +$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2); +$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5); +$thumbnail-transition: box-shadow 200ms ease-out; +$thumbnail-radius: $global-radius; + +// 34. Title Bar +// ------------- + +$titlebar-background: $black; +$titlebar-color: $white; +$titlebar-padding: 0.5rem; +$titlebar-text-font-weight: bold; +$titlebar-icon-color: $white; +$titlebar-icon-color-hover: $medium-gray; +$titlebar-icon-spacing: 0.25rem; + +// 35. Tooltip +// ----------- + +$has-tip-font-weight: $global-weight-bold; +$has-tip-border-bottom: dotted 1px $dark-gray; +$tooltip-background-color: $black; +$tooltip-color: $white; +$tooltip-padding: 0.75rem; +$tooltip-font-size: $small-font-size; +$tooltip-pip-width: 0.75rem; +$tooltip-pip-height: $tooltip-pip-width * 0.866; +$tooltip-radius: $global-radius; + +// 36. Top Bar +// ----------- + +$topbar-padding: 0.5rem; +$topbar-background: $light-gray; +$topbar-submenu-background: $topbar-background; +$topbar-title-spacing: 1rem; +$topbar-input-width: 200px; +$topbar-unstack-breakpoint: medium; + diff --git a/app/assets/stylesheets/app.css b/app/assets/stylesheets/app.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css deleted file mode 100644 index f9cd5b3483..0000000000 --- a/app/assets/stylesheets/application.css +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This is a manifest file that'll be compiled into application.css, which will include all the files - * listed below. - * - * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, - * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. - * - * You're free to add application-wide styles to this file and they'll appear at the bottom of the - * compiled file so the styles you add here take precedence over styles defined in any styles - * defined in the other CSS/SCSS files in this directory. It is generally better to create a new - * file per style scope. - * - *= require_tree . - *= require_self - */ diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss new file mode 100644 index 0000000000..e54c8cd2e8 --- /dev/null +++ b/app/assets/stylesheets/application.scss @@ -0,0 +1,308 @@ +@import url('foundation.css'); + +// /* +// * This is a manifest file that'll be compiled into application.css, which will include all the files +// * listed below. +// * +// * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, +// * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. +// * +// * You're free to add application-wide styles to this file and they'll appear at the bottom of the +// * compiled file so the styles you add here take precedence over styles defined in any styles +// * defined in the other CSS/SCSS files in this directory. It is generally better to create a new +// * file per style scope. +// * +// *= require_tree . +// *= require_self +//= require foundation_and_overrides + + +header { + width: 100%; + border-bottom: 1px solid black; +} + +main { + padding-bottom: 12vh; +} + +div#checkout form { + padding-bottom: 20vh; +} +.greeting-message { + margin: 2%; + font-family: 'Unica One', 'Kaushan Script', cursive; + letter-spacing: 4px; +} + + +footer { + display: block; + width: 100%; + border-top: 1px solid black; + margin-top: 5vh; + background-color: white; + color: black; + vertical-align: middle; + font-weight: 200; + text-align: center; + position: fixed; + bottom: 0; + clear: both; +} + +footer p { + padding-top: 1%; +} + + +.dropdown { + display: inline-block; +} + + + h1{font-size: 2em;} + h2 {font-size: 1.5em;} + +ul li { + display: block; + text-align: center; + margin-left: auto; + margin-right: auto; +} +ul.row { + width: 80%; +} + +table { + margin-left: auto; + margin-right: auto; + width: 80%; + font-size: .9em; +} + +.give_me_a_margin { + border: 1px solid black; +} +body {margin: 1%;} + + + + + + + + + + +.top-bar { + border-bottom: 1px solid black; + border-top: 1px solid black; + background-color: white; +} + +.categories-explaination { + padding: 0.7rem 1rem; + margin: 0; +} + + +.top-bar-left { + width: 80%; + margin-left: 9%; + background-color: white; +} + +.top-bar-left .dropdown { + background-color: white; +} + +.orbit-slide div h3 a { + font-family: 'Unica One', 'Kaushan Script', cursive; + color: black; +} + +.orbit-slide div h3 a:hover { + font-weight: 600; +} + +.orbit-slide div { + text-align: center; +} + +.orbit-slide div p.orbit-display { + display: inline-block; + margin: 1% 2%; + text-align: center; +} + +.product-name { + text-align: center; +} + +.product-name a { + font-family: 'Unica One', 'Kaushan Script', cursive; + color: black; + font-size: 1.8rem; + letter-spacing: 2px; +} + +.product-name a:hover { + font-weight: 600; +} + +h1.product-name { + text-align: center; + margin: auto; + font-family: 'Raleway', cursive; + text-transform: uppercase; + padding-bottom: 1%; + width: 50%; + border-bottom: 0.75px solid black; + color: black; + letter-spacing: 2px; +} + +.product-info-main-container { + margin-top: 3%; +} + +.product-image-main { + text-align: right; +} +.price-and-inventory-container, .product-merchant-buttons-container, .add-to-cart-section-container { + margin: 3% 0; +} + +.price-and-inventory, .product-merchant-buttons, .add-to-cart-section { + display: inline-block; +} + +.price-and-inventory:last-of-type, .product-merchant-buttons:last-of-type { + margin-left: 10%; +} + + +.add-to-cart-section.quantity-input { + width: 60%; +} + +.add-to-cart-section-container form .add-to-cart { + display: inline-block; +} + +.quantity-input-button .btn-primary { + padding: 7%; +} + +span.identifier-field { + font-weight: 600; + text-transform: uppercase; +} +p.product-description-paragraph { + line-height: 2; +} + +.product-reviews-heading { + border-bottom: 0.75px solid black; + margin-top: 5%; +} + +.one-review { + margin: 5% 0; + border-bottom: 0.25px solid lightgray; +} + +.stars-and-author { + // border-bottom: 0.75px solid black; + margin-left: 3%; +} + + +div.product-name-div { + height: 15vh; +} + +.product-photo { + max-height: 250px; +} + +.product-grid { + margin-top: 3%; +} + + +h4.order-number { + text-align: center; + margin-top: 3%; +} + + +// ###### Media Screen Differences ###### + +@media only screen { + div.top-header { + text-align: center; + } + + img.not-yetsy-main-logo { + // width: 60%; + // margin: 0 20%; + display: none; + } + + nav { + margin-top: 0%; + text-align: center; + } + + nav ul.nav-list li { + display: inline-block; + margin: 1% 2%; + font-size: 1rem; + } + + h1.mobile-header { + display: block; + font-size: .7rem; + letter-spacing: 2px; + } + + h1.mobile-header span { + font-family: 'Unica One', 'Kaushan Script', cursive; + font-size: 2.1rem; + } + + div.top-bar { + display: none; + } +} + + + +@media only screen and (min-width: 40.063em) { + img.not-yetsy-main-logo { + width: 25%; + display: inline-block; + } + + nav { + margin-top: 5%; + text-align: center; + } + + nav ul.nav-list li { + display: inline-block; + margin: 1% 1.2%; + font-size: 1.2rem; + } + + + h1.mobile-header { + display: none; + } + + div.top-bar { + display: block; + } +} diff --git a/app/assets/stylesheets/categories.scss b/app/assets/stylesheets/categories.scss new file mode 100644 index 0000000000..ef1657f8c9 --- /dev/null +++ b/app/assets/stylesheets/categories.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the categories controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/assets/stylesheets/foundation.css b/app/assets/stylesheets/foundation.css new file mode 100644 index 0000000000..14a0d5a9f6 --- /dev/null +++ b/app/assets/stylesheets/foundation.css @@ -0,0 +1,4196 @@ +@charset "UTF-8"; +/** + * Foundation for Sites by ZURB + * Version 6.2.3 + * foundation.zurb.com + * Licensed under MIT Open Source + */ +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS and IE text size adjust after device orientation change, + * without disabling user zoom. + */ +html { + font-family:'Open Sans Condensed', 'Raleway', sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ } + +/** + * Remove default margin. + */ +body { + margin: 0; } + +/* HTML5 display definitions + ========================================================================== */ +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; } + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ +audio, +canvas, +progress, +video { + display: inline-block; + /* 1 */ + vertical-align: baseline; + /* 2 */ } + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ +audio:not([controls]) { + display: none; + height: 0; } + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. + */ +[hidden], +template { + display: none; } + +/* Links + ========================================================================== */ +/** + * Remove the gray background color from active links in IE 10. + */ +a { + background-color: transparent; } + +/** + * Improve readability of focused elements when they are also in an + * active/hover state. + */ +a:active, +a:hover { + outline: 0; } + +/* Text-level semantics + ========================================================================== */ +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ +abbr[title] { + border-bottom: 1px dotted; } + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ +b, +strong { + font-weight: bold; } + +/** + * Address styling not present in Safari and Chrome. + */ +dfn { + font-style: italic; } + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; } + +/** + * Address styling not present in IE 8/9. + */ +mark { + background: #ff0; + color: #000; } + +/** + * Address inconsistent and variable font size in all browsers. + */ +small { + font-size: 80%; } + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +/* Embedded content + ========================================================================== */ +/** + * Remove border when inside `a` element in IE 8/9/10. + */ +img { + border: 0; } + +/** + * Correct overflow not hidden in IE 9/10/11. + */ +svg:not(:root) { + overflow: hidden; } + +/* Grouping content + ========================================================================== */ +/** + * Address margin not present in IE 8/9 and Safari. + */ +figure { + margin: 1em 40px; } + +/** + * Address differences between Firefox and other browsers. + */ +hr { + box-sizing: content-box; + height: 0; } + +/** + * Contain overflow in all browsers. + */ +pre { + overflow: auto; } + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; } + +/* Forms + ========================================================================== */ +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ +button, +input, +optgroup, +select, +textarea { + color: inherit; + /* 1 */ + font: inherit; + /* 2 */ + margin: 0; + /* 3 */ } + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ +button { + overflow: visible; } + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ +button, +select { + text-transform: none; } + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ } + +/** + * Re-set default cursor for disabled elements. + */ +button[disabled], +html input[disabled] { + cursor: not-allowed; } + +/** + * Remove inner padding and border in Firefox 4+. + */ +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; } + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ +input { + line-height: normal; } + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ } + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; } + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome. + */ +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + box-sizing: content-box; + /* 2 */ } + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +/** + * Define consistent border, margin, and padding. + * [NOTE] We don't enable this ruleset in Foundation, because we want the