diff --git a/examples/auto_basic_wheel/README.md b/examples/auto_basic_wheel/README.md new file mode 100644 index 0000000..0e6d61e --- /dev/null +++ b/examples/auto_basic_wheel/README.md @@ -0,0 +1,7 @@ +# Spin Wheel + +Sound from https://freesound.org/people/JustinBW/sounds/80921/ + +WinWheel from https://github.com/zarocknz/javascript-winwheel + +Bootstrap 4.3 https://getbootstrap.com diff --git a/examples/auto_basic_wheel/css/main.css b/examples/auto_basic_wheel/css/main.css new file mode 100644 index 0000000..1970d93 --- /dev/null +++ b/examples/auto_basic_wheel/css/main.css @@ -0,0 +1,81 @@ +/* +Description: + Contains all the styles for the winning wheel page. + +Verison History: + 2012-01-28, Douglas McKechie + - Created based off earlier version. + + 2015-09-26, Douglas McKechie + - Minor updates for the 2.0 winwheel example. +*/ + +body +{ + font-family: arial; +} + +/* Sets the background image for the wheel */ +td.the_wheel +{ + background-image: url(../img/wheel_back.png); + background-position: center; + background-repeat: none; +} + +/* Do some css reset on selected elements */ +h1, p +{ + margin: 0; +} + +div.power_controls +{ + margin-right:70px; +} + +div.html5_logo +{ + margin-left:70px; +} + +/* Styles for the power selection controls */ +table.power +{ + background-color: #cccccc; + cursor: pointer; + border:1px solid #333333; +} + +table.power th +{ + background-color: white; + cursor: default; +} + +td.pw1 +{ + background-color: #6fe8f0; +} + +td.pw2 +{ + background-color: #86ef6f; +} + +td.pw3 +{ + background-color: #ef6f6f; +} + +/* Style applied to the spin button once a power has been selected */ +.clickable +{ + cursor: pointer; +} + +/* Other misc styles */ +.margin_bottom +{ + margin-bottom: 5px; +} \ No newline at end of file diff --git a/examples/auto_basic_wheel/img/wheel_back.png b/examples/auto_basic_wheel/img/wheel_back.png new file mode 100644 index 0000000..a208ca3 Binary files /dev/null and b/examples/auto_basic_wheel/img/wheel_back.png differ diff --git a/examples/auto_basic_wheel/index.html b/examples/auto_basic_wheel/index.html new file mode 100644 index 0000000..8ac496c --- /dev/null +++ b/examples/auto_basic_wheel/index.html @@ -0,0 +1,101 @@ + + +
++ + | +