-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b1b4c0c
Showing
78 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file added
BIN
+3.34 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_background-variant.scssc
Binary file not shown.
Binary file added
BIN
+4.18 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_border-radius.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.83 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_center-block.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+38.2 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_gradients.scssc
Binary file not shown.
Binary file added
BIN
+29.6 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_grid-framework.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.49 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_hide-text.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.22 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_list-group.scssc
Binary file not shown.
Binary file added
BIN
+3.2 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_nav-divider.scssc
Binary file not shown.
Binary file added
BIN
+2.91 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_nav-vertical-align.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.68 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_pagination.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.33 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_progress-bar.scssc
Binary file not shown.
Binary file added
BIN
+1.68 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_reset-filter.scssc
Binary file not shown.
Binary file added
BIN
+5.25 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_reset-text.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.2 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_responsive-visibility.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.11 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_tab-focus.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.29 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_text-emphasis.scssc
Binary file not shown.
Binary file added
BIN
+1.92 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_text-overflow.scssc
Binary file not shown.
Binary file added
BIN
+51.6 KB
.sass-cache/2cca237781b0f0dabc8b0cdaf9974992ea783d87/_vendor-prefixes.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.51 KB
.sass-cache/83ddb603f63e748cd4fc47c1b3fcdf5cb58bbe48/_bootstrap.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.8 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_breadcrumbs.scssc
Binary file not shown.
Binary file added
BIN
+49.7 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_button-groups.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.67 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_component-animations.scssc
Binary file not shown.
Binary file added
BIN
+43.3 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_dropdowns.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+242 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_glyphicons.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+35.5 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_input-groups.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+23.1 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_list-group.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+49.6 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_normalize.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+19.7 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_pagination.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+16.9 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_progress-bars.scssc
Binary file not shown.
Binary file added
BIN
+6.67 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_responsive-embed.scssc
Binary file not shown.
Binary file added
BIN
+29.7 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_responsive-utilities.scssc
Binary file not shown.
Binary file added
BIN
+25.5 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_scaffolding.scssc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.39 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_thumbnails.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.92 KB
.sass-cache/bd809685310f857b2af2ba6e9d2c067f5eeddb7c/_utilities.scssc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<script | ||
src="http://code.jquery.com/jquery-3.2.1.min.js" | ||
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" | ||
crossorigin="anonymous"> | ||
</script> | ||
<link href="https://fonts.googleapis.com/css?family=Teko:500,700" rel="stylesheet"> | ||
<link rel="stylesheet" href="css/style.css"> | ||
<title>Color Clock</title> | ||
</head> | ||
<body> | ||
<div class="time-bar-wrapper"> | ||
<div class="time-bar"></div> | ||
</div> | ||
<h1 class="current-time"></h1> | ||
<script src="main.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
function clock () { | ||
// defining vars | ||
var time = new Date(); | ||
var timeHours = time.getHours() > 12 ? time.getHours() - 12 : time.getHours(); | ||
var timeMinutes = time.getMinutes() < 10 ? "0" + time.getMinutes() : time.getMinutes(); | ||
var timeSeconds = time.getSeconds() < 10 ? "0" + time.getSeconds() : time.getSeconds(); | ||
var timeSplit = timeHours + ":" + timeMinutes + ":" + timeSeconds; | ||
|
||
// setting time | ||
$(".current-time").html(timeSplit); | ||
|
||
// defining percentage | ||
var roundedTimeSeconds = parseFloat((timeSeconds/60).toFixed(2)); | ||
var roundedTimeSecondsToInt= (roundedTimeSeconds * 100).toString(); | ||
|
||
// console log percentage | ||
console.log(roundedTimeSecondsToInt); | ||
|
||
// setting width = 'initial' | ||
$(".time-bar").css("width", roundedTimeSecondsToInt + "%"); | ||
|
||
var timeToColor = function(a,b,c){ | ||
var concatTimes = a.toString() + b.toString() + c.toString(); | ||
console.log('concat times', concatTimes); | ||
return concatTimes; | ||
} | ||
|
||
$('body').css("background-color", timeToColor(timeSeconds, timeMinutes, timeHours)); | ||
|
||
console.log(typeof(timeToColor(timeSeconds, timeMinutes, timeHours))); | ||
} | ||
|
||
// function call on timer | ||
window.setInterval(clock, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
body { margin: 0; } | ||
|
||
.time-bar { | ||
background-color: #fff; | ||
height: 7px; | ||
} | ||
|
||
.time-bar-wrapper { | ||
background-color: rgba(#000, .3); | ||
height: 7px; | ||
} | ||
|
||
.current-time { | ||
color: #fff; | ||
font-family: 'Teko', sans-serif; | ||
font-weight: 700; | ||
font-size: 200px; | ||
margin: 250px auto; | ||
text-align: center; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
Errno::ENOENT: No such file or directory @ rb_sysopen - style.scss | ||
Backtrace: | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin/compiler.rb:484:in `read' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin/compiler.rb:484:in `update_stylesheet' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin/compiler.rb:209:in `each' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin/compiler.rb:209:in `update_stylesheets' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin/compiler.rb:294:in `watch' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin.rb:109:in `method_missing' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/exec/sass_scss.rb:360:in `watch_or_update' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/exec/sass_scss.rb:51:in `process_result' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/exec/base.rb:52:in `parse' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/lib/sass/exec/base.rb:19:in `parse!' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sass-3.4.23/bin/sass:13:in `<top (required)>' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/bin/sass:23:in `load' | ||
/Users/jeremiahadkins/.rbenv/versions/2.3.1/bin/sass:23:in `<main>' | ||
*/ | ||
body:before { | ||
white-space: pre; | ||
font-family: monospace; | ||
content: "Errno::ENOENT: No such file or directory @ rb_sysopen - style.scss"; } |