@desynova-digital/player 4.0.57 → 4.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/MarkerBar.js
CHANGED
|
@@ -40,7 +40,7 @@ var propTypes = {
|
|
|
40
40
|
var defaultProps = {
|
|
41
41
|
player: {}
|
|
42
42
|
};
|
|
43
|
-
var MarkerBlock = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n height:
|
|
43
|
+
var MarkerBlock = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n height: 25px;\n position: ", ";\n bottom: ", ";\n .marker {\n position: absolute;\n width: 2px;\n height: 20px;\n p {\n font-family: SFUIText-Medium;\n font-size: 10px;\n color: #ffffff;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n }\n ", " {\n position: absolute;\n display: block;\n left: 50%;\n top: 10px;\n transform: translateX(-50%);\n }\n }\n"])), function (props) {
|
|
44
44
|
return props.controlType === 'advanced' && !props.isFullscreen ? 'relative' : 'absolute';
|
|
45
45
|
}, function (props) {
|
|
46
46
|
return props.controlType === 'advanced' && !props.isFullscreen ? '0px' : '5px';
|
|
@@ -25,10 +25,16 @@ var defaultProps = {
|
|
|
25
25
|
playerType: 'default',
|
|
26
26
|
controlType: 'default'
|
|
27
27
|
};
|
|
28
|
-
var ProgressBarBlock = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n width: 0px;\n height: 100%;\n left: 0;\n top: 0;\n background: ", ";\n &:after {\n content: '';\n width: 12px;\n height:
|
|
28
|
+
var ProgressBarBlock = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n width: 0px;\n height: 100%;\n left: 0;\n top: 0;\n background: ", ";\n &:after {\n content: '';\n width: 12px;\n height:", ";\n position: absolute;\n background: ", ";\n border-radius: 100%;\n right: ", "\n top: ", "\n box-shadow: 0 0 8px 1px\n ", ";\n }\n &:before {\n content: '';\n width: 2px;\n height: 46px;\n position: absolute;\n background: ", ";\n right: -1px;\n top: 4px;\n display: ", ";\n }\n"])), function (props) {
|
|
29
29
|
return _colors["default"].common.video[props.assetType].base;
|
|
30
|
+
}, function (props) {
|
|
31
|
+
return props.playerType === 'default' ? '4px' : '12px';
|
|
30
32
|
}, function (props) {
|
|
31
33
|
return _colors["default"].common.video[props.assetType].base;
|
|
34
|
+
}, function (props) {
|
|
35
|
+
return props.playerType === 'default' ? '-2px' : '-6px';
|
|
36
|
+
}, function (props) {
|
|
37
|
+
return props.playerType === 'default' ? '0px' : '-4px';
|
|
32
38
|
}, function (props) {
|
|
33
39
|
return _colors["default"].common.video[props.assetType].base;
|
|
34
40
|
}, function (props) {
|