Spaces:
Running
Running
LogicalTrue commited on
Commit ·
95bd5f7
1
Parent(s): 3fe34ab
style: unify mobile privacy text color to white and prevent menu line break
Browse files- frontend/viewer.html +7 -7
frontend/viewer.html
CHANGED
|
@@ -269,21 +269,21 @@
|
|
| 269 |
<img id="mobUserAvatarImg" src="" alt="Avatar" style="width: 100%; height: 100%; object-fit: cover; display: none;">
|
| 270 |
<span id="mobUserAvatarInitial" style="font-size: 0.9rem; font-weight: 800; color: #ffffff; text-transform: uppercase;">P</span>
|
| 271 |
</button>
|
| 272 |
-
<div id="mobUserDropdown" style="display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #161622; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.6); z-index: 1000; min-width:
|
| 273 |
-
<div style="padding: 6px 10px; margin-bottom: 4px; font-size: 0.85rem; font-weight: 700; color: #ffffff; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.08);">
|
| 274 |
👤 <span id="mobUsername">-</span>
|
| 275 |
</div>
|
| 276 |
-
<div style="padding: 6px 10px; margin-bottom: 6px; font-size: 0.8rem; font-weight: 700; color: #ffeb3b; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.08);">
|
| 277 |
🪙 <span id="mobCredits">0</span> Créditos
|
| 278 |
</div>
|
| 279 |
-
<button id="btnMobProfile" style="width: 100%; text-align: left; background: transparent; border: none; color: #ffffff; padding: 8px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px;">
|
| 280 |
👤 <span>Mi perfil</span>
|
| 281 |
</button>
|
| 282 |
-
<button id="btnMobPrivacy" style="width: 100%; text-align: left; background: transparent; border: none; color: #
|
| 283 |
🛡️ <span>Privacidad y Seguridad</span>
|
| 284 |
</button>
|
| 285 |
<div style="height: 1px; background: rgba(255,255,255,0.08); margin: 4px 0;"></div>
|
| 286 |
-
<button id="btnMobLogout" style="width: 100%; text-align: left; background: transparent; border: none; color: #ef4444; padding: 8px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px;">
|
| 287 |
🚪 <span>Salir</span>
|
| 288 |
</button>
|
| 289 |
</div>
|
|
@@ -546,7 +546,7 @@
|
|
| 546 |
<div id="mobPrivacyModal" style="display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 999999; background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(12px); flex-direction: column; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;">
|
| 547 |
<div style="width: 100%; max-width: 420px; background: #161622; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.8);">
|
| 548 |
<div style="display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px;">
|
| 549 |
-
<div style="font-size: 1.1rem; font-weight: 700; color: #
|
| 550 |
🛡️ <span>Privacidad y Seguridad</span>
|
| 551 |
</div>
|
| 552 |
<button type="button" id="btnCloseMobPrivacy" style="background: rgba(255,255,255,0.1); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-weight: bold; font-size: 0.9rem;">✕</button>
|
|
|
|
| 269 |
<img id="mobUserAvatarImg" src="" alt="Avatar" style="width: 100%; height: 100%; object-fit: cover; display: none;">
|
| 270 |
<span id="mobUserAvatarInitial" style="font-size: 0.9rem; font-weight: 800; color: #ffffff; text-transform: uppercase;">P</span>
|
| 271 |
</button>
|
| 272 |
+
<div id="mobUserDropdown" style="display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #161622; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.6); z-index: 1000; min-width: 210px; width: max-content;">
|
| 273 |
+
<div style="padding: 6px 10px; margin-bottom: 4px; font-size: 0.85rem; font-weight: 700; color: #ffffff; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.08); white-space: nowrap;">
|
| 274 |
👤 <span id="mobUsername">-</span>
|
| 275 |
</div>
|
| 276 |
+
<div style="padding: 6px 10px; margin-bottom: 6px; font-size: 0.8rem; font-weight: 700; color: #ffeb3b; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.08); white-space: nowrap;">
|
| 277 |
🪙 <span id="mobCredits">0</span> Créditos
|
| 278 |
</div>
|
| 279 |
+
<button id="btnMobProfile" style="width: 100%; text-align: left; background: transparent; border: none; color: #ffffff; padding: 8px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap;">
|
| 280 |
👤 <span>Mi perfil</span>
|
| 281 |
</button>
|
| 282 |
+
<button id="btnMobPrivacy" style="width: 100%; text-align: left; background: transparent; border: none; color: #ffffff; padding: 8px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap;">
|
| 283 |
🛡️ <span>Privacidad y Seguridad</span>
|
| 284 |
</button>
|
| 285 |
<div style="height: 1px; background: rgba(255,255,255,0.08); margin: 4px 0;"></div>
|
| 286 |
+
<button id="btnMobLogout" style="width: 100%; text-align: left; background: transparent; border: none; color: #ef4444; padding: 8px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap;">
|
| 287 |
🚪 <span>Salir</span>
|
| 288 |
</button>
|
| 289 |
</div>
|
|
|
|
| 546 |
<div id="mobPrivacyModal" style="display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 999999; background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(12px); flex-direction: column; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;">
|
| 547 |
<div style="width: 100%; max-width: 420px; background: #161622; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.8);">
|
| 548 |
<div style="display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px;">
|
| 549 |
+
<div style="font-size: 1.1rem; font-weight: 700; color: #ffffff; display: flex; align-items: center; gap: 6px;">
|
| 550 |
🛡️ <span>Privacidad y Seguridad</span>
|
| 551 |
</div>
|
| 552 |
<button type="button" id="btnCloseMobPrivacy" style="background: rgba(255,255,255,0.1); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-weight: bold; font-size: 0.9rem;">✕</button>
|