Skip to content

Commit 0a51759

Browse files
committed
Add zurb-foundation to make it look sane
1 parent fff2022 commit 0a51759

11 files changed

+1508
-23
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@ Poker clock in hexagonal.js
22
====================
33

44
Always know when it's time to increase blinds during Holdem Poker tournament game!
5+
6+
Developing
7+
==========
8+
9+
$ toaster -dw
10+
$ compass watch
11+
$ open index.html

config.rb

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
require 'zurb-foundation'
2+
# Require any additional compass plugins here.
3+
4+
5+
# Set this to the root of your project when deployed:
6+
http_path = "/"
7+
css_dir = "release/css"
8+
sass_dir = "sass"
9+
images_dir = "images"
10+
javascripts_dir = "javascripts"
11+
12+
# You can select your preferred output style here (can be overridden via the command line):
13+
# output_style = :expanded or :nested or :compact or :compressed
14+
15+
# To enable relative paths to assets via compass helper functions. Uncomment:
16+
# relative_assets = true
17+
18+
# To disable debugging comments that display the original location of your selectors. Uncomment:
19+
# line_comments = false
20+
21+
22+
# If you prefer the indented syntax, you might want to regenerate this
23+
# project again passing --syntax sass, or you can uncomment this:
24+
# preferred_syntax = :sass
25+
# and then run:
26+
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass

css/base.css

Whitespace-only changes.

index.html

+19-8
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,35 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66
<title>hexagonal.js • starter app</title>
7-
<link rel="stylesheet" href="css/base.css">
7+
<link rel="stylesheet" href="release/css/normalize.css" />
8+
<link rel="stylesheet" href="release/css/app.css" />
9+
<script src="vendors/custom.modernizr.js"></script>
810
</head>
911
<body>
10-
<div data-element="main" class="main"></div>
12+
<div data-element="main" class="main">
13+
<div class="row">
14+
<h2>Hexagonal Poker Clock</h2>
15+
</div>
16+
<div class="row">
17+
<div class="large-5 columns" data-element="timer"></div>
18+
<div class="large-6 columns" data-element="blinds"></div>
19+
</div>
20+
</div>
1121

1222
<script type="x-handlebars-template" id="timer-template">
13-
<div data-element="timer">
14-
{{currentTime}}
23+
<div class="panel">
24+
<h4>Minutes Seconds</h4>
25+
<h1>{{currentMinute}} : {{currentSecond}}</h1>
1526
</div>
1627
</script>
1728

1829
<script type="x-handlebars-template" id="blinds-template">
19-
<h1>Blinds: </h1>
20-
<div data-element="blind">
21-
{{currentBlind}}
30+
<div class="panel">
31+
<h4>Small Blind / Big Blind</h4>
32+
<h1>{{smallBlind}} / {{bigBlind}}</h1>
2233
</div>
2334
</script>
2435

25-
<script src="vendors/base.js"></script>
2636
<script src="vendors/jquery-1.7.2.min.js" type="text/javascript"></script>
2737
<script src="vendors/jquery.json-2.3.min.js" type="text/javascript"></script>
2838
<script src="vendors/uuid.js" type="text/javascript"></script>
@@ -31,6 +41,7 @@ <h1>Blinds: </h1>
3141
<script src="vendors/sugar-1.3.min.js" type="text/javascript"></script>
3242
<script src="vendors/handlebars-1.0.0.beta.6.js" type="text/javascript"></script>
3343
<script src="vendors/YouAreDaBomb.js" type="text/javascript"></script>
44+
<script src="vendors/foundation.min.js"></script>
3445
<script src="release/app-debug.js" type="text/javascript"></script>
3546
</body>
3647
</html>

0 commit comments

Comments
 (0)