aboutsummaryrefslogtreecommitdiffstats
path: root/client-website/css/symple.player.css
diff options
context:
space:
mode:
Diffstat (limited to 'client-website/css/symple.player.css')
-rw-r--r--client-website/css/symple.player.css104
1 files changed, 104 insertions, 0 deletions
diff --git a/client-website/css/symple.player.css b/client-website/css/symple.player.css
new file mode 100644
index 0000000..7d0f59b
--- /dev/null
+++ b/client-website/css/symple.player.css
@@ -0,0 +1,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;
+}