1715 lines
35 KiB
CSS
1715 lines
35 KiB
CSS
/* CSS Reset and Base Styles */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* CSS Variables for Theming */
|
|
:root {
|
|
/* Light Theme Colors */
|
|
--color-bg: #fff;
|
|
--color-bg-secondary: #f8fafc;
|
|
--color-bg-tertiary: #e2e8f0;
|
|
--color-text: #1e293b;
|
|
--color-text-secondary: #64748b;
|
|
--color-border: #cbd5e1;
|
|
--color-primary: #2563eb;
|
|
--color-primary-hover: #1d4ed8;
|
|
--color-accent: #059669;
|
|
--color-accent-hover: #047857;
|
|
--color-warning: #d97706;
|
|
--color-error: #dc2626;
|
|
|
|
/* Enhanced card type colors */
|
|
--color-hosted: #7c3aed; /* More vibrant purple */
|
|
--color-hosted-bg: #f3f0ff;
|
|
--color-oss: #059669; /* Deeper green for better contrast */
|
|
--color-oss-bg: #ecfdf5;
|
|
--color-method: #0891b2; /* Distinct teal-cyan for methods */
|
|
--color-method-bg: #f0f9ff; /* Fixed: proper light background */
|
|
--color-concept: #ea580c; /* Warmer orange-red for concepts */
|
|
--color-concept-bg: #fff7ed;
|
|
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 5%);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%);
|
|
|
|
/* Common transitions */
|
|
--transition-fast: all 0.2s ease;
|
|
--transition-medium: all 0.3s ease;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
/* Dark Theme Colors */
|
|
--color-bg: #0f172a;
|
|
--color-bg-secondary: #1e293b;
|
|
--color-bg-tertiary: #334155;
|
|
--color-text: #f1f5f9;
|
|
--color-text-secondary: #94a3b8;
|
|
--color-border: #475569;
|
|
--color-primary: #3b82f6;
|
|
--color-primary-hover: #60a5fa;
|
|
--color-accent: #10b981;
|
|
--color-accent-hover: #34d399;
|
|
--color-warning: #f59e0b;
|
|
--color-error: #f87171;
|
|
|
|
/* Enhanced dark card type colors */
|
|
--color-hosted: #a855f7; /* Brighter purple for dark mode */
|
|
--color-hosted-bg: #2e1065;
|
|
--color-oss: #10b981; /* Vibrant green */
|
|
--color-oss-bg: #064e3b;
|
|
--color-method: #0891b2; /* Distinct teal-cyan */
|
|
--color-method-bg: #164e63; /* Proper dark background */
|
|
--color-concept: #f97316; /* Bright orange for dark mode */
|
|
--color-concept-bg: #7c2d12;
|
|
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 30%);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 40%);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 50%);
|
|
}
|
|
|
|
/* Base Styles */
|
|
html {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: var(--color-text);
|
|
background-color: var(--color-bg);
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Typography */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
h1 { font-size: 2.5rem; }
|
|
h2 { font-size: 2rem; }
|
|
h3 { font-size: 1.5rem; }
|
|
h4 { font-size: 1.25rem; }
|
|
h5 { font-size: 1.125rem; }
|
|
h6 { font-size: 1rem; }
|
|
|
|
p { margin-bottom: 1rem; }
|
|
|
|
a {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--color-primary-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
/* Navigation */
|
|
nav {
|
|
background-color: var(--color-bg-secondary);
|
|
border-bottom: 1px solid var(--color-border);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.nav-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem;
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-shrink: 0;
|
|
text-decoration: none !important;
|
|
color: var(--color-text) !important;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.nav-brand:hover {
|
|
text-decoration: none !important;
|
|
opacity: 0.8;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-logo {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
/* Logo theme switching - global styles */
|
|
.nav-logo-light {
|
|
display: block;
|
|
}
|
|
|
|
.nav-logo-dark {
|
|
display: none;
|
|
}
|
|
|
|
[data-theme="dark"] .nav-logo-light {
|
|
display: none;
|
|
}
|
|
|
|
[data-theme="dark"] .nav-logo-dark {
|
|
display: block;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--color-text);
|
|
font-weight: 500;
|
|
transition: var(--transition-fast);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* Consolidated Button System */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.5rem 1rem;
|
|
border: 1px solid transparent;
|
|
border-radius: 0.375rem;
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn:hover { text-decoration: none; }
|
|
|
|
.btn-primary {
|
|
background-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--color-primary-hover);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--color-bg-secondary);
|
|
color: var(--color-text);
|
|
border-color: var(--color-border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: var(--color-bg-tertiary);
|
|
}
|
|
|
|
/* Icon Button */
|
|
.btn-icon {
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-text-secondary);
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
border-radius: 0.25rem;
|
|
transition: var(--transition-fast);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
color: var(--color-text);
|
|
background-color: var(--color-bg-secondary);
|
|
}
|
|
|
|
.btn-accent {
|
|
background-color: var(--color-accent);
|
|
color: white;
|
|
border-color: var(--color-accent);
|
|
}
|
|
|
|
.btn-accent:hover {
|
|
background-color: var(--color-accent-hover);
|
|
border-color: var(--color-accent-hover);
|
|
}
|
|
|
|
/* Forms */
|
|
input, select, textarea {
|
|
width: 100%;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.375rem;
|
|
background-color: var(--color-bg);
|
|
color: var(--color-text);
|
|
font-size: 0.875rem;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
input:focus, select:focus, textarea:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgb(37 99 235 / 10%);
|
|
}
|
|
|
|
select {
|
|
cursor: pointer;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.75rem center;
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
.checkbox-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: auto;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Consolidated Card System */
|
|
.card {
|
|
background-color: var(--color-bg);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.5rem;
|
|
padding: 1.5rem;
|
|
box-shadow: var(--shadow-sm);
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
/* Card type modifiers - Support both approaches */
|
|
.card-hosted,
|
|
.card[data-type="hosted"] {
|
|
background-color: var(--color-hosted-bg);
|
|
border-color: var(--color-hosted);
|
|
box-shadow: 0 0 0 1px var(--color-hosted);
|
|
}
|
|
|
|
.card-oss,
|
|
.card[data-type="oss"] {
|
|
background-color: var(--color-oss-bg);
|
|
border-color: var(--color-oss);
|
|
}
|
|
|
|
.card-method {
|
|
background-color: var(--color-method-bg);
|
|
border-color: var(--color-method);
|
|
}
|
|
|
|
.card-concept {
|
|
background-color: var(--color-concept-bg);
|
|
border-color: var(--color-concept);
|
|
}
|
|
|
|
.grid-auto-fit {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 350px));
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Tool Cards */
|
|
.tool-card {
|
|
height: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.tool-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
min-height: 2.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.tool-card-header h3 {
|
|
margin: 0;
|
|
font-size: 1.125rem;
|
|
line-height: 1.3;
|
|
flex: 1;
|
|
margin-right: 0.75rem;
|
|
}
|
|
|
|
.tool-card-badges {
|
|
display: flex;
|
|
gap: 0.375rem;
|
|
flex-wrap: wrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tool-card .text-muted {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
line-height: 1.4;
|
|
max-height: calc(1.4em * 3);
|
|
font-size: 0.875rem;
|
|
margin-bottom: 0.5rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.tool-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.tool-card-metadata {
|
|
display: flex;
|
|
/*flex-wrap: wrap;*/
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
|
|
|
|
.metadata-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.75rem;
|
|
color: var(--color-text-secondary);
|
|
flex-shrink: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.metadata-item svg {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.metadata-item span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.tool-tags-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
max-height: 3.5rem;
|
|
overflow: hidden;
|
|
position: relative;
|
|
margin-bottom: 1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tool-tags-container::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 3rem;
|
|
height: 100%;
|
|
background: linear-gradient(to right, transparent 0%, var(--color-bg) 70%);
|
|
pointer-events: none;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.card-hosted .tool-tags-container::after {
|
|
background: linear-gradient(to right, transparent 0%, var(--color-hosted-bg) 70%);
|
|
}
|
|
|
|
.card-oss .tool-tags-container::after {
|
|
background: linear-gradient(to right, transparent 0%, var(--color-oss-bg) 70%);
|
|
}
|
|
|
|
.card-method .tool-tags-container::after {
|
|
background: linear-gradient(to right, transparent 0%, var(--color-method-bg) 70%);
|
|
}
|
|
|
|
.tool-card-buttons {
|
|
margin-top: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.button-row .btn {
|
|
flex: 1;
|
|
font-size: 0.8125rem;
|
|
padding: 0.625rem 1rem;
|
|
}
|
|
|
|
.single-button {
|
|
width: 100%;
|
|
font-size: 0.8125rem;
|
|
padding: 0.625rem 1rem;
|
|
}
|
|
|
|
/* Matrix Components */
|
|
.matrix-wrapper {
|
|
overflow-x: auto;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.matrix-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
min-width: 800px;
|
|
table-layout: fixed;
|
|
background-color: var(--color-bg);
|
|
border-radius: 0.75rem;
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.matrix-table th {
|
|
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
|
|
color: white;
|
|
font-weight: 600;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
border: none;
|
|
padding: 1rem 0.75rem;
|
|
}
|
|
|
|
.matrix-table td {
|
|
border: 1px solid var(--color-border);
|
|
padding: 0.75rem;
|
|
text-align: left;
|
|
background-color: var(--color-bg);
|
|
transition: var(--transition-fast);
|
|
overflow: hidden;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.matrix-table tr:hover td {
|
|
background-color: var(--color-bg-secondary);
|
|
}
|
|
|
|
.matrix-table th {
|
|
background-color: var(--color-bg-secondary);
|
|
font-weight: 600;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.matrix-table th:first-child,
|
|
.matrix-table td:first-child {
|
|
width: 200px;
|
|
min-width: 200px;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.matrix-table th:not(:first-child),
|
|
.matrix-table td:not(:first-child) {
|
|
width: 150px;
|
|
min-width: 150px;
|
|
max-width: 150px;
|
|
}
|
|
|
|
.matrix-cell {
|
|
min-height: 60px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/* Matrix highlighting */
|
|
.matrix-table tr.highlight-row th,
|
|
.matrix-table tr.highlight-row td,
|
|
.matrix-table th.highlight-column,
|
|
.matrix-table td.highlight-column {
|
|
background-color: rgb(37 99 235 / 8%);
|
|
border-color: rgb(37 99 235 / 20%);
|
|
}
|
|
|
|
.matrix-table tr.highlight-row th.highlight-column,
|
|
.matrix-table tr.highlight-row td.highlight-column {
|
|
background-color: rgb(37 99 235 / 15%);
|
|
border-color: rgb(37 99 235 / 40%);
|
|
box-shadow: inset 0 0 0 1px rgb(37 99 235 / 30%);
|
|
}
|
|
|
|
[data-theme="dark"] .matrix-table tr.highlight-row th,
|
|
[data-theme="dark"] .matrix-table tr.highlight-row td,
|
|
[data-theme="dark"] .matrix-table th.highlight-column,
|
|
[data-theme="dark"] .matrix-table td.highlight-column {
|
|
background-color: rgb(59 130 246 / 12%);
|
|
border-color: rgb(59 130 246 / 30%);
|
|
}
|
|
|
|
[data-theme="dark"] .matrix-table tr.highlight-row th.highlight-column,
|
|
[data-theme="dark"] .matrix-table tr.highlight-row td.highlight-column {
|
|
background-color: rgb(59 130 246 / 20%);
|
|
border-color: rgb(59 130 246 / 50%);
|
|
box-shadow: inset 0 0 0 1px rgb(59 130 246 / 40%);
|
|
}
|
|
|
|
.tool-chip {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.5rem;
|
|
margin: 0.125rem;
|
|
background-color: var(--color-bg-secondary);
|
|
border-radius: 0.25rem;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.tool-chip:hover {
|
|
background-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.tool-chip-hosted {
|
|
background-color: var(--color-hosted);
|
|
color: white;
|
|
}
|
|
|
|
.tool-chip-oss {
|
|
background-color: var(--color-oss);
|
|
color: white;
|
|
}
|
|
|
|
.tool-chip-method {
|
|
background-color: var(--color-method);
|
|
color: white;
|
|
}
|
|
|
|
/* Consolidated Badge System */
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.badge--mini {
|
|
padding: 0.0625rem 0.375rem;
|
|
font-size: 0.625rem;
|
|
}
|
|
|
|
.badge-primary { background-color: var(--color-primary); color: white; }
|
|
.badge-secondary { background-color: var(--color-bg-secondary); color: var(--color-text); border: 1px solid var(--color-border); }
|
|
.badge-success { background-color: var(--color-accent); color: white; }
|
|
.badge-accent { background-color: var(--color-accent); color: white; }
|
|
.badge-warning { background-color: var(--color-warning); color: white; }
|
|
.badge-error { background-color: var(--color-error); color: white; }
|
|
|
|
/* Tags */
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 0.125rem 0.5rem;
|
|
background-color: var(--color-bg-secondary);
|
|
border-radius: 0.25rem;
|
|
font-size: 0.75rem;
|
|
margin: 0.125rem;
|
|
}
|
|
|
|
/* Tool Details Modal - Enhanced for dual modals */
|
|
.tool-details {
|
|
display: none;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: var(--color-bg);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.5rem;
|
|
padding: 2rem;
|
|
max-width: 600px;
|
|
width: 90%;
|
|
max-height: 85vh;
|
|
overflow-y: auto;
|
|
z-index: 1000;
|
|
box-shadow: var(--shadow-lg);
|
|
transition: var(--transition-medium);
|
|
}
|
|
|
|
.tool-details.active { display: block; }
|
|
|
|
.modal-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgb(0 0 0 / 50%);
|
|
z-index: 999;
|
|
}
|
|
|
|
.modal-overlay.active { display: block; }
|
|
|
|
/* Side-by-side modal positioning */
|
|
.modals-side-by-side #tool-details-primary.active {
|
|
left: 25%;
|
|
transform: translate(-50%, -50%);
|
|
max-width: 45vw;
|
|
width: 45vw;
|
|
}
|
|
|
|
.modals-side-by-side #tool-details-secondary.active {
|
|
left: 75%;
|
|
transform: translate(-50%, -50%);
|
|
max-width: 45vw;
|
|
width: 45vw;
|
|
}
|
|
|
|
/* Phase Controls */
|
|
.domain-phase-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 2rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.phase-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.phase-button {
|
|
padding: 0.5rem 1rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.375rem;
|
|
background-color: var(--color-bg);
|
|
color: var(--color-text);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.phase-button:hover {
|
|
border-color: var(--color-primary);
|
|
background-color: var(--color-bg-secondary);
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.phase-button.active {
|
|
background-color: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.phase-button.active:hover {
|
|
background-color: var(--color-primary-hover);
|
|
border-color: var(--color-primary-hover);
|
|
}
|
|
|
|
/* Tag Cloud */
|
|
.tag-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.tag-cloud {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
max-height: 60px;
|
|
overflow: hidden;
|
|
transition: var(--transition-medium);
|
|
position: relative;
|
|
}
|
|
|
|
.tag-cloud.expanded { max-height: 1000px; }
|
|
|
|
.tag-cloud::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 40px;
|
|
background: linear-gradient(to bottom, transparent 0%, transparent 60%, var(--color-bg) 100%);
|
|
pointer-events: none;
|
|
opacity: 1;
|
|
transition: var(--transition-medium);
|
|
}
|
|
|
|
.tag-cloud.expanded::after { opacity: 0; }
|
|
|
|
.tag-cloud-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
padding: 0.375rem 0.75rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 1rem;
|
|
background-color: var(--color-bg);
|
|
color: var(--color-text);
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
user-select: none;
|
|
}
|
|
|
|
.tag-cloud-item.hidden { display: none; }
|
|
|
|
.tag-cloud-item:hover {
|
|
border-color: var(--color-primary);
|
|
background-color: var(--color-bg-secondary);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.tag-cloud-item.active {
|
|
background-color: var(--color-accent);
|
|
border-color: var(--color-accent);
|
|
color: white;
|
|
}
|
|
|
|
.tag-cloud-item.active:hover {
|
|
background-color: var(--color-accent-hover);
|
|
border-color: var(--color-accent-hover);
|
|
}
|
|
|
|
.tag-frequency {
|
|
font-size: 0.75rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.btn-tag-toggle {
|
|
padding: 0.25rem 0.75rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.25rem;
|
|
background-color: var(--color-bg-secondary);
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.btn-tag-toggle:hover {
|
|
background-color: var(--color-bg-tertiary);
|
|
color: var(--color-text);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Collaboration Tools */
|
|
.collaboration-tools-compact {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
flex-direction: row; /* Force horizontal layout */
|
|
}
|
|
|
|
.collaboration-tool-compact {
|
|
background-color: var(--color-bg);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.375rem;
|
|
padding: 0.75rem;
|
|
min-width: 200px;
|
|
max-width: 300px;
|
|
flex: 1;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.collaboration-tool-compact:hover {
|
|
border-color: var(--color-primary);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.collaboration-tool-compact.hosted {
|
|
background-color: var(--color-hosted-bg);
|
|
border-color: var(--color-hosted);
|
|
}
|
|
|
|
.collaboration-tool-compact.oss {
|
|
background-color: var(--color-oss-bg);
|
|
border-color: var(--color-oss);
|
|
}
|
|
|
|
.collaboration-tool-compact .text-muted {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
line-height: 1.3;
|
|
max-height: calc(1.3em * 3);
|
|
font-size: 0.75rem;
|
|
margin: 0.25rem 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
/*
|
|
.collaboration-header:hover {
|
|
background-color: var(--color-bg-secondary);
|
|
margin: -0.5rem;
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
Collaboration Section Collapse */
|
|
|
|
.collaboration-expand-icon {
|
|
transition: var(--transition-medium);
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.collaboration-expand-icon svg {
|
|
transition: var(--transition-medium);
|
|
}
|
|
|
|
.collaboration-section-expanded .collaboration-expand-icon svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.collaboration-content {
|
|
animation: slideDown 0.3s ease-out;
|
|
}
|
|
|
|
.tool-compact-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: start;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* AI Interface */
|
|
.ai-interface {
|
|
padding: 2rem 0;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.ai-query-section { margin-bottom: 3rem; }
|
|
|
|
.ai-input-container textarea {
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.ai-input-container textarea:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgb(37 99 235 / 10%);
|
|
}
|
|
|
|
.ai-loading, .ai-error, .ai-results {
|
|
animation: fadeIn 0.3s ease-in;
|
|
}
|
|
|
|
.ai-mode-toggle {
|
|
user-select: none;
|
|
}
|
|
|
|
.toggle-label {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 0.875rem;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.toggle-label:hover {
|
|
color: var(--color-primary) !important;
|
|
}
|
|
|
|
.toggle-label.active {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toggle-switch {
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.toggle-switch:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.toggle-slider {
|
|
box-shadow: var(--shadow-sm);
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
/* Dark mode adjustments for toggle */
|
|
[data-theme="dark"] .toggle-slider {
|
|
box-shadow: 0 2px 4px 0 rgb(255 255 255 / 10%);
|
|
}
|
|
|
|
[data-theme="dark"] .tool-rank-badge {
|
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 50%);
|
|
}
|
|
|
|
/* Focus states for accessibility */
|
|
.toggle-switch:focus-visible {
|
|
outline: 2px solid var(--color-primary);
|
|
outline-offset: 2px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.toggle-label:focus-visible {
|
|
outline: 2px solid var(--color-primary);
|
|
outline-offset: 2px;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.workflow-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.phase-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
padding: 1.5rem;
|
|
background-color: var(--color-bg);
|
|
border: 2px solid var(--color-border);
|
|
border-radius: 0.75rem;
|
|
transition: var(--transition-medium);
|
|
}
|
|
|
|
.phase-header:hover {
|
|
border-color: var(--color-primary);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.phase-number {
|
|
background-color: var(--color-primary);
|
|
color: white;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 1.125rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.phase-info { flex: 1; min-width: 0; }
|
|
|
|
.phase-title {
|
|
margin: 0 0 1rem;
|
|
color: var(--color-text);
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.phase-tools {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.workflow-arrow {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.tool-recommendation {
|
|
background-color: var(--color-bg);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.5rem;
|
|
padding: 1.25rem;
|
|
transition: var(--transition-fast);
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 200px;
|
|
animation: fadeInUp 0.3s ease-out;
|
|
}
|
|
|
|
.tool-recommendation:hover {
|
|
border-color: var(--color-primary);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.tool-recommendation.hosted {
|
|
background-color: var(--color-hosted-bg);
|
|
border-color: var(--color-hosted);
|
|
box-shadow: 0 0 0 1px var(--color-hosted);
|
|
}
|
|
|
|
.tool-recommendation.oss {
|
|
background-color: var(--color-oss-bg);
|
|
border-color: var(--color-oss);
|
|
}
|
|
|
|
.tool-recommendation.method {
|
|
background-color: var(--color-method-bg);
|
|
border-color: var(--color-method);
|
|
}
|
|
|
|
.tool-detailed-recommendation.card-method {
|
|
background-color: var(--color-method-bg);
|
|
border-color: var(--color-method);
|
|
}
|
|
|
|
.tool-detailed-recommendation.card-method:hover {
|
|
border-color: var(--color-method);
|
|
box-shadow: 0 0 0 1px var(--color-method), var(--shadow-lg);
|
|
}
|
|
|
|
.tool-rec-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: start;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.tool-rec-name {
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.tool-rec-priority {
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 1rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.tool-rec-priority.high { background-color: var(--color-error); color: white; }
|
|
.tool-rec-priority.medium { background-color: var(--color-warning); color: white; }
|
|
.tool-rec-priority.low { background-color: var(--color-accent); color: white; }
|
|
|
|
.tool-rec-justification {
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
color: var(--color-text-secondary);
|
|
margin-bottom: 0.75rem;
|
|
font-style: italic;
|
|
background-color: var(--color-bg-tertiary);
|
|
padding: 0.75rem;
|
|
border-radius: 0.375rem;
|
|
border-left: 3px solid var(--color-primary);
|
|
}
|
|
|
|
.tool-rec-metadata {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
font-size: 0.75rem;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
/* Tool Results Styles */
|
|
.tool-results-container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.tool-recommendations-grid {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.tool-detailed-recommendation {
|
|
position: relative;
|
|
transition: var(--transition-fast);
|
|
border: 2px solid transparent;
|
|
animation: fadeInUp 0.5s ease-out;
|
|
}
|
|
|
|
.tool-detailed-recommendation:nth-child(2) {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.tool-detailed-recommendation:nth-child(3) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.tool-detailed-recommendation:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
.tool-detailed-recommendation.card-hosted {
|
|
background-color: var(--color-hosted-bg);
|
|
border-color: var(--color-hosted);
|
|
}
|
|
|
|
.tool-detailed-recommendation.card-hosted:hover {
|
|
border-color: var(--color-hosted);
|
|
box-shadow: 0 0 0 1px var(--color-hosted), var(--shadow-lg);
|
|
}
|
|
|
|
.tool-detailed-recommendation.card-oss {
|
|
background-color: var(--color-oss-bg);
|
|
border-color: var(--color-oss);
|
|
}
|
|
|
|
.tool-detailed-recommendation.card-oss:hover {
|
|
border-color: var(--color-oss);
|
|
}
|
|
|
|
.tool-rank-badge {
|
|
animation: fadeInUp 0.6s ease-out;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tool-detailed-explanation h4 {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
/* Enhanced highlight flash for different contexts */
|
|
.tool-card.highlight-flash,
|
|
.tool-chip.highlight-flash,
|
|
.tool-recommendation.highlight-flash {
|
|
animation: highlight-flash 2s ease-out;
|
|
}
|
|
|
|
.pros-cons-section {
|
|
animation: fadeIn 0.4s ease-in;
|
|
}
|
|
|
|
.pros, .cons {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.pros ul, .cons ul {
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.pros li, .cons li {
|
|
position: relative;
|
|
padding-left: 1.5rem;
|
|
margin-bottom: 0.375rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.pros li::before {
|
|
content: '✓';
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--color-accent);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.cons li::before {
|
|
content: '⚠';
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--color-warning);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tool-metadata {
|
|
background-color: var(--color-bg-secondary);
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
border-left: 3px solid var(--color-primary);
|
|
}
|
|
|
|
.alternatives {
|
|
border-left: 3px solid var(--color-text-secondary);
|
|
}
|
|
|
|
/* Knowledgebase */
|
|
.kb-entry {
|
|
margin-bottom: 1rem;
|
|
position: relative;
|
|
transition: var(--transition-medium);
|
|
}
|
|
|
|
.kb-entry:target { animation: highlight-flash 2s ease-out; }
|
|
|
|
.kb-entry-header {
|
|
padding: 1rem 0;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.kb-entry-header:hover {
|
|
background-color: var(--color-bg-secondary);
|
|
margin: -0.5rem;
|
|
padding: 1.5rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.kb-expand-icon svg { transition: var(--transition-medium); }
|
|
|
|
.kb-content { line-height: 1.7; }
|
|
|
|
/* Footer */
|
|
footer {
|
|
margin-top: auto;
|
|
background-color: var(--color-bg-secondary);
|
|
border-top: 1px solid var(--color-border);
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* Utility Classes - Only keep what's actually used */
|
|
.text-muted { color: var(--color-text-secondary); }
|
|
|
|
/* Animations */
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
max-height: 0;
|
|
padding-top: 0;
|
|
margin-top: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
max-height: 1000px;
|
|
padding-top: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
/*Perfect! Here's the absolutely brutal, eye-melting version:*/
|
|
|
|
@keyframes highlight-flash {
|
|
0% {
|
|
background-color: rgb(57 255 20 / 60%);
|
|
box-shadow: 0 0 0 8px rgb(255 20 147 / 50%), 0 0 20px rgb(57 255 20 / 80%);
|
|
transform: scale(1.12) rotate(2deg);
|
|
border: 3px solid rgb(255 255 0);
|
|
}
|
|
12.5% {
|
|
background-color: rgb(255 20 147 / 70%);
|
|
box-shadow: 0 0 0 15px rgb(0 191 255 / 60%), 0 0 30px rgb(255 20 147 / 90%);
|
|
transform: scale(1.18) rotate(-3deg);
|
|
border: 3px solid rgb(57 255 20);
|
|
}
|
|
25% {
|
|
background-color: rgb(0 191 255 / 65%);
|
|
box-shadow: 0 0 0 12px rgb(191 0 255 / 55%), 0 0 25px rgb(0 191 255 / 85%);
|
|
transform: scale(1.15) rotate(1deg);
|
|
border: 3px solid rgb(255 20 147);
|
|
}
|
|
37.5% {
|
|
background-color: rgb(191 0 255 / 75%);
|
|
box-shadow: 0 0 0 18px rgb(255 255 0 / 65%), 0 0 35px rgb(191 0 255 / 95%);
|
|
transform: scale(1.20) rotate(-2deg);
|
|
border: 3px solid rgb(0 191 255);
|
|
}
|
|
50% {
|
|
background-color: rgb(255 255 0 / 80%);
|
|
box-shadow: 0 0 0 10px rgb(57 255 20 / 70%), 0 0 40px rgb(255 255 0 / 100%);
|
|
transform: scale(1.16) rotate(3deg);
|
|
border: 3px solid rgb(191 0 255);
|
|
}
|
|
62.5% {
|
|
background-color: rgb(255 69 0 / 70%);
|
|
box-shadow: 0 0 0 16px rgb(255 20 147 / 60%), 0 0 30px rgb(255 69 0 / 90%);
|
|
transform: scale(1.22) rotate(-1deg);
|
|
border: 3px solid rgb(255 255 0);
|
|
}
|
|
75% {
|
|
background-color: rgb(255 20 147 / 65%);
|
|
box-shadow: 0 0 0 14px rgb(0 191 255 / 50%), 0 0 45px rgb(255 20 147 / 85%);
|
|
transform: scale(1.14) rotate(2deg);
|
|
border: 3px solid rgb(57 255 20);
|
|
}
|
|
87.5% {
|
|
background-color: rgb(57 255 20 / 75%);
|
|
box-shadow: 0 0 0 20px rgb(191 0 255 / 65%), 0 0 35px rgb(57 255 20 / 95%);
|
|
transform: scale(1.25) rotate(-3deg);
|
|
border: 3px solid rgb(255 69 0);
|
|
}
|
|
100% {
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
transform: scale(1) rotate(0deg);
|
|
border: none;
|
|
}
|
|
}
|
|
/*
|
|
This monstrosity includes:
|
|
|
|
Neon rainbow cycling: Bright green → Hot pink → Electric blue → Neon purple → Nuclear yellow → Orange-red
|
|
Double shadows: Inner colored shadow + outer glow effect
|
|
Aggressive scaling: Up to 1.25x size
|
|
Rotation wobble: Cards wiggle back and forth
|
|
Strobing borders: Bright colored borders that change with each keyframe
|
|
8 keyframes: More frequent color/effect changes
|
|
Higher opacity: More saturated colors (up to 100% on yellow)
|
|
|
|
This will literally assault the user's retinas. They'll need sunglasses to look at their shared tools! 🌈💥👁️🗨️*/
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Consolidated Responsive Design */
|
|
@media (width <= 1200px) {
|
|
.modals-side-by-side #tool-details-primary.active,
|
|
.modals-side-by-side #tool-details-secondary.active {
|
|
max-width: 42vw;
|
|
width: 42vw;
|
|
}
|
|
}
|
|
|
|
|
|
@media (width <= 768px) {
|
|
.nav-wrapper {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.nav-links { gap: 1rem; }
|
|
.nav-link { font-size: 0.875rem; }
|
|
|
|
h1 { font-size: 2rem; }
|
|
h2 { font-size: 1.5rem; }
|
|
|
|
.footer-content {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.domain-phase-container {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.phase-buttons { gap: 0.375rem; }
|
|
.phase-button {
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.tag-cloud { max-height: 100px; }
|
|
.tag-header { gap: 0.75rem; }
|
|
|
|
.matrix-table { min-width: 600px; }
|
|
.matrix-table th:first-child,
|
|
.matrix-table td:first-child {
|
|
width: 140px;
|
|
min-width: 140px;
|
|
max-width: 140px;
|
|
}
|
|
.matrix-table th:not(:first-child),
|
|
.matrix-table td:not(:first-child) {
|
|
width: 120px;
|
|
min-width: 120px;
|
|
max-width: 120px;
|
|
}
|
|
.matrix-cell {
|
|
width: 120px;
|
|
min-width: 120px;
|
|
max-width: 120px;
|
|
min-height: 50px;
|
|
}
|
|
.modals-side-by-side #tool-details-primary.active {
|
|
top: 25%;
|
|
left: 50%;
|
|
max-width: 90vw;
|
|
width: 90vw;
|
|
max-height: 35vh;
|
|
}
|
|
|
|
.modals-side-by-side #tool-details-secondary.active {
|
|
top: 75%;
|
|
left: 50%;
|
|
max-width: 90vw;
|
|
width: 90vw;
|
|
max-height: 35vh;
|
|
}
|
|
.tool-details {
|
|
max-height: 80vh;
|
|
padding: 1.5rem;
|
|
width: 95%;
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
@media (width <= 640px) {
|
|
.phase-buttons { justify-content: center; }
|
|
.phase-button {
|
|
flex: 1;
|
|
min-width: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.tag-cloud { max-height: 80px; }
|
|
.tag-cloud.expanded { max-height: 800px; }
|
|
|
|
.nav-wrapper {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.nav-links {
|
|
gap: 0.75rem;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 0.8125rem;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.ai-mode-toggle {
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.toggle-label {
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.toggle-switch {
|
|
align-self: center;
|
|
}
|
|
|
|
.pros-cons-section {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.tool-metadata {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.5rem;
|
|
}
|
|
}
|
|
|
|
@media (width <= 480px) {
|
|
.phase-buttons {
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.phase-button { width: 100%; }
|
|
|
|
.phase-tools { grid-template-columns: 1fr; }
|
|
|
|
/* Only stack collaboration cards on very small screens */
|
|
.collaboration-tools-compact {
|
|
flex-direction: column;
|
|
}
|
|
.collaboration-tool-compact {
|
|
min-width: auto;
|
|
max-width: none;
|
|
}
|
|
|
|
.nav-wrapper { gap: 0.75rem; }
|
|
.nav-links {
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0.375rem;
|
|
}
|
|
.tool-details {
|
|
max-height: 75vh;
|
|
padding: 1rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.markdown-content h1,
|
|
.markdown-content h2,
|
|
.markdown-content h3,
|
|
.markdown-content h4,
|
|
.markdown-content h5,
|
|
.markdown-content h6 {
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.markdown-content h1:first-child,
|
|
.markdown-content h2:first-child,
|
|
.markdown-content h3:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.markdown-content p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.markdown-content ul,
|
|
.markdown-content ol {
|
|
margin-bottom: 1rem;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.markdown-content li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.markdown-content pre {
|
|
background-color: var(--color-bg-tertiary);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
margin: 1.5rem 0;
|
|
overflow-x: auto;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.markdown-content code:not(pre code) {
|
|
background-color: var(--color-bg-secondary);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.25rem;
|
|
padding: 0.125rem 0.375rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.markdown-content table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 1.5rem 0;
|
|
background-color: var(--color-bg);
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.markdown-content th,
|
|
.markdown-content td {
|
|
padding: 0.75rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.markdown-content th {
|
|
background-color: var(--color-bg-secondary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown-content blockquote {
|
|
border-left: 4px solid var(--color-primary);
|
|
background-color: var(--color-bg-secondary);
|
|
padding: 1rem 1.5rem;
|
|
margin: 1.5rem 0;
|
|
border-radius: 0 0.5rem 0.5rem 0;
|
|
}
|
|
|
|
.markdown-content hr {
|
|
border: none;
|
|
border-top: 1px solid var(--color-border);
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
/* Share Button Styles */
|
|
.share-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-text-secondary);
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
border-radius: 0.25rem;
|
|
transition: var(--transition-fast);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.share-btn:hover {
|
|
color: var(--color-primary);
|
|
background-color: var(--color-bg-secondary);
|
|
}
|
|
|
|
.share-btn--small {
|
|
padding: 0.125rem;
|
|
}
|
|
|
|
.share-btn--medium {
|
|
padding: 0.375rem;
|
|
}
|
|
|
|
.share-btn svg {
|
|
flex-shrink: 0;
|
|
} |