Abid Ali Awan Codex commited on
Commit ·
2e62e8a
1
Parent(s): 54ef709
Improve logo, status badge, and risk colors
Browse files- New logo: gradient background, subtle circle, cleaner checkmark
- Status badge: emerald green for connected, amber for checking,
backdrop blur, slightly larger
- Risk colors: updated to use modern Tailwind-style palette that
matches the indigo/coral website scheme
- Brand mark: slightly larger (42px)
Co-authored-by: Codex <codex@openai.com>
- static/mark.svg +9 -4
- static/styles.css +12 -11
static/mark.svg
CHANGED
|
|
|
|
static/styles.css
CHANGED
|
@@ -54,9 +54,9 @@ button { color: inherit; }
|
|
| 54 |
}
|
| 55 |
.language-option.active { background: var(--coral); color: #fff; }
|
| 56 |
.urdu-option { font-family: var(--urdu-font); font-size: 13px; line-height: 1.6; }
|
| 57 |
-
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap:
|
| 58 |
.brand-mark {
|
| 59 |
-
width:
|
| 60 |
}
|
| 61 |
.brand-mark img {
|
| 62 |
width: 100%; height: 100%; object-fit: contain; display: block;
|
|
@@ -64,11 +64,12 @@ button { color: inherit; }
|
|
| 64 |
.brand-name { letter-spacing: -.02em; }
|
| 65 |
.status-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
|
| 66 |
.status-badge {
|
| 67 |
-
padding: 8px
|
| 68 |
-
font-size: 12px; background: rgba(255,255,255,.
|
|
|
|
| 69 |
}
|
| 70 |
-
.status-dot { display: inline-block; width:
|
| 71 |
-
.status-badge.connected .status-dot { background: #
|
| 72 |
|
| 73 |
main { overflow: hidden; }
|
| 74 |
.hero {
|
|
@@ -241,11 +242,11 @@ textarea:disabled { opacity: .45; background: #f5f3ff; cursor: not-allowed; }
|
|
| 241 |
.results { padding: 42px 0 50px; }
|
| 242 |
.result-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
|
| 243 |
.risk-badge { padding: 13px 20px; border-radius: 999px; font-size: clamp(17px, 3vw, 25px); font-weight: 900; }
|
| 244 |
-
.risk-looks-normal { background: #
|
| 245 |
-
.risk-verify-first { background: #
|
| 246 |
-
.risk-suspicious { background: #
|
| 247 |
-
.risk-likely-scam { background: #
|
| 248 |
-
.risk-inappropriate { background: #
|
| 249 |
.result-source { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
|
| 250 |
.result-source.cached-result {
|
| 251 |
display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px;
|
|
|
|
| 54 |
}
|
| 55 |
.language-option.active { background: var(--coral); color: #fff; }
|
| 56 |
.urdu-option { font-family: var(--urdu-font); font-size: 13px; line-height: 1.6; }
|
| 57 |
+
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 14px; font-weight: 800; }
|
| 58 |
.brand-mark {
|
| 59 |
+
width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden;
|
| 60 |
}
|
| 61 |
.brand-mark img {
|
| 62 |
width: 100%; height: 100%; object-fit: contain; display: block;
|
|
|
|
| 64 |
.brand-name { letter-spacing: -.02em; }
|
| 65 |
.status-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
|
| 66 |
.status-badge {
|
| 67 |
+
padding: 8px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
|
| 68 |
+
font-size: 12px; font-weight: 600; background: rgba(255,255,255,.06);
|
| 69 |
+
backdrop-filter: blur(8px); transition: all .2s;
|
| 70 |
}
|
| 71 |
+
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
|
| 72 |
+
.status-badge.connected .status-dot { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
|
| 73 |
|
| 74 |
main { overflow: hidden; }
|
| 75 |
.hero {
|
|
|
|
| 242 |
.results { padding: 42px 0 50px; }
|
| 243 |
.result-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
|
| 244 |
.risk-badge { padding: 13px 20px; border-radius: 999px; font-size: clamp(17px, 3vw, 25px); font-weight: 900; }
|
| 245 |
+
.risk-looks-normal { background: #d1fae5; color: #065f46; }
|
| 246 |
+
.risk-verify-first { background: #fef3c7; color: #92400e; }
|
| 247 |
+
.risk-suspicious { background: #fed7aa; color: #9a3412; }
|
| 248 |
+
.risk-likely-scam { background: #ffe4e6; color: #9f1239; }
|
| 249 |
+
.risk-inappropriate { background: #e0e7ff; color: #3730a3; }
|
| 250 |
.result-source { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
|
| 251 |
.result-source.cached-result {
|
| 252 |
display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px;
|