Rubentnoda commited on
Commit
fc564d9
·
verified ·
1 Parent(s): de177fa

Upload style.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. style.css +186 -68
style.css CHANGED
@@ -1,76 +1,194 @@
1
- * {
2
- box-sizing: border-box;
3
- padding: 0;
4
- margin: 0;
5
- font-family: sans-serif;
6
- }
7
-
8
- html,
9
- body {
10
- height: 100%;
11
- }
12
-
13
- body {
14
- padding: 32px;
15
- }
16
-
17
- body,
18
- #container {
19
- display: flex;
20
- flex-direction: column;
21
- justify-content: center;
22
- align-items: center;
23
- }
24
 
25
- #container {
26
- position: relative;
27
- gap: 0.4rem;
 
28
 
29
- width: 640px;
30
- height: 640px;
31
- max-width: 100%;
32
- max-height: 100%;
 
33
 
34
- border: 2px dashed #D1D5DB;
35
- border-radius: 0.75rem;
36
- overflow: hidden;
37
- cursor: pointer;
38
- margin: 1rem;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
- background-size: 100% 100%;
41
- background-position: center;
42
- background-repeat: no-repeat;
43
- font-size: 18px;
44
- }
45
 
46
- #upload {
47
- display: none;
48
- }
 
49
 
50
- svg {
51
- pointer-events: none;
52
- }
 
53
 
54
- #example {
55
- font-size: 14px;
56
- text-decoration: underline;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  cursor: pointer;
58
- }
59
-
60
- #example:hover {
61
- color: #2563EB;
62
- }
63
-
64
- .bounding-box {
65
- position: absolute;
66
- box-sizing: border-box;
67
- border: solid 2px;
68
- }
69
-
70
- .bounding-box-label {
71
- color: white;
72
- position: absolute;
73
- font-size: 12px;
74
- margin: -16px 0 0 -2px;
75
- padding: 1px;
76
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Custom styles for the multimedia control system */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
+ /* Smooth transitions */
4
+ * {
5
+ transition: all 0.3s ease;
6
+ }
7
 
8
+ /* Hover effects for cards */
9
+ .hover-lift:hover {
10
+ transform: translateY(-2px);
11
+ box-shadow: 0 10px 25px rgba(0,0,0,0.1);
12
+ }
13
 
14
+ /* Custom scrollbar */
15
+ ::-webkit-scrollbar {
16
+ width: 8px;
17
+ height: 8px;
18
+ }
19
+
20
+ ::-webkit-scrollbar-track {
21
+ background: #f1f1f1;
22
+ border-radius: 4px;
23
+ }
24
+
25
+ ::-webkit-scrollbar-thumb {
26
+ background: #888;
27
+ border-radius: 4px;
28
+ }
29
+
30
+ ::-webkit-scrollbar-thumb:hover {
31
+ background: #555;
32
+ }
33
+
34
+ /* Progress bar animation */
35
+ @keyframes progress {
36
+ 0% { width: 0%; }
37
+ 100% { width: var(--progress); }
38
+ }
39
+
40
+ .progress-animated {
41
+ animation: progress 1s ease-in-out;
42
+ }
43
+
44
+ /* Pulse animation for status indicators */
45
+ @keyframes pulse {
46
+ 0% { opacity: 1; }
47
+ 50% { opacity: 0.5; }
48
+ 100% { opacity: 1; }
49
+ }
50
 
51
+ .pulse {
52
+ animation: pulse 2s infinite;
53
+ }
 
 
54
 
55
+ /* Loading screen blur effect */
56
+ .backdrop-blur {
57
+ backdrop-filter: blur(5px);
58
+ }
59
 
60
+ /* Button hover effects */
61
+ .btn-hover:hover {
62
+ transform: scale(1.05);
63
+ }
64
 
65
+ .btn-hover:active {
66
+ transform: scale(0.95);
67
+ }
68
+
69
+ /* Status indicator colors */
70
+ .status-connected { color: #10b981; }
71
+ .status-playing { color: #3b82f6; }
72
+ .status-paused { color: #f59e0b; }
73
+ .status-offline { color: #ef4444; }
74
+
75
+ /* Gradient text effect */
76
+ .gradient-text {
77
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
78
+ -webkit-background-clip: text;
79
+ -webkit-text-fill-color: transparent;
80
+ background-clip: text;
81
+ }
82
+
83
+ /* Card shadow effects */
84
+ .card-shadow {
85
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
86
+ }
87
+
88
+ .card-shadow-lg {
89
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
90
+ }
91
+
92
+ /* Custom range slider */
93
+ input[type="range"] {
94
+ -webkit-appearance: none;
95
+ appearance: none;
96
+ background: transparent;
97
  cursor: pointer;
98
+ }
99
+
100
+ input[type="range"]::-webkit-slider-track {
101
+ background: #e5e7eb;
102
+ height: 6px;
103
+ border-radius: 3px;
104
+ }
105
+
106
+ input[type="range"]::-webkit-slider-thumb {
107
+ -webkit-appearance: none;
108
+ appearance: none;
109
+ background: #7c3aed;
110
+ height: 20px;
111
+ width: 20px;
112
+ border-radius: 50%;
113
+ margin-top: -7px;
114
+ }
115
+
116
+ input[type="range"]::-moz-range-track {
117
+ background: #e5e7eb;
118
+ height: 6px;
119
+ border-radius: 3px;
120
+ }
121
+
122
+ input[type="range"]::-moz-range-thumb {
123
+ background: #7c3aed;
124
+ height: 20px;
125
+ width: 20px;
126
+ border-radius: 50%;
127
+ border: none;
128
+ }
129
+
130
+ /* Animations */
131
+ @keyframes fadeIn {
132
+ from { opacity: 0; transform: translateY(10px); }
133
+ to { opacity: 1; transform: translateY(0); }
134
+ }
135
+
136
+ .fade-in {
137
+ animation: fadeIn 0.5s ease-out;
138
+ }
139
+
140
+ /* Responsive adjustments */
141
+ @media (max-width: 768px) {
142
+ .container {
143
+ padding: 0 1rem;
144
+ }
145
+
146
+ .grid-cols-3 {
147
+ grid-template-columns: 1fr;
148
+ }
149
+
150
+ .lg\\:col-span-2 {
151
+ grid-column: span 1;
152
+ }
153
+ }
154
+
155
+ /* Focus styles */
156
+ .focus-ring:focus {
157
+ outline: 2px solid #7c3aed;
158
+ outline-offset: 2px;
159
+ }
160
+
161
+ /* Loading animation */
162
+ @keyframes spin {
163
+ to { transform: rotate(360deg); }
164
+ }
165
+
166
+ .animate-spin {
167
+ animation: spin 1s linear infinite;
168
+ }
169
+
170
+ /* Custom badge styles */
171
+ .badge {
172
+ display: inline-flex;
173
+ align-items: center;
174
+ padding: 0.25rem 0.75rem;
175
+ border-radius: 9999px;
176
+ font-size: 0.875rem;
177
+ font-weight: 500;
178
+ }
179
+
180
+ /* Hover effect for playlist items */
181
+ .playlist-item:hover {
182
+ background-color: #f3f4f6;
183
+ border-color: #9ca3af;
184
+ }
185
+
186
+ /* Status message animations */
187
+ .status-message {
188
+ animation: slideIn 0.3s ease-out;
189
+ }
190
+
191
+ @keyframes slideIn {
192
+ from { transform: translateX(-100%); opacity: 0; }
193
+ to { transform: translateX(0); opacity: 1; }
194
+ }