@pitvox/partner-react 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +804 -684
- package/dist/styles.css +118 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1137,3 +1137,121 @@
|
|
|
1137
1137
|
text-overflow: ellipsis;
|
|
1138
1138
|
white-space: nowrap;
|
|
1139
1139
|
}
|
|
1140
|
+
|
|
1141
|
+
/* ═══════════════════════════════════════════════════════════════════════════
|
|
1142
|
+
Driver Dashboard Components
|
|
1143
|
+
═══════════════════════════════════════════════════════════════════════════ */
|
|
1144
|
+
|
|
1145
|
+
/* ─── Dashboard layout ─────────────────────────────────────────── */
|
|
1146
|
+
|
|
1147
|
+
.pvx-dash {
|
|
1148
|
+
display: flex;
|
|
1149
|
+
flex-direction: column;
|
|
1150
|
+
gap: 1.5rem;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
/* ─── Driver profile ───────────────────────────────────────────── */
|
|
1154
|
+
|
|
1155
|
+
.pvx-dash-profile {
|
|
1156
|
+
display: flex;
|
|
1157
|
+
align-items: center;
|
|
1158
|
+
gap: 1rem;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.pvx-dash-profile-avatar {
|
|
1162
|
+
width: 4rem;
|
|
1163
|
+
height: 4rem;
|
|
1164
|
+
border-radius: 9999px;
|
|
1165
|
+
flex-shrink: 0;
|
|
1166
|
+
object-fit: cover;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.pvx-dash-profile-avatar--placeholder {
|
|
1170
|
+
display: flex;
|
|
1171
|
+
align-items: center;
|
|
1172
|
+
justify-content: center;
|
|
1173
|
+
background: #374151;
|
|
1174
|
+
color: var(--pvx-text-primary);
|
|
1175
|
+
font-size: 1.5rem;
|
|
1176
|
+
font-weight: 700;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
.pvx-dash-profile-info {
|
|
1180
|
+
display: flex;
|
|
1181
|
+
flex-direction: column;
|
|
1182
|
+
gap: 0.125rem;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.pvx-dash-profile-name {
|
|
1186
|
+
font-size: 1.5rem;
|
|
1187
|
+
font-weight: 700;
|
|
1188
|
+
color: var(--pvx-text-primary);
|
|
1189
|
+
margin: 0;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.pvx-dash-profile-since {
|
|
1193
|
+
font-size: 0.875rem;
|
|
1194
|
+
color: var(--pvx-text-muted);
|
|
1195
|
+
margin: 0;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
/* ─── Stats cards ──────────────────────────────────────────────── */
|
|
1199
|
+
|
|
1200
|
+
.pvx-dash-stats {
|
|
1201
|
+
display: grid;
|
|
1202
|
+
grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
|
|
1203
|
+
gap: 0.75rem;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
.pvx-dash-stat-card {
|
|
1207
|
+
display: flex;
|
|
1208
|
+
flex-direction: column;
|
|
1209
|
+
align-items: center;
|
|
1210
|
+
gap: 0.125rem;
|
|
1211
|
+
padding: 1rem 0.75rem;
|
|
1212
|
+
border-radius: var(--pvx-radius);
|
|
1213
|
+
border: 1px solid var(--pvx-border);
|
|
1214
|
+
background: var(--pvx-bg-card);
|
|
1215
|
+
text-align: center;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.pvx-dash-stat-value {
|
|
1219
|
+
font-size: 1.5rem;
|
|
1220
|
+
font-weight: 700;
|
|
1221
|
+
color: var(--pvx-text-primary);
|
|
1222
|
+
font-family: var(--pvx-font-mono);
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.pvx-dash-stat-label {
|
|
1226
|
+
font-size: 0.75rem;
|
|
1227
|
+
font-weight: 500;
|
|
1228
|
+
text-transform: uppercase;
|
|
1229
|
+
letter-spacing: 0.05em;
|
|
1230
|
+
color: var(--pvx-text-muted);
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.pvx-dash-stat-sub {
|
|
1234
|
+
font-size: 0.6875rem;
|
|
1235
|
+
color: var(--pvx-text-dimmed);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/* ─── Game badge ───────────────────────────────────────────────── */
|
|
1239
|
+
|
|
1240
|
+
.pvx-dash-game-badge {
|
|
1241
|
+
display: inline-block;
|
|
1242
|
+
padding: 0.125rem 0.5rem;
|
|
1243
|
+
border-radius: 0.25rem;
|
|
1244
|
+
font-size: 0.6875rem;
|
|
1245
|
+
font-weight: 600;
|
|
1246
|
+
letter-spacing: 0.03em;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.pvx-dash-game-badge--evo {
|
|
1250
|
+
background: rgba(99, 102, 241, 0.2);
|
|
1251
|
+
color: #818cf8;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.pvx-dash-game-badge--acc {
|
|
1255
|
+
background: rgba(245, 158, 11, 0.2);
|
|
1256
|
+
color: #fbbf24;
|
|
1257
|
+
}
|
package/package.json
CHANGED