Skip to content

Commit

Permalink
UUpdated Forest
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshh123 committed May 10, 2020
1 parent a9de143 commit 93fcdc1
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ <h1>Headphones Recommended</h1>
<hr />
<h1>SELECT A SCENE BELOW</h1>
</div>
<div id='container'>

</div>
<div id='container'>

</div>
</div>
<div class="controls">
<div class="sceneSelect">
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ const video = document.querySelector("#video");
function changeScene(source) {
document.getElementById("audio").src = "./audio/" + source + ".mp3";
document.getElementById("video").src = "./video/" + source + ".mp4";
document.getElementById("infoText").style.display = "none";
document.getElementById("infoPanel").style.display = "none";
document.getElementById('container').style.display = 'flex';
}
29 changes: 25 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ body {
min-height: 50px;
}

.sceneSelect{
display: flex;
}

.sceneSelect button, .timerButton {
font-size: 24pt;
border-radius: 50%;
Expand All @@ -52,10 +56,13 @@ body {
width: 70px;
cursor: pointer;
margin: 0 2px 0 2px;
color: rgba(0, 0, 0, 0.75)
color: rgba(0, 0, 0, 0.75);
display: flex;
justify-content: center;
align-items: center;
}

.sceneSelect button:hover {
.sceneSelect button:hover, .timerButton:hover {
color: #ffffff;
background-color: #000000;
}
Expand Down Expand Up @@ -111,12 +118,12 @@ body {
#container{
height: 85%;
justify-content: center;
align-items: center;
align-items: flex-start;
display: none;
}

#app{
height: 90%;
height:auto;
width: 90%;
max-height: 500px;
max-width: 600px;
Expand All @@ -128,6 +135,7 @@ body {
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.7);
text-align: center;
padding: 10px;
}

#first{
Expand All @@ -143,6 +151,9 @@ body {

#second{
height: 30%;
display: flex;
align-items: center;
justify-content: space-around;
}

#third{
Expand All @@ -161,4 +172,14 @@ body {
display: flex;
flex-direction: column;
align-items: center;
text-transform: capitalize;
}

#timer-label{
font-size: 30px;
text-transform: uppercase;
}

#time-left{
font-size: 72px;
}
2 changes: 1 addition & 1 deletion timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class App extends React.Component{
<div id='first'>
<Display mode={this.state.mode} mins={this.state.minutes} secs={this.state.seconds}/>
</div>
<div id='second'>
<div id='second' class='sceneSelect'>
<button
id='start_stop'
class="timerButton"
Expand Down
Binary file modified video/forest.mp4
Binary file not shown.

0 comments on commit 93fcdc1

Please sign in to comment.