aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/components/volume.scss
blob: 863df51d92797179d479c8100e00714827638196 (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
26
// --------------------------------------------------------------
// Volume
// --------------------------------------------------------------

.plyr__volume {
  align-items: center;
  display: flex;
  max-width: 110px;
  min-width: 80px;
  position: relative;
  width: 20%;

  input[type='range'] {
    margin-left: calc(#{$plyr-control-spacing} / 2);
    margin-right: calc(#{$plyr-control-spacing} / 2);
    position: relative;
    z-index: 2;
    min-width: 0;
  }
}

// Auto size on iOS as there's no slider
.plyr--is-ios .plyr__volume {
  min-width: 0;
  width: auto;
}