play bar white

This commit is contained in:
James Barnsley
2019-07-25 17:00:49 +12:00
parent 75e43a7cc0
commit de5e8fc959
8 changed files with 50 additions and 75 deletions

View File

@ -265,14 +265,11 @@ class PlaybackControls extends React.Component{
<section className="playback">
<button className="control previous" onClick={() => this.props.mopidyActions.previous()}>
<Icon name="skip_previous" type="material" />
<Icon name="navigate_before" type="material" />
</button>
{ this.renderPlayButton() }
<button className="control stop" onClick={() => this.props.mopidyActions.stop()}>
<Icon name="stop" type="material" />
</button>
<button className="control next" onClick={() => this.props.mopidyActions.next()}>
<Icon name="skip_next" type="material" />
<Icon name="navigate_next" type="material" />
</button>
</section>

View File

@ -135,13 +135,11 @@
.control {
@include animate();
@include noselect();
@include focusable();
color: colour(darkest_grey);
cursor: pointer;
padding: 10px 6px;
padding: 12px 8px;
display: inline-block;
vertical-align: bottom;
opacity: 0.8;
background: none;
&:not(.sidebar-toggle){
@ -149,15 +147,10 @@
}
.icon {
font-size: 0.8rem;
font-size: 0.9rem;
margin-bottom: 0;
}
@include resolution(2){
padding-left: 5px;
padding-right: 5px;
}
&--active {
color: colour(turquoise) !important;
}
@ -170,29 +163,34 @@
section {
position: absolute;
bottom: 8px;
bottom: 5px;
&.playback {
bottom: 7px;
left: 10px;
width: 135px;
bottom: 2px;
left: 0;
width: 220px;
text-align: center;
.control {
.icon {
font-size: 1.3rem;
}
&.play {
margin-bottom: -8px;
margin-bottom: -0.8rem;
color: colour(turquoise);
.icon {
font-size: 2rem;
font-size: 3rem;
}
}
}
}
&.progress {
bottom: 10px;
left: 130px;
right: 260px;
bottom: 8px;
left: 220px;
right: 25rem;
padding-left: 20px;
padding-right: 20px;
color: colour(mid_grey);
@ -223,19 +221,19 @@
}
&.settings {
right: 170px;
width: 100px;
right: 14rem;
width: 10rem;
text-align: center;
}
&.volume {
right: 20px;
width: 150px;
right: 2rem;
width: 10rem;
font-size: 18px;
.slider__wrapper {
position: absolute;
bottom: 4px;
bottom: 6px;
right: 0;
left: 30px;
}

View File

@ -21,6 +21,7 @@ $module: 'tooltip';
z-index: 97;
white-space: nowrap;
text-align: left;
box-shadow: 1px 1px 6px rgba(0,0,0,0.4);
&:first-letter {
text-transform: uppercase;