aboutsummaryrefslogtreecommitdiffstats
path: root/client-website/css/symple.player.css
blob: 7d0f59b1f01ae9eac11c40b1f01dfdc3fcbb5974 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
    Layout 

    Layering is in the following order from bottom to top:
    screen, status, message, loading, controls
*/

.symple-player-screen {    
    /* position: relative; cannot be absolute as the player resizes with the screen 
    width: 100%;
    height: 100%; */
    text-align: center;
    margin: 0 auto; /* center the screen when fixed width */
    z-index: 0;
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.symple-player-status {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 0px;
    text-shadow: none;
    text-align: left;
    z-index: 1;
}

.symple-player-message {
    position: absolute;
    display: table;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.symple-player-message p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.symple-player-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; 
    z-index: 3;
}

.symple-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 25px;
    text-align: center;
    z-index: 4;
}

.symple-player-screen video,
.symple-player-screen object,
.symple-player-screen embed,
.symple-player-screen img {  
    /* height: 100%; 0 height unless absolute */
    /* width: 100%; skewed images */
    width: 100%;
    min-height: 100%;
}


/* 
    Style 
*/

.symple-player {
    color: #ccc;
    text-align: center;
    background: #000;
    position: relative;
}
.symple-player a {
    color: #999;
}
.symple-player.fullscreen {
    width: 100%;
    height: 100%;
}


/* 
    States 
    none, loading, loading, playing, paused, stopped, error
*/

.symple-player.state-loading .symple-player-loading {
    display: block;
}