Skip to content

Commit ee3ef3a

Browse files
committed
feat: Update styling etc
1 parent 9d5f816 commit ee3ef3a

File tree

3 files changed

+26
-11
lines changed

3 files changed

+26
-11
lines changed

frontend/css/style.css

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@ a.video-thumbnail span {
16541654
width: 100%;
16551655
height: 100%;
16561656
position: absolute;
1657-
background: url(../images/play-btn.png) no-repeat;
1657+
background: url(/images/play-btn.png) no-repeat;
16581658
background-position: 50% 50%;
16591659
background-size: 186%;
16601660
left: 0;
@@ -2087,7 +2087,7 @@ a.video-thumbnail span:hover {
20872087

20882088
.p-title:hover,
20892089
.p-title:focus,
2090-
.h-title:hover{
2090+
.h-title:hover {
20912091
color: #c10841;
20922092
}
20932093

@@ -2155,7 +2155,7 @@ a.video-thumbnail span:hover {
21552155

21562156
.metadata-info {
21572157
white-space: nowrap;
2158-
overflow:scroll;
2158+
overflow: scroll;
21592159
text-overflow: ellipsis;
21602160
word-wrap: break-word;
21612161
display: inline-block;
@@ -2171,14 +2171,16 @@ a.video-thumbnail span:hover {
21712171
text-align: left;
21722172
}
21732173

2174-
.metadata-info:hover, .metadata-info-rest:hover{
2174+
.metadata-info:hover,
2175+
.metadata-info-rest:hover {
21752176
height: 37px;
21762177
}
21772178

21782179
.metadata-icon {
21792180
color: #ff0068;
21802181
}
2181-
.media-icon:hover{
2182+
2183+
.media-icon:hover {
21822184
color: #b6093d;
21832185
}
21842186

@@ -2200,9 +2202,9 @@ a.video-thumbnail span:hover {
22002202
background-color: #337ab7;
22012203
}
22022204

2203-
.video-tags-container{
2204-
text-align:left;
2205-
justify-content:space-evenly
2205+
.video-tags-container {
2206+
text-align: left;
2207+
justify-content: space-evenly
22062208
}
22072209

22082210
@media (max-width: 480px) {
@@ -2222,11 +2224,24 @@ a.video-thumbnail span:hover {
22222224

22232225
.metadata-info-rest {
22242226
text-align: right;
2227+
direction: rtl;
2228+
}
2229+
2230+
.download-table-header {
2231+
display: flex;
2232+
justify-content: space-between;
2233+
width: 100%;
22252234
}
22262235
}
22272236

22282237
@media (min-width: 480px) {
22292238
#new-base-url {
22302239
max-width: 65%;
22312240
}
2232-
}
2241+
}
2242+
2243+
@media (max-width: 1024px) {
2244+
.vid-thumbnail {
2245+
max-height: 320px !important;
2246+
}
2247+
}

frontend/images/play-btn.png

10.3 KB
Loading

frontend/themes/js/made.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function renderVideoMetadata(video_metadata) {
148148
["64k", translation.helper.unknown, `<span class="label label-primary"><small data-translate="smallest">${translation.helper.smallest}</small>`],
149149
];
150150
if (lazy_loaded) {
151-
video_thumbnail_html = `<img alt="Youtube Downloader thumbnail" class="lazyload ythumbnail" src="data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs=" data-src="https://i.ytimg.com/vi/${video_metadata.id}/0.jpg">`
151+
video_thumbnail_html = `<img alt="Youtube Downloader thumbnail" class="lazyload ythumbnail vid-thumbnail" src="data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs=" data-src="https://i.ytimg.com/vi/${video_metadata.id}/0.jpg">`
152152
}
153153
else {
154154
video_thumbnail_html = `<img alt="Youtube Downloader thumbnail" src="https://i.ytimg.com/vi/${video_metadata.id}/0.jpg">`
@@ -271,7 +271,7 @@ function renderVideoMetadata(video_metadata) {
271271
</div>
272272
</div>
273273
<div class="col-xs-12 col-sm-7 col-md-7">
274-
<ul class="nav nav-tabs justify-content-start" id="selectTab" role="tablist">
274+
<ul class="nav nav-tabs justify-content-start download-table-header" id="selectTab" role="tablist">
275275
<li class="nav-item p-0 active" role="presentation">
276276
<button class="w3-button" id="videoButton" onclick="showVideoOptions()">
277277
<i class="fa-solid fa-video"></i>

0 commit comments

Comments
 (0)