aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/states/error.scss
blob: 64d05c7bdcce8feb6af33cb016871569548aca21 (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
// --------------------------------------------------------------
// Error state
// --------------------------------------------------------------

.plyr--has-error {
    pointer-events: none;

    &::after {
        align-items: center;
        background: rgba(#000, 90%);
        color: #fff;
        content: attr(data-plyr-error);
        display: flex;
        font-size: $plyr-font-size-base;
        height: 100%;
        justify-content: center;
        left: 0;
        position: absolute;
        text-align: center;
        text-shadow: 0 1px 1px rgba(#000, 10%);
        top: 0;
        width: 100%;
        z-index: 10;
    }
}