forked from retoor/devplacepy
Update
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
|
||||
.ai-choice,
|
||||
.ai-choice-multi {
|
||||
display: block;
|
||||
margin: 0.75rem 0;
|
||||
}
|
||||
|
||||
.ai-choice-options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.4rem;
|
||||
max-height: min(50vh, 22rem);
|
||||
overflow-y: auto;
|
||||
padding-right: 0.15rem;
|
||||
}
|
||||
|
||||
.ai-choice-option {
|
||||
text-align: left;
|
||||
border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
|
||||
background: var(--devii-bar-bg, #0b0b0b);
|
||||
color: inherit;
|
||||
border-radius: 8px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.ai-choice-option.selected {
|
||||
border-color: var(--devii-accent, #3fb950);
|
||||
}
|
||||
|
||||
.ai-choice-option-desc,
|
||||
.ai-choice-check small {
|
||||
display: block;
|
||||
color: var(--devii-dim, #6a737d);
|
||||
font-size: 0.85em;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
|
||||
.ai-choice-select {
|
||||
width: 100%;
|
||||
max-width: 28rem;
|
||||
background: var(--devii-bar-bg, #0b0b0b);
|
||||
color: inherit;
|
||||
border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
|
||||
border-radius: 8px;
|
||||
padding: 0.45rem 0.6rem;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.ai-choice-check {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 0.45rem;
|
||||
border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
|
||||
border-radius: 8px;
|
||||
padding: 0.45rem 0.6rem;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
|
||||
.ai-confirm {
|
||||
display: block;
|
||||
margin: 0.75rem 0;
|
||||
}
|
||||
|
||||
.ai-confirm-options {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.ai-confirm-option {
|
||||
border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
|
||||
background: var(--devii-bar-bg, #0b0b0b);
|
||||
color: inherit;
|
||||
border-radius: 8px;
|
||||
padding: 0.45rem 0.85rem;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.ai-confirm-option.selected {
|
||||
border-color: var(--devii-accent, #3fb950);
|
||||
box-shadow: 0 0 0 1px var(--devii-accent, #3fb950);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
|
||||
.ai-field {
|
||||
display: block;
|
||||
margin: 0.75rem 0;
|
||||
}
|
||||
|
||||
.ai-field-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.ai-field-input {
|
||||
width: 100%;
|
||||
max-width: 28rem;
|
||||
background: var(--devii-bar-bg, #0b0b0b);
|
||||
color: inherit;
|
||||
border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
|
||||
border-radius: 8px;
|
||||
padding: 0.5rem 0.65rem;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.ai-field-input:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 2px rgba(63, 185, 80, 0.35);
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
|
||||
.ai-interaction {
|
||||
--ai-space-1: 0.25rem;
|
||||
--ai-space-2: 0.5rem;
|
||||
--ai-space-3: 0.75rem;
|
||||
--ai-space-4: 1rem;
|
||||
--ai-radius-md: 10px;
|
||||
--ai-color-fg: var(--devii-agent, var(--text-primary, #e6edf3));
|
||||
--ai-color-muted: var(--devii-dim, var(--text-muted, #7a6a90));
|
||||
--ai-color-accent: var(--devii-accent, var(--accent, #ff6b35));
|
||||
--ai-color-border: var(--devii-border, var(--border, rgba(255, 255, 255, 0.12)));
|
||||
--ai-color-surface: var(--devii-code-bg, var(--bg-card, #1a1030));
|
||||
--ai-color-surface-2: var(--devii-bar-bg, var(--bg-secondary, #120821));
|
||||
--ai-focus-ring: 0 0 0 2px rgba(63, 185, 80, 0.35);
|
||||
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin: var(--ai-space-3) 0;
|
||||
padding: var(--ai-space-3);
|
||||
border: 1px solid var(--ai-color-border);
|
||||
border-radius: var(--ai-radius-md);
|
||||
background: var(--ai-color-surface);
|
||||
color: var(--ai-color-fg);
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.ai-interaction-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--ai-space-2);
|
||||
margin-bottom: var(--ai-space-3);
|
||||
}
|
||||
|
||||
.ai-interaction-title {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.ai-status {
|
||||
font-size: 0.75rem;
|
||||
color: var(--ai-color-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.ai-status[data-state="submitted"] {
|
||||
color: var(--ai-color-accent);
|
||||
}
|
||||
|
||||
.ai-status[data-state="error"],
|
||||
.ai-status[data-state="cancelled"],
|
||||
.ai-status[data-state="timeout"] {
|
||||
color: var(--devii-error, var(--danger, #e53935));
|
||||
}
|
||||
|
||||
.ai-widget-label {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--ai-space-1);
|
||||
}
|
||||
|
||||
.ai-widget-help,
|
||||
.ai-help {
|
||||
display: block;
|
||||
color: var(--ai-color-muted);
|
||||
font-size: 0.85rem;
|
||||
margin-bottom: var(--ai-space-2);
|
||||
}
|
||||
|
||||
.ai-actions {
|
||||
display: flex;
|
||||
gap: var(--ai-space-2);
|
||||
margin-top: var(--ai-space-3);
|
||||
flex-wrap: wrap;
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
z-index: 2;
|
||||
padding: var(--ai-space-2) 0 var(--ai-space-1);
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
rgba(0, 0, 0, 0) 0%,
|
||||
var(--ai-color-surface) 28%,
|
||||
var(--ai-color-surface) 100%
|
||||
);
|
||||
}
|
||||
|
||||
.ai-actions.align-end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.ai-btn {
|
||||
border: 1px solid var(--ai-color-border);
|
||||
border-radius: 8px;
|
||||
padding: 0.45rem 0.9rem;
|
||||
background: var(--ai-color-surface-2);
|
||||
color: var(--ai-color-fg);
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.ai-btn:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: var(--ai-focus-ring);
|
||||
}
|
||||
|
||||
.ai-btn-primary {
|
||||
background: var(--ai-color-accent);
|
||||
border-color: transparent;
|
||||
color: #041008;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.ai-btn-secondary {
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.ai-group {
|
||||
margin: var(--ai-space-3) 0;
|
||||
padding: var(--ai-space-2);
|
||||
border-left: 2px solid var(--ai-color-border);
|
||||
}
|
||||
|
||||
.ai-group-label {
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--ai-space-2);
|
||||
}
|
||||
|
||||
.ai-markdown-fallback pre {
|
||||
white-space: pre-wrap;
|
||||
margin: 0;
|
||||
font: inherit;
|
||||
color: var(--ai-color-muted);
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.ai-actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.ai-btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -256,6 +256,21 @@ devii-terminal .devii-line {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
devii-terminal .devii-interaction-line {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
max-width: 100%;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
devii-terminal .devii-interaction-line ai-interaction,
|
||||
devii-terminal .devii-interaction-line .ai-interaction {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
devii-terminal .devii-user {
|
||||
color: var(--devii-user);
|
||||
}
|
||||
|
||||
@@ -184,6 +184,10 @@
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.gist-rendered-content {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.gist-code-block {
|
||||
margin-bottom: 1.5rem;
|
||||
border: 1px solid var(--border);
|
||||
|
||||
@@ -1,5 +1,413 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
|
||||
.dashboard {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 1.5rem 1.25rem 0;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dashboard-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
padding: 1.25rem 1.5rem;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xl);
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.dashboard-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.25rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.dashboard-welcome {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.dashboard-greeting {
|
||||
font-size: 1.15rem;
|
||||
color: var(--text-primary);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dashboard-greeting strong {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.dashboard-buttons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.dashboard-btn {
|
||||
padding: 0.55rem 1.1rem;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-card);
|
||||
color: var(--text-primary);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
transition: border-color 0.15s ease, transform 0.15s ease;
|
||||
}
|
||||
|
||||
.dashboard-btn:hover {
|
||||
border-color: var(--accent);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.dashboard-btn-primary {
|
||||
background: var(--accent);
|
||||
color: var(--white);
|
||||
border-color: var(--accent);
|
||||
font-weight: 700;
|
||||
padding: 0.55rem 1.5rem;
|
||||
}
|
||||
|
||||
.dashboard-btn-primary:hover {
|
||||
background: var(--accent-hover);
|
||||
box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
|
||||
}
|
||||
|
||||
.dashboard-stats {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.dashboard-stat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
.dashboard-stat-value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.dashboard-stat-label {
|
||||
font-size: 0.6875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.dashboard-stat-level {
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.dashboard-xp-bar {
|
||||
width: 100%;
|
||||
max-width: 120px;
|
||||
height: 5px;
|
||||
background: var(--border);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
|
||||
.dashboard-xp-fill {
|
||||
height: 100%;
|
||||
background: var(--accent-gradient, linear-gradient(90deg, var(--accent), #f0932b));
|
||||
border-radius: 3px;
|
||||
transition: width 0.4s ease;
|
||||
}
|
||||
|
||||
.dashboard-xp-label {
|
||||
font-size: 0.625rem;
|
||||
color: var(--text-muted);
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
|
||||
.dashboard-main {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 280px;
|
||||
gap: 1.25rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.dashboard-feed-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.dashboard-feed-header h2 {
|
||||
font-size: 1.15rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dashboard-feed-link {
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 600;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.dashboard-feed-link:hover {
|
||||
color: var(--accent-hover);
|
||||
}
|
||||
|
||||
.dashboard-posts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.dashboard-post-card {
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 1rem 1.1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.dashboard-post-card:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.dashboard-post-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.dashboard-post-author-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dashboard-post-author {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.dashboard-post-time {
|
||||
font-size: 0.65rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.dashboard-post-title {
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dashboard-post-title a {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.dashboard-post-title a:hover {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.dashboard-post-content {
|
||||
font-size: 0.8125rem;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.45;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dashboard-post-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid var(--border);
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.dashboard-post-stat {
|
||||
font-size: 0.6875rem;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.dashboard-post-open {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: var(--accent);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.dashboard-post-open:hover {
|
||||
color: var(--accent-hover);
|
||||
}
|
||||
|
||||
.dashboard-sidebar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
position: sticky;
|
||||
top: 5rem;
|
||||
}
|
||||
|
||||
.dashboard-sidebar-card {
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 1rem 1.1rem;
|
||||
}
|
||||
|
||||
.dashboard-sidebar-heading {
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--text-secondary);
|
||||
margin: 0 0 0.75rem;
|
||||
}
|
||||
|
||||
.dashboard-sidebar-link {
|
||||
display: inline-block;
|
||||
margin-top: 0.625rem;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.dashboard-sidebar-link:hover {
|
||||
color: var(--accent-hover);
|
||||
}
|
||||
|
||||
.dashboard-contributor-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.625rem;
|
||||
}
|
||||
|
||||
.dashboard-contributor {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.dashboard-contributor-meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dashboard-contributor-name {
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.dashboard-contributor-stars {
|
||||
font-size: 0.6875rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.dashboard-tag-cloud {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.dashboard-tag {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.3rem 0.55rem;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-card);
|
||||
transition: border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.dashboard-tag:hover {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.dashboard-tag-count {
|
||||
font-size: 0.6875rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.dashboard-main {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.dashboard-sidebar {
|
||||
position: static;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 0.875rem;
|
||||
}
|
||||
.dashboard-top {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.dashboard-posts-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.dashboard {
|
||||
padding: 1rem 0.75rem 0;
|
||||
}
|
||||
.dashboard-top {
|
||||
padding: 1rem;
|
||||
}
|
||||
.dashboard-actions {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
}
|
||||
.dashboard-buttons {
|
||||
width: 100%;
|
||||
}
|
||||
.dashboard-btn {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
.dashboard-stats {
|
||||
width: 100%;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.dashboard-sidebar {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.dashboard-greeting {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.landing {
|
||||
min-height: 100vh;
|
||||
background: var(--bg-gradient);
|
||||
@@ -104,7 +512,7 @@
|
||||
}
|
||||
|
||||
.landing-hero-user {
|
||||
gap: 1.5rem;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.landing-welcome {
|
||||
@@ -119,18 +527,56 @@
|
||||
|
||||
.landing-welcome-eyebrow {
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
color: var(--text-secondary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.landing-welcome-name {
|
||||
font-size: 2.5rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.1;
|
||||
line-height: 1.2;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.landing-welcome-context {
|
||||
display: block;
|
||||
font-size: 0.875rem;
|
||||
color: var(--text-secondary);
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.landing-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.landing-action-primary {
|
||||
padding: 0.7rem 2rem;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--accent);
|
||||
color: var(--white);
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.landing-action-primary:hover {
|
||||
background: var(--accent-hover);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
|
||||
}
|
||||
|
||||
.landing-action-secondary {
|
||||
padding: 0.7rem 1.25rem;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-card);
|
||||
color: var(--text-primary);
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 600;
|
||||
transition: border-color 0.15s ease, transform 0.15s ease;
|
||||
}
|
||||
|
||||
.landing-action-secondary:hover {
|
||||
border-color: var(--accent);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.landing-stats {
|
||||
@@ -160,6 +606,33 @@
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.landing-stat-level {
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.landing-xp-bar {
|
||||
width: 100%;
|
||||
max-width: 140px;
|
||||
height: 6px;
|
||||
background: var(--border);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.landing-xp-fill {
|
||||
height: 100%;
|
||||
background: var(--accent-gradient, linear-gradient(90deg, var(--accent), #f0932b));
|
||||
border-radius: 3px;
|
||||
transition: width 0.4s ease;
|
||||
}
|
||||
|
||||
.landing-xp-label {
|
||||
font-size: 0.6875rem;
|
||||
color: var(--text-muted);
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
|
||||
.landing-quicklinks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -184,8 +657,8 @@
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.landing-welcome-name {
|
||||
font-size: 1.75rem;
|
||||
.landing-welcome-eyebrow {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.landing-stats {
|
||||
gap: 1.5rem;
|
||||
|
||||
@@ -303,10 +303,30 @@
|
||||
background: var(--bg-card);
|
||||
}
|
||||
|
||||
.messages-input-area input[type="text"] {
|
||||
.messages-input-area textarea {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
resize: none;
|
||||
overflow-y: auto;
|
||||
max-height: 160px;
|
||||
line-height: 1.5;
|
||||
padding: 0.5rem 0.75rem;
|
||||
font-family: inherit;
|
||||
font-size: 0.875rem;
|
||||
border-radius: var(--radius);
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text-primary);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.messages-input-area textarea:focus {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.messages-input-area textarea::placeholder {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.messages-input-area dp-upload {
|
||||
@@ -449,7 +469,7 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.messages-input-area input[type="text"] {
|
||||
.messages-input-area textarea {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
@@ -467,7 +487,7 @@
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
.messages-input-area input[type="text"] {
|
||||
.messages-input-area textarea {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user