aboutsummaryrefslogtreecommitdiff
path: root/static/@solitude/css/welcome/audio.css
blob: 5e0d0c583bb0b4c1d4f2a4c70f5edd12a1d46ffb (plain)
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
.audio-bars {
  position: relative;
  display: flex;
  width: auto;
  transform: scale3d(2, 2, 1); /* EZ SCALE */
}
.bar {
  background: #fff;
  height: 20px;
  width: 2px;
  margin-right: 2px;
}
.bar:last-child {
  margin-right: 0;
}

@keyframes sound {
  0% {
    transform: scale3d(1, 0.1, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
@keyframes sound2 {
  0% {
    transform: scale3d(1, 0.1, 1);
  }
  100% {
    transform: scale3d(1, 0.5, 1);
  }
}

.bar:nth-child(1) {
  animation: sound2 0ms -800ms linear infinite alternate;
  animation-duration: 200ms;
}
.bar:nth-child(2) {
  animation: sound 0ms -800ms linear infinite alternate;
  animation-duration: 300ms;
}
.bar:nth-child(3) {
  animation: sound 0ms -800ms linear infinite alternate;
  animation-duration: 200ms;
}
.bar:nth-child(4) {
  animation: sound 0ms -800ms linear infinite alternate;
  animation-duration: 250ms;
}
.bar:nth-child(5) {
  animation: sound2 0ms -800ms linear infinite alternate;
  animation-duration: 150ms;
}

#welcome-playlist-player {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px 0 0 16px;
  box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 16px;
  position: absolute;
  bottom: 2rem;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.5s ease;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  padding: 0.8rem;
  border: 0.2rem solid var(--button-color);
  border-radius: 50%;
  filter: drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.8));
}

.player {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.play {
  height: 0;
  width: 0;
  margin-left: calc(2 * 0.25 * var(--button-height));
  /*margin-left: 17px;*/
  background: none;
  border: none;
  border-top: var(--button-height) solid transparent;
  border-bottom: var(--button-height) solid transparent;
  border-left: calc(var(--button-height) * 2 * 0.86) solid var(--button-color);
}

.pause {
  position: relative;
  background: none;
  border: none;
  height: calc(var(--button-height) * 2);
  width: calc(var(--button-height) * 2 * 0.86);
}
.pause:before,
.pause:after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 33%;
  background: var(--button-color);
}
.pause:before {
  left: 0;
}
.pause:after {
  right: 0;
}

.hidden {
  display: none;
}

.title {
  color: #7679f5;
}

.artist {
  color: #e2fdff;
}

.track {
  letter-spacing: 0.1rem;
}