summaryrefslogtreecommitdiff
path: root/javascript/videojs/src/css/components/_slider.scss
blob: 2843fd3de02778d4e5f59e6e3353760c1eacd5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.video-js .vjs-slider {
  position: relative;
  cursor: pointer;
  padding: 0;
  margin: 0 0.45em 0 0.45em;

  @include user-select(none);

  @include background-color-with-alpha($secondary-background-color, $secondary-background-transparency);
 }

.video-js .vjs-slider.disabled {
  cursor: default;
}

.video-js .vjs-slider:focus {
  text-shadow: 0em 0em 1em rgba($primary-foreground-color, 1);

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

// Replacement for focus in case spatial navigation is enabled
.video-js.vjs-spatial-navigation-enabled .vjs-slider:focus {
  outline: 0.0625em solid rgba($primary-foreground-color, 1);
}