Skip to content

Commit c610224

Browse files
committed
1.9.2 - Fixing responsive for mobile and improvements to player UX
1 parent 1cb6793 commit c610224

File tree

14 files changed

+437
-93
lines changed

14 files changed

+437
-93
lines changed

dist/assets/css/main.css

Lines changed: 108 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ a:active {
302302
height: 0px;
303303
border-left: 7px solid transparent;
304304
border-right: 7px solid transparent;
305-
border-bottom: 7px solid var(--c-primary-inverse);
305+
border-bottom: 7px solid var(--c-black);
306306
}
307307

308308
.fa-color-danger {
@@ -677,7 +677,7 @@ a:active {
677677
.current-video-range .current-video-range-max-value,
678678
.current-video-range .current-video-range-value {
679679
position: absolute;
680-
top: -4px;
680+
top: -6px;
681681
margin: 0;
682682
color: var(--c-white);
683683
}
@@ -693,7 +693,6 @@ a:active {
693693
.player-range {
694694
width: 100%;
695695
height: 16px;
696-
overflow: hidden;
697696
cursor: pointer;
698697
background: transparent;
699698
-webkit-appearance: none;
@@ -721,13 +720,12 @@ a:active {
721720

722721
.duration-range-container {
723722
position: relative;
724-
height: 12px;
723+
height: 9px;
725724
background-color: var(--c-light-gray);
726725
width: 100%;
727726
margin-top: 10px;
728727
margin-bottom: 10px;
729728
border-radius: 20px;
730-
overflow: hidden;
731729
}
732730

733731
.duration-range-container .duration-input-shadow {
@@ -737,27 +735,42 @@ a:active {
737735
height: 100%;
738736
border-radius: 0;
739737
background-color: var(--c-primary);
740-
transition: all 0.1s ease-out;
741738
border-radius: 20px;
742739
}
743740

744741
.duration-range-container .player-range {
745742
-webkit-appearance: none;
746743
z-index: 1;
747744
position: relative;
745+
overflow: visible;
748746
}
749747

750-
.duration-range-container .player-range::-webkit-slider-runnable-track, .duration-range-container .player-range::-webkit-slider-thumb {
751-
background: transparent;
748+
.duration-range-container .player-range::-webkit-slider-thumb {
749+
position: relative;
750+
-webkit-appearance: none;
751+
top: -4px;
752+
height: 16px;
753+
width: 16px;
754+
border-radius: 50px;
755+
background-color: var(--c-white);
756+
opacity: 0;
752757
visibility: hidden;
758+
cursor: pointer;
759+
transition: all 0.1s ease-in-out;
753760
}
754761

755-
.duration-range-container .player-range:hover + .duration-input-shadow {
762+
.duration-range-container .player-range:active + .duration-input-shadow, .duration-range-container .player-range:hover + .duration-input-shadow {
756763
background-color: var(--c-primary-active);
764+
border-radius: 20px 0 0 20px;
757765
}
758766

759-
.duration-range-container .player-range:active + .duration-input-shadow {
760-
background-color: var(--c-primary-active-focus);
767+
.duration-range-container .player-range:active::-webkit-slider-thumb, .duration-range-container .player-range:hover::-webkit-slider-thumb {
768+
opacity: 1;
769+
visibility: visible;
770+
}
771+
772+
.duration-range-container .player-range:disabled::-webkit-slider-thumb {
773+
display: none;
761774
}
762775

763776
.volume-input-container {
@@ -766,7 +779,6 @@ a:active {
766779
height: 8px;
767780
background-color: var(--c-light-gray);
768781
border-radius: 5px;
769-
overflow: hidden;
770782
}
771783

772784
.volume-input-container .volume-input-shadow {
@@ -776,7 +788,6 @@ a:active {
776788
height: 100%;
777789
border-radius: 20px;
778790
background-color: var(--c-primary);
779-
transition: all 0.1s ease-out;
780791
}
781792

782793
.volume-input-container .volume-input-shadow.inactive {
@@ -796,17 +807,28 @@ a:active {
796807
z-index: 1;
797808
}
798809

799-
.volume-input-container .volume-input::-webkit-slider-runnable-track, .volume-input-container .volume-input::-webkit-slider-thumb {
800-
background: transparent;
810+
.volume-input-container .volume-input::-webkit-slider-thumb {
811+
position: relative;
812+
-webkit-appearance: none;
813+
top: -2px;
814+
height: 12px;
815+
width: 12px;
816+
border-radius: 50px;
817+
background-color: var(--c-white);
818+
opacity: 0;
801819
visibility: hidden;
820+
cursor: pointer;
821+
transition: all 0.1s ease-in-out;
802822
}
803823

804-
.volume-input-container .volume-input:hover + .volume-input-shadow {
824+
.volume-input-container .volume-input:active + .volume-input-shadow, .volume-input-container .volume-input:hover + .volume-input-shadow {
805825
background-color: var(--c-primary-active);
826+
border-radius: 20px 0 0 20px;
806827
}
807828

808-
.volume-input-container .volume-input:active + .volume-input-shadow {
809-
background-color: var(--c-primary-active-focus);
829+
.volume-input-container .volume-input:active::-webkit-slider-thumb, .volume-input-container .volume-input:hover::-webkit-slider-thumb {
830+
opacity: 1;
831+
visibility: visible;
810832
}
811833

812834
select {
@@ -1150,7 +1172,9 @@ input[type="radio"]:checked + label .round-check:after {
11501172
height: 45px;
11511173
width: 100%;
11521174
background-color: var(--c-black);
1153-
position: relative;
1175+
position: fixed;
1176+
top: 0;
1177+
z-index: 2;
11541178
}
11551179

11561180
.device-bar .trigger-nav {
@@ -1363,16 +1387,20 @@ iframe {
13631387
#search-video-list {
13641388
z-index: 10;
13651389
max-height: 430px;
1366-
background-color: var(--c-primary-inverse);
1390+
background-color: var(--c-black);
13671391
}
13681392

13691393
#search-video-list .video-item {
1370-
background-color: var(--c-primary-inverse);
1394+
background-color: var(--c-black);
1395+
}
1396+
1397+
#search-video-list .video-item-settings {
1398+
background-color: rgba(97, 97, 105, 0.4);
13711399
}
13721400

13731401
#search-video-list::-webkit-scrollbar {
13741402
width: 6px;
1375-
background-color: var(--c-primary-inverse);
1403+
background-color: var(--c-black);
13761404
}
13771405

13781406
#search-video-list::-webkit-scrollbar-thumb {
@@ -2101,6 +2129,12 @@ iframe {
21012129
border-color: rgba(0, 0, 0, 0.1);
21022130
}
21032131

2132+
#app-container.light-mode .volume-input::-webkit-slider-thumb,
2133+
#app-container.light-mode .player-range::-webkit-slider-thumb {
2134+
background-color: var(--c-primary);
2135+
border: 1px solid var(--c-primary-active);
2136+
}
2137+
21042138
@media screen and (min-width: 1200px) {
21052139
.device-bar {
21062140
display: none;
@@ -2145,9 +2179,12 @@ iframe {
21452179
}
21462180

21472181
@media screen and (max-width: 1199px) {
2182+
body {
2183+
padding-top: 45px;
2184+
}
21482185
.col-1 {
21492186
left: -350px;
2150-
position: absolute;
2187+
position: fixed;
21512188
height: 100%;
21522189
z-index: 2;
21532190
background-color: var(--c-black);
@@ -2159,15 +2196,35 @@ iframe {
21592196
#feed-video-list::-webkit-scrollbar {
21602197
width: 8px;
21612198
}
2199+
.app-head {
2200+
padding: 15px 10px 0;
2201+
height: 55px;
2202+
}
2203+
.app-head h2 {
2204+
font-size: 20px;
2205+
}
2206+
.app-head .settings {
2207+
margin-top: 5px;
2208+
}
2209+
.app-content {
2210+
position: relative;
2211+
}
21622212
.app-services .app-head {
21632213
display: none;
21642214
}
21652215
.app-services .app-content {
21662216
height: 100%;
21672217
}
2218+
.app-feed .app-content {
2219+
padding: 0 10px;
2220+
}
21682221
.menu-active .col-1 {
21692222
left: 0;
21702223
}
2224+
.notif {
2225+
position: fixed;
2226+
z-index: 3;
2227+
}
21712228
}
21722229

21732230
@media screen and (max-width: 991px) and (min-width: 768px) {
@@ -2182,6 +2239,34 @@ iframe {
21822239
}
21832240
}
21842241

2242+
@media screen and (max-width: 767px) {
2243+
body {
2244+
overflow: visible;
2245+
}
2246+
.app {
2247+
position: relative;
2248+
}
2249+
.col-2, .col-3 {
2250+
width: 100%;
2251+
}
2252+
#app-container > .container {
2253+
flex-wrap: wrap;
2254+
}
2255+
.app-content {
2256+
overflow: visible;
2257+
}
2258+
#related-video-list {
2259+
position: relative;
2260+
height: auto;
2261+
display: block;
2262+
margin-top: 10px;
2263+
}
2264+
#related-video-list .related-video-content {
2265+
position: relative;
2266+
height: 160px;
2267+
}
2268+
}
2269+
21852270
/*
21862271
@media screen and (max-width: 991px) {
21872272
body {

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.

0 commit comments

Comments
 (0)