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

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

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

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