akborana4 commited on
Commit
914f045
·
verified ·
1 Parent(s): 867dc22

Update client/src/styles.css

Browse files
Files changed (1) hide show
  1. client/src/styles.css +65 -109
client/src/styles.css CHANGED
@@ -21,139 +21,95 @@ body{
21
  color:var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
22
  }
23
 
24
- .app-shell{
25
- display:flex; min-height:100%; flex-direction:column;
26
- }
27
-
28
- .top-glow{
29
- height:4px; width:100%;
30
- background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--good) 100%);
31
- filter: blur(2px);
32
- }
33
-
34
- .header{
35
- padding:16px 20px; position:sticky; top:0; z-index:10;
36
- background: linear-gradient(180deg, rgba(10,10,15,.9), rgba(10,10,15,.5) 80%, transparent);
37
- backdrop-filter: blur(6px);
38
- border-bottom:1px solid rgba(255,255,255,.06);
39
- }
40
-
41
- .brand{
42
- display:flex; align-items:center; gap:10px; font-weight:700;
43
- }
44
-
45
- .brand .logo{
46
- width:28px; height:28px; border-radius:50%;
47
- background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent));
48
- box-shadow: 0 0 16px rgba(124,77,255,.6), 0 0 24px rgba(0,229,255,.4);
49
- }
50
-
51
- .container{
52
- max-width:1100px; margin:0 auto; padding:20px;
53
- }
54
-
55
- .panel{
56
- background: linear-gradient(180deg, var(--panel), var(--panel-2));
57
- border:1px solid rgba(255,255,255,.08);
58
- border-radius:14px; padding:16px;
59
- box-shadow: 0 8px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
60
- }
61
-
62
  .row{ display:flex; gap:16px; flex-wrap:wrap; }
63
- .col{ flex:1 1 320px; }
64
 
65
- .input, .select {
66
- width:100%; padding:12px 14px; border-radius:10px; border:1px solid rgba(255,255,255,.12);
67
- background: rgba(10,10,20,.7); color:var(--text); outline:none;
68
- }
69
  .input:focus, .select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(0,229,255,.15); }
70
 
71
- .btn{
72
- display:inline-flex; align-items:center; justify-content:center;
73
- gap:8px; padding:10px 14px; border-radius:10px; cursor:pointer;
74
- border:1px solid rgba(255,255,255,.12); background: rgba(20,20,35,.7); color:var(--text);
75
- transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
76
- }
77
  .btn:hover{ transform: translateY(-1px); box-shadow: 0 6px 16px rgba(124,77,255,.25); }
78
  .btn.primary{ background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-color: transparent; }
79
  .btn.good{ background: linear-gradient(90deg, #00c853, #00e5ff); border-color: transparent; }
80
  .btn.warn{ background: linear-gradient(90deg, #ff9800, #ff5252); border-color: transparent; }
81
 
82
  .section-title{ font-weight:700; margin:0 0 10px; letter-spacing:.3px; }
 
83
 
84
- .kbd{
85
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
86
- padding:2px 6px; border-radius:6px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1);
87
- }
88
-
89
- .player{
90
- border-radius:14px; overflow:hidden; position:relative;
91
- background: rgba(0,0,0,.25);
92
- border:1px solid rgba(255,255,255,.08);
93
- }
94
- .player-header{
95
- display:flex; align-items:center; justify-content:space-between; padding:12px 14px;
96
- background: linear-gradient(90deg, rgba(124,77,255,.18), rgba(0,229,255,.18));
97
- border-bottom:1px solid rgba(255,255,255,.08);
98
- }
99
  .player-body{ padding:12px; }
100
 
101
- .badge{
102
- display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; letter-spacing:.3px;
103
- background: rgba(124,77,255,.18); border:1px solid rgba(124,77,255,.35);
104
- }
105
 
106
- .chat{
107
- display:flex; flex-direction:column; gap:8px; height:280px;
108
- }
109
- .chat-log{
110
- flex:1; overflow:auto; padding:10px; border-radius:10px; background: rgba(255,255,255,.04);
111
- border:1px solid rgba(255,255,255,.08);
112
- }
113
- .chat-input{ display:flex; gap:8px; }
114
 
115
- .member-list{
116
- display:flex; flex-direction:column; gap:8px; max-height:280px; overflow:auto;
117
- }
118
- .member{
119
- display:flex; align-items:center; gap:10px; padding:8px; border-radius:10px;
120
- background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
121
- }
122
- .avatar{
123
- width:28px; height:28px; border-radius:50%;
124
- background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent));
125
- box-shadow: 0 0 10px rgba(124,77,255,.4);
126
- }
127
- .tag{ font-size:12px; opacity:.8; padding:2px 6px; border-radius:999px; border:1px solid rgba(255,255,255,.12); }
128
 
129
- .bar{
130
- height:8px; background: rgba(255,255,255,.06); border-radius:999px; overflow:hidden; border:1px solid rgba(255,255,255,.08);
131
- }
132
  .bar > span{ display:block; height:100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
133
 
134
- .toast-wrap{
135
- position:fixed; right:16px; bottom:16px; display:flex; flex-direction:column; gap:10px; z-index:9999;
136
- }
137
- .toast{
138
- background: rgba(15,15,30,.9); border:1px solid rgba(255,255,255,.12); color:var(--text);
139
- padding:10px 12px; border-radius:10px; min-width:220px; max-width:320px; box-shadow: 0 8px 24px rgba(0,0,0,.45);
140
- }
141
  .toast.good{ border-color: rgba(0,230,118,.5); }
142
  .toast.warn{ border-color: rgba(255,234,0,.5); }
143
  .toast.bad{ border-color: rgba(255,82,82,.5); }
144
 
145
- .modal-backdrop{
146
- position:fixed; inset:0; background: rgba(0,0,0,.5); display:flex; align-items:center; justify-content:center; z-index: 2000;
 
 
 
 
 
 
 
 
 
 
 
 
147
  }
148
- .modal{
149
- width: min(520px, 92vw); background: var(--panel); border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:16px;
150
- box-shadow: 0 16px 60px rgba(0,0,0,.6);
 
151
  }
152
 
153
- .room-grid{
154
- display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px;
 
 
 
155
  }
156
- .room-card{
157
- border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:12px; background: rgba(255,255,255,.04);
 
 
 
158
  }
159
- .room-card .meta{ font-size:12px; color:var(--muted); }
 
 
21
  color:var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
22
  }
23
 
24
+ /* Responsive tweaks */
25
+ @media (max-width: 900px){
26
+ .row { flex-direction: column; }
27
+ .container { padding: 12px; }
28
+ .player-header { gap: 10px; }
29
+ .chat { height: 240px; }
30
+ }
31
+ @media (max-width: 520px){
32
+ .now-playing .thumb { display:none; }
33
+ }
34
+
35
+ .app-shell{ display:flex; min-height:100%; flex-direction:column; }
36
+ .top-glow{ height:4px; width:100%; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--good) 100%); filter: blur(2px); }
37
+ .header{ padding:16px 20px; position:sticky; top:0; z-index:10; background: linear-gradient(180deg, rgba(10,10,15,.9), rgba(10,10,15,.5) 80%, transparent); backdrop-filter: blur(6px); border-bottom:1px solid rgba(255,255,255,.06); }
38
+ .brand{ display:flex; align-items:center; gap:10px; font-weight:700; }
39
+ .brand .logo{ width:28px; height:28px; border-radius:50%; background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent)); box-shadow: 0 0 16px rgba(124,77,255,.6), 0 0 24px rgba(0,229,255,.4); }
40
+ .container{ max-width:1100px; margin:0 auto; padding:20px; }
41
+ .panel{ background: linear-gradient(180deg, var(--panel), var(--panel-2)); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:16px; box-shadow: 0 8px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  .row{ display:flex; gap:16px; flex-wrap:wrap; }
43
+ .col{ flex:1 1 320px; min-width:320px; }
44
 
45
+ .input, .select { width:100%; padding:12px 14px; border-radius:10px; border:1px solid rgba(255,255,255,.12); background: rgba(10,10,20,.7); color:var(--text); outline:none; }
 
 
 
46
  .input:focus, .select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(0,229,255,.15); }
47
 
48
+ .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:10px; cursor:pointer; border:1px solid rgba(255,255,255,.12); background: rgba(20,20,35,.7); color:var(--text); transition: transform .08s ease, box-shadow .15s ease, background .15s ease; }
 
 
 
 
 
49
  .btn:hover{ transform: translateY(-1px); box-shadow: 0 6px 16px rgba(124,77,255,.25); }
50
  .btn.primary{ background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-color: transparent; }
51
  .btn.good{ background: linear-gradient(90deg, #00c853, #00e5ff); border-color: transparent; }
52
  .btn.warn{ background: linear-gradient(90deg, #ff9800, #ff5252); border-color: transparent; }
53
 
54
  .section-title{ font-weight:700; margin:0 0 10px; letter-spacing:.3px; }
55
+ .kbd{ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; padding:2px 6px; border-radius:6px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); }
56
 
57
+ .player{ border-radius:14px; overflow:hidden; position:relative; background: rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.08); }
58
+ .player-header{ display:flex; align-items:center; justify-content:space-between; padding:12px 14px; background: linear-gradient(90deg, rgba(124,77,255,.18), rgba(0,229,255,.18)); border-bottom:1px solid rgba(255,255,255,.08); flex-wrap: wrap; gap:8px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  .player-body{ padding:12px; }
60
 
61
+ .badge{ display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; letter-spacing:.3px; background: rgba(124,77,255,.18); border:1px solid rgba(124,77,255,.35); }
62
+ .tag{ font-size:12px; opacity:.9; padding:2px 6px; border-radius:999px; border:1px solid rgba(255,255,255,.12); }
 
 
63
 
64
+ .chat{ display:flex; flex-direction:column; gap:8px; height:280px; }
65
+ .chat-log{ flex:1; overflow:auto; padding:10px; border-radius:10px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); }
66
+ .chat-input{ display:flex; gap:8px; flex-wrap: wrap; }
 
 
 
 
 
67
 
68
+ .member-list{ display:flex; flex-direction:column; gap:8px; max-height:280px; overflow:auto; }
69
+ .member{ display:flex; align-items:center; gap:10px; padding:8px; border-radius:10px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); }
70
+ .avatar{ width:28px; height:28px; border-radius:50%; background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent)); box-shadow: 0 0 10px rgba(124,77,255,.4); }
 
 
 
 
 
 
 
 
 
 
71
 
72
+ .bar{ height:8px; background: rgba(255,255,255,.06); border-radius:999px; overflow:hidden; border:1px solid rgba(255,255,255,.08); }
 
 
73
  .bar > span{ display:block; height:100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
74
 
75
+ .toast-wrap{ position:fixed; right:16px; bottom:16px; display:flex; flex-direction:column; gap:10px; z-index:9999; }
76
+ .toast{ background: rgba(15,15,30,.9); border:1px solid rgba(255,255,255,.12); color:var(--text); padding:10px 12px; border-radius:10px; min-width:220px; max-width:320px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
 
 
 
 
 
77
  .toast.good{ border-color: rgba(0,230,118,.5); }
78
  .toast.warn{ border-color: rgba(255,234,0,.5); }
79
  .toast.bad{ border-color: rgba(255,82,82,.5); }
80
 
81
+ .modal-backdrop{ position:fixed; inset:0; background: rgba(0,0,0,.5); display:flex; align-items:center; justify-content:center; z-index: 2000; }
82
+ .modal{ width: min(520px, 92vw); background: var(--panel); border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:16px; box-shadow: 0 16px 60px rgba(0,0,0,.6); }
83
+
84
+ .room-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
85
+ .room-card{ border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:12px; background: rgba(255,255,255,.04); }
86
+
87
+ /* DJ vibe ambient overlay for players */
88
+ .ambient{
89
+ position:absolute; inset:0; pointer-events:none;
90
+ background: radial-gradient(600px 300px at 20% 10%, rgba(124,77,255,.15), transparent 40%),
91
+ radial-gradient(600px 300px at 80% 90%, rgba(0,229,255,.12), transparent 40%);
92
+ mix-blend-mode: screen;
93
+ animation: pulse 8s ease-in-out infinite;
94
+ opacity:.8;
95
  }
96
+ @keyframes pulse{
97
+ 0%{ transform: scale(1); opacity:.6; }
98
+ 50%{ transform: scale(1.03); opacity:.95; }
99
+ 100%{ transform: scale(1); opacity:.6; }
100
  }
101
 
102
+ /* Hero background using artwork with glow */
103
+ .hero-thumb{
104
+ position:absolute; inset:0; filter: blur(40px) saturate(140%); opacity:.22;
105
+ background-size: cover; background-position: center;
106
+ transform: scale(1.1);
107
  }
108
+
109
+ /* Mentions dropdown */
110
+ .mentions{
111
+ position: absolute; background: var(--panel); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:6px;
112
+ box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 20; width: 220px; max-height: 220px; overflow: auto;
113
  }
114
+ .mentions .item{ padding:6px 8px; border-radius:8px; cursor:pointer; }
115
+ .mentions .item:hover{ background: rgba(255,255,255,.08); }