Skip to content

Commit

Permalink
moved to pure css slider handles
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc committed May 12, 2015
1 parent b65bad8 commit 4579d02
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/css/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,16 @@

.video-js .vjs-play-progress {
background-color: $primary-text;
@extend .vjs-icon-circle;

&:before {
position: absolute;
top: -0.3em;
right: -0.5em;

}
}

.video-js .vjs-load-progress {
background: rgb(100, 100, 100) /* IE8- Fallback */;
background: rgba(255, 255, 255, 0.2);
Expand All @@ -42,6 +51,7 @@ specific time ranges that have been buffered */
.video-js .vjs-slider-handle.vjs-seek-handle {
width: 0.95em;
height: 0.95em;
display: none;
}


Expand Down
25 changes: 23 additions & 2 deletions src/css/components/_volume.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,33 @@
left: 0;

background-color: $primary-text;

@extend .vjs-icon-circle;

&:before {
position: absolute;
}
}

.video-js .vjs-slider-vertical .vjs-volume-level { width: 0.3em; }
.video-js .vjs-slider-horizontal .vjs-volume-level { height: 0.3em; }
.video-js .vjs-slider-vertical .vjs-volume-level {
width: 0.3em;

&:before {
top: -0.5em;
left: -0.3em;
}
}
.video-js .vjs-slider-horizontal .vjs-volume-level {
height: 0.3em;

&:before {
top: -0.3em;
right: -0.5em;
}
}

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

0 comments on commit 4579d02

Please sign in to comment.