From 3c247665fcb43bec58c7814186383f1ef271f2c5 Mon Sep 17 00:00:00 2001 From: wjqserver <114663932+WJQSERVER@users.noreply.github.com> Date: Sat, 22 Mar 2025 20:18:30 +0800 Subject: [PATCH] update --- .github/workflows/build-dev.yml | 7 + .github/workflows/build.yml | 6 + pages/bootstrap/favicon.ico | Bin 3262 -> 0 bytes pages/bootstrap/index.html | 104 ------------- pages/bootstrap/script.js | 84 ----------- pages/bootstrap/style.css | 259 -------------------------------- pages/nebula/favicon.ico | Bin 3262 -> 0 bytes pages/nebula/index.html | 169 --------------------- pages/nebula/script.js | 131 ---------------- pages/nebula/style.css | 157 ------------------- 10 files changed, 13 insertions(+), 904 deletions(-) delete mode 100644 pages/bootstrap/favicon.ico delete mode 100644 pages/bootstrap/index.html delete mode 100644 pages/bootstrap/script.js delete mode 100644 pages/bootstrap/style.css delete mode 100644 pages/nebula/favicon.ico delete mode 100644 pages/nebula/index.html delete mode 100644 pages/nebula/script.js delete mode 100644 pages/nebula/style.css diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 40a60f6..73d9a4c 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -59,6 +59,13 @@ jobs: else echo "DEV-VERSION file not found!" && exit 1 fi + + - name: 拉取前端 + run: | + sudo git clone https://github.com/WJQSERVER-STUDIO/GHPrxoy-Frontend.git pages + sudo rm -rf pages/.git/ + + - name: 安装 Go uses: actions/setup-go@v3 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76306c5..37c99a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,6 +56,12 @@ jobs: else echo "VERSION file not found!" && exit 1 fi + + - name: 拉取前端 + run: | + sudo git clone https://github.com/WJQSERVER-STUDIO/GHPrxoy-Frontend.git pages + sudo rm -rf pages/.git/ + - name: 安装 Go uses: actions/setup-go@v3 with: diff --git a/pages/bootstrap/favicon.ico b/pages/bootstrap/favicon.ico deleted file mode 100644 index 9c04d31ade74151073f9c5d87d6dc75f72d58111..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3262 zcmc(g%PaO<6vux!?)QX)(#zx+G4Yz1oB=`xk4_k~2{*$u+lPAVnFQnV84` zu2mwhy4uW$JqDx_t)3gx3@R6g~s8NNtS-h{~Q4w9s4>n zn0*F-6UM&!nXe3$@bU5S=;&xgMaB2;-+yyhYHDg}Y3cCr@ZsU16bNB<_nD@dmpGrh zySwG(<$ivCoSBD*hx5r4U{3GDiKCcPfz)pG~&Pj=jZ1?KR>e(6ig|c9A#czT@9W*jRK#= z#l=HILn9+2EiEm*y}cwHA0N*=7z{8zwQ{4cYtYx%Cvip$uBud3RdsQ3v9+~DwO3bH zcXoDygM$Td06+45R&auXK3*#T z>EmETVTlkDH1$!$`ucjnl-Cf!Pfbmc`Qzi`{{BAsZ)|Lk|MvEFNJxl*DTFd9Dk^f) z*NL2;pNEBo8H&K2ot@-UR#rARI0)FMF&0f+hk;KVVB8zT3aOza_){Os&37|Dv2 zmX^jX_4V~-J|Q9D^70ZEZGmxaZcg)#2p{(fGjy(jK^mvAu@QiZgM-Dz#lcEXPhVbM zzQ4bJd3gc+af2QG=l1q?U|_)MltpL1Ak8W3EHX1Q(Nz9XQBjeRk$jevlz_z0lw(G* zmX?+R0s=Ve*w|Qqe}C?ORA5` zSW{EuUSFXX78VRqbS?%&lf2U4;RBPhU{nd1qT{%lh+JJm6rINo*lb+R{QSI0L&p>z z9?qixX)dA&D!QRxU0p>)M1YjIkj>4_LIQR*mKGNm4Mjvc%+b*i zOZJUx3r$T;fVIbe-6ivnf@ zT^&}ni;0N|^9!Qn83}}$PgRVU+uz@>%-xGCoC$Gqa>7PJLqk;rlezgMfx5c7gM$Nz zWc3wsvm=AQzP_g06DTVyiylQA%*e=~_07!8@Vf@y - - - - - - Github文件加速 - - - - - - - -
-
-
-
-

Github文件加速

-

为访问Github文件进行加速

-
-
- -
- -
- -

GitHub 链接带不带协议头均可,支持 release、archive 以及文件,转换后链接均可使用。

-
-
-
-
-
-
-
文件大小限制
-

...

-
-
-
-
-
-
-
白名单状态
-

...

-
-
-
-
-
-
-
黑名单状态
-

...

-
-
-
-
-
- -
- -
- -
- -
- - - - - - \ No newline at end of file diff --git a/pages/bootstrap/script.js b/pages/bootstrap/script.js deleted file mode 100644 index a1c333e..0000000 --- a/pages/bootstrap/script.js +++ /dev/null @@ -1,84 +0,0 @@ -const githubForm = document.getElementById('github-form'); -const githubLinkInput = document.getElementById('githubLinkInput'); -const formattedLinkOutput = document.getElementById('formattedLinkOutput'); -const output = document.getElementById('output'); -const copyButton = document.getElementById('copyButton'); -const openButton = document.getElementById('openButton'); -const toast = new bootstrap.Toast(document.getElementById('toast')); - -function showToast(message) { - const toastBody = document.querySelector('.toast-body'); - toastBody.textContent = message; - toast.show(); -} - -function formatGithubLink(githubLink) { - const currentHost = window.location.host; - let formattedLink = ""; - - if (githubLink.startsWith("https://github.com/") || githubLink.startsWith("http://github.com/")) { - formattedLink = window.location.protocol + "//" + currentHost + "/github.com" + githubLink.substring(githubLink.indexOf("/", 8)); - } else if (githubLink.startsWith("github.com/")) { - formattedLink = window.location.protocol + "//" + currentHost + "/" + githubLink; - } else if (githubLink.startsWith("https://raw.githubusercontent.com/") || githubLink.startsWith("http://raw.githubusercontent.com/")) { - formattedLink = window.location.protocol + "//" + currentHost + githubLink.substring(githubLink.indexOf("/", 7)); - } else if (githubLink.startsWith("raw.githubusercontent.com/")) { - formattedLink = window.location.protocol + "//" + currentHost + "/" + githubLink; - } else if (githubLink.startsWith("https://gist.githubusercontent.com/") || githubLink.startsWith("http://gist.githubusercontent.com/")) { - formattedLink = window.location.protocol + "//" + currentHost + "/gist.github.com" + githubLink.substring(githubLink.indexOf("/", 18)); - } else if (githubLink.startsWith("gist.githubusercontent.com/")) { - formattedLink = window.location.protocol + "//" + currentHost + "/" + githubLink; - } else { - showToast('请输入有效的GitHub链接'); - return null; - } - - return formattedLink; -} - -githubForm.addEventListener('submit', function (e) { - e.preventDefault(); - const formattedLink = formatGithubLink(githubLinkInput.value); - if (formattedLink) { - formattedLinkOutput.textContent = formattedLink; - output.style.display = 'block'; - } -}); - -copyButton.addEventListener('click', function () { - navigator.clipboard.writeText(formattedLinkOutput.textContent).then(() => { - showToast('链接已复制到剪贴板'); - }); -}); - -openButton.addEventListener('click', function () { - window.open(formattedLinkOutput.textContent, '_blank'); -}); - -function fetchAPI() { - fetch('/api/size_limit') - .then(response => response.json()) - .then(data => { - document.getElementById('sizeLimitDisplay').textContent = `${data.MaxResponseBodySize} MB`; - }); - - fetch('/api/whitelist/status') - .then(response => response.json()) - .then(data => { - document.getElementById('whiteListStatus').textContent = data.Whitelist ? '已开启' : '已关闭'; - }); - - fetch('/api/blacklist/status') - .then(response => response.json()) - .then(data => { - document.getElementById('blackListStatus').textContent = data.Blacklist ? '已开启' : '已关闭'; - }); - - fetch('/api/version') - .then(response => response.json()) - .then(data => { - document.getElementById('versionBadge').textContent = data.Version; - }); -} - -document.addEventListener('DOMContentLoaded', fetchAPI); \ No newline at end of file diff --git a/pages/bootstrap/style.css b/pages/bootstrap/style.css deleted file mode 100644 index c6e7041..0000000 --- a/pages/bootstrap/style.css +++ /dev/null @@ -1,259 +0,0 @@ - /* 通用样式 */ - :root { - --primary-color: #007aff; - /* 主要按钮颜色 */ - --secondary-color: #34c759; - /* 次要按钮颜色 */ - --background-color: #f9f9f9; - /* 亮色模式背景 */ - --card-background: #ffffff; - /* 卡片背景 */ - --text-color: #333333; - /* 亮色模式文本颜色 */ - --border-color: #e0e0e0; - /* 边框颜色 */ - --input-background: #ffffff; - /* 输入框背景 */ - --input-border: #d1d1d6; - /* 输入框边框 */ - --pre-background: #f1f3f4; - /* 代码块背景 */ - --pre-text-color: #333333; - /* 代码块文本颜色 */ - --version-badge-hover: #39c5bb; - /* 说明文字颜色 */ - --muted-text-color: #6c757d; - } - - body { - background-color: var(--background-color); - color: var(--text-color); - font-family: sans-serif; - line-height: 1.8; - font-size: 15px; - margin: 0; - padding: 0; - } - - h1, - h2, - h3, - h4, - h5, - h6 { - color: var(--text-color); - font-weight: 800; - letter-spacing: 0.5px; - margin: 1rem 0; - } - - p, - span, - a, - li { - color: var(--text-color); - margin-bottom: 1rem; - } - - a { - text-decoration: none; - color: var(--primary-color); - } - - a:hover { - color: #0056b3; - } - - .card { - background-color: var(--card-background); - border: 1px solid var(--border-color); - border-radius: 8px; - padding: 16px; - margin: 16px 0; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); - transition: transform 0.2s, box-shadow 0.2s; - } - - .card:hover { - box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); - transform: translateY(-4px); - } - - .btn-outline-secondary { - border-radius: 50%; - padding: 6px; - transition: #e9e9e9 0.3s ease-in-out, color 0.3s ease-in-out; - } - - .btn-outline-secondary:hover { - background-color: var(--primary-color); - color: white; - } - - .form-control { - background-color: var(--input-background); - border: 1px solid var(--input-border); - color: var(--text-color); - padding: 10px; - border-radius: 4px; - font-size: 14px; - outline: none; - transition: border-color 0.2s, box-shadow 0.2s; - } - - .form-control:focus { - border-color: var(--primary-color); - box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.3); - } - - .text-muted { - color: var(--muted-text-color) !important; - } - - .bg-light { - background-color: var(--card-background) !important; - } - - pre { - background-color: var(--pre-background); - color: var(--pre-text-color); - padding: 16px; - border-radius: 8px; - overflow-x: auto; - font-size: 14px; - line-height: 1.6; - } - - .version-badge { - position: fixed; - bottom: 20px; - right: 20px; - background-color: var(--secondary-color); - color: white; - padding: 6px 12px; - border-radius: 20px; - font-size: 0.8rem; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); - transition: background-color 0.3s ease-in-out; - } - - .version-badge:hover { - background-color: var(--version-badge-hover); - } - - footer { - padding: 16px; - text-align: center; - color: var(--text-color); - font-size: 0.9rem; - background-color: var(--card-background); - } - - footer a { - color: var(--primary-color); - } - - footer a:hover { - color: #0056b3; - } - - /* 暗色模式 */ - @media (prefers-color-scheme: dark) { - :root { - --background-color: #121212; - /* 深灰色背景 */ - --card-background: #1e1e1e; - /* 卡片背景稍浅 */ - --text-color: #ffffff; - /* 纯白文本 */ - --primary-color: #0a84ff; - /* 按钮蓝色 */ - --secondary-color: #30d158; - /* 次要按钮绿色 */ - --border-color: #3a3a3a; - /* 边框颜色 */ - --input-background: #2c2c2c; - /* 输入框背景 */ - --input-border: #4a4a4a; - /* 输入框边框 */ - --pre-background: #3b3636; - /* 代码块背景 */ - --pre-text-color: #ffffff; - /* 代码块文本颜色 */ - --version-badge-hover: #39c5bc9a; - /* 说明文字颜色 */ - --muted-text-color: #a0a0a0; - } - - body { - background-color: var(--background-color); - color: var(--text-color); - } - - h1, - h2, - h3, - h4, - h5, - h6, - p, - span, - a, - li { - color: var(--text-color); - } - - .card { - background-color: var(--card-background); - color: var(--text-color); - border: 1px solid var(--border-color); - } - - .btn-outline-secondary { - border-radius: 50%; - padding: 6px; - transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; - } - - .btn-outline-secondary:hover { - background-color: var(--primary-color); - color: white; - } - - .toast { - background-color: var(--card-background); - color: var(--text-color); - border: 1px solid var(--border-color); - border-radius: 8px; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); - } - - .toast-body { - padding: 12px; - } - - - .form-control { - background-color: var(--input-background); - border: 1px solid var(--input-border); - color: var(--text-color); - } - - .bg-light { - background-color: var(--card-background) !important; - } - - pre { - background-color: var(--pre-background); - color: var(--pre-text-color); - } - - footer { - background-color: var(--card-background); - color: var(--text-color); - } - - footer a { - color: var(--primary-color); - } - } \ No newline at end of file diff --git a/pages/nebula/favicon.ico b/pages/nebula/favicon.ico deleted file mode 100644 index 9c04d31ade74151073f9c5d87d6dc75f72d58111..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3262 zcmc(g%PaO<6vux!?)QX)(#zx+G4Yz1oB=`xk4_k~2{*$u+lPAVnFQnV84` zu2mwhy4uW$JqDx_t)3gx3@R6g~s8NNtS-h{~Q4w9s4>n zn0*F-6UM&!nXe3$@bU5S=;&xgMaB2;-+yyhYHDg}Y3cCr@ZsU16bNB<_nD@dmpGrh zySwG(<$ivCoSBD*hx5r4U{3GDiKCcPfz)pG~&Pj=jZ1?KR>e(6ig|c9A#czT@9W*jRK#= z#l=HILn9+2EiEm*y}cwHA0N*=7z{8zwQ{4cYtYx%Cvip$uBud3RdsQ3v9+~DwO3bH zcXoDygM$Td06+45R&auXK3*#T z>EmETVTlkDH1$!$`ucjnl-Cf!Pfbmc`Qzi`{{BAsZ)|Lk|MvEFNJxl*DTFd9Dk^f) z*NL2;pNEBo8H&K2ot@-UR#rARI0)FMF&0f+hk;KVVB8zT3aOza_){Os&37|Dv2 zmX^jX_4V~-J|Q9D^70ZEZGmxaZcg)#2p{(fGjy(jK^mvAu@QiZgM-Dz#lcEXPhVbM zzQ4bJd3gc+af2QG=l1q?U|_)MltpL1Ak8W3EHX1Q(Nz9XQBjeRk$jevlz_z0lw(G* zmX?+R0s=Ve*w|Qqe}C?ORA5` zSW{EuUSFXX78VRqbS?%&lf2U4;RBPhU{nd1qT{%lh+JJm6rINo*lb+R{QSI0L&p>z z9?qixX)dA&D!QRxU0p>)M1YjIkj>4_LIQR*mKGNm4Mjvc%+b*i zOZJUx3r$T;fVIbe-6ivnf@ zT^&}ni;0N|^9!Qn83}}$PgRVU+uz@>%-xGCoC$Gqa>7PJLqk;rlezgMfx5c7gM$Nz zWc3wsvm=AQzP_g06DTVyiylQA%*e=~_07!8@Vf@y - - - - - - GitHub加速服务 - - - - - -
-
-

GitHub加速服务

-

高速稳定的 GitHub 资源访问解决方案

-
-
-
-
- - -
- -
- - - -
-
-
-
-
-
-
文件大小限制
- 最大支持文件尺寸 -
- ... -
-
-
-
-
-
-
-
白名单状态
- 访问控制列表 -
- ... -
-
-
-
-
-
-
-
黑名单状态
- 屏蔽列表状态 -
- ... -
-
-
-
-
-

📚 详细使用指南

- -
-

支持的工具

-
    -
  • ✅ 支持域名:github.com
  • -
  • ✅ 支持域名:raw.githubusercontent.com
  • -
  • ✅ 支持域名:gist.githubusercontent.com
  • -
  • ✅ 支持HTTPS Git Clone
  • -
  • ❌ 不支持 SSH Git Clone
  • -
-
-
-

基础用法示例

-
-

Git 克隆

- git clone https://example.com/https://github.com/user/project.git -

私有仓库克隆

- git clone https://user:your_token@example.com/https://github.com/user/project.git -
-
-

文件下载

- wget https://example.com/https://raw.githubusercontent.com/user/project/main/README.md -

版本发布

- curl -LO https://example.com/https://github.com/user/project/releases/download/v1.0.0/project_1.0.0.amd64.tar.gz -
-
-
-

支持的文件类型

-
-
-
-

原始文件

- https://raw.githubusercontent.com/user/repo/main/file.txt -
-
-
-
-

分支源码

- https://github.com/user/repo/archive/main.zip -
-
-
-
-

版本发布

- https://github.com/user/repo/releases/download/v1.0.0/app.zip -
-
-
-
-

Gist 文件

- https://gist.githubusercontent.com/user/gist_id/raw/file.txt -
-
-
-
-

HTTPS Git Clone

- git clone https://github.com/user/repo.git -
-
-
-
-
- -
-
- -
- - - - - \ No newline at end of file diff --git a/pages/nebula/script.js b/pages/nebula/script.js deleted file mode 100644 index 4516f9c..0000000 --- a/pages/nebula/script.js +++ /dev/null @@ -1,131 +0,0 @@ -(() => { - 'use strict'; - - // 初始化基础配置 - const currentYear = new Date().getFullYear(); - document.getElementById('currentYear').textContent = currentYear; - const toast = new bootstrap.Toast('#liveToast'); - - // DOM 元素 - const form = document.getElementById('mainForm'); - const input = document.getElementById('inputUrl'); - const output = document.getElementById('output'); - const outputLink = document.getElementById('outputLink'); - - // 获取当前域名 - const CURRENT_PROTOCOL = window.location.protocol.replace(':', ''); - const CURRENT_HOST = window.location.host; - // 替换协议部分 - document.querySelectorAll('code .protocol').forEach(span => { - span.textContent = CURRENT_PROTOCOL; - }); - // 替换域名部分 - document.querySelectorAll('code .host').forEach(span => { - span.textContent = CURRENT_HOST; - }); - - // URL 转换规则 - const URL_RULES = [ - { - regex: /^(?:https?:\/\/)?(?:www\.)?(github\.com\/.*)/i, - build: path => `${location.protocol}//${location.host}/${path}` - }, - { - regex: /^(?:https?:\/\/)?(raw\.githubusercontent\.com\/.*)/i, - build: path => `${location.protocol}//${location.host}/${path}` - }, - { - regex: /^(?:https?:\/\/)?(gist\.(?:githubusercontent|github)\.com\/.*)/i, - build: path => `${location.protocol}//${location.host}/${path}` - } - ]; - - // 核心功能:链接转换 - function transformGitHubURL(url) { - const cleanURL = url.trim().replace(/^https?:\/\//i, ''); - for (const rule of URL_RULES) { - const match = cleanURL.match(rule.regex); - if (match) return rule.build(match[1]); - } - return null; - } - - // 事件处理 - form.addEventListener('submit', e => { - e.preventDefault(); - - if (!input.checkValidity()) { - input.classList.add('is-invalid'); - showToast('⚠️ 请输入有效的 GitHub 链接'); - return; - } - - const result = transformGitHubURL(input.value); - if (!result) { - showToast('❌ 不支持的链接格式'); - return; - } - - outputLink.textContent = result; - output.hidden = false; - window.scrollTo({ top: output.offsetTop - 100, behavior: 'smooth' }); - }); - - document.getElementById('copyBtn').addEventListener('click', async () => { - try { - await navigator.clipboard.writeText(outputLink.textContent); - showToast('✅ 链接已复制'); - } catch { - showToast('❌ 复制失败'); - } - }); - - document.getElementById('openBtn').addEventListener('click', () => { - window.open(outputLink.textContent, '_blank', 'noopener,noreferrer'); - }); - - // 服务状态监控 - async function loadServiceStatus() { - try { - const [size, whitelist, blacklist, version] = await Promise.all([ - fetchJSON('/api/size_limit'), - fetchJSON('/api/whitelist/status'), - fetchJSON('/api/blacklist/status'), - fetchJSON('/api/version') - ]); - - updateStatus('sizeLimit', `${size.MaxResponseBodySize}MB`); - updateStatus('whitelistStatus', whitelist.Whitelist ? '已开启' : '已关闭'); - updateStatus('blacklistStatus', blacklist.Blacklist ? '已开启' : '已关闭'); - updateStatus('version', `Version ${version.Version}`); - } catch { - showToast('⚠️ 服务状态获取失败'); - } - } - - async function fetchJSON(url) { - const response = await fetch(url); - if (!response.ok) throw new Error('API Error'); - return response.json(); - } - - function updateStatus(elementId, text) { - const element = document.getElementById(elementId); - if (element) element.textContent = text; - } - - // 工具函数 - function showToast(message) { - const toastBody = document.querySelector('.toast-body'); - toastBody.textContent = message; - toast.show(); - } - - // 初始化 - input.addEventListener('input', () => { - input.classList.remove('is-invalid'); - if (output.hidden === false) output.hidden = true; - }); - - loadServiceStatus(); -})(); \ No newline at end of file diff --git a/pages/nebula/style.css b/pages/nebula/style.css deleted file mode 100644 index 81f40a8..0000000 --- a/pages/nebula/style.css +++ /dev/null @@ -1,157 +0,0 @@ -:root { - --primary: #007aff; - --secondary: #007aff; - --background: #f9f9f9; - --card-bg: #ffffff; - --text: #333333; - --border: #d1d1d6; - --muted: #64748b; - --success: #00a83ed2; - --danger: #ce0000dd; -} - -@media (prefers-color-scheme: dark) { - :root { - --background: #121212; - --card-bg: #1e1e1e; - --text: #ffffff; - --border: #334155; - --muted: #94a3b8; - } - - .form-control::placeholder { - color: var(--muted); - } - - .text-muted { - color: var(--muted) !important; - } - - .btn-outline-secondary { - color: var(--muted); - border-color: var(--border); - } - - .status-badge { - color: var(--text) !important; - } - - .code-block { - background: rgba(255, 255, 255, 0.05); - } - - .command-example { - background: rgba(255, 255, 255, 0.03); - } - - .btn-primary { - --bs-btn-bg: var(--primary); - --bs-btn-border-color: var(--primary); - --bs-btn-hover-bg: var(--secondary); - --bs-btn-hover-border-color: var(--secondary); - } - - .form-control { - background-color: rgba(255, 255, 255, 0.05); - border-color: var(--border); - color: var(--text); - } - - a { - color: var(--secondary); - } -} - -body { - background: var(--background); - color: var(--text); - font-family: 'Inter', system-ui, sans-serif; - line-height: 1.6; -} - -.main-card { - background: var(--card-bg); - border: 1px solid var(--border); - border-radius: 12px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); - transition: transform 0.2s, box-shadow 0.2s; -} - -.main-card:hover { - transform: translateY(-2px); - box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); -} - -.code-block { - background: rgba(37, 99, 235, 0.05); - border-left: 3px solid var(--primary); - border-radius: 6px; - padding: 1rem; - position: relative; - overflow-x: auto; -} - -.status-badge { - padding: 6px 12px; - border-radius: 20px; - font-size: 0.9rem; - font-weight: 500; -} - -.guide-section { - border-left: 3px solid var(--primary); - padding-left: 1rem; - margin: 2rem 0; -} - -.command-example { - position: relative; - padding: 1.25rem; - background: rgba(37, 99, 235, 0.03); - border-radius: 8px; - margin: 1rem 0; -} - -.command-example::before { - content: "➜"; - position: absolute; - left: -1.5rem; - color: var(--muted); -} - -.toast { - position: fixed; - top: 1%; - right: 1%; - background-color: var(--card-background); - color: var(--text-color); - border: 1px solid var(--border-color); - border-radius: 8px; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); -} - -.toast-body { - padding: 12px; -} - -#version { - text-align: center; - font-size: 13px; - line-height: 26px; - color: #747474; -} - -.bg-primary { - --bs-bg-opacity: 1; - background-color: #2c82de !important; -} - -.bg-success { - --bs-bg-opacity: 1; - background-color: #2c82de !important; -} - -.bg-danger { - --bs-bg-opacity: 1; - background-color: #2c82de !important; -} \ No newline at end of file