chore: import upstream snapshot with attribution
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:38:58 +08:00
commit bb5c75ce05
8824 changed files with 1946442 additions and 0 deletions
+1149
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+379
View File
@@ -0,0 +1,379 @@
/* Featured Page Styles - Extends component-page.css */
/* Featured Logo in Header */
.featured-logo {
text-align: center;
margin-bottom: 1rem;
}
.featured-logo img {
max-width: 280px;
width: 100%;
height: auto;
}
/* Partner Badge - Color variants for featured type */
.partner-badge {
background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
color: #ffffff;
padding: 0.35rem 0.8rem;
border-radius: 16px;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.5px;
text-transform: uppercase;
display: inline-block;
position: relative;
z-index: 1;
box-shadow:
0 2px 8px rgba(99, 102, 241, 0.3),
0 4px 16px rgba(99, 102, 241, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.partner-badge:hover {
transform: translateY(-1px) scale(1.02);
filter: brightness(1.1);
}
.partner-badge::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
border-radius: 16px;
pointer-events: none;
}
/* Partner badge color variants */
.partner-badge--partner {
background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
box-shadow:
0 2px 8px rgba(99, 102, 241, 0.3),
0 4px 16px rgba(99, 102, 241, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.partner-badge--database {
background: linear-gradient(135deg, #059669 0%, #34d399 100%);
box-shadow:
0 2px 8px rgba(5, 150, 105, 0.3),
0 4px 16px rgba(5, 150, 105, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.partner-badge--toolkit {
background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
box-shadow:
0 2px 8px rgba(217, 119, 6, 0.3),
0 4px 16px rgba(217, 119, 6, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* External CTA Button in Sidebar */
.sidebar-cta-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
width: 100%;
padding: 0.75rem 1rem;
background: var(--accent-color);
color: #ffffff;
text-decoration: none;
border: none;
border-radius: 6px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.sidebar-cta-btn:hover {
background: var(--text-accent);
color: #ffffff;
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.sidebar-cta-btn svg {
flex-shrink: 0;
}
/* Featured Article Content in Overview Tab */
.featured-content h2 {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
margin-top: 2.5rem;
margin-bottom: 1rem;
padding-bottom: 0.4rem;
border-bottom: 2px solid var(--accent-color);
display: inline-block;
}
.featured-content h2:first-child {
margin-top: 0;
}
.featured-content h3 {
font-size: 1.2rem;
font-weight: 600;
color: var(--text-primary);
margin-top: 1.5rem;
margin-bottom: 0.75rem;
}
.featured-content p {
font-size: 1rem;
line-height: 1.7;
color: var(--text-secondary);
margin-bottom: 1rem;
}
.featured-content ul,
.featured-content ol {
margin: 1rem 0;
padding-left: 1.5rem;
color: var(--text-secondary);
}
.featured-content li {
margin-bottom: 0.5rem;
line-height: 1.6;
}
.featured-content strong {
color: var(--text-primary);
}
.featured-content a {
color: var(--accent-color);
text-decoration: none;
}
.featured-content a:hover {
text-decoration: underline;
}
.featured-content code {
background: var(--bg-secondary);
padding: 0.15rem 0.4rem;
border-radius: 4px;
font-size: 0.9rem;
color: var(--accent-color);
font-family: 'Monaco', 'Menlo', monospace;
}
.featured-content pre {
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: 8px;
padding: 1.25rem;
margin: 1.5rem 0;
overflow-x: auto;
}
.featured-content pre code {
background: none;
padding: 0;
font-size: 0.85rem;
color: var(--text-primary);
line-height: 1.5;
}
.featured-content blockquote {
background: var(--bg-tertiary);
border-left: 3px solid var(--accent-color);
padding: 1rem 1.5rem;
margin: 1.5rem 0;
border-radius: 0 8px 8px 0;
}
.featured-content blockquote p {
margin-bottom: 0.5rem;
}
.featured-content blockquote p:last-child {
margin-bottom: 0;
}
/* Feature List Cards */
.featured-content .feature-list {
display: flex;
flex-direction: column;
gap: 1rem;
margin: 1.5rem 0;
}
.featured-content .feature-item {
display: flex;
gap: 1rem;
padding: 1.25rem;
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: 8px;
transition: transform 0.2s ease, border-color 0.2s ease;
}
.featured-content .feature-item:hover {
transform: translateX(4px);
border-color: var(--accent-color);
}
.featured-content .feature-icon {
font-size: 1.5rem;
flex-shrink: 0;
width: 2.5rem;
height: 2.5rem;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-tertiary);
border-radius: 8px;
color: var(--accent-color);
font-weight: 700;
}
.featured-content .feature-content h3 {
margin: 0 0 0.5rem 0;
color: var(--text-primary);
font-size: 1.05rem;
border-bottom: none;
padding-bottom: 0;
}
.featured-content .feature-content p {
margin: 0;
font-size: 0.95rem;
}
/* Comparison Box */
.featured-content .comparison-box {
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: 8px;
padding: 1.25rem;
margin: 1.5rem 0;
}
.featured-content .comparison-item {
padding: 0.75rem 0;
border-bottom: 1px solid var(--border-primary);
}
.featured-content .comparison-item:last-child {
border-bottom: none;
}
.featured-content .comparison-item strong {
color: var(--accent-color);
}
/* Info Note */
.featured-content .info-note {
background: var(--bg-secondary);
border-left: 3px solid var(--accent-color);
padding: 1rem 1.5rem;
margin: 1.5rem 0;
font-style: italic;
border-radius: 0 8px 8px 0;
}
/* CTA Box */
.featured-content .cta-box {
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: 8px;
padding: 1.25rem;
margin: 1.5rem 0;
}
/* Website Tab iframe */
.featured-website-frame {
width: 100%;
min-height: 600px;
border: 1px solid var(--border-primary);
border-radius: 8px;
background: #fff;
}
.website-tab-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
padding: 0.75rem 1rem;
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: 8px;
}
.website-tab-url {
color: var(--text-secondary);
font-size: 0.85rem;
font-family: 'Monaco', 'Menlo', monospace;
}
.website-tab-open {
display: inline-flex;
align-items: center;
gap: 0.4rem;
color: var(--accent-color);
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
}
.website-tab-open:hover {
text-decoration: underline;
}
/* Partner Info Card in Sidebar */
.partner-info-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
text-align: center;
}
.partner-info-card img {
max-width: 180px;
width: 100%;
height: auto;
}
.partner-info-description {
font-size: 0.85rem;
color: var(--text-secondary);
line-height: 1.5;
}
/* Responsive */
@media (max-width: 768px) {
.featured-content .feature-item {
flex-direction: column;
}
.featured-content .feature-icon {
font-size: 1.2rem;
width: 2rem;
height: 2rem;
}
.featured-logo img {
max-width: 200px;
}
.featured-website-frame {
min-height: 400px;
}
}
+135
View File
@@ -0,0 +1,135 @@
/* ===================================
Partnership Banner - GLM Z.AI (Image Banner)
=================================== */
.partnership-banner {
position: relative;
margin: 0;
padding: 1.5rem 3rem;
width: 100%;
background: #0d1117;
overflow: hidden;
box-sizing: border-box;
}
.partnership-sponsor-text {
text-align: center;
margin-bottom: 1rem;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}
.sponsor-label {
color: #8b949e;
font-size: 0.875rem;
margin-right: 0.5rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.sponsor-name {
color: #58a6ff;
font-size: 0.875rem;
font-weight: 600;
letter-spacing: 0.025em;
text-decoration: none;
transition: color 0.2s ease;
}
.sponsor-name:hover {
color: #79c0ff;
text-decoration: underline;
}
.partnership-banner a {
display: block;
position: relative;
cursor: pointer;
transition: opacity 0.2s ease;
}
.partnership-banner a:hover {
opacity: 0.95;
}
.partnership-banner img {
width: 100%;
height: auto;
max-height: 200px;
object-fit: contain;
object-position: center;
display: block;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.partnership-banner {
padding: 1.25rem 2.5rem;
}
.partnership-banner img {
max-height: 180px;
}
}
@media (max-width: 768px) {
.partnership-banner {
padding: 1rem 2rem;
}
.partnership-sponsor-text {
margin-bottom: 0.75rem;
}
.sponsor-label,
.sponsor-name {
font-size: 0.8125rem;
}
.partnership-banner img {
max-height: 150px;
}
}
@media (max-width: 480px) {
.partnership-banner {
padding: 0.75rem 1.5rem;
}
.partnership-sponsor-text {
margin-bottom: 0.5rem;
}
.sponsor-label,
.sponsor-name {
font-size: 0.75rem;
}
.partnership-banner img {
max-height: 120px;
}
}
@media (max-width: 360px) {
.partnership-banner {
padding: 0.5rem 1rem;
}
.partnership-sponsor-text {
margin-bottom: 0.5rem;
}
.sponsor-label,
.sponsor-name {
font-size: 0.7rem;
display: block;
margin: 0;
}
.sponsor-label {
margin-bottom: 0.25rem;
}
.partnership-banner img {
max-height: 100px;
}
}
+648
View File
@@ -0,0 +1,648 @@
/* Plugin Detail Page Styles */
.plugin-detail-page {
min-height: calc(100vh - 200px);
}
/* Back Navigation */
.back-navigation {
background: var(--bg-secondary);
border-bottom: 1px solid var(--border-secondary);
padding: 1rem 0;
margin-bottom: 2rem;
}
.back-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
font-size: 0.95rem;
}
.back-link:hover {
color: var(--text-accent);
}
.back-link svg {
transition: transform 0.2s ease;
}
.back-link:hover svg {
transform: translateX(-4px);
}
.loading-state,
.error-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 400px;
text-align: center;
}
.loading-spinner {
width: 50px;
height: 50px;
border: 4px solid var(--border-secondary);
border-top-color: var(--text-accent);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.error-state {
color: var(--text-secondary);
}
.error-icon {
font-size: 4rem;
margin-bottom: 1rem;
}
.error-state h2 {
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.back-button {
margin-top: 1.5rem;
padding: 0.75rem 1.5rem;
background: var(--text-accent);
color: var(--bg-primary);
border-radius: 6px;
text-decoration: none;
font-weight: 600;
transition: all 0.2s ease;
}
.back-button:hover {
background: var(--text-primary);
transform: translateY(-2px);
}
/* Plugin Hero Section */
.plugin-hero {
display: flex;
gap: 2rem;
padding: 3rem 0;
border-bottom: 1px solid var(--border-secondary);
margin-bottom: 3rem;
}
.plugin-icon {
flex-shrink: 0;
}
.plugin-icon .component-icon {
font-size: 5rem;
width: 120px;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-secondary);
border-radius: 16px;
border: 1px solid var(--border-secondary);
}
.plugin-header-info {
flex: 1;
}
.plugin-meta {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}
.plugin-version {
background: var(--bg-tertiary);
color: var(--text-secondary);
padding: 0.35rem 0.75rem;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
}
.plugin-author {
color: var(--text-secondary);
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.plugin-author::before {
content: "👤";
}
.plugin-hero h1 {
font-size: 2.5rem;
color: var(--text-primary);
margin-bottom: 1rem;
font-weight: 700;
text-transform: capitalize;
}
.plugin-description {
font-size: 1.1rem;
color: var(--text-secondary);
line-height: 1.6;
margin-bottom: 1.5rem;
}
.plugin-keywords {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.plugin-hero .keyword-badge {
background: var(--bg-tertiary);
color: var(--text-accent);
padding: 0.4rem 0.8rem;
border-radius: 12px;
font-size: 0.85rem;
font-weight: 500;
border: 1px solid var(--border-secondary);
}
/* Installation Section */
.installation-section {
margin-bottom: 3rem;
}
.installation-section h2 {
font-size: 1.8rem;
color: var(--text-primary);
margin-bottom: 1.5rem;
font-weight: 600;
}
.installation-steps {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.step {
display: flex;
gap: 1.5rem;
background: var(--bg-secondary);
padding: 1.5rem;
border-radius: 12px;
border: 1px solid var(--border-secondary);
}
.step-number {
flex-shrink: 0;
width: 40px;
height: 40px;
background: var(--text-accent);
color: var(--bg-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: 700;
}
.step-content {
flex: 1;
}
.step-content h3 {
color: var(--text-primary);
margin-bottom: 0.75rem;
font-size: 1.1rem;
}
.command-box {
position: relative;
background: var(--bg-tertiary);
border: 1px solid var(--border-secondary);
border-radius: 8px;
padding: 1rem 1.25rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.command-box code {
flex: 1;
color: var(--text-accent);
font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
font-size: 0.95rem;
word-break: break-all;
}
.command-box .copy-btn {
flex-shrink: 0;
padding: 0.5rem 1rem;
background: var(--text-accent);
color: var(--bg-primary);
border: none;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.command-box .copy-btn:hover {
background: var(--text-primary);
transform: translateY(-1px);
}
/* Components Section */
.components-section {
margin-bottom: 3rem;
}
.components-section h2 {
font-size: 1.8rem;
color: var(--text-primary);
margin-bottom: 1.5rem;
font-weight: 600;
}
.components-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 1.5rem;
}
.component-category {
background: var(--bg-secondary);
border: 1px solid var(--border-secondary);
border-radius: 12px;
padding: 1.5rem;
}
.category-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-secondary);
}
.category-icon {
font-size: 1.5rem;
}
.category-header h3 {
color: var(--text-primary);
font-size: 1.2rem;
font-weight: 600;
}
.component-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.component-item {
padding: 0.75rem 1rem;
background: var(--bg-tertiary);
border-radius: 6px;
color: var(--text-secondary);
font-size: 0.9rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
transition: all 0.2s ease;
}
.component-item:hover {
background: var(--bg-primary);
}
.component-name {
flex: 1;
display: flex;
align-items: center;
gap: 0.5rem;
}
.component-name::before {
content: "▸";
color: var(--text-accent);
font-weight: bold;
}
.component-install-btn {
flex-shrink: 0;
padding: 0.4rem 0.75rem;
background: var(--text-accent);
color: var(--bg-primary);
border: none;
border-radius: 4px;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 0.4rem;
white-space: nowrap;
}
.component-install-btn:hover {
background: var(--text-primary);
transform: translateY(-1px);
}
.component-install-btn svg {
flex-shrink: 0;
}
/* Related Plugins Section */
.related-section {
margin-bottom: 3rem;
}
.related-section h2 {
font-size: 1.8rem;
color: var(--text-primary);
margin-bottom: 1.5rem;
font-weight: 600;
}
.related-plugins {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
}
.related-plugin-card {
background: var(--bg-secondary);
border: 1px solid var(--border-secondary);
border-radius: 12px;
padding: 1.5rem;
text-decoration: none;
transition: all 0.2s ease;
display: flex;
flex-direction: column;
}
.related-plugin-card:hover {
border-color: var(--text-accent);
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.related-plugin-card h3 {
color: var(--text-primary);
font-size: 1.1rem;
margin-bottom: 0.5rem;
text-transform: capitalize;
}
.related-plugin-card p {
color: var(--text-secondary);
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 1rem;
flex-grow: 1;
}
.related-plugin-stats {
display: flex;
gap: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border-secondary);
}
.related-plugin-stat {
display: flex;
align-items: center;
gap: 0.3rem;
color: var(--text-secondary);
font-size: 0.85rem;
}
/* Install Command Modal */
.modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.modal-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(4px);
animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.modal-content {
position: relative;
background: var(--bg-secondary);
border: 1px solid var(--border-secondary);
border-radius: 12px;
max-width: 600px;
width: 100%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
animation: slideUp 0.3s ease;
z-index: 1001;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.5rem;
border-bottom: 1px solid var(--border-secondary);
}
.modal-header h3 {
color: var(--text-primary);
font-size: 1.25rem;
font-weight: 600;
margin: 0;
}
.modal-close {
background: transparent;
border: none;
color: var(--text-secondary);
cursor: pointer;
padding: 0.5rem;
border-radius: 6px;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}
.modal-close:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.modal-body {
padding: 1.5rem;
}
.modal-description {
color: var(--text-secondary);
margin-bottom: 1rem;
font-size: 0.95rem;
line-height: 1.5;
}
.modal-command-box {
background: var(--bg-tertiary);
border: 1px solid var(--border-secondary);
border-radius: 8px;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.modal-command-box code {
color: var(--text-accent);
font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
font-size: 0.95rem;
word-break: break-all;
line-height: 1.5;
display: block;
}
.modal-copy-btn {
padding: 0.75rem 1.25rem;
background: var(--text-accent);
color: var(--bg-primary);
border: none;
border-radius: 6px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
align-self: flex-end;
}
.modal-copy-btn:hover {
background: var(--text-primary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.modal-copy-btn svg {
flex-shrink: 0;
}
/* Responsive Design */
@media (max-width: 768px) {
.plugin-hero {
flex-direction: column;
text-align: center;
}
.plugin-hero h1 {
font-size: 2rem;
}
.plugin-meta {
justify-content: center;
}
.plugin-keywords {
justify-content: center;
}
.components-grid {
grid-template-columns: 1fr;
}
.related-plugins {
grid-template-columns: 1fr;
}
.step {
flex-direction: column;
}
.step-number {
align-self: flex-start;
}
.command-box {
flex-direction: column;
align-items: stretch;
}
.command-box .copy-btn {
width: 100%;
justify-content: center;
}
.modal-content {
margin: 1rem;
}
.modal-header,
.modal-body {
padding: 1rem;
}
.modal-copy-btn {
width: 100%;
}
}
+776
View File
@@ -0,0 +1,776 @@
/* Stack Page Styles */
/* Back Button */
.back-button {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #00ff88;
padding: 8px 16px;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.2s ease;
margin-right: 20px;
}
.back-button:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateX(-2px);
}
/* Stack Page Container */
.stack-page {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* Stack Header */
.stack-header {
background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
border: 1px solid rgba(0, 255, 136, 0.3);
border-radius: 12px;
padding: 32px;
margin-bottom: 32px;
position: relative;
overflow: hidden;
}
.stack-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
pointer-events: none;
}
.stack-info {
display: flex;
align-items: center;
gap: 24px;
position: relative;
z-index: 1;
}
.stack-logo {
font-size: 64px;
line-height: 1;
min-width: 80px;
text-align: center;
}
.stack-details h1 {
font-size: 2.5rem;
color: #00ff88;
margin: 0 0 12px 0;
font-weight: 700;
text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
.stack-description {
font-size: 1.2rem;
color: rgba(255, 255, 255, 0.8);
margin: 0 0 24px 0;
line-height: 1.5;
}
/* Stack Stats */
.stack-stats {
display: flex;
gap: 32px;
margin-bottom: 20px;
}
.stack-stat {
text-align: center;
}
.stat-number {
display: block;
font-size: 2rem;
font-weight: 700;
color: #00ff88;
line-height: 1;
text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
.stat-label {
display: block;
font-size: 0.875rem;
color: rgba(255, 255, 255, 0.6);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 4px;
}
.stack-website {
color: #00ff88;
text-decoration: none;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 8px;
border: 1px solid rgba(0, 255, 136, 0.3);
padding: 8px 16px;
border-radius: 6px;
transition: all 0.2s ease;
}
.stack-website:hover {
background: rgba(0, 255, 136, 0.1);
transform: translateX(2px);
}
/* Stack Components */
.stack-components {
margin-bottom: 40px;
}
.stack-section {
margin-bottom: 48px;
}
.stack-section-header {
margin-bottom: 24px;
padding-bottom: 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stack-section-header h3 {
font-size: 1.8rem;
color: #00ff88;
margin: 0 0 8px 0;
font-weight: 600;
display: flex;
align-items: center;
justify-content: space-between;
}
.stack-section-header p {
color: rgba(255, 255, 255, 0.7);
margin: 0;
font-size: 1rem;
}
.component-count {
font-size: 0.875rem;
color: rgba(0, 255, 136, 0.8);
background: rgba(0, 255, 136, 0.1);
padding: 4px 12px;
border-radius: 12px;
border: 1px solid rgba(0, 255, 136, 0.2);
font-weight: 500;
}
/* Stack Grid */
.stack-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
margin-top: 20px;
}
/* Component Cards in Stack */
.stack-component {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 20px;
transition: all 0.2s ease;
position: relative;
}
.stack-component:hover {
background: rgba(255, 255, 255, 0.08);
border-color: rgba(0, 255, 136, 0.3);
transform: translateY(-2px);
box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
}
.stack-component .component-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 12px;
}
.stack-component .component-header h4 {
color: #00ff88;
font-size: 1.1rem;
font-weight: 600;
margin: 0;
line-height: 1.3;
flex: 1;
margin-right: 12px;
}
.stack-component .component-content {
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 16px;
}
.stack-component .component-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 12px;
}
.stack-component .component-tag {
background: rgba(0, 255, 136, 0.1);
color: rgba(0, 255, 136, 0.8);
font-size: 0.75rem;
padding: 4px 8px;
border-radius: 4px;
border: 1px solid rgba(0, 255, 136, 0.2);
font-weight: 500;
}
/* Add to Cart Button in Stack */
.stack-component .add-to-cart-btn {
background: rgba(0, 255, 136, 0.1);
border: 1px solid rgba(0, 255, 136, 0.3);
color: #00ff88;
padding: 8px 12px;
border-radius: 6px;
font-size: 0.875rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
transition: all 0.2s ease;
font-weight: 500;
flex-shrink: 0;
}
.stack-component .add-to-cart-btn:hover {
background: rgba(0, 255, 136, 0.2);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}
.stack-component .add-to-cart-btn svg {
width: 16px;
height: 16px;
}
/* Install All Section */
.stack-install-all {
background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
border: 1px solid rgba(0, 255, 136, 0.3);
border-radius: 12px;
padding: 32px;
text-align: center;
position: relative;
overflow: hidden;
}
.stack-install-all::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
pointer-events: none;
}
.stack-install-all h3 {
color: #00ff88;
font-size: 1.8rem;
margin: 0 0 12px 0;
font-weight: 600;
position: relative;
z-index: 1;
}
.stack-install-all p {
color: rgba(255, 255, 255, 0.8);
font-size: 1.1rem;
margin: 0 0 24px 0;
position: relative;
z-index: 1;
}
.stack-install-all .command-line {
position: relative;
z-index: 1;
max-width: 800px;
margin: 0 auto;
}
/* Responsive Design */
@media (max-width: 768px) {
.stack-page {
padding: 12px;
}
.stack-header {
padding: 20px;
}
.stack-info {
flex-direction: column;
text-align: center;
gap: 16px;
}
.stack-logo {
font-size: 48px;
}
.stack-details h1 {
font-size: 2rem;
}
.stack-stats {
justify-content: center;
gap: 20px;
}
.stack-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.stack-section-header h3 {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.back-button {
font-size: 12px;
padding: 6px 12px;
margin-right: 10px;
}
}
/* Loading States for Stack Pages */
.stack-loading {
text-align: center;
padding: 60px 20px;
color: rgba(255, 255, 255, 0.6);
}
.stack-loading-spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(0, 255, 136, 0.2);
border-top: 3px solid #00ff88;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Company Stacks Carousel */
.company-stacks-carousel {
max-width: 1200px;
margin: 20px auto;
padding: 20px;
}
.carousel-container {
position: relative;
margin-top: 20px;
display: flex;
align-items: center;
gap: 16px;
}
.carousel-btn {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 165, 0, 0.3);
color: #FFA500;
width: 40px;
height: 40px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
flex-shrink: 0;
font-family: 'Courier New', monospace;
}
.carousel-btn:hover {
background: rgba(255, 165, 0, 0.1);
border-color: #FFA500;
transform: scale(1.05);
}
.carousel-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
.carousel-track {
display: flex;
gap: 16px;
overflow: hidden;
scroll-behavior: smooth;
flex: 1;
padding: 4px;
cursor: grab;
user-select: none;
}
.company-stack-card {
background: rgba(20, 20, 20, 0.8);
border: 1px solid rgba(255, 165, 0, 0.2);
border-radius: 8px;
padding: 16px;
text-decoration: none;
color: inherit;
display: flex;
align-items: center;
gap: 12px;
transition: all 0.2s ease;
cursor: pointer;
position: relative;
overflow: hidden;
min-width: 260px;
flex-shrink: 0;
font-family: 'Courier New', monospace;
}
.company-stack-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255, 165, 0, 0.05), transparent);
opacity: 0;
transition: opacity 0.2s ease;
pointer-events: none;
}
.company-stack-card:hover {
background: rgba(30, 30, 30, 0.9);
border-color: #FFA500;
transform: translateY(-2px);
box-shadow:
0 4px 20px rgba(255, 165, 0, 0.2),
inset 0 1px 0 rgba(255, 165, 0, 0.1);
}
.company-stack-card:hover::before {
opacity: 1;
}
.company-logo {
font-size: 1.8rem;
line-height: 1;
flex-shrink: 0;
width: 40px;
text-align: center;
filter: grayscale(0.2);
}
.company-info {
flex: 1;
min-width: 0;
}
.company-info h3 {
color: #FFA500;
font-size: 1rem;
font-weight: 600;
margin: 0 0 2px 0;
font-family: 'Courier New', monospace;
text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}
.company-info p {
color: rgba(255, 255, 255, 0.7);
font-size: 0.75rem;
margin: 0;
line-height: 1.3;
font-family: 'Courier New', monospace;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.stack-arrow {
font-size: 1.2rem;
color: rgba(255, 165, 0, 0.6);
transition: all 0.2s ease;
flex-shrink: 0;
font-family: 'Courier New', monospace;
}
.company-stack-card:hover .stack-arrow {
color: #FFA500;
transform: translateX(4px);
text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}
/* View All Card Special Styling */
.view-all-card {
border: 1px solid rgba(255, 165, 0, 0.4) !important;
background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 165, 0, 0.05)) !important;
}
.view-all-card::before {
background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), transparent) !important;
opacity: 1 !important;
}
.view-all-card:hover {
border-color: #FFA500 !important;
background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 165, 0, 0.1)) !important;
box-shadow:
0 4px 20px rgba(255, 165, 0, 0.3),
inset 0 1px 0 rgba(255, 165, 0, 0.2) !important;
}
.view-all-card .company-info h3 {
color: #FFA500 !important;
text-shadow: 0 0 15px rgba(255, 165, 0, 0.4) !important;
}
/* Terminal-style scrollbar for carousel */
.carousel-track::-webkit-scrollbar {
display: none;
}
.carousel-track {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Responsive Design for Company Stacks */
@media (max-width: 768px) {
.company-stacks-carousel {
padding: 16px 12px;
}
.carousel-container {
gap: 8px;
}
.carousel-btn {
width: 32px;
height: 32px;
}
.carousel-btn svg {
width: 12px;
height: 12px;
}
.company-stack-card {
min-width: 220px;
padding: 12px;
gap: 8px;
}
.company-logo {
font-size: 1.5rem;
width: 32px;
}
.company-info h3 {
font-size: 0.9rem;
}
.company-info p {
font-size: 0.7rem;
}
.stack-arrow {
font-size: 1rem;
}
}
/* All Companies Page Styles */
.all-companies-page .stack-logo {
font-size: 4rem;
}
.all-companies-content {
margin-top: 32px;
}
.companies-category {
margin-bottom: 48px;
}
.category-title {
color: #FFA500;
font-size: 1.5rem;
font-weight: 600;
margin: 0 0 20px 0;
font-family: 'Courier New', monospace;
text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
display: flex;
align-items: center;
gap: 12px;
}
.category-title::before {
content: '$';
color: rgba(255, 165, 0, 0.6);
font-weight: normal;
}
.companies-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 16px;
}
.all-company-card {
background: rgba(20, 20, 20, 0.8);
border: 1px solid rgba(255, 165, 0, 0.2);
border-radius: 8px;
padding: 16px;
text-decoration: none;
color: inherit;
display: flex;
align-items: center;
gap: 16px;
transition: all 0.2s ease;
cursor: pointer;
position: relative;
overflow: hidden;
font-family: 'Courier New', monospace;
}
.all-company-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255, 165, 0, 0.05), transparent);
opacity: 0;
transition: opacity 0.2s ease;
pointer-events: none;
}
.all-company-card:hover {
background: rgba(30, 30, 30, 0.9);
border-color: #FFA500;
transform: translateY(-2px);
box-shadow:
0 4px 20px rgba(255, 165, 0, 0.2),
inset 0 1px 0 rgba(255, 165, 0, 0.1);
}
.all-company-card:hover::before {
opacity: 1;
}
.company-card-logo {
font-size: 2rem;
line-height: 1;
flex-shrink: 0;
width: 50px;
text-align: center;
filter: grayscale(0.1);
}
.company-card-info {
flex: 1;
min-width: 0;
}
.company-card-info h4 {
color: #FFA500;
font-size: 1.1rem;
font-weight: 600;
margin: 0 0 4px 0;
font-family: 'Courier New', monospace;
text-shadow: 0 0 8px rgba(255, 165, 0, 0.3);
}
.company-card-info p {
color: rgba(255, 255, 255, 0.8);
font-size: 0.85rem;
margin: 0;
line-height: 1.4;
font-family: 'Courier New', monospace;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.company-card-arrow {
font-size: 1.4rem;
color: rgba(255, 165, 0, 0.6);
transition: all 0.2s ease;
flex-shrink: 0;
font-family: 'Courier New', monospace;
}
.all-company-card:hover .company-card-arrow {
color: #FFA500;
transform: translateX(4px);
text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}
/* Responsive Design for All Companies */
@media (max-width: 768px) {
.companies-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.all-company-card {
padding: 14px;
gap: 12px;
}
.company-card-logo {
font-size: 1.6rem;
width: 40px;
}
.company-card-info h4 {
font-size: 1rem;
}
.company-card-info p {
font-size: 0.8rem;
}
.category-title {
font-size: 1.3rem;
margin-bottom: 16px;
}
.companies-category {
margin-bottom: 32px;
}
}
/* Terminal loading dots animation */
@keyframes terminalPulse {
0%, 80%, 100% { opacity: 0.3; }
40% { opacity: 1; }
}
+5431
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+739
View File
@@ -0,0 +1,739 @@
/* Dynamic Component Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
z-index: 1000;
animation: fadeIn 0.3s ease;
}
.component-modal-title {
display: flex;
align-items: center;
gap: 12px;
}
.component-icon {
font-size: 24px;
}
.component-type-badge {
padding: 4px 8px;
border-radius: 4px;
color: white;
font-size: 11px;
font-weight: bold;
letter-spacing: 0.5px;
}
.component-details {
padding: 0;
}
.component-description {
padding: 20px;
color: var(--text-secondary);
line-height: 1.6;
border-bottom: 1px solid var(--border-color);
}
.installation-section {
padding: 20px;
border-bottom: 1px solid var(--border-color);
}
.installation-section h4 {
margin: 0 0 12px 0;
color: var(--text-primary);
font-size: 16px;
font-weight: 600;
}
.command-line {
display: flex;
align-items: center;
gap: 12px;
background: var(--bg-tertiary);
padding: 12px 16px;
border-radius: 6px;
border: 1px solid var(--border-color);
}
.command-line code {
flex: 1;
color: var(--text-primary);
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 14px;
background: none;
padding: 0;
border: none;
}
.copy-btn {
background: var(--accent-color);
color: white;
border: none;
padding: 6px 12px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease;
}
.copy-btn:hover {
background: #d97706;
}
.component-content {
padding: 20px;
border-bottom: 1px solid var(--border-color);
}
.component-content h4 {
margin: 0 0 12px 0;
color: var(--text-primary);
font-size: 16px;
font-weight: 600;
}
.component-preview {
background: var(--bg-tertiary);
border-radius: 6px;
border: 1px solid var(--border-color);
overflow: hidden;
}
.component-preview pre {
margin: 0;
padding: 16px;
overflow-x: auto;
font-size: 13px;
line-height: 1.4;
}
.component-preview code {
color: var(--text-primary);
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
background: none;
}
.modal-actions {
padding: 20px;
text-align: center;
}
.github-folder-link {
display: inline-flex;
align-items: center;
gap: 8px;
background: #24292e;
color: white;
text-decoration: none;
padding: 10px 16px;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
border: none;
cursor: pointer;
transition: background-color 0.2s ease;
}
.github-folder-link:hover {
background: #1b1f23;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* YAML Syntax Highlighting */
.yaml-syntax {
color: var(--text-primary);
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 13px;
line-height: 1.5;
white-space: pre-wrap;
word-wrap: break-word;
}
/* YAML Comments */
.yaml-comment {
color: #6a9955;
font-style: italic;
}
/* YAML Keys */
.yaml-key {
color: #4fc1ff;
font-weight: 600;
}
/* YAML String Values */
.yaml-string {
color: #ce9178;
}
/* YAML Numbers */
.yaml-number {
color: #b5cea8;
}
/* YAML Booleans */
.yaml-boolean {
color: #569cd6;
font-weight: 500;
}
/* YAML Arrays/Lists */
.yaml-array {
color: #dcdcaa;
}
/* YAML Special Characters */
.yaml-punctuation {
color: #d4d4d4;
}
/* YAML Indentation Guide */
.yaml-indent {
color: #404040;
opacity: 0.6;
}
/* YAML Section Headers */
.yaml-section {
color: #c586c0;
font-weight: bold;
}
/* YAML List Items */
.yaml-list-item {
color: #dcdcaa;
}
/* YAML Path/File References */
.yaml-path {
color: #9cdcfe;
}
/* Code editor with line numbers */
.code-editor {
display: flex;
background: var(--bg-secondary);
border-radius: 8px;
overflow: hidden;
border: 1px solid var(--border-primary);
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
font-size: 13px;
line-height: 1.5;
max-height: 300px;
}
.code-line-numbers {
background: var(--bg-tertiary);
color: var(--text-secondary);
padding: 16px 8px;
text-align: right;
user-select: none;
border-right: 1px solid var(--border-primary);
min-width: 40px;
}
.code-line-numbers span {
display: block;
line-height: 1.5;
font-size: 12px;
}
.code-content {
flex: 1;
padding: 16px;
overflow: auto;
}
.code-content pre {
margin: 0;
white-space: pre-wrap;
color: var(--text-primary);
}
.code-content code {
background: none;
padding: 0;
border-radius: 0;
font-size: inherit;
line-height: inherit;
}
/* Template files list styling */
.template-files-list {
background: var(--bg-tertiary);
border: 1px solid var(--border-primary);
border-radius: 6px;
padding: 12px;
max-height: 200px;
overflow-y: auto;
}
.template-file-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 0;
border-bottom: 1px solid var(--border-secondary);
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.8rem;
}
.template-file-item:last-child {
border-bottom: none;
}
.file-icon {
font-size: 0.9rem;
opacity: 0.7;
}
.file-name {
color: var(--text-primary);
font-weight: 500;
}
/* Template contribution modal styles */
.template-types {
display: flex;
flex-direction: column;
gap: 30px;
margin: 20px 0;
}
.template-type-section {
background: var(--bg-tertiary);
border: 1px solid var(--border-primary);
border-radius: 8px;
padding: 20px;
}
.template-type-section h3 {
color: var(--text-accent);
margin: 0 0 10px 0;
font-size: 1.1rem;
}
.template-type-section > p {
color: var(--text-secondary);
margin: 0 0 20px 0;
font-size: 0.9rem;
}
/* Claude files info section */
.claude-files-info {
background: rgba(213, 116, 85, 0.1);
border: 1px solid var(--text-accent);
border-radius: 6px;
padding: 12px;
margin: 12px 0;
}
.claude-files-info ul {
margin: 0;
padding-left: 20px;
color: var(--text-primary);
}
.claude-files-info li {
margin: 8px 0;
font-size: 0.85rem;
line-height: 1.4;
}
.claude-files-info code {
background: rgba(213, 116, 85, 0.2);
color: var(--text-accent);
padding: 2px 4px;
border-radius: 3px;
font-weight: 600;
}
/* Minimal Workflow Modal Styles */
.workflow-modal .modal-content {
max-width: 700px;
width: 90vw;
}
/* Method Tabs */
.method-tabs {
display: flex;
border-bottom: 1px solid var(--border-color);
margin-bottom: 20px;
}
.tab-link {
padding: 12px 20px;
cursor: pointer;
border: none;
background: none;
color: var(--text-secondary);
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
border-bottom: 2px solid transparent;
flex: 1;
text-align: center;
}
.tab-link.active {
color: var(--accent-color);
border-bottom: 2px solid var(--accent-color);
}
.tab-link:hover {
color: var(--text-primary);
}
/* Method Content */
.method-content {
display: none;
margin-bottom: 20px;
}
.method-content.active {
display: block;
}
.step-label {
display: block;
font-size: 15px;
font-weight: 600;
color: var(--text-primary);
margin-top: 20px;
margin-bottom: 8px;
}
.step-description {
color: var(--text-secondary);
font-size: 14px;
margin-bottom: 12px;
}
.section-label {
display: block;
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 8px;
}
.section-description {
color: var(--text-secondary);
font-size: 14px;
margin-bottom: 16px;
line-height: 1.5;
}
/* Method Description */
.method-description {
margin-bottom: 20px;
padding: 12px 16px;
background: var(--bg-tertiary);
border-radius: 6px;
border-left: 3px solid var(--accent-color);
}
.method-description p {
margin: 0;
color: var(--text-secondary);
font-size: 14px;
line-height: 1.5;
}
/* Prompt Indicator */
.prompt-indicator {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 16px;
padding: 12px 16px;
background: rgba(245, 158, 11, 0.1);
border: 1px solid rgba(245, 158, 11, 0.3);
border-radius: 6px;
border-left: 3px solid var(--accent-color);
}
.prompt-icon {
font-size: 18px;
flex-shrink: 0;
margin-top: 1px;
}
.prompt-content {
flex: 1;
}
.prompt-content strong {
display: block;
color: var(--accent-color);
font-size: 13px;
font-weight: 600;
margin-bottom: 4px;
}
.prompt-content span {
color: var(--text-primary);
font-size: 14px;
line-height: 1.4;
font-style: italic;
}
/* Command Containers */
.command-container {
margin-bottom: 12px;
}
.command-actions {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--border-color);
}
/* Manual Steps */
.manual-step {
margin-bottom: 20px;
}
.manual-step h5 {
color: var(--text-primary);
font-size: 1rem;
font-weight: 500;
margin: 0 0 8px 0;
}
.step-description {
margin-bottom: 12px;
padding: 8px 12px;
background: var(--bg-secondary);
border-radius: 4px;
border: 1px solid var(--border-color);
}
.step-description p {
margin: 0;
color: var(--text-secondary);
font-size: 13px;
line-height: 1.4;
}
.step-description code {
background: var(--bg-tertiary);
color: var(--accent-color);
padding: 2px 4px;
border-radius: 3px;
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 12px;
font-weight: 600;
}
.yaml-actions {
display: flex;
gap: 8px;
margin-top: 8px;
}
.command-scroll {
flex: 1;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 12px 16px;
overflow-x: auto;
max-height: 120px;
overflow-y: auto;
}
.workflow-command-text {
color: var(--text-primary);
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 13px;
background: none;
border: none;
white-space: pre-wrap;
word-break: break-all;
line-height: 1.4;
}
.btn-copy-primary {
background: var(--accent-color);
color: white;
border: none;
padding: 8px 16px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 6px;
min-width: auto;
justify-content: center;
}
.btn-copy-primary:hover {
background: #b45309;
transform: translateY(-1px);
}
/* YAML Section */
.yaml-section {
margin-bottom: 20px;
border: 1px solid var(--border-color);
border-radius: 6px;
overflow: hidden;
}
.yaml-accordion-header {
padding: 12px 16px;
cursor: pointer;
user-select: none;
display: flex;
justify-content: space-between;
align-items: center;
background: var(--bg-secondary);
transition: background-color 0.2s ease;
font-size: 0.9rem;
color: var(--text-secondary);
}
.yaml-accordion-header:hover {
background: var(--bg-tertiary);
}
.yaml-accordion-arrow {
font-size: 14px;
color: var(--text-secondary);
transition: transform 0.2s ease;
}
.yaml-accordion-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.yaml-accordion-content.open {
max-height: 600px;
overflow-y: auto;
}
.yaml-container {
padding: 20px;
}
.yaml-preview {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 16px;
margin-bottom: 16px;
overflow-x: auto;
max-height: 400px;
overflow-y: auto;
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 12px;
line-height: 1.4;
color: var(--text-primary);
white-space: pre;
}
.yaml-actions {
display: flex;
gap: 12px;
justify-content: flex-start;
}
.btn-copy-secondary {
background: transparent;
color: var(--text-secondary);
border: 1px solid var(--border-color);
padding: 8px 16px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 6px;
min-width: auto;
justify-content: center;
}
.btn-copy-secondary:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
border-color: var(--text-secondary);
transform: translateY(-1px);
}
/* Button Styles */
.btn-secondary {
background: transparent;
color: var(--text-secondary);
border: 1px solid var(--border-color);
padding: 8px 16px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 6px;
justify-content: center;
}
.btn-secondary:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
border-color: var(--text-secondary);
transform: translateY(-1px);
}
/* Modal Footer */
.workflow-modal .modal-footer {
display: flex;
justify-content: flex-end;
gap: 12px;
padding: 16px 20px;
border-top: 1px solid var(--border-color);
}
/* Responsive Design */
@media (max-width: 768px) {
.workflow-modal .modal-content {
width: 95vw;
margin: 10px;
}
.method-tabs {
flex-direction: row;
}
.tab-link {
padding: 10px 16px;
font-size: 13px;
}
}
File diff suppressed because it is too large Load Diff