-
Notifications
You must be signed in to change notification settings - Fork 29
/
style.css
888 lines (767 loc) · 16.6 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700wght&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--body-bg: rgb(230, 226, 173);
--menu-slide-bg: rgb(179, 154, 16);
--ms-box-shadow: rgb(66, 57, 9);
--song-slide-bg: rgb(208, 180, 21);
--li-hover: rgb(226, 197, 31);
--master-play-bg: rgb(184, 159, 15);
--mp-box-shadow: rgb(66, 57, 8);
--playlist-active: rgb(140, 104, 6);
--play-box-shadow: rgb(198 156 6);
--wave: rgb(227, 12, 12);
--icon-border: rgb(100, 83, 7);
--bar-bg: rgb(28, 101, 218);
--button-bg: rgb(147, 121, 6);
--button-background: rgb(118, 98, 5);
--pop_song-hover: rgb(226, 197, 31);
}
body.dark-mode {
--body-bg: #131312;
--menu-slide-bg: #111727;
--ms-box-shadow: #090f1f;
--song-slide-bg: #0b1320;
--master-play-bg: #111727;
--mp-box-shadow: #090f1f;
--playlist-active: #36e2ec;
--play-box-shadow: rgb(18, 18, 22);
--li-hover: rgb(105, 105, 170, 0.1);
--wave: #36e2ec;
--icon-border: rgb(105, 105, 170, 0.1);
--bar-bg: #36e2ec;
--button-bg: #36e2ec;
--button-background: #5adae0;
--pop_song-hover: rgb(105, 105, 170, 0.1);
}
body {
width: 100vw;
height: 100vh;
background-color: var(--body-bg);
font-family: "Baloo Bhai", cursive;
display: flex;
justify-content: center;
align-items: center;
/* font-size:4rem; */
}
header {
width: 85%;
height: 95%;
/* border:1px solid; */
display: flex;
flex-wrap: wrap;
overflow: auto;
}
header .menu_slide,
.song_slide {
position: relative;
width: 25%;
height: 90%;
background-color: var(--menu-slide-bg);
/* box-shadow:1px 2px 2px var(--ms-box-shadow); */
color: white;
}
header .song_slide {
width: 75%;
background: var(--song-slide-bg);
overflow: auto;
scroll-behavior: smooth;
}
header .song_slide::-webkit-scrollbar {
display: none;
}
header .master_play {
width: 100%;
height: 10%;
background: var(--master-play-bg);
box-shadow: 0px 3px 8px var(--mp-box-shadow);
}
/* css for menu_slide section */
/* header .menu_slide h1{
font-size: 27px;
margin: 3px 0px 0px 20px;
font-weight: 500;
} */
header .menu_slide .logo {
position: relative;
width: 89%;
height: 96px;
margin: 3px 0px 0px 20px;
/* border:1px solid #fff; */
/* margin-right: 3px; */
}
header .menu_slide .logo img {
width: 100%;
height: 100%;
}
header .menu_slide .playlist {
margin: 36px 0px 0px 20px;
}
header .menu_slide .playlist h4 {
font-size: 18px;
font-weight: 400;
padding-bottom: 9px;
color: grey;
cursor: pointer;
display: flex;
align-items: center;
transition: 0.3s linear;
}
header .menu_slide h6 {
display: none;
}
header .menu_slide .playlist h4:hover {
color: white;
}
header .menu_slide .playlist h4 span {
position: relative;
margin-right: 35px;
}
header .menu_slide .playlist h4 span::before {
content: " ";
position: absolute;
width: 4px;
height: 4px;
border: 2px solid grey;
border-radius: 50%;
top: -4px;
transition: 0.3s linear;
}
header .menu_slide .playlist h4:hover span::before {
border: 2px solid white;
}
header .menu_slide .playlist h4 .bi {
display: none;
}
header .menu_slide .playlist .active {
color: var(--playlist-active);
}
header .menu_slide .playlist .active span {
display: none;
}
header .menu_slide .playlist .active .bi {
display: flex;
margin-right: 20px;
}
header .menu_slide .menu_song {
width: 100%;
height: 386px;
/* border: 2px solid ; */
margin-top: 9px;
overflow: auto;
scroll-behavior: smooth;
z-index: 0;
}
header .menu_slide .menu_song::-webkit-scrollbar {
display: none;
}
header .menu_slide .menu_song li {
position: relative;
padding: 5px 0px 5px 5px;
/* font-size:4rem; */
display: flex;
align-items: center;
margin-bottom: 10px;
cursor: pointer;
transition: 0.3s linear;
}
header .menu_slide .menu_song li:hover {
background: var(--li-hover);
}
header .menu_slide .menu_song li span {
font-size: 12px;
font-weight: 600;
color: grey;
}
header .menu_slide .menu_song li img {
width: 34px;
height: 34px;
margin-left: 12px;
object-fit: cover;
}
header .menu_slide .menu_song li h5 {
font-size: 14px;
margin-left: 15px;
}
header .menu_slide .menu_song li h5 .subtitle {
font-size: 11px;
color: grey;
}
header .menu_slide .menu_song li .bi {
position: absolute;
right: 15px;
top: 6px;
font-size: 16px;
}
/* css for master_play section */
header .master_play {
display: flex;
align-items: center;
padding: 0px 20px;
z-index: 1;
}
header .master_play .wave {
width: 30px;
height: 30px;
/* border:1px solid #fff; */
padding-bottom: 5px;
display: flex;
align-items: flex-end;
margin-right: 10px;
}
header .master_play .wave .wave1 {
width: 3px;
height: 10px;
margin-right: 3px;
border-radius: 10px 10px 0px 0px;
background: var(--wave);
animation: unset;
}
header .master_play .wave .wave1:nth-child(2) {
height: 13px;
/* animation-delay: .4s; */
}
header .master_play .wave .wave1:nth-child(3) {
height: 8px;
/* animation-delay: .8s; */
}
/* javascript class wave */
header .master_play .active2 .wave1 {
animation: wave 0.5s linear infinite;
}
header .master_play .active2 .wave1:nth-child(2) {
animation-delay: 0.4s;
}
header .master_play .active2 .wave1:nth-child(3) {
animation-delay: 0.8s;
}
@keyframes wave {
0% {
height: 10px;
}
50% {
height: 15px;
}
100% {
height: 10px;
}
}
header .master_play img {
width: 35px;
height: 35px;
}
header .master_play h5 {
width: 130px;
font-size: 14px;
margin-left: 15px;
color: #fff;
line-height: 17px;
}
header .master_play h5 .subtitle {
font-size: 12px;
color: rgb(106, 105, 105);
}
header .master_play .icons {
display: flex;
font-size: 20px;
color: #fff;
margin: 0px 20px 0px 30px;
outline: none;
}
header .master_play .icons .bi {
cursor: pointer;
outline: none;
}
header .master_play .icons #download_music {
text-decoration: none;
color: #fff;
margin-right: 40px;
}
header .master_play .icons .bi:nth-child(3) {
border: 1px solid var(--icon-border);
border-radius: 50%;
padding: 0px 3px 0px 3px;
margin: 0px 5px;
transition: 0.3s linear;
}
header .master_play span {
color: #fff;
width: 32px;
font-size: 11px;
font-weight: 400;
}
header .master_play #currentstart {
margin: 0px 0px 0px 20px;
}
header .master_play .bar {
position: relative;
width: 43%;
height: 2px;
background: grey;
margin: 0px 15px 0px 10px;
}
header .master_play .bar .bar2 {
position: absolute;
background: var(--bar-bg);
width: 0%;
height: 100%;
top: 0;
transition: 0.3s linear;
}
header .master_play .bar .dot {
position: absolute;
width: 5px;
height: 5px;
background: var(--bar-bg);
border-radius: 50%;
left: 0%;
top: -1px;
transition: 0.3s linear;
}
header .master_play .bar .dot::before {
content: "";
position: absolute;
width: 15px;
height: 15px;
border: 1px solid var(--bar-bg);
border-radius: 50%;
left: -6px;
top: -6px;
box-shadow: inset 0px 0px 3px var(--bar-bg);
}
header .master_play .bar input {
position: absolute;
width: 100%;
/* height: 28px; */
top: -6px;
left: 0;
cursor: pointer;
z-index: 99999999;
transition: 3s linear;
opacity: 0;
}
header .master_play .vol {
position: relative;
width: 100px;
height: 2px;
margin-left: 50px;
background: rgba(7, 7, 219, 0.1);
}
header .master_play .vol .bi {
position: absolute;
color: #fff;
font-size: 25px;
top: -17px;
left: -30px;
}
header .master_play .vol input {
position: absolute;
width: 100%;
/* height:28px; */
top: -10px;
left: 0;
cursor: pointer;
z-index: 99999999;
transition: 0.3s linear;
opacity: 0;
}
header .master_play .vol .vol_bar {
position: absolute;
background: var(--bar-bg);
width: 100%;
height: 100%;
top: 0;
transition: 0.3s linear;
}
header .master_play .vol .dot {
position: absolute;
width: 5px;
height: 5px;
background: var(--bar-bg);
border-radius: 50%;
left: 100%;
top: -1px;
transition: 0.3s linear;
}
header .master_play .vol .dot::before {
content: "";
position: absolute;
width: 15px;
height: 15px;
border: 1px solid var(--bar-bg);
border-radius: 50%;
left: -6px;
top: -6px;
box-shadow: inset 0px 0px 3px var(--bar-bg);
}
/* css for song_slide section */
header .song_slide {
z-index: 2;
}
header .song_slide::before {
content: "";
position: absolute;
width: 500px;
height: 330px;
/* background: url(arijit.png) no-repeat center center/cover; */
margin-left: 400px;
z-index: -1;
/* box-shadow: 80px 50px 80px 50px rgba(232, 12, 12, .3); */
}
header .song_slide nav {
width: 90%;
height: 10%;
margin: auto;
/* border:1px solid #fff; */
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
gap: 20px;
}
header .song_slide nav ul {
display: flex;
align-items: center;
/* justify-content: center; */
width: 365px;
height: 100%;
}
header .song_slide nav ul label {
position: relative;
/* list-style-type: none; */
font-size: 27px;
margin-right: 25px;
cursor: pointer;
color: grey;
transition: 0.3s linear;
}
/* header .song_slide nav ul li:hover{
color:white;
}
header .song_slide nav ul li:nth-child(1){
color:white;
}
header .song_slide nav ul li span{
position: absolute;
width: 100%;
height:2.5px;
background:rgb(100, 83, 7);
bottom:-5px;
left:0;
border-radius:20px;
} */
header .song_slide nav .search {
display: flex;
position: relative;
width: 30%;
padding: 1px;
padding-right: 4px;
gap: 2px;
border-radius: 20px;
color: rgb(232, 229, 229);
margin-left: 97px;
height: 26px;
}
header .song_slide nav .search::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
border-radius: 20px;
background: rgb(158, 153, 153);
backdrop-filter: blur(5px);
z-index: -1;
}
header .song_slide nav .search .search_results {
position: absolute;
width: 100%;
height: 200px;
/* border:1px solid; */
margin-top: 26px;
border-radius: 7px;
overflow: auto;
}
header .song_slide nav .search .search_results::-webkit-scrollbar {
display: none;
}
header .song_slide nav .search .search_results .card {
width: 100%;
min-height: 30px;
/* border:1px solid white; */
display: flex;
align-items: center;
background: rgb(184, 184, 184, 0.4);
margin-bottom: 6px;
text-decoration: none;
display: none;
}
header .song_slide nav .search .search_results .card img {
width: 35px;
height: 35px;
border-radius: 2px;
}
header .song_slide nav .search .search_results .card .content {
width: 80%;
height: 100%;
/* border:1px solid; */
padding: 0;
font-size: 15px;
font-weight: 600;
color: #fff;
}
header .song_slide nav .search .search_results .card .content .subtitle {
color: grey;
font-size: 11px;
font-weight: 400;
}
header .song_slide nav .search .bi {
font-size: 13px;
padding: 3px 0px 0px 10px;
}
header .song_slide nav .search input {
background: none;
outline: none;
border: none;
padding: 0px 10px;
/* width: 58rem;
height: 7rem; */
/* color: #fff; */
font-size: 12px;
height: 26px;
}
/* this is for login link */
header .song_slide nav .login-link {
padding: 2px 10px;
text-decoration: none;
border-radius: 40px;
background-color: rgb(158, 153, 153);
height: 26px;
}
header .song_slide nav .login-link a {
text-decoration: none;
}
/* css for toggling the daek mode starts */
header .song_slide #toggle {
position: relative;
display: block;
margin-left: 2px;
border: 1px solid rgb(112, 91, 5);
width: 66px;
height: 26px;
border-radius: 16px;
transition: 0.5s;
cursor: pointer;
box-shadow: inset 0px 8px 60px rgba(0, 0, 0, 0.1),
inset 0px 8px 8px rgba(0, 0, 0, 0.1), inset 0px -4px 4px rgba(0, 0, 0, 0.1);
}
#toggle.active {
background: rgb(158, 153, 153);
box-shadow: inset 0px 2px 60px rgba(0, 0, 0, 0.1),
inset 0px 2px 8px rgba(0, 0, 0, 0.1), inset 0px -4px 4px rgba(0, 0, 0, 0.05);
height: 25px;
}
header .song_slide #toggle .indicator {
position: absolute;
top: 0;
left: 0;
width: 26px;
height: 26px;
background: linear-gradient(to bottom, rgb(224, 213, 19), rgb(225, 163, 18));
border-radius: 50%;
transform: scale(0.9);
box-shadow: 0px 8px 40px rgba(112, 91, 5, 0.5),
inset 0px 4px 4px rgba(252, 242, 50, 0.2),
inset 0px -4px 4px rgba(252, 242, 50, 0.2);
transition: 0.5s;
}
header .song_slide #toggle.active .indicator {
left: 20px;
background: linear-gradient(to bottom, rgb(93, 170, 232), rgb(18, 63, 225));
box-shadow: 0px 8px 40px rgba(5, 50, 112, 0.5),
inset 0px 4px 4px rgba(50, 144, 252, 0.2),
inset 0px -4px 4px rgba(64, 129, 215, 0.2);
}
/* css for toggling the daek mode ends */
header .song_slide .content {
width: 90%;
height: 30%;
margin: auto;
/* border:1px solid #fff; */
padding-top: 20px;
}
header .song_slide .content h1 {
font-weight: 600;
font-size: 33px;
}
header .song_slide .content p {
font-size: 18px;
font-weight: 400;
color: grey;
margin: 5px;
}
header .song_slide .content .buttons {
margin-top: 15px;
}
header .song_slide .content .buttons button {
width: 130px;
height: 30px;
border: 2px solid var(--button-bg);
outline: none;
border-radius: 20px;
background: var(--button-background);
color: #fff;
/* font-size:4rem; */
cursor: pointer;
transition: 0.3s linear;
}
header .song_slide .content .buttons button:hover {
border: 2px solid var(--button-bg);
background: none;
color: var(--button-bg);
}
header .song_slide .content .buttons button:nth-child(2) {
border: 2px solid var(--button-bg);
background: none;
color: var(--button-bg);
}
header .song_slide .content .buttons button:nth-child(2):hover {
border: 2px solid var(--button-bg);
background: var(--button-bg);
color: #fff;
}
.song_card {
position: relative;
z-index: -1;
}
header .song_slide .song_card {
width: 90%;
height: auto;
/* border:1px solid #fff; */
margin: auto;
margin-top: 15px;
}
header .song_slide .song_card .h4 {
display: flex;
align-items: center;
justify-content: space-between;
/* margin-top: 4rem; */
}
header .song_slide .song_card .h4 .bi {
color: grey;
cursor: pointer;
transition: 0.3s linear;
}
header .song_slide .song_card .h4 .bi:hover {
color: #fff;
}
header .song_slide .song_card .pop_song {
width: 100%;
height: 168px;
margin-top: 15px;
display: flex;
overflow-x: auto;
scroll-behavior: smooth;
}
header .song_slide .song_card .pop_song::-webkit-scrollbar {
display: none;
}
header .song_slide .song_card .pop_song li {
min-width: 104px;
height: 154px;
list-style-type: none;
margin-right: 10px;
transition: 0.3s linear;
}
header .song_slide .song_card .pop_song li:hover {
background: var(--pop_song-hover);
}
header .song_slide .song_card .pop_song li .img_play {
position: relative;
width: 105px;
height: 105px;
/* border: 1px solid #fff; */
display: flex;
align-items: center;
justify-content: center;
}
header .song_slide .song_card .pop_song li .img_play img {
width: 100%;
height: 100%;
object-fit: cover;
}
header .song_slide .song_card .pop_song li .img_play .bi {
position: absolute;
font-size: 20px;
cursor: pointer;
transition: 0.3s linear;
opacity: 0;
}
header .song_slide .song_card .pop_song li .img_play:hover .bi {
opacity: 1;
}
header .song_slide .song_card .pop_song li h5 {
padding: 5px 0px 0px 5px;
line-height: 15px;
font-size: 13px;
/* width: 31rem; */
}
header .song_slide .song_card .pop_song li h5 .subtitle {
font-size: 11px;
color: #4c5262;
}
header .song_slide .popular_artists {
width: 90%;
height: auto;
/* border:1px solid #fff; */
margin: auto;
margin-top: 15px;
}
header .song_slide .popular_artists .h4 {
display: flex;
align-items: center;
justify-content: space-between;
}
header .song_slide .popular_artists .h4 .bi {
color: grey;
cursor: pointer;
transition: 0.3s linear;
}
header .song_slide .popular_artists .h4 .bi:hover {
color: #fff;
}
header .song_slide .popular_artists .items {
width: 100%;
height: 110px;
margin-top: 10px;
display: flex;
scroll-behavior: smooth;
}
header .song_slide .popular_artists .items::-webkit-scrollbar {
display: none;
}
header .song_slide .popular_artists .items li {
position: relative;
list-style-type: none;
min-width: 80px;
height: 80px;
/* background: #fff; */
border-radius: 50%;
margin-right: 20px;
cursor: pointer;
}
header .song_slide .popular_artists .items li img {
width: 100%;
height: 100%;
border-radius: 50%;
position: absolute;
object-fit: cover;
box-shadow: 2px 4px 3px 0px rgb(85, 79, 79);
}
header .song_slide .popular_artists .items li img:hover {
filter: grayscale(0);
transform: scale(1.3) rotate(7deg);
}