Skip to content

Commit

Permalink
Merge pull request #321 from Pitros/visual-changes
Browse files Browse the repository at this point in the history
Smaller graphical changes - player, following page, top frame, loading
  • Loading branch information
weblancaster committed Aug 24, 2015
2 parents 2f723b1 + 7bba397 commit cf4026e
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 21 deletions.
6 changes: 3 additions & 3 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ <h4 id="playerUser" class="player_user"></h4>
</div>
<div class="player_controls">
<span class="player_prevSong" ng-click="prevSong($event)">
<i class="fa fa-step-backward"></i>
<i class="fa fa-step-backward thin"></i>
</span>
<span class="player_play-pause" ng-click="playPause($event)">
<i class="fa fa-play"></i>
<i class="fa fa-pause" ></i>
<i class="fa fa-pause thin" ></i>
</span>
<span class="player_nextSong" ng-click="nextSong($event)">
<i class="fa fa-step-forward"></i>
<i class="fa fa-step-forward thin"></i>
</span>
</div>
<div class="player_volume">
Expand Down
1 change: 1 addition & 0 deletions app/public/stylesheets/sass/_components/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $separatorDarkColor: #000;
$scColor: #f50;
$transitionValue: all 0.5s ease;
$transitionFastValue: all 0.25s ease;
$transitionInstantValue: all 0.1s ease-out;

// HELPERS
.ui-db {
Expand Down
7 changes: 6 additions & 1 deletion app/public/stylesheets/sass/_components/_following.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
.following {}
.following {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}

.following_item {
display: inline-block;
Expand Down
5 changes: 3 additions & 2 deletions app/public/stylesheets/sass/_components/_loader.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
.box-loader {
display: block;
height: 35px;
width: 250px;
width: 300px;
position: absolute;
text-align: center;
top: 50%;
left: 50%;
margin-left: -125px;
margin-left: -150px;
margin-top: -17px;

& > h4 {
Expand Down
22 changes: 14 additions & 8 deletions app/public/stylesheets/sass/_components/_player.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
.player_details {
width: 300px;
flex: 1;
padding: 0 10px;
padding: 0 5px;
}

.player_user {
Expand Down Expand Up @@ -58,6 +58,9 @@
& .fa {
font-size: 20px;
color: #FFF;
&.thin::before {
-webkit-text-stroke: 1px #000;
}
}
}

Expand Down Expand Up @@ -144,8 +147,12 @@
box-sizing: content-box;

&:hover {
& .player_progress_bar::before, & .player_progress_bar::after {
opacity: 1;
& .player_progress_bar::before {
background: rgba(255, 255, 255, 0.2);
}

& .player_progress_bar::after {
transform: scale(1);
}
}

Expand All @@ -161,10 +168,9 @@
display: block;
height: 4px;
width: 100%;
background: rgba(255, 255, 255, 0.29);
background: rgba(0, 0, 0, 0.15);
z-index: -1;
transition: $transitionFastValue;
opacity: 0;
transition: $transitionInstantValue;
}

&::after {
Expand All @@ -179,8 +185,8 @@
background: rgb(255, 122, 0);
border-radius: 50%;
box-shadow: 0 0 2px 0 #000;
opacity: 0;
transition: $transitionFastValue;
transform: scale(0);
transition: $transitionInstantValue;
}
}
}
Expand Down
24 changes: 17 additions & 7 deletions app/public/stylesheets/sass/_components/_topFrame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@
}
.windowAction_item {
float: left;
margin: 0 10px;
margin: 10px 10px 0;
font-size: 10px;
cursor: pointer;
border-radius: 15px;
padding: 2px 4px;
letter-spacing: 0;
margin-top: 10px;

&:hover .fa {
color: $defaultColor;
}

& .fa {
cursor: pointer;
Expand Down Expand Up @@ -75,15 +78,22 @@

& li {
margin: 0;
padding: 8px 10px 8px;
padding: 7px 10px 7px;
border-radius: 0;
&:hover {
background: $separatorCleanColor;
background: #2C2C2C;
.fa {
color: #FFF;
}
}
}

& #minimizeApp {
padding: 10px 10px 4px;
}

& #closeApp {
padding: 8px 15px 8px;
padding: 6px 20px 8px;
background: #390000;
&:hover {
background: #530000;
Expand Down Expand Up @@ -149,12 +159,12 @@

@media (max-width: 940px) {
.topbarSearch {
width: 15%;
width: 25%;
}
}

@media (min-width: 940px) {
.topbarSearch {
width: 25%;
width: 35%;
}
}

0 comments on commit cf4026e

Please sign in to comment.