mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 14:16:28 +03:00
Adds a Manifest V3 Chrome extension that injects the detector when DevTools opens, with a dedicated panel for browsing findings, a toolbar popup for quick scan/toggle, and per-rule settings synced via chrome.storage. Categorizes anti-patterns into AI slop vs quality issues with visual differentiation (sparkle prefix, panel grouping). Overlay labels are polished with flush positioning, cycling for multi-finding elements, and synchronized hover darkening. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
111 lines
1.5 KiB
CSS
111 lines
1.5 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
width: 220px;
|
|
background: #1a1a1a;
|
|
color: #f5f3ef;
|
|
font-family: system-ui, -apple-system, sans-serif;
|
|
font-size: 13px;
|
|
padding: 16px;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.count-display {
|
|
text-align: center;
|
|
padding: 16px 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.count-number {
|
|
display: block;
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
margin-bottom: 4px;
|
|
color: #999;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.count-number.has-findings {
|
|
color: oklch(55% 0.25 350);
|
|
}
|
|
|
|
.count-label {
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.btn {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.15s, opacity 0.15s;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: oklch(55% 0.25 350);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: oklch(50% 0.25 350);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #333;
|
|
color: #ccc;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #3a3a3a;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding-top: 8px;
|
|
border-top: 1px solid #333;
|
|
}
|
|
|
|
footer a {
|
|
font-size: 11px;
|
|
color: #666;
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #999;
|
|
}
|