mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 23:39:28 +08:00
feat(market): 准入 10 项技能,补齐 AI 日报与高德完整安装包 (#350)
- 准入 10 项 installable 技能:agent-reach、dingtalk-api、follow-builders、humanizer-zh、karpathy-guidelines、marketingskills、netease-skills、wecom-cli(原 pin 不变),以及完整 MIT 本地版 ai-news-radar(LearnPrompt/ai-news-radar@689395109cc962a27c369bdd6fa50d1e090eb319)和 ClawHub 1.1.1 完整 ZIP 的 amap-jsapi-skill(sha256 9468743ee18dbe1704e8a98f47f6628d6a4e6acec30a05f0b8f59a07603d011f)。 - 瑞幸、MiniMax 图片/语音、LumaRescue、美团跑腿、Ian 小黑、女娲 继续 listing-only。 - 高德许可按 SKILL.md 的 MIT 声明保守记录,skill-card/ClawHub 写 MIT-0 的差异已在 ADMISSION.md 披露。 - validate、translate 通过;CodeQL 对上游原样 update_news.py 的 5 条告警经 mashagua 确认忽略。
This commit is contained in:
1 parent
8006ad8518
commit
91563b4695
62 files changed
+23030
-98
No files matched your search
File diff suppressed because it is too large.
Load diff
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
@@ -0,0 +1,22 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 220 220" role="img" aria-labelledby="title desc">
|
||||
<title id="title">AI News Radar Logo</title>
|
||||
<desc id="desc">Radar-inspired mark for AI News Radar</desc>
|
||||
<defs>
|
||||
<linearGradient id="ring" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#d94825"/>
|
||||
<stop offset="100%" stop-color="#0f6f7f"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="dot" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#ff7a50"/>
|
||||
<stop offset="100%" stop-color="#17a2b8"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="8" y="8" width="204" height="204" rx="48" fill="#f8f6f1"/>
|
||||
<circle cx="110" cy="110" r="78" fill="none" stroke="url(#ring)" stroke-width="10" opacity="0.32"/>
|
||||
<circle cx="110" cy="110" r="52" fill="none" stroke="url(#ring)" stroke-width="8" opacity="0.45"/>
|
||||
<circle cx="110" cy="110" r="28" fill="none" stroke="url(#ring)" stroke-width="6" opacity="0.65"/>
|
||||
<path d="M110 110 L176 82" stroke="url(#ring)" stroke-width="10" stroke-linecap="round"/>
|
||||
<circle cx="176" cy="82" r="13" fill="url(#dot)"/>
|
||||
<circle cx="110" cy="110" r="10" fill="#12100f"/>
|
||||
<path d="M64 165 L110 110 L131 128 L88 165 Z" fill="#12100f" opacity="0.9"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,31 @@
|
||||
(function () {
|
||||
if (!window.gsap) return;
|
||||
|
||||
const mm = gsap.matchMedia();
|
||||
|
||||
mm.add("(prefers-reduced-motion: no-preference)", function () {
|
||||
gsap.defaults({ duration: 0.55, ease: "power3.out" });
|
||||
|
||||
// Intro / list entry animations intentionally live in styles.css as
|
||||
// transform-only @keyframes: any JS "from" tween that touches opacity
|
||||
// strands elements invisible when the tab is hidden mid-flight, because
|
||||
// the GSAP ticker freezes while rendering is paused.
|
||||
|
||||
// Section scroll reveal via IntersectionObserver. Keep sections visible:
|
||||
// hiding whole content blocks can leave blank viewports after responsive
|
||||
// reflow or rapid mobile scrolling.
|
||||
const revealEls = document.querySelectorAll(".waytoagi-wrap, .list-wrap");
|
||||
if (revealEls.length && window.IntersectionObserver) {
|
||||
gsap.set(revealEls, { y: 14 });
|
||||
const observer = new IntersectionObserver(function (entries) {
|
||||
entries.forEach(function (entry) {
|
||||
if (entry.isIntersecting) {
|
||||
gsap.to(entry.target, { y: 0, duration: 0.45, clearProps: "transform" });
|
||||
observer.unobserve(entry.target);
|
||||
}
|
||||
});
|
||||
}, { threshold: 0.08 });
|
||||
revealEls.forEach(function (el) { observer.observe(el); });
|
||||
}
|
||||
});
|
||||
}());
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
@@ -0,0 +1,117 @@
|
||||
.service-status-panel {
|
||||
margin: 10px 0 14px;
|
||||
padding: 11px 13px;
|
||||
border: 1px solid rgba(185, 116, 24, 0.28);
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(135deg, rgba(255, 249, 237, 0.98), rgba(255, 253, 247, 0.96));
|
||||
box-shadow: 0 8px 24px rgba(104, 67, 17, 0.06);
|
||||
}
|
||||
|
||||
.service-status-panel[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.service-status-panel.has-major {
|
||||
border-color: rgba(179, 52, 52, 0.32);
|
||||
background: linear-gradient(135deg, rgba(255, 244, 242, 0.98), rgba(255, 250, 248, 0.96));
|
||||
}
|
||||
|
||||
.service-status-heading,
|
||||
.service-status-title-wrap,
|
||||
.service-incident,
|
||||
.service-incident-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.service-status-heading {
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
.service-status-title-wrap {
|
||||
gap: 7px;
|
||||
color: var(--ink);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.service-status-dot {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
background: #c48122;
|
||||
box-shadow: 0 0 0 4px rgba(196, 129, 34, 0.12);
|
||||
}
|
||||
|
||||
.has-major .service-status-dot {
|
||||
background: #ba4040;
|
||||
box-shadow: 0 0 0 4px rgba(186, 64, 64, 0.12);
|
||||
}
|
||||
|
||||
.service-status-count {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.service-incident-list {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.service-incident {
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
padding-top: 5px;
|
||||
border-top: 1px solid rgba(131, 91, 31, 0.10);
|
||||
}
|
||||
|
||||
.service-incident-main {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.service-incident-meta {
|
||||
gap: 6px;
|
||||
margin-bottom: 2px;
|
||||
color: var(--muted);
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.service-phase {
|
||||
padding: 1px 5px;
|
||||
border-radius: 999px;
|
||||
background: rgba(196, 129, 34, 0.10);
|
||||
color: #8b5a16;
|
||||
}
|
||||
|
||||
.service-incident-title {
|
||||
display: block;
|
||||
color: var(--ink);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1.35;
|
||||
text-decoration: none;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.service-incident-title:hover {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.service-incident-time {
|
||||
flex: 0 0 auto;
|
||||
color: var(--muted-soft);
|
||||
font-size: 9px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.service-incident {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.service-incident-time {
|
||||
padding-top: 14px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,161 @@
|
||||
(() => {
|
||||
const panel = document.getElementById("serviceStatusPanel");
|
||||
if (!panel) return;
|
||||
|
||||
const STATUS_LABELS = {
|
||||
investigating: "调查中",
|
||||
identified: "已定位",
|
||||
monitoring: "恢复监控中",
|
||||
};
|
||||
|
||||
function resolveDataBaseUrl() {
|
||||
try {
|
||||
const fromQuery = new URLSearchParams(window.location.search).get("data") || "";
|
||||
if (fromQuery) return fromQuery.trim().replace(/\/+$/, "");
|
||||
return (localStorage.getItem("dataBaseUrl") || "").trim().replace(/\/+$/, "");
|
||||
} catch {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
function dataUrl(path) {
|
||||
const base = resolveDataBaseUrl();
|
||||
if (!base) return path;
|
||||
return `${base}/${String(path || "").split("/").pop()}`;
|
||||
}
|
||||
|
||||
function formatTime(value) {
|
||||
const date = new Date(value || "");
|
||||
if (Number.isNaN(date.getTime())) return "";
|
||||
return new Intl.DateTimeFormat("zh-CN", {
|
||||
month: "numeric",
|
||||
day: "numeric",
|
||||
hour: "2-digit",
|
||||
minute: "2-digit",
|
||||
hour12: false,
|
||||
}).format(date);
|
||||
}
|
||||
|
||||
function providerLabel(incident) {
|
||||
const components = Array.isArray(incident?.affected_components)
|
||||
? incident.affected_components
|
||||
: [];
|
||||
const signal = [incident?.title, incident?.title_zh, ...components]
|
||||
.filter(Boolean)
|
||||
.join(" ")
|
||||
.toLowerCase();
|
||||
if (signal.includes("chatgpt")) return "ChatGPT";
|
||||
return incident?.provider || "OpenAI";
|
||||
}
|
||||
|
||||
function incidentTitle(incident) {
|
||||
if (incident?.title === "Elevated Error Rates") {
|
||||
return "OpenAI 服务错误率升高";
|
||||
}
|
||||
return incident?.title_zh || incident?.title || "服务异常";
|
||||
}
|
||||
|
||||
function incidentNode(incident) {
|
||||
const row = document.createElement("article");
|
||||
row.className = `service-incident impact-${incident.impact || "none"}`;
|
||||
|
||||
const main = document.createElement("div");
|
||||
main.className = "service-incident-main";
|
||||
|
||||
const meta = document.createElement("div");
|
||||
meta.className = "service-incident-meta";
|
||||
|
||||
const provider = document.createElement("span");
|
||||
provider.className = "service-provider";
|
||||
provider.textContent = providerLabel(incident);
|
||||
|
||||
const phase = document.createElement("span");
|
||||
phase.className = "service-phase";
|
||||
phase.textContent = STATUS_LABELS[incident.status] || incident.status || "处理中";
|
||||
meta.append(provider, phase);
|
||||
|
||||
const title = document.createElement("a");
|
||||
title.className = "service-incident-title";
|
||||
const incidentUrl = new URL(incident.url || "", "https://status.openai.com/");
|
||||
title.href = incidentUrl.protocol === "https:" && incidentUrl.hostname === "status.openai.com"
|
||||
? incidentUrl.href : "https://status.openai.com/";
|
||||
title.target = "_blank";
|
||||
title.rel = "noopener noreferrer";
|
||||
title.textContent = incidentTitle(incident);
|
||||
|
||||
main.append(meta, title);
|
||||
|
||||
const time = document.createElement("time");
|
||||
time.className = "service-incident-time";
|
||||
time.dateTime = incident.updated_at || "";
|
||||
time.textContent = formatTime(incident.updated_at);
|
||||
|
||||
row.append(main, time);
|
||||
return row;
|
||||
}
|
||||
|
||||
function render(payload) {
|
||||
const incidents = Array.isArray(payload?.incidents)
|
||||
? payload.incidents.filter((incident) => incident && incident.status !== "resolved")
|
||||
: [];
|
||||
const generatedAt = Date.parse(payload?.generated_at || "");
|
||||
const stale = !Number.isFinite(generatedAt) || Date.now() - generatedAt > 2 * 60 * 60 * 1000;
|
||||
panel.replaceChildren();
|
||||
if (payload?.ok !== true || stale || incidents.length === 0) {
|
||||
panel.hidden = true;
|
||||
return;
|
||||
}
|
||||
|
||||
const heading = document.createElement("div");
|
||||
heading.className = "service-status-heading";
|
||||
|
||||
const titleWrap = document.createElement("div");
|
||||
titleWrap.className = "service-status-title-wrap";
|
||||
const dot = document.createElement("span");
|
||||
dot.className = "service-status-dot";
|
||||
dot.setAttribute("aria-hidden", "true");
|
||||
const title = document.createElement("strong");
|
||||
title.textContent = "ChatGPT / OpenAI 服务状态";
|
||||
titleWrap.append(dot, title);
|
||||
|
||||
const count = document.createElement("span");
|
||||
count.className = "service-status-count";
|
||||
count.textContent = `${incidents.length} 项官方故障`;
|
||||
heading.append(titleWrap, count);
|
||||
|
||||
const list = document.createElement("div");
|
||||
list.className = "service-incident-list";
|
||||
incidents.slice(0, 3).forEach((incident) => list.appendChild(incidentNode(incident)));
|
||||
|
||||
panel.append(heading, list);
|
||||
panel.classList.toggle(
|
||||
"has-major",
|
||||
incidents.some((incident) => ["major", "critical"].includes(incident.impact)),
|
||||
);
|
||||
panel.hidden = false;
|
||||
panel.setAttribute(
|
||||
"aria-label",
|
||||
`ChatGPT 与 OpenAI 服务状态:${incidents.length} 项故障正在处理`,
|
||||
);
|
||||
}
|
||||
|
||||
const controller = new AbortController();
|
||||
const timeout = window.setTimeout(() => controller.abort(), 8000);
|
||||
|
||||
fetch(dataUrl(new URL("../data/service-status.json", document.currentScript.src).href), {
|
||||
cache: "no-cache",
|
||||
headers: { Accept: "application/json" },
|
||||
signal: controller.signal,
|
||||
})
|
||||
.then((response) => {
|
||||
if (!response.ok) throw new Error(`service status ${response.status}`);
|
||||
return response.json();
|
||||
})
|
||||
.then(render)
|
||||
.catch(() => {
|
||||
panel.hidden = true;
|
||||
})
|
||||
.finally(() => {
|
||||
window.clearTimeout(timeout);
|
||||
});
|
||||
})();
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,140 @@
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
const STORAGE_KEY = "aiNewsRadarViewV2";
|
||||
const LEGACY_STORAGE_KEY = "aiNewsRadarView";
|
||||
const MOBILE_OVERRIDE_KEY = "aiNewsRadarMobileViewOnce";
|
||||
const MOBILE_BREAKPOINT = "(max-width: 760px)";
|
||||
const VALID_VIEWS = new Set(["mobile", "classic"]);
|
||||
const script = document.currentScript;
|
||||
const rootHint = script?.dataset.root || "./";
|
||||
const rootUrl = new URL(rootHint, window.location.href);
|
||||
const currentView = document.documentElement.dataset.radarView || "mobile";
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
const requestedView = params.get("view") || "";
|
||||
const isMobileViewport = window.matchMedia(MOBILE_BREAKPOINT).matches;
|
||||
|
||||
try {
|
||||
window.localStorage.removeItem(LEGACY_STORAGE_KEY);
|
||||
} catch {
|
||||
// Storage can be unavailable in private or hardened browser contexts.
|
||||
}
|
||||
|
||||
function readPreference() {
|
||||
try {
|
||||
const value = window.localStorage.getItem(STORAGE_KEY) || "";
|
||||
return VALID_VIEWS.has(value) ? value : "";
|
||||
} catch {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
function writePreference(view) {
|
||||
try {
|
||||
if (VALID_VIEWS.has(view)) {
|
||||
window.localStorage.setItem(STORAGE_KEY, view);
|
||||
} else {
|
||||
window.localStorage.removeItem(STORAGE_KEY);
|
||||
}
|
||||
} catch {
|
||||
// Storage can be unavailable in private or hardened browser contexts.
|
||||
}
|
||||
}
|
||||
|
||||
function readMobileOverride() {
|
||||
try {
|
||||
const value = window.sessionStorage.getItem(MOBILE_OVERRIDE_KEY) || "";
|
||||
window.sessionStorage.removeItem(MOBILE_OVERRIDE_KEY);
|
||||
return VALID_VIEWS.has(value) ? value : "";
|
||||
} catch {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
function writeMobileOverride(view) {
|
||||
try {
|
||||
if (VALID_VIEWS.has(view)) {
|
||||
window.sessionStorage.setItem(MOBILE_OVERRIDE_KEY, view);
|
||||
} else {
|
||||
window.sessionStorage.removeItem(MOBILE_OVERRIDE_KEY);
|
||||
}
|
||||
} catch {
|
||||
// Storage can be unavailable in private or hardened browser contexts.
|
||||
}
|
||||
}
|
||||
|
||||
if (requestedView === "auto") {
|
||||
writePreference("");
|
||||
writeMobileOverride("");
|
||||
} else if (!isMobileViewport && VALID_VIEWS.has(requestedView)) {
|
||||
writePreference(requestedView);
|
||||
}
|
||||
|
||||
const mobileOverride = isMobileViewport ? readMobileOverride() : "";
|
||||
const preference = isMobileViewport
|
||||
? mobileOverride
|
||||
: (requestedView === "auto"
|
||||
? ""
|
||||
: (VALID_VIEWS.has(requestedView) ? requestedView : readPreference()));
|
||||
const deviceDefault = "mobile";
|
||||
const targetView = preference || deviceDefault;
|
||||
|
||||
function destination(view) {
|
||||
const url = new URL(view === "classic" ? "classic/" : "./", rootUrl);
|
||||
const passthrough = new URLSearchParams(window.location.search);
|
||||
passthrough.delete("view");
|
||||
url.search = passthrough.toString();
|
||||
url.hash = window.location.hash;
|
||||
return url;
|
||||
}
|
||||
|
||||
function cleanViewQuery() {
|
||||
if (!requestedView) return;
|
||||
const cleanUrl = destination(currentView);
|
||||
window.history.replaceState(null, "", `${cleanUrl.pathname}${cleanUrl.search}${cleanUrl.hash}`);
|
||||
}
|
||||
|
||||
function chooseView(view) {
|
||||
if (!VALID_VIEWS.has(view)) return;
|
||||
if (isMobileViewport) writeMobileOverride(view);
|
||||
else writePreference(view);
|
||||
if (view === currentView) return;
|
||||
window.location.assign(destination(view).href);
|
||||
}
|
||||
|
||||
if (targetView !== currentView) {
|
||||
window.location.replace(destination(targetView).href);
|
||||
return;
|
||||
}
|
||||
|
||||
cleanViewQuery();
|
||||
|
||||
function mountSwitches() {
|
||||
document.querySelectorAll("[data-radar-view-target]").forEach((button) => {
|
||||
const view = button.dataset.radarViewTarget || "";
|
||||
const active = view === currentView;
|
||||
button.classList.toggle("is-active", active);
|
||||
button.setAttribute("aria-pressed", active ? "true" : "false");
|
||||
if (active) button.setAttribute("aria-current", "page");
|
||||
else button.removeAttribute("aria-current");
|
||||
button.addEventListener("click", () => chooseView(view));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", mountSwitches, { once: true });
|
||||
} else {
|
||||
mountSwitches();
|
||||
}
|
||||
|
||||
window.AINewsRadarView = {
|
||||
current: currentView,
|
||||
preference: preference || "auto",
|
||||
choose: chooseView,
|
||||
reset() {
|
||||
writePreference("");
|
||||
writeMobileOverride("");
|
||||
window.location.replace(destination(deviceDefault).href);
|
||||
},
|
||||
};
|
||||
})();
|
||||
@@ -0,0 +1,130 @@
|
||||
.hero-view-row {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin: 4px 0 0;
|
||||
color: var(--muted, #66645f);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.hero-meta {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.view-switch {
|
||||
display: inline-flex;
|
||||
min-height: 30px;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
border: 1px solid var(--line-soft, rgba(23, 23, 23, 0.12));
|
||||
border-radius: 999px;
|
||||
padding: 2px;
|
||||
background: rgba(251, 250, 247, 0.78);
|
||||
}
|
||||
|
||||
.view-switch-label {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0 0 0 0);
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.view-switch-btn {
|
||||
min-height: 24px;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
padding: 0 8px;
|
||||
color: var(--muted, #66645f);
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.view-switch-btn:hover {
|
||||
color: var(--ink, #171717);
|
||||
background: rgba(18, 106, 115, 0.06);
|
||||
}
|
||||
|
||||
.view-switch-btn.is-active {
|
||||
color: #fff;
|
||||
background: var(--accent, #126a73);
|
||||
}
|
||||
|
||||
.view-switch-btn:focus-visible {
|
||||
outline: 2px solid rgba(18, 106, 115, 0.35);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
html[data-radar-view="classic"] .data-source-indicator {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
border: 1px solid rgba(18, 106, 115, 0.18);
|
||||
border-radius: var(--radius, 8px);
|
||||
padding: 8px 10px;
|
||||
color: var(--accent, #126a73);
|
||||
background: rgba(18, 106, 115, 0.06);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
html[data-radar-view="classic"] .data-source-indicator[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html[data-radar-view="classic"] .data-source-indicator > span {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
html[data-radar-view="classic"] .data-source-reset-btn {
|
||||
flex: 0 0 auto;
|
||||
min-height: 30px;
|
||||
border: 1px solid rgba(18, 106, 115, 0.24);
|
||||
border-radius: calc(var(--radius, 8px) - 2px);
|
||||
padding: 0 9px;
|
||||
color: var(--accent, #126a73);
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
html[data-radar-view="classic"] .data-source-reset-btn:hover {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
html[data-radar-view="classic"] .data-source-reset-btn:focus-visible {
|
||||
outline: 2px solid rgba(18, 106, 115, 0.35);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.hero {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.hero-links {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.view-switch-btn {
|
||||
padding: 0 7px;
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.view-switch-btn {
|
||||
padding: 0 6px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user