452 lines
6.2 KiB
CSS
452 lines
6.2 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #f6f7f9;
|
|
--panel: #ffffff;
|
|
--border: #d9dee7;
|
|
--text: #1f2937;
|
|
--muted: #667085;
|
|
--primary: #155eef;
|
|
--primary-hover: #004eeb;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
.shell {
|
|
width: min(1180px, calc(100% - 32px));
|
|
margin: 0 auto;
|
|
padding: 32px 0;
|
|
}
|
|
|
|
.topbar,
|
|
.panel {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
#status,
|
|
.muted {
|
|
margin-top: 4px;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.button {
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
padding: 9px 13px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.button:hover {
|
|
border-color: #a9b4c5;
|
|
}
|
|
|
|
.button.primary {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.button.primary:hover {
|
|
background: var(--primary-hover);
|
|
}
|
|
|
|
.button.small {
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.layout {
|
|
display: grid;
|
|
grid-template-columns: 320px 1fr;
|
|
gap: 16px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.contentStack {
|
|
display: grid;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.panel {
|
|
min-width: 0;
|
|
padding: 16px;
|
|
}
|
|
|
|
.panelHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.list,
|
|
.businessGrid,
|
|
.competitorGrid {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.empty,
|
|
.error {
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.error {
|
|
color: #b42318;
|
|
}
|
|
|
|
.account,
|
|
.business,
|
|
.competitor {
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
padding: 12px;
|
|
}
|
|
|
|
.account {
|
|
width: 100%;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.account[aria-selected="true"],
|
|
.business[aria-selected="true"] {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 2px rgba(21, 94, 239, 0.12);
|
|
}
|
|
|
|
.title {
|
|
display: block;
|
|
font-weight: 650;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.meta {
|
|
color: var(--muted);
|
|
display: block;
|
|
font-size: 13px;
|
|
margin-top: 4px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.businessGrid {
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
}
|
|
|
|
.competitorGrid {
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.business,
|
|
.competitor {
|
|
display: grid;
|
|
gap: 8px;
|
|
align-content: start;
|
|
}
|
|
|
|
.searchForm {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
|
|
.searchForm input {
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--text);
|
|
font: inherit;
|
|
min-width: 0;
|
|
padding: 9px 11px;
|
|
}
|
|
|
|
.searchForm input:focus {
|
|
border-color: var(--primary);
|
|
outline: 2px solid rgba(21, 94, 239, 0.12);
|
|
}
|
|
|
|
.typeBlock {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
|
|
.typeLabel {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.typeValue {
|
|
font-size: 14px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.competitorLinks {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.competitorLinks a {
|
|
color: var(--primary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.auditButton {
|
|
justify-self: start;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.audit {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.auditSummary {
|
|
align-items: start;
|
|
border-bottom: 1px solid var(--border);
|
|
display: grid;
|
|
gap: 16px;
|
|
grid-template-columns: 140px 1fr;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.score {
|
|
display: block;
|
|
font-size: 32px;
|
|
font-weight: 750;
|
|
line-height: 1;
|
|
}
|
|
|
|
.auditIdentity {
|
|
min-width: 0;
|
|
}
|
|
|
|
.checks {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
}
|
|
|
|
.check {
|
|
align-items: start;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: 72px 1fr;
|
|
padding: 12px;
|
|
}
|
|
|
|
.checkStatus {
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
justify-content: center;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.check.passed .checkStatus {
|
|
background: #dcfae6;
|
|
color: #067647;
|
|
}
|
|
|
|
.check.missing .checkStatus {
|
|
background: #fee4e2;
|
|
color: #b42318;
|
|
}
|
|
|
|
.maps-link a {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.auditSections {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.auditSection {
|
|
border-top: 1px solid var(--border);
|
|
display: grid;
|
|
gap: 12px;
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.sectionHeader {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.sectionError {
|
|
margin: 0;
|
|
}
|
|
|
|
.statGrid {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
}
|
|
|
|
.statGrid span,
|
|
.detailItem,
|
|
.mediaItem {
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.statGrid strong {
|
|
display: block;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.statGrid small {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.detailList {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.detailList.compact {
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
|
|
.detailItem {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.detailItem p {
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.replyBox {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.replyBox textarea {
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--text);
|
|
font: inherit;
|
|
min-height: 86px;
|
|
padding: 9px;
|
|
resize: vertical;
|
|
width: 100%;
|
|
}
|
|
|
|
.replyBox textarea:focus {
|
|
border-color: var(--primary);
|
|
outline: 2px solid rgba(21, 94, 239, 0.12);
|
|
}
|
|
|
|
.reviewActions {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.mediaGrid {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
}
|
|
|
|
.mediaItem {
|
|
color: inherit;
|
|
display: grid;
|
|
gap: 6px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.topbar {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.actions {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.searchForm {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.auditSummary {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|