From b60df56157ee1fd0bd4938799bac05a62fda91a1 Mon Sep 17 00:00:00 2001 From: lookshe Date: Sat, 14 Mar 2015 20:45:20 +0100 Subject: initial commit from working version --- client-website/css/symple.player.css | 104 +++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 client-website/css/symple.player.css (limited to 'client-website/css/symple.player.css') 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; +} -- cgit v1.2.3