Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sports Bracket

Work to be completed

  • FINISH CSS THEMES (Already half done)
    1. themes/light.less should approximately like the photo in mock-images/light.png
      ![dark](https://github.com/cloudstitch/app-bracket/blob/master/mock-images/light.png?raw=true = 150x)
    2. themes/dark.less should look approximately like the photo in mock-images/dark.png
      ![dark](https://github.com/cloudstitch/app-bracket/blob/master/mock-images/dark.png?raw=true = 150x)
    3. themes/ncaa.less should look approximately like the photo in mock-images/ncaa.png
      ![dark](https://github.com/cloudstitch/app-bracket/blob/master/mock-images/ncaa.png?raw=true = 150x)
  • CREATE THE WINNER MATCH BLOCK AND SET THE WINNER POSITION
    1. The test harness lets you toggle between three diffrent bracket sizes. full, half, and quarter. The bracket should be centered in its container for each of these sizes.
    2. The full size should have the winner match in the center bottom. The half and quarter sizes should have the winner match vertically centered to the right of the bracket
  • DRAW DASHED LINES BETWEEN MATCHES
    1. Dashed or solid lines should be drawn between the matches like the mockup images show. It's ok for the lines to be in the same place for all themes, and just have the visual styles change. Using Javascript to draw the lines is OK as long as resizing the bracket does not break the rendering.
  • FIX VERTICAL POSITIONING OF MATCHES
    1. Each match (except for the final match) should be located exactly vertically between its parent matches. Right now the positioning is a bit off.

The entire bracket should magnify smoothly (as the prototype does now)

Development instructions:

Complete the LESS and Javascript necessary to implement a sports bracket.

  • The Javascript and HTML should be the same across all themes
  • The three themes should be implemented using the LESS files in themes/
  • The way to invoke a theme shall be an outer class wrapper on the whole widget. The test harness in index.html does this for you.
  • This should largely be a CSS exercise: please do not change the structure or annotations on the HTML, which we are using to connect this bracket to a Newspaper's back-end database

Build instructions:

  • To build the less, run lessc bracket.less > bracket.css

Test instructions:

  • Load index.html in the browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages