This is the repo for the Denver Burger Club site.
analyticspierce / denver-burger-club Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://www.denverburgerclub.org
Home Page: http://www.denverburgerclub.org
In chrome on the iphone, the burger club logo does not show up in the nav menu.
2015-03-24T18:13:41.977839+00:00 app[web.1]: ** [Airbrake] Notice was not sent due to configuration:
2015-03-24T18:13:41.810855+00:00 app[web.1]: source=rack-timeout id=948a394d-781d-4368-9b5a-054de3bb1ef7 wait=42ms timeout=10000ms service=3ms state=active
2015-03-24T18:13:41.977846+00:00 app[web.1]: API key set? false
the fields to add numeric scores have the entire keypad come up. how can we make this just show the decimal keypad since these are numeric fields. on desktop web, these fields only take numbers.
- $centered-navigation-item-padding: 1em; > + $centered-navigation-submenu-padding: 1em; > + $centered-navigation-submenu-width: 12em; > + $centered-navigation-item-nudge: 2.2em; > + $horizontal-bar-mode: $large-screen; > + > + background-color: $centered-navigation-background; > + border-bottom: 1px solid darken($centered-navigation-background, 6%); > + min-height: $centered-navigation-height; > + width: 100%; > + z-index: 9999; > + > + // Mobile view > + > + .mobile-logo { > + display: inline;
Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
- &:hover { > + color: $centered-navigation-color-hover; > + } > + } > + > + // Nav menu > + > + .centered-navigation-wrapper { > + @include outer-container; > + @include clearfix; > + position: relative; > + z-index: 999; > + } > + > + ul.centered-navigation-menu { > + -webkit-transform-style: preserve-3d; // stop webkit flicker
Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
Properties should be ordered clear, display, margin, overflow, padding, -webkit-transform-style, width, z-index
Avoid vendor prefixes.
- a { > + margin-right: $centered-navigation-submenu-padding; > + } > + > + > a { > + padding-right: 0.6em; > + } > + > + > a:after { > + @include position(absolute, auto -0.4em auto auto); > + color: $centered-navigation-color; > + content: "\25BE"; > + } > + } > + > + li.more {
Merge rule li.more with rule on line 156
Avoid qualifying class selectors with an element.
In app/assets/stylesheets/_centered_navigation.css.scss:
Avoid qualifying class selectors with an element.
Avoid qualifying class selectors with an element.
Selector should have depth of applicability no greater than 2, but was 3
- line-height: 0; > + > + @include media($large-screen) { > + display: inline; > + } > + } > + > + .logo img { > + margin-bottom: -$centered-navigation-logo-height / 3; > + max-height: $centered-navigation-logo-height; > + opacity: 0.6; > + } > + > + // Sub menus > + > + li.more.nav-link {
Avoid qualifying class selectors with an element.
- color: $centered-navigation-color-hover; > + } > + } > + > + @include media($horizontal-bar-mode) { > + background: transparent; > + display: inline; > + line-height: $centered-navigation-height; > + > + a { > + padding-right: $centered-navigation-item-padding; > + } > + } > + } > + > + li.logo.nav-link {
Avoid qualifying class selectors with an element.
- @include media ($horizontal-bar-mode) { > + display: block; > + text-align: center; > + } > + } > + > + // The nav items > + > + .nav-link:first-child { > + @include media($horizontal-bar-mode) { > + margin-left: $centered-navigation-item-nudge; > + } > + } > + > + ul li.nav-link { > + background: $centered-navigation-background;
Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
- right: $centered-navigation-submenu-padding / 2; > + } > + } > + > + &:focus > .submenu, > + &:hover > .submenu { > + display: block; > + } > + > + @include media($horizontal-bar-mode) { > + padding-right: $centered-navigation-submenu-padding; > + position: relative; > + } > + } > + > + ul.submenu {
Avoid qualifying class selectors with an element.
- margin-right: $centered-navigation-submenu-padding; > + } > + > + > a { > + padding-right: 0.6em; > + } > + > + > a:after { > + @include position(absolute, auto -0.4em auto auto); > + color: $centered-navigation-color; > + content: "\25BE"; > + } > + } > + > + li.more { > + overflow: visible;
Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
Pending:
Judge add some examples to (or delete) /Users/pierce/Documents/MSD/projects/msd/denver-burger-club/spec/models/judge_spec.rb
# Not yet implemented
# ./spec/models/judge_spec.rb:4
Restaurant add some examples to (or delete) /Users/pierce/Documents/MSD/projects/msd/denver-burger-club/spec/models/restaurant_spec.rb
# Not yet implemented
# ./spec/models/restaurant_spec.rb:4
Review add some examples to (or delete) /Users/pierce/Documents/MSD/projects/msd/denver-burger-club/spec/models/review_spec.rb
# Not yet implemented
# ./spec/models/review_spec.rb:4
judges should be able to write a comment and see the whole comment in the box
also update the score submitted by Ryan to be submitted by Phil
restaurants, judges, and existing reviews need to be added to production
https://codeclimate.com/repos/54ded9886956806ffe009f40/coverage_setup
Add the codeclimate-test-reporter gem to your Gemfile:
gem "codeclimate-test-reporter", group: :test, require: nil
Start the test reporter on the very first line of spec_helper.rb or test_helper.rb:
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
When you run your tests on CI, set the CODECLIMATE_REPO_TOKEN environment variable:
$ CODECLIMATE_REPO_TOKEN=062cf0f713ab64981847dc43e9eb02dbe581fe1f783c7b1acb0087fa18942631 bundle exec rake
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.