Skip to content

Commit f1749cb

Browse files
author
dularion
committed
add mobile-controls-visible css
1 parent 853862a commit f1749cb

File tree

8 files changed

+18
-8
lines changed

8 files changed

+18
-8
lines changed

dist/streama-video-player.css

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/streama-video-player.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/streama-video-player.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/streama-video-player.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/_player.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ streama-video-player{
4545
.next-video-overlay{
4646
@include vendor-property('transition', 'padding 0.2s');
4747
position: absolute;
48-
bottom: 75px;
48+
bottom: 20px;
4949
right: 0;
5050
background: rgba(0, 0, 0, 0.8);
5151
padding: 0;
@@ -203,6 +203,12 @@ streama-video-player{
203203

204204
@include vendor-property('animation', 'spin 1s infinite linear');
205205
}
206+
207+
&.mobile-controls-visible{
208+
.next-video-overlay{
209+
bottom: 75px;
210+
}
211+
}
206212
}
207213

208214

src/css/streama-video-player.css

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/streama-video-player.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/templates/streama-video-player.touch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="player-wrapper">
1+
<div class="player-wrapper" ng-class="{'mobile-controls-visible': isMobileControlsVisible}">
22
<pre>{{options.videoStillImage}}</pre>
33
<div class="video-wrapper-inner" ng-style="getBackgroundStyle()" ng-click="toggleControls()">
44

0 commit comments

Comments
 (0)