diff --git a/samples/hp48/index.html b/samples/hp48/index.html index a7dec97..2c0f60d 100644 --- a/samples/hp48/index.html +++ b/samples/hp48/index.html @@ -41,24 +41,6 @@ box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25); } - .brand { - color: #fafafa; - display: flex; - justify-content: space-between; - align-items: baseline; - margin-bottom: 12px; - gap: 12px; - } - - .brand h1 { - margin: 0; - font-size: 18px; - letter-spacing: 0.06em; - } - - .brand small { - color: #c9c9c9; - } .screen { background: linear-gradient(180deg, #dbe8b8, var(--screen)); @@ -236,21 +218,6 @@ button:hover { filter: brightness(1.08); } button:active { transform: translateY(1px); } - .status { - margin-top: 12px; - display: flex; - flex-wrap: wrap; - gap: 10px; - color: #ececec; - font-size: 13px; - } - - .pill { - border: 1px solid rgba(255, 255, 255, 0.15); - border-radius: 999px; - padding: 5px 10px; - background: rgba(255, 255, 255, 0.05); - } .constants-menu { position: absolute; @@ -284,12 +251,6 @@ font-size: 13px; } - .hint { - color: #ddd; - margin-top: 10px; - font-size: 13px; - line-height: 1.5; - } @media (max-width: 820px) { .wrap { @@ -321,11 +282,6 @@ border-radius: 16px; } - .brand { - flex-direction: column; - align-items: flex-start; - } - .keypad-labels, .keypad-wrap { grid-template-columns: 1fr; @@ -346,11 +302,6 @@
-
-

HP48-style RPN

- powered by src/rpn-calculator.js -
-
RPN stack
@@ -363,7 +314,6 @@
-
Keyboard works globally: digits, numpad, Enter, Backspace, Delete, Esc, ↑, ↓, →, +, -, *, /, %, ^, q, n, r, i, g, l, s, c, S, C, x, y, z, t
-
-
inputValue:
-
isEditing:
-
-
Calculator Keys
-
Use Enter to commit the current value. Buttons call command(...) directly, like a real RPN demo.
@@ -408,8 +352,6 @@ const displayEl = document.getElementById('display'); const errorEl = document.getElementById('error'); - const inputValueLabel = document.getElementById('inputValueLabel'); - const editingLabel = document.getElementById('editingLabel'); const modeLabel = document.getElementById('modeLabel'); const angleMode = document.getElementById('angleMode'); const functionsKeypadEl = document.getElementById('functionsKeypad'); @@ -783,8 +725,6 @@ } else { displayEl.textContent = 'READY'; } - inputValueLabel.textContent = calc.inputValue || '∅'; - editingLabel.textContent = String(calc.isEditing); modeLabel.textContent = calc.angleMode; angleMode.value = calc.angleMode; errorEl.textContent = '';