Fix upsell status card text visibility — status-card--cta overrides redesign CSS
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -272,6 +272,13 @@ select:focus-visible {
|
||||
box-shadow: var(--dbn-shadow-paper);
|
||||
color: var(--dbn-muted);
|
||||
}
|
||||
.status-card--cta {
|
||||
background: linear-gradient(135deg, #00205b, #003478) !important;
|
||||
border: none !important;
|
||||
border-left: none !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.status-card--cta p { color: #fff !important; opacity: 1; }
|
||||
|
||||
.workspace {
|
||||
gap: clamp(14px, 2vw, 22px);
|
||||
|
||||
+3
-3
@@ -313,10 +313,10 @@ window.DBN_TOOLS_LANG = <?= json_encode($uiLang, JSON_UNESCAPED_UNICODE) ?>;
|
||||
<p style="margin:0; color:#6b7280; font-size:.95rem;"><?= $usedMb ?> MB / <?= $quotaMb ?> MB</p>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a class="status-card" href="/pricing.php" style="background:linear-gradient(135deg,#00205B,#003478); color:#fff; border-radius:10px; padding:1.3rem 1.5rem; text-decoration:none;">
|
||||
<p style="margin:0; opacity:.85; font-size:.95rem; text-transform:uppercase; letter-spacing:.06em;"><?= htmlspecialchars(dbnToolsT('build_your_case', $uiLang)) ?></p>
|
||||
<a class="status-card status-card--cta" href="/pricing.php" style="text-decoration:none;">
|
||||
<p style="margin:0; font-size:.95rem; text-transform:uppercase; letter-spacing:.06em;"><?= htmlspecialchars(dbnToolsT('build_your_case', $uiLang)) ?></p>
|
||||
<p style="margin:.35rem 0 0; font-size:1.55rem; font-weight:700;"><?= htmlspecialchars(dbnToolsT('upload_documents', $uiLang)) ?> →</p>
|
||||
<p style="margin:0; opacity:.85; font-size:.95rem;"><?= htmlspecialchars(dbnToolsT('upgrade_from_plus', $uiLang)) ?></p>
|
||||
<p style="margin:0; font-size:.95rem;"><?= htmlspecialchars(dbnToolsT('upgrade_from_plus', $uiLang)) ?></p>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<a id="corpusSummaryCard" class="status-card" href="/dashboard/" style="background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:1.3rem 1.5rem; text-decoration:none; color:inherit; display:block;">
|
||||
|
||||
Reference in New Issue
Block a user