48
48
margin : 0 ;
49
49
padding : 0 ;
50
50
cursor : default;
51
- -webkit-app-region : drag;
51
+ -webkit-app-region : no- drag;
52
52
overflow : hidden;
53
53
animation : loading-animation 2s 1 ;
54
54
}
@@ -383,10 +383,34 @@ a:active {
383
383
opacity : 0 ;
384
384
visibility : hidden;
385
385
transition : opacity 0.1s ease-out, visibility 0.1s ease-out, height 0.1s ease-out 0.1s ;
386
+ position : relative;
387
+ height : 270px ;
388
+ width : 100% ;
389
+ }
390
+
391
+ # youtube-player .cover-controls ,
392
+ # youtube-player .cover-image {
393
+ display : block;
394
+ position : absolute;
395
+ cursor : pointer;
396
+ }
397
+
398
+ # youtube-player .cover-image {
399
+ top : 0 ;
400
+ left : 0 ;
401
+ width : 100% ;
402
+ height : 225px ;
403
+ }
404
+
405
+ # youtube-player .cover-controls {
406
+ width : 100% ;
407
+ right : 0 ;
408
+ bottom : 0 ;
409
+ width : 160px ;
410
+ height : 35px ;
386
411
}
387
412
388
413
# youtube-player .active {
389
- height : 270px ;
390
414
opacity : 1 ;
391
415
visibility : visible;
392
416
transition : opacity 0.1s ease-out 0.3s , visibility 0.1s ease-out 0.1s , height 0.1s ease-out;
@@ -630,8 +654,8 @@ a:active {
630
654
transform : translate (-50% , -50% );
631
655
}
632
656
633
- .player-buttons button : not (# play-song ): active {
634
- transform : scale (1.4 );
657
+ .player-buttons button : not (# play-song ): active {
658
+ transform : scale (1.2 );
635
659
}
636
660
637
661
.player-buttons # play-song {
@@ -913,8 +937,34 @@ input[type="radio"]:checked + label .round-check:after {
913
937
font-size : 11px ;
914
938
}
915
939
940
+ .header-bar {
941
+ -webkit-app-region : drag;
942
+ text-align : center;
943
+ position : relative;
944
+ height : 26px ;
945
+ }
946
+
947
+ .header-bar : before {
948
+ content : '' ;
949
+ background-color : var (--c-black );
950
+ height : 100% ;
951
+ width : 100% ;
952
+ position : absolute;
953
+ left : 0 ;
954
+ top : 0 ;
955
+ }
956
+
957
+ .header-bar h1 {
958
+ margin : 0 ;
959
+ font-size : 12px ;
960
+ position : relative;
961
+ z-index : 1 ;
962
+ padding : 4px 0 ;
963
+ color : rgba (255 , 255 , 255 , 0.7 );
964
+ }
965
+
916
966
.mac-controls {
917
- display : flex ;
967
+ display : none ;
918
968
position : absolute;
919
969
left : 10px ;
920
970
top : 10px ;
@@ -970,7 +1020,7 @@ input[type="radio"]:checked + label .round-check:after {
970
1020
}
971
1021
972
1022
.win-controls {
973
- display : flex ;
1023
+ display : none ;
974
1024
height : 25px ;
975
1025
position : absolute;
976
1026
right : 0 ;
@@ -984,6 +1034,7 @@ input[type="radio"]:checked + label .round-check:after {
984
1034
outline : 0 ;
985
1035
padding : 0 8px ;
986
1036
display : block;
1037
+ cursor : pointer;
987
1038
}
988
1039
989
1040
# win-close {
@@ -1021,7 +1072,7 @@ input[type="radio"]:checked + label .round-check:after {
1021
1072
background-repeat : no-repeat;
1022
1073
background-position : center center;
1023
1074
background-size : 13px auto;
1024
- width : 32 px ;
1075
+ width : 20 px ;
1025
1076
}
1026
1077
1027
1078
# win-minimize : active {
@@ -1089,8 +1140,7 @@ input[type="radio"]:checked + label .round-check:after {
1089
1140
color : var (--c-primary );
1090
1141
}
1091
1142
1092
- .mac-controls ,
1093
- .win-controls {
1143
+ .header-bar {
1094
1144
display : none;
1095
1145
}
1096
1146
@@ -1933,6 +1983,10 @@ iframe {
1933
1983
color : var (--c-white );
1934
1984
}
1935
1985
1986
+ # app-container .light-mode # play-song {
1987
+ color : var (--c-white );
1988
+ }
1989
+
1936
1990
# app-container .light-mode .current-video-stats p ,
1937
1991
# app-container .light-mode .current-video-name {
1938
1992
color : var (--c-black );
@@ -1947,6 +2001,15 @@ iframe {
1947
2001
color : var (--c-black );
1948
2002
}
1949
2003
2004
+ # app-container .light-mode .current-video-range-max-value , # app-container .light-mode .current-video-range-value {
2005
+ color : var (--c-black );
2006
+ }
2007
+
2008
+ # app-container .light-mode .volume-input-container ,
2009
+ # app-container .light-mode .duration-range-container {
2010
+ background-color : var (--c-soft-gray );
2011
+ }
2012
+
1950
2013
# app-container .light-mode .settingsForm {
1951
2014
background-color : var (--c-soft-gray );
1952
2015
color : var (--c-black );
@@ -2043,3 +2106,15 @@ iframe {
2043
2106
color : var (--c-black );
2044
2107
border-color : rgba (0 , 0 , 0 , 0.1 );
2045
2108
}
2109
+
2110
+ .application # app-container > .container {
2111
+ height : calc (100% - 26px );
2112
+ }
2113
+
2114
+ .application .header-bar {
2115
+ display : block;
2116
+ }
2117
+
2118
+ .app-win .win-controls {
2119
+ display : flex;
2120
+ }
0 commit comments