Skip to content

Commit 927afd6

Browse files
committed
1.9.1 - Small fixes
1 parent 515af44 commit 927afd6

File tree

8 files changed

+22
-14
lines changed

8 files changed

+22
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</p>
55

66
# About Player
7-
[![Version](https://img.shields.io/badge/Current%20version-v1.9-brightgreen.svg?style=flat)](https://github.com/quead/angular2-yt-player)
7+
[![Version](https://img.shields.io/badge/Current%20version-v1.9.1-brightgreen.svg?style=flat)](https://github.com/quead/angular2-yt-player)
88

99
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/quead/angular2-yt-player/master/LICENSE)
1010
[![GitHub forks](https://img.shields.io/github/forks/quead/angular2-yt-player.svg)](https://github.com/quead/angular2-yt-player/network)

dist/assets/css/main.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,10 @@ iframe {
12111211
background-color: var(--c-black);
12121212
}
12131213

1214+
#search-video-list .video-item:hover {
1215+
background-color: var(--c-gray);
1216+
}
1217+
12141218
#search-video-list::-webkit-scrollbar {
12151219
width: 6px;
12161220
background-color: var(--c-black);
@@ -1284,7 +1288,6 @@ iframe {
12841288

12851289
.video-item-content p {
12861290
margin: 0;
1287-
font-weight: 100;
12881291
white-space: nowrap;
12891292
text-overflow: ellipsis;
12901293
overflow: hidden;
@@ -1445,7 +1448,7 @@ iframe {
14451448
height: calc(100% - 39px);
14461449
width: 100%;
14471450
overflow: auto;
1448-
background-color: var(--c-base);
1451+
background-color: var(--c-dark-gray);
14491452
}
14501453

14511454
#related-video-list .related-video-content::-webkit-scrollbar-track {
@@ -1487,7 +1490,7 @@ iframe {
14871490
height: calc(100% - 39px);
14881491
width: 100%;
14891492
overflow: auto;
1490-
background-color: var(--c-base);
1493+
background-color: var(--c-dark-gray);
14911494
}
14921495

14931496
#playlist-video-list .playlist-video-content::-webkit-scrollbar-track {

dist/inline.bundle.js.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.

dist/main.bundle.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.

dist/main.bundle.js.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.

scss/_videos.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ iframe {
3737
border: 1px solid #1f1f1f;
3838
.video-item {
3939
background-color: var(--c-black);
40+
&:hover {
41+
background-color: var(--c-gray);
42+
}
4043
}
4144
&::-webkit-scrollbar {
4245
width: 6px;
@@ -101,7 +104,6 @@ iframe {
101104
position: relative;
102105
p {
103106
margin: 0;
104-
font-weight: 100;
105107
white-space: nowrap;
106108
text-overflow: ellipsis;
107109
overflow: hidden;
@@ -249,7 +251,7 @@ iframe {
249251
height: calc(100% - 39px);
250252
width: 100%;
251253
overflow: auto;
252-
background-color: var(--c-base);
254+
background-color: var(--c-dark-gray);
253255
&::-webkit-scrollbar-track {
254256
border-radius: 2px;
255257
}
@@ -287,7 +289,7 @@ iframe {
287289
height: calc(100% - 39px);
288290
width: 100%;
289291
overflow: auto;
290-
background-color: var(--c-base);
292+
background-color: var(--c-dark-gray);
291293
&::-webkit-scrollbar-track {
292294
border-radius: 2px;
293295
}

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export class AppComponent implements OnInit {
216216
this.currentPlaylistItem = -1;
217217
}
218218
this.playlistVideos.splice(i, 1);
219+
this.findPlaylistItem();
219220
}, 200);
220221
}
221222

@@ -436,7 +437,6 @@ export class AppComponent implements OnInit {
436437
}
437438

438439
confirmModal() {
439-
this.findPlaylistItem();
440440
this.removePlaylistItem(this.modalPlaylistItem);
441441
this.modal = false;
442442
}

src/assets/css/main.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,10 @@ iframe {
12111211
background-color: var(--c-black);
12121212
}
12131213

1214+
#search-video-list .video-item:hover {
1215+
background-color: var(--c-gray);
1216+
}
1217+
12141218
#search-video-list::-webkit-scrollbar {
12151219
width: 6px;
12161220
background-color: var(--c-black);
@@ -1284,7 +1288,6 @@ iframe {
12841288

12851289
.video-item-content p {
12861290
margin: 0;
1287-
font-weight: 100;
12881291
white-space: nowrap;
12891292
text-overflow: ellipsis;
12901293
overflow: hidden;
@@ -1445,7 +1448,7 @@ iframe {
14451448
height: calc(100% - 39px);
14461449
width: 100%;
14471450
overflow: auto;
1448-
background-color: var(--c-base);
1451+
background-color: var(--c-dark-gray);
14491452
}
14501453

14511454
#related-video-list .related-video-content::-webkit-scrollbar-track {
@@ -1487,7 +1490,7 @@ iframe {
14871490
height: calc(100% - 39px);
14881491
width: 100%;
14891492
overflow: auto;
1490-
background-color: var(--c-base);
1493+
background-color: var(--c-dark-gray);
14911494
}
14921495

14931496
#playlist-video-list .playlist-video-content::-webkit-scrollbar-track {

0 commit comments

Comments
 (0)