Skip to content

Commit 853862a

Browse files
author
dularion
committed
fix display of next-video-overlay
1 parent 8580ad6 commit 853862a

File tree

6 files changed

+40
-37
lines changed

6 files changed

+40
-37
lines changed

dist/streama-video-player.css

Lines changed: 11 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.

src/css/_player-controls-overlay.scss

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,30 @@
4747
top: 50%;
4848
margin-top: -250px;
4949
}
50+
}
5051

52+
@media (max-height: 724px) {
5153
.player-wrapper .next-video-overlay{
5254
height: auto;
5355
padding: 0;
5456

5557
.next-video-overlay-inner{
56-
width: 100%;
58+
width: 300px;
5759

58-
.col-xs-4{
60+
p{
5961
display: none;
6062
}
61-
.col-xs-8{
62-
width: 100%;
63+
64+
h4 {
65+
font-size: 14px;
6366
}
64-
p{
65-
display: none;
67+
68+
h3 {
69+
font-size: 15px;
70+
}
71+
72+
.play-button{
73+
font-size: 22px;
6674
}
6775
}
6876
}

src/css/_player.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,16 @@ streama-video-player{
4646
@include vendor-property('transition', 'padding 0.2s');
4747
position: absolute;
4848
bottom: 75px;
49-
left: 0;
5049
right: 0;
51-
background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 30%);
52-
height: 40%;
53-
padding: 120px 40px 0 0;
50+
background: rgba(0, 0, 0, 0.8);
51+
padding: 0;
5452
z-index: 9;
5553

5654
.next-video-overlay-inner{
5755
width: 450px;
5856
float: right;
5957

6058
h4{
61-
margin-top: 0px;
6259
color: #bfbfbf;
6360
font-weight: 300;
6461
}

src/css/streama-video-player.css

Lines changed: 11 additions & 12 deletions
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.

0 commit comments

Comments
 (0)