= h($topup['name']) ?>
| = $isNorwegian ? 'Kostnad' : 'Cost' ?> | -= $isNorwegian ? 'Verktøy' : 'Tools' ?> | += h($copy['table_cost']) ?> | += h($copy['table_tools']) ?> |
|---|
diff --git a/assets/css/tools.css b/assets/css/tools.css index cff16df..0baae97 100644 --- a/assets/css/tools.css +++ b/assets/css/tools.css @@ -242,14 +242,15 @@ body { position: relative; display: flex; flex-direction: column; - padding: 18px 20px; + gap: .55rem; + padding: 26px 28px; border: 1px solid var(--dbn-line); - border-radius: 8px; + border-radius: 10px; background: rgba(255, 255, 255, 0.82); color: var(--dbn-ink); text-decoration: none; overflow: hidden; - min-height: 200px; + min-height: 260px; cursor: pointer; } diff --git a/dashboard.php b/dashboard.php index babb056..a377626 100644 --- a/dashboard.php +++ b/dashboard.php @@ -227,9 +227,9 @@ $langSuffix = $uiLang !== 'en' ? '?lang=' . urlencode($uiLang) : ''; /* card footer links always sit above the div onclick */ .dash-card-footer a, .dash-card-footer button { position: relative; z-index: 1; } - .dash-card-footer { padding-top: 0.65rem; margin-top: auto; border-top: 1px solid rgba(0,0,0,.07); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } + .dash-card-footer { padding-top: 0.85rem; margin-top: auto; border-top: 1px solid rgba(0,0,0,.07); display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; } /* pill badges on acct bar */ - .dash-tier-badge { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; border: 1px solid currentColor; flex-shrink: 0; } + .dash-tier-badge { display: inline-flex; align-items: center; font-size: .82rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; border: 1px solid currentColor; flex-shrink: 0; }
@@ -258,68 +258,68 @@ window.DBN_TOOLS_LANG = = json_encode($uiLang, JSON_UNESCAPED_UNICODE) ?>; ?> -= htmlspecialchars(dbnToolsT('credits_available', $uiLang)) ?>
-= number_format($eff, 0, ',', ' ') ?>
-= (int)$dashDetail['balance'] ?> = htmlspecialchars(dbnToolsT('credits_monthly', $uiLang)) ?> · = (int)$dashDetail['bonus_balance'] ?> = $uiLang === 'no' ? 'forhåndsbetalte' : 'prepaid' ?> · = htmlspecialchars(dbnToolsT('details_link', $uiLang)) ?>
+= htmlspecialchars(dbnToolsT('credits_available', $uiLang)) ?>
+= number_format($eff, 0, ',', ' ') ?>
+= (int)$dashDetail['balance'] ?> = htmlspecialchars(dbnToolsT('credits_monthly', $uiLang)) ?> · = (int)$dashDetail['bonus_balance'] ?> = $uiLang === 'no' ? 'forhåndsbetalte' : 'prepaid' ?> · = htmlspecialchars(dbnToolsT('details_link', $uiLang)) ?>
= htmlspecialchars(dbnToolsT('my_case', $uiLang)) ?>
-= htmlspecialchars(dbnToolsT('build_your_case', $uiLang)) ?> →
+ += htmlspecialchars(dbnToolsT('my_case', $uiLang)) ?>
+= htmlspecialchars(dbnToolsT('build_your_case', $uiLang)) ?> →
0 ? round($used / 1048576, 1) : 0; $quotaMb = $quota > 0 ? round($quota / 1048576, 0) : 0; ?> -= $usedMb ?> MB / = $quotaMb ?> MB
+= $usedMb ?> MB / = $quotaMb ?> MB
- -= htmlspecialchars(dbnToolsT('build_your_case', $uiLang)) ?>
-= htmlspecialchars(dbnToolsT('upload_documents', $uiLang)) ?> →
-= htmlspecialchars(dbnToolsT('upgrade_from_plus', $uiLang)) ?>
+ += htmlspecialchars(dbnToolsT('build_your_case', $uiLang)) ?>
+= htmlspecialchars(dbnToolsT('upload_documents', $uiLang)) ?> →
+= htmlspecialchars(dbnToolsT('upgrade_from_plus', $uiLang)) ?>
- -= htmlspecialchars(dbnToolsT('my_corpus', $uiLang)) ?>
+ += htmlspecialchars(dbnToolsT('my_corpus', $uiLang)) ?>
—
-= htmlspecialchars(dbnToolsT('open_corpus', $uiLang)) ?> →
+= htmlspecialchars(dbnToolsT('open_corpus', $uiLang)) ?> →
- -= htmlspecialchars(dbnToolsT('earn_credits_eyebrow', $uiLang)) ?>
+ += htmlspecialchars(dbnToolsT('earn_credits_eyebrow', $uiLang)) ?>
= htmlspecialchars(dbnToolsT('survey_btn', $uiLang)) ?> →
-= htmlspecialchars(dbnToolsT('survey_cta_text', $uiLang)) ?>
+= htmlspecialchars(dbnToolsT('survey_cta_text', $uiLang)) ?>
dbn.case_workbench_plan
+ style="font-size:.78rem; background:#f1f5f9; border:1px solid #e2e8f0; color:#64748b; padding:3px 9px; border-radius:4px; cursor:pointer; white-space:nowrap; flex-shrink:0;">dbn.case_workbench_plan
= htmlspecialchars($workbench['description']) ?>
+= htmlspecialchars($workbench['description']) ?>
@@ -363,28 +363,28 @@ window.DBN_TOOLS_LANG = = json_encode($uiLang, JSON_UNESCAPED_UNICODE) ?>; onclick="location.href='= $cardUrl ?>'" onkeydown="if(event.key==='Enter'||event.key===' ')location.href='= $cardUrl ?>'">= htmlspecialchars($mcpSlug) ?>
+ style="font-size:.78rem; background:#f1f5f9; border:1px solid #e2e8f0; color:#64748b; padding:3px 9px; border-radius:4px; cursor:pointer; white-space:nowrap; flex-shrink:0;">= htmlspecialchars($mcpSlug) ?>
= htmlspecialchars($item['description']) ?>
+= htmlspecialchars($item['description']) ?>
= h(nok((int)$plan['price_nok'])) ?> - = $sku === 'free' ? '' : ($isNorwegian ? '/ mnd' : '/ mo') ?> + = $sku === 'free' ? '' : h($copy['per_month']) ?>
= h($copy['organisation_price']) ?>
- += h($copy['organisation_text']) ?>
@@ -298,8 +424,8 @@ $toolCostRows = [| = $isNorwegian ? 'Kostnad' : 'Cost' ?> | -= $isNorwegian ? 'Verktøy' : 'Tools' ?> | += h($copy['table_cost']) ?> | += h($copy['table_tools']) ?> |
|---|