summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_videos.scss
blob: 91db750bd337685a9c58f6bd76c3a912beebc054 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@charset 'UTF-8';

.video-div {
    position: relative;
    max-width: 480px;
    margin-bottom: 8px;
    .video-thumbnail {
        max-width: 100%;
        height: auto;
    }
    .block {
        background-color: rgba(0,0,0,.5);
        border-radius: 10px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -100px;
        width: 200px;
        margin: -75px 0 0 -100px;
        height: 150px;
    }
}

.video-type {
    @include opacity(.8);
    font-size: 15px;
    margin: 0px;
    padding: 0px;
}

.video-title {
    font-size: 15px;
    margin-top: 3px;
}
.play-button {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 26px;
    right: 51px;
    border: 4px solid;
    border-color: rgba(255,255,255,.4);
    border-radius: 14px;
}
.play-button span {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 0;
    height: 0;
    border-top: 36px solid transparent;
    border-bottom: 36px solid transparent;
    border-left: 60px solid rgba(255,255,255,.4);
}

.img-div {
    -moz-force-broken-image-icon: 1;
    position: relative;
    max-width: 450px;
    max-height: 500px;
    margin-bottom: 8px;
    border-radius: 5px;
    &.placeholder {
        height: 500px;
    }
}