Skip to content

Commit

Permalink
Got rid of left-over handle styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc committed May 18, 2015
1 parent 67957fb commit deb7ad8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 47 deletions.
7 changes: 0 additions & 7 deletions src/css/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ specific time ranges that have been buffered */
background: rgba($secondary-bg, 0.1);
}

.video-js .vjs-slider-handle.vjs-seek-handle {
width: 0.95em;
height: 0.95em;
display: none;
}


.video-js.vjs-no-flex .vjs-progress-control {
width: auto;
}
25 changes: 0 additions & 25 deletions src/css/components/_slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,3 @@

@include box-shadow(0 0 1em $primary-text);
}

.video-js .vjs-slider-handle {
position: absolute;
@extend .vjs-icon-circle;
}

.video-js .vjs-slider-horizontal .vjs-slider-handle {
left: 0;
top: -0.34em;
}

.video-js .vjs-slider-vertical .vjs-slider-handle {
left: -0.3em;
bottom: 0;
}

.video-js .vjs-slider-handle:before {
font-size: 1em;
line-height: 1;
text-align: center;

position: absolute;
top: 0;
left: 0;
}
16 changes: 1 addition & 15 deletions src/css/components/_volume.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,9 @@
}
}

.video-js .vjs-volume-bar .vjs-volume-handle {
display: none;
width: 0.8em;
height: 0.8em;
}

/* Assumes volume starts at 1.0. If you change the size of the
handle relative to the volume bar, you'll need to update this value
too. */
/* Assumes volume starts at 1.0. */
.video-js .vjs-volume-bar.vjs-slider-vertical .vjs-volume-level { height: 100%; }
.video-js .vjs-volume-bar.vjs-slider-vertical .vjs-volume-handle { bottom: 4.3em; }
.video-js .vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level { width: 100%; }
.video-js .vjs-volume-bar.vjs-slider-horizontal .vjs-volume-handle { left: 4.3em; }

.video-js .vjs-volume-handle:before {
font-size: 0.9em;
}

/* The volume menu button is like menu buttons (captions/subtitles) but works
a little differently. It needs to be possible to tab to the volume slider
Expand Down

0 comments on commit deb7ad8

Please sign in to comment.