-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.scss
96 lines (96 loc) · 1.66 KB
/
styles.scss
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
input,
i {
cursor: pointer;
}
@mixin flexing {
display: flex;
align-items: center;
justify-content: center;
}
body {
@include flexing();
height: 100vh;
}
.player {
position: relative;
width: 300px;
height: 450px;
border: 1px solid #eaeaea;
box-shadow: 0.3px 0.3px 5px;
}
.background {
background: url(./background.jpg) no-repeat;
height: 300px;
background-size: 100%;
.overlaybg {
@include flexing();
background: rgba(0, 0, 0, 0.4);
height: 300px;
}
}
.timebox {
@include flexing();
justify-content: space-between;
}
.seeker {
input {
-webkit-appearance: none;
width: 100%;
height: 10px;
border-radius: 5px;
background: #d3d3d3;
outline: none;
-webkit-transition: 0.2s;
transition: opacity 0.2s;
}
input::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #655ecf;
}
}
.volumeslider {
margin-top: 20px;
position: absolute;
right: 0;
input {
-webkit-appearance: none;
width: 150px;
height: 10px;
border-radius: 5px;
background: #d3d3d3;
outline: none;
-webkit-transition: 0.2s;
transition: opacity 0.2s;
}
input::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 15px;
border-radius: 50%;
background: #eb3992;
}
}
.control-btns {
margin-top: 10px;
@include flexing();
justify-content: space-evenly;
font-size: 35px;
.fa:active {
color: coral;
}
}
//canvas
canvas {
display: block;
}