-
Notifications
You must be signed in to change notification settings - Fork 516
Expand file tree
/
Copy pathApp.scss
More file actions
200 lines (167 loc) · 2.89 KB
/
App.scss
File metadata and controls
200 lines (167 loc) · 2.89 KB
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
.App-header {
padding: 40px 15px;
text-align: center;
position: relative;
}
#spotifyErrorMessage {
text-align: center;
}
#loginButton {
display: block;
margin: 0 auto;
}
#topMenu {
position: absolute;
top: 0;
right: 0;
padding: 20px 0;
button {
color: #dee2e6;
padding: 10px 6px;
&:hover {
color: silver;
}
}
}
#languageDropdown {
.dropdown-item svg {
&.selected {
color: #5cb85c;
}
&:not(.selected) {
opacity: 0.1;
}
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
#saved-albums {
animation: fadeIn 1s;
}
#playlists {
animation: fadeIn 1s;
table {
thead {
th {
border-top-width: 0;
&.icon {
width: 30px;
}
&.owner {
width: 150px;
}
&.tracks {
width: 100px;
}
&.public,
&.collaborative {
width: 120px;
}
&.export {
width: 100px;
}
}
}
&.table-sm {
td,
th {
padding: 8px;
}
}
}
}
#playlistsHeader {
display: flex;
flex-direction: row-reverse;
.paginator {
margin-left: 20px;
}
.progress {
flex-grow: 1;
height: 30px;
.progress-bar {
white-space: nowrap;
padding: 4px 10px;
text-align: left;
// Transitioning when resetting looks weird
&[aria-valuenow="0"] {
transition: none;
}
}
}
form {
margin-left: 20px;
}
}
#playlistsFooter {
display: flex;
flex-direction: row-reverse;
gap: 20px;
}
@keyframes spinner {
to {
transform: rotate(360deg);
}
}
@-webkit-keyframes spinner {
to {
-webkit-transform: rotate(360deg);
}
}
.spinner {
display: flex;
justify-content: center;
align-items: center;
min-height: 100px;
margin: 12px;
}
.spinner:before {
content: 'Loading…';
width: 100px;
height: 100px;
}
.spinner:not(:required):before {
content: '';
border-radius: 50%;
border: 4px solid rgba(236, 235, 232, 1);
border-top-color: rgba(130, 130, 130, 1);
animation: spinner 1s linear infinite;
-webkit-animation: spinner 1s linear infinite;
}
.ribbon {
background-color: #84BD00;
overflow: hidden;
white-space: nowrap;
/* top left corner */
position: absolute;
left: -50px;
top: 40px;
/* 45 deg ccw rotation */
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
/* shadow */
-webkit-box-shadow: 0 0 10px #888;
-moz-box-shadow: 0 0 10px #888;
box-shadow: 0 0 10px #888;
}
.ribbon a {
border: 1px solid #ded;
color: #fff;
display: block;
font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 1px 0;
padding: 10px 50px;
text-align: center;
text-decoration: none;
/* shadow */
text-shadow: 0 0 5px #444;
}