aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/components/players.scss
blob: 573b4cb0590f64002a653a91665fd829aec66788 (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
27
28
29
30
31
32
33
34
35
36
// ==========================================================================
// Examples
// ==========================================================================

// Example players
.plyr {
    border-radius: $border-radius-base;
    box-shadow: 0 2px 15px rgba(#000, 0.1);
    margin: $spacing-base auto;

    &.plyr--audio {
        max-width: 480px;
    }
}

.plyr__video-wrapper::after {
    border: 1px solid rgba(#000, 0.15);
    border-radius: inherit;
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}

// Style full supported player
.plyr__cite {
    color: $color-gray-5;

    .icon {
        margin-right: ceil($spacing-base / 6);
    }
}