Major refactoring cleanup: - Add new controller architecture (class-controller-*.php) - Add new settings-v2 UI (views/settings-v2/) - Add new CSS architecture (agentic-sidebar.css, tokens) - Add esbuild build pipeline (scripts/build.js, package.json) - Add composer dependencies (vendor/) - Add frontend src directory (assets/js/src/index.jsx) - Add documentation files - Remove old/obsolete files (class-settings.php, old CSS) This commits all pending changes from previous refactoring efforts.
7345 lines
154 KiB
CSS
7345 lines
154 KiB
CSS
/**
|
|
* WP Agentic Writer — Agentic Sidebar Styles (Stitch Design System)
|
|
*
|
|
* Complete rewrite using --aw-* design tokens from agentic-tokens.css.
|
|
* Light theme is now the default base — no .dark-theme class overrides needed.
|
|
*
|
|
* Sections 1-18: Root scaffolding through Config/Status/Command UI.
|
|
* Sections 19+: Continued in second half (SEO, Outline Node, Image, etc.)
|
|
*
|
|
* @package WP_Agentic_Writer
|
|
* @since 0.3.0
|
|
*/
|
|
|
|
/* =========================================================================
|
|
1. ROOT SCAFFOLDING
|
|
========================================================================= */
|
|
|
|
.wpaw-sidebar-container,
|
|
.wpaw-tab-content,
|
|
.wpaw-command-area,
|
|
.wpaw-settings-v2-wrap {
|
|
font-family:
|
|
Inter,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
}
|
|
|
|
/* Explicit monospace for program-ish / data elements */
|
|
.wpaw-sidebar-container pre,
|
|
.wpaw-sidebar-container code,
|
|
.wpaw-sidebar-container kbd,
|
|
.wpaw-kbd,
|
|
.wpaw-command-prefix,
|
|
.wpaw-cost-value,
|
|
.wpaw-cost-table td,
|
|
.wpaw-command-mode,
|
|
.wpaw-timeline-timestamp,
|
|
.wpaw-mention-option span:last-child {
|
|
font-family:
|
|
"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
|
|
monospace !important;
|
|
}
|
|
|
|
.is-pressed[aria-controls="wp-agentic-writer:wp-agentic-writer"] img,
|
|
.components-button.is-pressed[aria-controls="wp-agentic-writer:wp-agentic-writer"]
|
|
img {
|
|
filter: invert(1) !important;
|
|
}
|
|
|
|
.interface-complementary-area__fill:has(#wp-agentic-writer\:wp-agentic-writer),
|
|
#wp-agentic-writer\:wp-agentic-writer {
|
|
width: 30vw !important;
|
|
height: 100% !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
}
|
|
|
|
#wp-agentic-writer\:wp-agentic-writer .components-panel,
|
|
#wp-agentic-writer\:wp-agentic-writer .components-panel__body {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
background: var(--aw-surface);
|
|
}
|
|
|
|
#wp-agentic-writer\:wp-agentic-writer .components-panel__body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.interface-complementary-area__fill:has(#wp-agentic-writer\:wp-agentic-writer),
|
|
#wp-agentic-writer\:wp-agentic-writer svg {
|
|
margin-bottom: -3px;
|
|
}
|
|
|
|
.components-tooltip img {
|
|
display: none;
|
|
}
|
|
|
|
/* =========================================================================
|
|
2. TAB NAVIGATION
|
|
========================================================================= */
|
|
|
|
.wpaw-tabs {
|
|
display: flex;
|
|
gap: 0;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
margin-bottom: 0;
|
|
background: var(--aw-surface-container-lowest);
|
|
}
|
|
|
|
.wpaw-tab-btn {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 10px 12px;
|
|
background: transparent;
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
transition:
|
|
color var(--aw-transition-fast),
|
|
border-color var(--aw-transition-fast);
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.wpaw-tab-btn:hover {
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-tab-btn.active {
|
|
color: var(--aw-on-surface);
|
|
border-bottom-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-tab-icon {
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wpaw-tab-label {
|
|
line-height: 1;
|
|
}
|
|
|
|
/* =========================================================================
|
|
3. TAB CONTENT WRAPPER
|
|
========================================================================= */
|
|
|
|
.wpaw-tab-content-wrapper {
|
|
position: relative;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.wpaw-tab-content {
|
|
animation: fadeIn 0.3s ease;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* =========================================================================
|
|
4. CHAT TAB
|
|
========================================================================= */
|
|
|
|
.wpaw-chat-tab {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpaw-chat-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpaw-messages {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: var(--aw-surface);
|
|
border-radius: 0;
|
|
min-height: 0;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-messages-inner {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 15px;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.wpaw-messages-inner::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.wpaw-messages-inner::-webkit-scrollbar-track {
|
|
background: var(--aw-surface);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.wpaw-messages-inner::-webkit-scrollbar-thumb {
|
|
background: var(--aw-outline-variant);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.wpaw-messages-inner::-webkit-scrollbar-thumb:hover {
|
|
background: var(--aw-outline);
|
|
}
|
|
|
|
/* Agent Workspace Card */
|
|
.wpaw-agent-workspace-card {
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-xl);
|
|
margin: 10px 10px 8px;
|
|
padding: 12px;
|
|
color: var(--aw-on-surface);
|
|
box-shadow: var(--aw-shadow-sm);
|
|
}
|
|
|
|
.wpaw-agent-workspace-card.is-collapsed {
|
|
padding: 9px 10px;
|
|
}
|
|
|
|
.wpaw-agent-workspace-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wpaw-agent-workspace-card.is-collapsed .wpaw-agent-workspace-header {
|
|
align-items: center;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wpaw-agent-workspace-heading {
|
|
min-width: 0;
|
|
}
|
|
|
|
.wpaw-agent-workspace-kicker {
|
|
color: var(--aw-primary);
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
font-weight: 700;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.wpaw-agent-workspace-title {
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.wpaw-agent-workspace-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-agent-workspace-status {
|
|
white-space: nowrap;
|
|
border-radius: var(--aw-radius-full);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface-variant);
|
|
background: var(--aw-surface-container-low);
|
|
padding: 4px 8px;
|
|
font-size: 10px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.wpaw-agent-workspace-toggle {
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-full);
|
|
background: var(--aw-surface-container-low);
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
padding: 5px 8px;
|
|
}
|
|
|
|
.wpaw-agent-workspace-toggle:hover,
|
|
.wpaw-agent-workspace-toggle:focus {
|
|
border-color: var(--aw-primary);
|
|
color: var(--aw-on-surface);
|
|
outline: none;
|
|
}
|
|
|
|
/* Status-specific workspace badges */
|
|
.wpaw-agent-workspace-status.status-in_progress,
|
|
.wpaw-agent-workspace-status.status-paused,
|
|
.wpaw-agent-workspace-status.status-running,
|
|
.wpaw-agent-workspace-status.status-stopping {
|
|
color: #b45309;
|
|
border-color: rgba(180, 83, 9, 0.35);
|
|
background: rgba(251, 191, 36, 0.12);
|
|
}
|
|
|
|
.wpaw-agent-workspace-status.status-completed {
|
|
color: var(--aw-tertiary);
|
|
border-color: rgba(0, 108, 28, 0.35);
|
|
background: rgba(0, 108, 28, 0.08);
|
|
}
|
|
|
|
.wpaw-agent-workspace-status.status-failed {
|
|
color: var(--aw-error);
|
|
border-color: rgba(186, 26, 26, 0.35);
|
|
background: rgba(186, 26, 26, 0.08);
|
|
}
|
|
|
|
/* Agent Context Grid */
|
|
.wpaw-agent-context-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.wpaw-agent-context-item {
|
|
min-width: 0;
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: 9px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.wpaw-agent-context-item span {
|
|
display: block;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 10px;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.wpaw-agent-context-item strong {
|
|
display: block;
|
|
color: var(--aw-on-surface);
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Agent Keyword Input */
|
|
.wpaw-agent-keyword-input {
|
|
width: 100%;
|
|
min-height: 26px;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: 7px;
|
|
background: var(--aw-surface-container-lowest);
|
|
color: var(--aw-on-surface);
|
|
font-size: 12px;
|
|
padding: 4px 7px;
|
|
}
|
|
|
|
.wpaw-agent-keyword-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
box-shadow: 0 0 0 1px var(--aw-primary);
|
|
}
|
|
|
|
/* Agent Resume Card */
|
|
.wpaw-agent-resume-card {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
padding: 9px;
|
|
border-radius: 9px;
|
|
background: var(--aw-primary-fixed);
|
|
border: 1px solid var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-agent-resume-card strong,
|
|
.wpaw-agent-resume-card span {
|
|
display: block;
|
|
}
|
|
|
|
.wpaw-agent-resume-card strong {
|
|
color: var(--aw-on-primary-fixed);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-agent-resume-card span {
|
|
color: var(--aw-primary);
|
|
font-size: 11px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Input Area */
|
|
.wpaw-input-area {
|
|
background: var(--aw-surface-container-lowest);
|
|
padding: 12px;
|
|
border-radius: 0;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-top: none;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.wpaw-input-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wpaw-input-label {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.wpaw-mode-select {
|
|
padding: 6px 8px;
|
|
border-radius: var(--aw-radius-md);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
background: var(--aw-surface-container-lowest);
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: var(--aw-on-surface);
|
|
cursor: pointer;
|
|
transition: border-color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-mode-select:hover {
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-mode-select:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
box-shadow: 0 0 0 1px var(--aw-primary);
|
|
}
|
|
|
|
#agentMode {
|
|
background-color: var(--aw-surface-container-lowest);
|
|
color: var(--aw-on-surface-variant);
|
|
font-weight: normal;
|
|
text-transform: capitalize;
|
|
font-size: 11px;
|
|
}
|
|
|
|
#agentMode:active,
|
|
#agentMode:focus {
|
|
text-decoration: unset;
|
|
}
|
|
|
|
/* =========================================================================
|
|
5. MESSAGES
|
|
========================================================================= */
|
|
|
|
.wpaw-message {
|
|
margin-bottom: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: var(--aw-radius-lg);
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
animation: messageSlide 0.2s ease;
|
|
}
|
|
|
|
@keyframes messageSlide {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(5px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.wpaw-message-user {
|
|
background: var(--aw-primary-fixed);
|
|
border-left: none;
|
|
margin-left: 0;
|
|
max-width: 80%;
|
|
margin-left: auto;
|
|
border-radius: var(--aw-radius-xl) var(--aw-radius-xl) var(--aw-radius)
|
|
var(--aw-radius-xl);
|
|
border: 1px solid var(--aw-primary);
|
|
color: var(--aw-on-primary-fixed);
|
|
}
|
|
|
|
.wpaw-message-error {
|
|
background: var(--aw-error-container);
|
|
border: 1px solid var(--aw-error);
|
|
border-left: 3px solid var(--aw-error);
|
|
border-radius: var(--aw-radius-lg);
|
|
color: var(--aw-error);
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.wpaw-message-error .wpaw-error-title {
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
color: var(--aw-error);
|
|
margin-bottom: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wpaw-message-error .wpaw-error-detail {
|
|
font-size: 12px;
|
|
color: var(--aw-on-error-container);
|
|
line-height: 1.5;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.wpaw-message-error details {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.wpaw-message-error details summary {
|
|
font-size: 11px;
|
|
color: var(--aw-error);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.wpaw-message-error details[open] summary {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-message-error button.is-secondary {
|
|
background: var(--aw-error-container);
|
|
color: var(--aw-error);
|
|
border: 1px solid var(--aw-error) !important;
|
|
box-shadow: none !important;
|
|
border-radius: var(--aw-radius-md);
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
padding: 6px 14px;
|
|
transition: background var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-message-error button.is-secondary:hover {
|
|
background: rgba(186, 26, 26, 0.15);
|
|
}
|
|
|
|
/* Research message styling */
|
|
.wpaw-message[type="research"] {
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-left: 4px solid var(--aw-primary);
|
|
padding: 16px;
|
|
margin: 12px 0;
|
|
border-radius: var(--aw-radius-lg);
|
|
}
|
|
|
|
.wpaw-message[type="research"] .wpaw-message-content {
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.wpaw-research-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
font-weight: 600;
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-research-result {
|
|
background: var(--aw-surface-container);
|
|
padding: 10px 12px;
|
|
margin: 8px 0;
|
|
border-radius: var(--aw-radius-md);
|
|
border-left: 3px solid var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-research-result-title {
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.wpaw-research-result-url {
|
|
font-size: 11px;
|
|
color: var(--aw-primary);
|
|
margin-bottom: 4px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.wpaw-research-result-desc {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-research-fetched {
|
|
margin-top: 16px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-research-fetched-title {
|
|
font-size: 12px;
|
|
color: var(--aw-primary);
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-research-fetched-content {
|
|
background: var(--aw-surface-container);
|
|
padding: 10px;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* =========================================================================
|
|
6. MESSAGE CONTENT & AI RESPONSE
|
|
========================================================================= */
|
|
|
|
.wpaw-message-content {
|
|
line-height: 1.6;
|
|
word-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.wpaw-citation {
|
|
display: inline;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--aw-primary);
|
|
background: var(--aw-primary-fixed);
|
|
padding: 1px 5px;
|
|
border-radius: 4px;
|
|
margin: 0 1px;
|
|
vertical-align: super;
|
|
line-height: 1;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.wpaw-ai-response {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin: 0 0 16px 0;
|
|
padding-left: 10px;
|
|
border-left: 2px solid var(--aw-outline-variant);
|
|
position: relative;
|
|
}
|
|
|
|
.wpaw-ai-item {
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.wpaw-plan-card,
|
|
.wpaw-edit-plan {
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
padding: 14px;
|
|
border-radius: var(--aw-radius-md);
|
|
box-shadow: var(--aw-shadow-sm);
|
|
}
|
|
|
|
.wpaw-plan-card:hover {
|
|
border-color: var(--aw-primary);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.wpaw-plan-title {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
margin-bottom: 8px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* =========================================================================
|
|
7. PLAN SECTIONS
|
|
========================================================================= */
|
|
|
|
.wpaw-plan-section-status {
|
|
font-size: 11px;
|
|
letter-spacing: 0.05em;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
margin-top: 2px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wpaw-plan-section.pending .wpaw-plan-section-status {
|
|
color: var(--aw-on-surface-variant);
|
|
background: var(--aw-surface-container);
|
|
}
|
|
|
|
.wpaw-plan-section.done .wpaw-plan-section-status {
|
|
color: var(--aw-tertiary);
|
|
background: rgba(0, 81, 18, 0.1);
|
|
}
|
|
|
|
.wpaw-plan-section.in_progress .wpaw-plan-section-status {
|
|
color: var(--aw-primary);
|
|
background: rgba(0, 73, 113, 0.1);
|
|
}
|
|
|
|
.wpaw-plan-sections,
|
|
.wpaw-edit-plan-list {
|
|
margin: 0 0 10px 18px;
|
|
padding: 0;
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-plan-section {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-plan-section-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.wpaw-plan-section-check {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
input.wpaw-plan-section-check:checked::before {
|
|
filter: brightness(500%) contrast(200%) saturate(100%);
|
|
}
|
|
|
|
.wpaw-plan-section-body {
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-clear-context {
|
|
margin-left: auto;
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface-variant);
|
|
padding: 4px 8px;
|
|
border-radius: var(--aw-radius-sm);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wpaw-clear-context:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Editor Lock Banner */
|
|
.wpaw-editor-lock-banner {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
padding: 8px 10px;
|
|
border: 1px solid #fcd34d;
|
|
font-size: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wpaw-refinement-lock-banner {
|
|
background: var(--aw-primary-fixed);
|
|
color: var(--aw-on-primary-fixed);
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--aw-primary);
|
|
font-size: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Refine Confirm Modal */
|
|
.wpaw-refine-confirm-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1200;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
|
|
.wpaw-refine-confirm-modal {
|
|
width: 100%;
|
|
max-width: 420px;
|
|
background: var(--aw-surface-container-lowest);
|
|
color: var(--aw-on-surface);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
padding: 16px;
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.wpaw-refine-confirm-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-refine-confirm-body {
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wpaw-refine-confirm-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Block Refining Indicator */
|
|
.wpaw-block-refining {
|
|
position: relative;
|
|
outline: 2px dashed var(--aw-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.wpaw-block-refining::before {
|
|
content: "REFINING";
|
|
position: absolute;
|
|
top: -12px;
|
|
right: 8px;
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
padding: 3px 6px;
|
|
border-radius: var(--aw-radius);
|
|
z-index: 20;
|
|
letter-spacing: 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Refinement lock: prevent content editing while still allowing page scroll */
|
|
.wpaw-refining-locked .editor-styles-wrapper [contenteditable="true"],
|
|
.wpaw-refining-locked .block-editor-rich-text__editable,
|
|
.wpaw-refining-locked .block-editor-writing-flow [role="textbox"] {
|
|
pointer-events: none !important;
|
|
user-select: none !important;
|
|
caret-color: transparent !important;
|
|
}
|
|
|
|
.wpaw-refining-locked .block-editor-block-toolbar,
|
|
.wpaw-refining-locked .block-editor-default-block-appender,
|
|
.wpaw-refining-locked .editor-block-list-item__inline-menu,
|
|
.wpaw-refining-locked .block-editor-inserter {
|
|
pointer-events: none !important;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* AI Response Code Blocks */
|
|
.wpaw-ai-response pre {
|
|
background: var(--aw-surface-container);
|
|
padding: 12px;
|
|
border-radius: var(--aw-radius-lg);
|
|
overflow-x: auto;
|
|
|
|
font-size: 12px;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-ai-response code {
|
|
background: var(--aw-surface-container);
|
|
color: var(--aw-primary);
|
|
padding: 2px 5px;
|
|
border-radius: var(--aw-radius);
|
|
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Editor Locked Overlay */
|
|
.wpaw-editor-locked
|
|
.admin-ui-navigable-region.interface-interface-skeleton__content,
|
|
.wpaw-refining-locked
|
|
.admin-ui-navigable-region.interface-interface-skeleton__content {
|
|
position: relative;
|
|
}
|
|
|
|
.wpaw-editor-locked
|
|
.admin-ui-navigable-region.interface-interface-skeleton__content::after,
|
|
.wpaw-refining-locked
|
|
.admin-ui-navigable-region.interface-interface-skeleton__content::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
z-index: 999;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* =========================================================================
|
|
8. OUTLINE VERSION TRACKING & INLINE EDITING
|
|
========================================================================= */
|
|
|
|
.wpaw-plan-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.wpaw-plan-version {
|
|
font-size: 10px;
|
|
background: var(--aw-surface-container);
|
|
color: var(--aw-on-surface-variant);
|
|
padding: 2px 6px;
|
|
border-radius: var(--aw-radius);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.wpaw-plan-section-drag {
|
|
cursor: grab;
|
|
color: var(--aw-on-surface-variant);
|
|
padding: 0 4px;
|
|
font-size: 12px;
|
|
opacity: 0.5;
|
|
transition: opacity var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-plan-section-drag:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpaw-plan-section-drag:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* Drag and drop visual feedback */
|
|
.wpaw-plan-section.dragging {
|
|
opacity: 0.5;
|
|
background: rgba(0, 73, 113, 0.1);
|
|
}
|
|
|
|
.wpaw-plan-section.drag-over {
|
|
border-top: 2px solid var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-plan-section-drag:hover {
|
|
cursor: grab;
|
|
}
|
|
|
|
.wpaw-plan-section-drag:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.wpaw-plan-section-edit {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-plan-section-edit-input {
|
|
flex: 1;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-primary);
|
|
border-radius: var(--aw-radius);
|
|
color: var(--aw-on-surface);
|
|
padding: 4px 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-plan-section-edit-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-plan-section-edit-save,
|
|
.wpaw-plan-section-edit-cancel {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
padding: 4px;
|
|
border-radius: var(--aw-radius);
|
|
transition: background var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-plan-section-edit-save {
|
|
color: var(--aw-tertiary);
|
|
}
|
|
|
|
.wpaw-plan-section-edit-save:hover {
|
|
background: rgba(0, 81, 18, 0.1);
|
|
}
|
|
|
|
.wpaw-plan-section-edit-cancel {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-plan-section-edit-cancel:hover {
|
|
background: rgba(186, 26, 26, 0.1);
|
|
}
|
|
|
|
.wpaw-plan-section-edit-btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
padding: 4px;
|
|
opacity: 0;
|
|
transition: opacity var(--aw-transition-fast);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.wpaw-plan-section-row:hover .wpaw-plan-section-edit-btn {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpaw-plan-section-wordcount {
|
|
font-size: 10px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* =========================================================================
|
|
9. REFINEMENT ACTIONS PANEL
|
|
========================================================================= */
|
|
|
|
.wpaw-refinement-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
background: var(--aw-surface-container-low);
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.wpaw-refinement-actions-label {
|
|
font-size: 11px;
|
|
letter-spacing: 0.05em;
|
|
color: var(--aw-on-surface-variant);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wpaw-refinement-btn {
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
padding: 6px 12px;
|
|
transition: all var(--aw-transition-fast);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.wpaw-refinement-btn:hover {
|
|
background: var(--aw-surface-container);
|
|
border-color: var(--aw-outline);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-refinement-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.wpaw-plan-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.wpaw-edit-plan-item {
|
|
margin-bottom: 6px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.wpaw-edit-plan-preview-label {
|
|
font-size: 12px;
|
|
letter-spacing: 0.04em;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-title {
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-edit-plan-item-before,
|
|
.wpaw-edit-plan-item-after {
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-target {
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-target:hover {
|
|
color: var(--aw-primary);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-target:disabled {
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: default;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-before {
|
|
border-left: 2px solid #b45309;
|
|
padding-left: 6px;
|
|
color: #b45309;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-after {
|
|
border-left: 2px solid var(--aw-tertiary);
|
|
padding-left: 6px;
|
|
color: var(--aw-tertiary);
|
|
}
|
|
|
|
/* Response / AI Response Timeline */
|
|
.wpaw-response {
|
|
margin: 0 0 12px 0;
|
|
border-left: 2px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-ai-response .wpaw-response {
|
|
border-left: none;
|
|
}
|
|
|
|
.wpaw-ai-response .wpaw-response::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: -15px;
|
|
top: 20px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--aw-outline-variant);
|
|
border: 1px solid var(--aw-outline-subtle);
|
|
box-shadow: 0 0 0 2px var(--aw-surface-container-lowest);
|
|
}
|
|
|
|
.wpaw-streaming-indicator {
|
|
padding-left: 12px;
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-streaming-indicator::after {
|
|
content: "...";
|
|
display: inline-block;
|
|
width: 18px;
|
|
animation: wpaw-ellipsis 1.1s infinite;
|
|
}
|
|
|
|
.wpaw-edit-plan {
|
|
padding: 12px;
|
|
border: 1px dashed var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-edit-plan-title {
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-edit-plan-summary {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wpaw-edit-plan-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
@keyframes wpaw-ellipsis {
|
|
0% {
|
|
content: ".";
|
|
}
|
|
|
|
33% {
|
|
content: "..";
|
|
}
|
|
|
|
66% {
|
|
content: "...";
|
|
}
|
|
|
|
100% {
|
|
content: ".";
|
|
}
|
|
}
|
|
|
|
/* Timeline Progress */
|
|
.wpaw-timeline-entry {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 0;
|
|
padding: 10px 12px;
|
|
box-shadow: none;
|
|
position: relative;
|
|
font-size: 12.5px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.wpaw-timeline-entry:last-child {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.wpaw-timeline-entry:not(:last-child) {
|
|
padding-bottom: 18px;
|
|
}
|
|
|
|
/* Colored line for active timeline */
|
|
.wpaw-timeline-entry.active:not(:first-of-type)::before {
|
|
background: var(--aw-primary);
|
|
display: none;
|
|
}
|
|
|
|
/* Colored line for completed timeline */
|
|
.wpaw-timeline-entry.complete:not(:first-of-type)::before {
|
|
background: var(--aw-tertiary);
|
|
display: none;
|
|
}
|
|
|
|
.wpaw-timeline-entry.inactive {
|
|
background: transparent;
|
|
border: 1px dashed var(--aw-outline-variant);
|
|
margin-bottom: 15px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.wpaw-timeline-entry.complete {
|
|
background: rgba(0, 108, 28, 0.04);
|
|
}
|
|
|
|
.wpaw-processing-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-processing-indicator .components-spinner {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpaw-timeline-dot {
|
|
flex-shrink: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--aw-surface-container);
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
left: -17px;
|
|
z-index: 2;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-timeline-entry.is-current .wpaw-timeline-dot {
|
|
background: var(--aw-primary-fixed);
|
|
box-shadow: 0 0 0 2px var(--aw-primary);
|
|
border-color: var(--aw-primary);
|
|
animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
|
|
}
|
|
|
|
.wpaw-timeline-entry.complete .wpaw-timeline-dot {
|
|
background: rgba(0, 108, 28, 0.08);
|
|
box-shadow: 0 0 0 1px var(--aw-tertiary);
|
|
border-color: var(--aw-tertiary);
|
|
color: var(--aw-tertiary);
|
|
}
|
|
|
|
.wpaw-timeline-entry.inactive .wpaw-timeline-dot {
|
|
background: var(--aw-surface-container);
|
|
box-shadow: none;
|
|
border-color: var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-plan-section-row input[type="checkbox"] {
|
|
transform: translateY(3px);
|
|
}
|
|
|
|
@keyframes pulse-ring {
|
|
0% {
|
|
box-shadow: 0 0 0 0 rgba(0, 73, 113, 0.5);
|
|
}
|
|
|
|
70% {
|
|
box-shadow: 0 0 0 6px rgba(0, 73, 113, 0);
|
|
}
|
|
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(0, 73, 113, 0);
|
|
}
|
|
}
|
|
|
|
/* =========================================================================
|
|
10. TIMELINE CONTENT
|
|
========================================================================= */
|
|
|
|
.wpaw-timeline-content {
|
|
flex: 1;
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
sans-serif;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-timeline-message {
|
|
font-size: 12.5px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 5px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wpaw-timeline-complete {
|
|
font-size: 11.5px;
|
|
color: var(--aw-tertiary);
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* =========================================================================
|
|
11. ACTIONS & BUTTONS
|
|
========================================================================= */
|
|
|
|
.wpaw-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.wpaw-actions button {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Primary Button */
|
|
.wpaw-actions .is-primary,
|
|
.wpaw-actions .components-button.is-primary,
|
|
.wpaw-plan-actions .is-primary {
|
|
background: var(--aw-primary);
|
|
border: 1px solid var(--aw-primary);
|
|
border-radius: var(--aw-radius-lg);
|
|
padding: 8px 14px;
|
|
font-weight: 400;
|
|
font-size: 13px;
|
|
color: var(--aw-on-primary);
|
|
transition: background var(--aw-transition-fast);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wpaw-actions .is-primary:hover,
|
|
.wpaw-actions .components-button.is-primary:hover,
|
|
.wpaw-plan-actions .is-primary:hover {
|
|
background: var(--aw-primary-container);
|
|
border-color: var(--aw-primary-container);
|
|
}
|
|
|
|
.components-button.is-primary,
|
|
.components-button.is-secondary {
|
|
justify-content: center;
|
|
}
|
|
|
|
.wpaw-actions .is-primary:disabled {
|
|
background: var(--aw-on-surface-variant);
|
|
border-color: var(--aw-on-surface-variant);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
/* =========================================================================
|
|
12. CONFIG TAB
|
|
========================================================================= */
|
|
|
|
.wpaw-config-tab {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.wpaw-config-tab .wpaw-config-unavailable {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: var(--aw-on-surface-variant);
|
|
font-style: italic;
|
|
}
|
|
|
|
.wpaw-config-tab .wpaw-tab-header {
|
|
position: absolute;
|
|
/*width: calc(100% - 15px);*/
|
|
width: 100%;
|
|
z-index: 2;
|
|
}
|
|
|
|
.wpaw-config-tab > *:nth-child(2) {
|
|
margin-top: 60px;
|
|
}
|
|
|
|
.wpaw-config-tab h3 {
|
|
margin: 0 0 20px 0;
|
|
font-size: 18px;
|
|
color: var(--aw-primary);
|
|
border-bottom: 2px solid var(--aw-outline-variant);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.wpaw-config-section {
|
|
padding: 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border-radius: 0;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-config-section:hover {
|
|
border-color: var(--aw-outline);
|
|
}
|
|
|
|
.wpaw-config-section label {
|
|
display: block;
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-select {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
font-size: 11px;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-sm);
|
|
background: var(--aw-surface-container-lowest);
|
|
cursor: pointer;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-config-section .wpaw-select {
|
|
width: 100% !important;
|
|
max-width: unset !important;
|
|
}
|
|
|
|
.wpaw-select:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
box-shadow: 0 0 0 1px var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-config-section h4 {
|
|
margin: 0 0 10px 0;
|
|
font-size: 16px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* =========================================================================
|
|
13. COST TAB
|
|
========================================================================= */
|
|
|
|
.wpaw-cost-tab {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.wpaw-cost-tab h3 {
|
|
margin: 0 0 20px 0;
|
|
font-size: 18px;
|
|
color: var(--aw-primary);
|
|
border-bottom: 2px solid var(--aw-outline-variant);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.wpaw-cost-card {
|
|
display: grid;
|
|
}
|
|
|
|
.wpaw-cost-stat {
|
|
padding: 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border-radius: 0;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-cost-stat:hover {
|
|
border-color: var(--aw-outline);
|
|
}
|
|
|
|
.wpaw-cost-stat label {
|
|
display: block;
|
|
font-size: 13px;
|
|
color: var(--aw-on-surface-variant);
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-cost-value {
|
|
font-size: 22px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-budget-bar {
|
|
width: 100%;
|
|
height: 10px;
|
|
background: var(--aw-surface-container);
|
|
overflow: hidden;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wpaw-budget-bar ~ .description {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.wpaw-budget-fill {
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--aw-tertiary),
|
|
var(--aw-tertiary-container)
|
|
);
|
|
transition:
|
|
width 0.5s ease,
|
|
background 0.3s ease;
|
|
}
|
|
|
|
.wpaw-budget-fill.warning {
|
|
background: linear-gradient(90deg, #d97706, #f59e0b);
|
|
}
|
|
|
|
.wpaw-budget-fill.danger {
|
|
background: linear-gradient(90deg, var(--aw-error), #ef5350);
|
|
}
|
|
|
|
.wpaw-refresh-btn {
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
padding: 4px;
|
|
margin-left: auto;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.wpaw-refresh-btn:hover {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.wpaw-cost-remaining .wpaw-cost-value {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.wpaw-cost-value.ok {
|
|
color: var(--aw-tertiary);
|
|
}
|
|
|
|
.wpaw-cost-value.warning {
|
|
color: #d97706;
|
|
}
|
|
|
|
.wpaw-cost-value.danger {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-budget-section {
|
|
padding: 12px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.wpaw-budget-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-budget-warning {
|
|
padding: 8px 12px;
|
|
margin: 8px 12px;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-budget-warning.warning {
|
|
background: rgba(217, 119, 6, 0.1);
|
|
color: #d97706;
|
|
}
|
|
|
|
.wpaw-budget-warning.danger {
|
|
background: rgba(186, 26, 26, 0.1);
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-cost-footer {
|
|
padding: 12px;
|
|
margin-top: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-cost-settings-link {
|
|
color: var(--aw-on-surface-variant);
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.wpaw-cost-settings-link:hover {
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
/* Cost History Table */
|
|
.wpaw-cost-history {
|
|
margin: 16px 12px;
|
|
}
|
|
|
|
.wpaw-cost-history h4 {
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
margin: 0 0 12px 0;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.wpaw-cost-table-wrapper {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
}
|
|
|
|
.wpaw-cost-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-cost-table thead {
|
|
position: sticky;
|
|
top: 0;
|
|
background: var(--aw-surface-container-low);
|
|
z-index: 1;
|
|
}
|
|
|
|
.wpaw-cost-table th {
|
|
padding: 8px 6px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface-variant);
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
font-size: 11px;
|
|
background-color: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-cost-table th.wpaw-cell-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-cost-table th.wpaw-cell-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.wpaw-cost-table td {
|
|
padding: 8px 6px;
|
|
color: var(--aw-on-surface);
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-cost-table tbody tr:hover {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-cost-table td:nth-child(4),
|
|
.wpaw-cost-table td:nth-child(5) {
|
|
text-align: right;
|
|
}
|
|
|
|
.wpaw-cost-table th:nth-child(4),
|
|
.wpaw-cost-table th:nth-child(5) {
|
|
text-align: right;
|
|
}
|
|
|
|
/* Mono font for model, tokens, cost cells */
|
|
.wpaw-mono {
|
|
}
|
|
|
|
/* Cell alignment utilities */
|
|
.wpaw-cell-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-cell-right {
|
|
text-align: right;
|
|
}
|
|
|
|
/* =========================================================================
|
|
14. CLARIFICATION QUIZ
|
|
========================================================================= */
|
|
|
|
.wpaw-chat-container.is-dimmed .wpaw-activity-log,
|
|
.wpaw-chat-container.is-dimmed .wpaw-agent-workspace-card {
|
|
opacity: 0.35;
|
|
filter: grayscale(60%) blur(1.5px);
|
|
pointer-events: none;
|
|
transition:
|
|
opacity 0.3s ease,
|
|
filter 0.3s ease;
|
|
}
|
|
|
|
.wpaw-chat-container .wpaw-activity-log,
|
|
.wpaw-chat-container .wpaw-agent-workspace-card {
|
|
transition:
|
|
opacity 0.3s ease,
|
|
filter 0.3s ease;
|
|
}
|
|
|
|
.wpaw-clarification-quiz {
|
|
position: absolute;
|
|
bottom: calc(100% + 12px);
|
|
left: 12px;
|
|
right: 12px;
|
|
background: var(--aw-surface-container-high);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
|
z-index: 100;
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: wpaw-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
@keyframes wpaw-slide-up {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(15px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.wpaw-quiz-header {
|
|
background: var(--aw-surface-container-highest);
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
border-radius: var(--aw-radius-lg) var(--aw-radius-lg) 0 0;
|
|
}
|
|
|
|
.wpaw-quiz-header h3 {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--aw-primary);
|
|
letter-spacing: 0.05em;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wpaw-quiz-header h3::before {
|
|
content: "✨";
|
|
}
|
|
|
|
.wpaw-progress-bar {
|
|
width: 100%;
|
|
height: 4px;
|
|
background: var(--aw-surface-container);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpaw-progress-fill {
|
|
height: 100%;
|
|
background: var(--aw-primary);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.wpaw-quiz-header span {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
align-self: flex-end;
|
|
margin-top: -12px;
|
|
}
|
|
|
|
.wpaw-question-card {
|
|
background: transparent;
|
|
padding: 16px;
|
|
border-radius: 0;
|
|
border: none;
|
|
box-shadow: none;
|
|
margin-bottom: 0;
|
|
max-height: 50vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wpaw-question-card h4 {
|
|
margin: 0 0 16px 0;
|
|
font-size: 14px;
|
|
color: var(--aw-on-surface);
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wpaw-answer-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.wpaw-answer-options label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
border: 2px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.wpaw-answer-options label:hover {
|
|
border-color: var(--aw-outline);
|
|
}
|
|
|
|
.wpaw-answer-options label:has(input:checked) {
|
|
border-color: var(--aw-primary);
|
|
background: var(--aw-primary-fixed);
|
|
color: var(--aw-on-primary-fixed);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.wpaw-answer-options input[type="radio"],
|
|
.wpaw-answer-options input[type="checkbox"] {
|
|
margin: 0 10px 0 0;
|
|
appearance: auto !important;
|
|
-webkit-appearance: auto !important;
|
|
}
|
|
|
|
.wpaw-answer-options input[type="radio"]:focus,
|
|
.wpaw-answer-options input[type="checkbox"]:focus {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.wpaw-answer-options span {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Textarea styling for open_text questions */
|
|
.wpaw-answer-options textarea {
|
|
width: 100%;
|
|
min-height: 100px;
|
|
padding: 12px;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
border: 2px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
background: var(--aw-surface-container-lowest);
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.wpaw-answer-options textarea:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
box-shadow: 0 0 0 3px rgba(0, 73, 113, 0.1);
|
|
}
|
|
|
|
.wpaw-previous-answers {
|
|
margin-top: 15px;
|
|
padding: 15px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border-radius: var(--aw-radius-md);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-previous-answers strong {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-size: 13px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-question-label {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--aw-primary);
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.wpaw-answer-text {
|
|
margin: 0 0 10px 0;
|
|
padding: 8px 12px;
|
|
background: var(--aw-surface-container-low);
|
|
border-radius: var(--aw-radius);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-previous-answers > div:last-child .wpaw-answer-text {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wpaw-quiz-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: space-between;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-quiz-actions button {
|
|
justify-content: center;
|
|
}
|
|
|
|
.wpaw-quiz-actions button.is-primary {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Custom answer input */
|
|
.wpaw-custom-answer-wrapper {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.wpaw-custom-text-input {
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
padding: 10px 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.wpaw-custom-text-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
/* =========================================================================
|
|
15. CONFIG FORM STYLES
|
|
========================================================================= */
|
|
|
|
.wpaw-config-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.wpaw-config-field {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
padding: 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
}
|
|
|
|
.wpaw-config-label {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.wpaw-config-label-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-config-description {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
/* Toggle Switch */
|
|
.wpaw-config-toggle {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 48px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wpaw-config-toggle input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.wpaw-toggle-slider {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--aw-outline-variant);
|
|
border-radius: 24px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.wpaw-toggle-slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background-color: var(--aw-surface-container-lowest);
|
|
border-radius: 50%;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.wpaw-config-toggle input:checked + .wpaw-toggle-slider {
|
|
background-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-config-toggle input:checked + .wpaw-toggle-slider:before {
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
/* Config Text Input */
|
|
.wpaw-config-text-input {
|
|
width: 250px;
|
|
padding: 6px 10px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-config-text-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-config-text-input::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
/* Question Card + Config Form integration */
|
|
.wpaw-question-card .wpaw-config-form label {
|
|
display: flex;
|
|
}
|
|
|
|
.wpaw-question-card
|
|
.wpaw-config-form
|
|
.wpaw-config-label
|
|
.wpaw-config-description {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-field:has(input[type="text"]) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.wpaw-question-card:has(.wpaw-config-form) {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.wpaw-question-card:has(.wpaw-config-form) h4,
|
|
.wpaw-question-card:has(.wpaw-config-form) .wpaw-quiz-actions {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-form {
|
|
gap: 0;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-form .wpaw-config-field {
|
|
border-radius: unset !important;
|
|
border-width: 1px 0;
|
|
background-color: unset;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-form .wpaw-config-field input[type="text"] {
|
|
background-color: var(--aw-surface-container-lowest) !important;
|
|
}
|
|
|
|
/* =========================================================================
|
|
16. INFO MESSAGES
|
|
========================================================================= */
|
|
|
|
.wpaw-info {
|
|
padding: 12px 15px;
|
|
background: #fef3c7;
|
|
border-left: 4px solid #f59e0b;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 13px;
|
|
margin: 10px 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wpaw-info a {
|
|
color: #92400e;
|
|
font-weight: 600;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.wpaw-info a:hover {
|
|
color: #78350f;
|
|
}
|
|
|
|
/* =========================================================================
|
|
17. BLOCK MENTION STYLES
|
|
========================================================================= */
|
|
|
|
.wpaw-block-mentioned {
|
|
outline: 2px solid var(--aw-primary) !important;
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 0 4px rgba(0, 73, 113, 0.15);
|
|
animation: wpaw-pulse 1.5s infinite;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.wpaw-block-mentioned:hover {
|
|
outline-width: 3px;
|
|
box-shadow: 0 0 0 8px rgba(0, 73, 113, 0.2);
|
|
}
|
|
|
|
@keyframes wpaw-pulse {
|
|
0%,
|
|
100% {
|
|
box-shadow: 0 0 0 0px rgba(0, 73, 113, 0.15);
|
|
}
|
|
|
|
50% {
|
|
box-shadow: 0 0 0 6px rgba(0, 73, 113, 0.3);
|
|
}
|
|
}
|
|
|
|
/* Mention autocomplete */
|
|
.wpaw-mention-autocomplete {
|
|
position: absolute;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 1000;
|
|
box-shadow: var(--aw-shadow-sm);
|
|
}
|
|
|
|
.wpaw-mention-option {
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
transition: background var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-mention-option:hover,
|
|
.wpaw-mention-option.selected {
|
|
background: var(--aw-primary-fixed);
|
|
border-left: 3px solid var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-mention-option strong {
|
|
display: block;
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-mention-option span {
|
|
display: block;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* =========================================================================
|
|
RESPONSIVE
|
|
========================================================================= */
|
|
|
|
@media (max-width: 782px) {
|
|
.wpaw-cost-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 482px) {
|
|
.interface-complementary-area__fill:has(
|
|
#wp-agentic-writer\:wp-agentic-writer
|
|
),
|
|
#wp-agentic-writer\:wp-agentic-writer {
|
|
width: 100vw !important;
|
|
}
|
|
}
|
|
|
|
/* =========================================================================
|
|
CUSTOM DOTS LOADER
|
|
========================================================================= */
|
|
|
|
.wpaw-dots-loader {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background-color: var(--aw-primary);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary),
|
|
-12px 0 var(--aw-primary);
|
|
position: relative;
|
|
animation: wpaw-flash 0.5s ease-out infinite alternate;
|
|
margin: 0 20px 0 16px;
|
|
display: inline-block;
|
|
}
|
|
|
|
@keyframes wpaw-flash {
|
|
0% {
|
|
background-color: var(--aw-primary-fixed);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary-fixed),
|
|
-12px 0 var(--aw-primary);
|
|
}
|
|
|
|
50% {
|
|
background-color: var(--aw-primary);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary-fixed),
|
|
-12px 0 var(--aw-primary-fixed);
|
|
}
|
|
|
|
100% {
|
|
background-color: var(--aw-primary-fixed);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary),
|
|
-12px 0 var(--aw-primary-fixed);
|
|
}
|
|
}
|
|
|
|
/* Time Elapsed Indicator */
|
|
.wpaw-timeline-elapsed {
|
|
font-weight: 400;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 11px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
/* =========================================================================
|
|
18. STATUS BAR & COMMAND UI
|
|
========================================================================= */
|
|
|
|
/* Status Bar */
|
|
.wpaw-status-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
color: var(--aw-on-surface);
|
|
|
|
font-size: 12px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wpaw-status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-status-dot.idle {
|
|
background: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-status-dot.thinking {
|
|
background: #b45309;
|
|
animation: statusPulse 1s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.checking,
|
|
.wpaw-status-dot.refining {
|
|
background: var(--aw-primary);
|
|
animation: statusPulse 0.8s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.writing {
|
|
background: var(--aw-primary);
|
|
animation: statusPulse 0.8s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.stopping {
|
|
background: #c2410c;
|
|
animation: statusPulse 0.55s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.complete {
|
|
background: var(--aw-tertiary);
|
|
}
|
|
|
|
.wpaw-status-dot.error {
|
|
background: var(--aw-error);
|
|
}
|
|
|
|
@keyframes statusPulse {
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.4;
|
|
}
|
|
}
|
|
|
|
.wpaw-status-label {
|
|
letter-spacing: 0.05em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.wpaw-memanto-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
background: var(--aw-primary-fixed);
|
|
color: var(--aw-on-primary-fixed);
|
|
border: 1px solid var(--aw-primary);
|
|
cursor: default;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wpaw-status-cost {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Unified Activity Log */
|
|
.wpaw-activity-log {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
background: var(--aw-surface-container-lowest);
|
|
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wpaw-log-entry {
|
|
padding: 10px 12px;
|
|
border-left: 3px solid transparent;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-log-entry:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* User Command */
|
|
.wpaw-log-entry.user-command {
|
|
background: var(--aw-primary-fixed);
|
|
border-left-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-log-entry.user-command::before {
|
|
content: "> ";
|
|
color: var(--aw-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Agent Status (thinking, processing) */
|
|
.wpaw-log-entry.agent-status {
|
|
color: var(--aw-on-surface-variant);
|
|
padding-left: 24px;
|
|
position: relative;
|
|
}
|
|
|
|
.wpaw-log-entry.agent-status::before {
|
|
content: "\25CF";
|
|
position: absolute;
|
|
left: 12px;
|
|
color: var(--aw-outline);
|
|
font-size: 8px;
|
|
}
|
|
|
|
.wpaw-log-entry.agent-status.active::before {
|
|
color: var(--aw-primary);
|
|
animation: statusPulse 1s infinite;
|
|
}
|
|
|
|
/* Agent Success */
|
|
.wpaw-log-entry.agent-success {
|
|
border-left-color: var(--aw-tertiary);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-log-entry.agent-success::before {
|
|
content: "\2713 ";
|
|
color: var(--aw-tertiary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Agent Error */
|
|
.wpaw-log-entry.agent-error {
|
|
background: var(--aw-error-container);
|
|
border-left-color: var(--aw-error);
|
|
color: var(--aw-on-error-container);
|
|
}
|
|
|
|
.wpaw-log-entry.agent-error::before {
|
|
content: "\2717 ";
|
|
color: var(--aw-error);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Agent Response (prose) */
|
|
.wpaw-log-entry.agent-response {
|
|
border-left-color: var(--aw-outline-variant);
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
}
|
|
|
|
/* Command Input Area */
|
|
.wpaw-command-area {
|
|
background: var(--aw-surface-container-lowest);
|
|
padding: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-command-area:has(textarea:disabled) {
|
|
display: none;
|
|
}
|
|
|
|
.wpaw-command-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-command-mode {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-command-mode-value {
|
|
color: var(--aw-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
padding: 8px 10px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.wpaw-command-prefix {
|
|
color: var(--aw-primary);
|
|
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
user-select: none;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper .components-textarea-control {
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper textarea,
|
|
.wpaw-command-input-wrapper .components-textarea-control__input {
|
|
flex: 1;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
color: var(--aw-on-surface) !important;
|
|
|
|
font-size: 13px !important;
|
|
line-height: 1.5 !important;
|
|
resize: none !important;
|
|
min-height: 20px !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper textarea::placeholder {
|
|
color: var(--aw-on-surface-variant) !important;
|
|
}
|
|
|
|
.wpaw-command-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.wpaw-command-btn {
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
border: none;
|
|
border-radius: var(--aw-radius-sm);
|
|
padding: 8px 16px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
cursor: pointer;
|
|
transition: background var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-command-btn:hover {
|
|
background: var(--aw-primary-container);
|
|
}
|
|
|
|
.wpaw-command-btn:disabled {
|
|
background: var(--aw-outline-variant);
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wpaw-command-btn.secondary {
|
|
background: transparent;
|
|
color: var(--aw-on-surface-variant);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-command-btn.secondary:hover {
|
|
border-color: var(--aw-outline);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* Minimal Tabs Override */
|
|
.wpaw-tabs-minimal {
|
|
display: flex;
|
|
background: var(--aw-surface-container-lowest);
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-tabs-minimal .wpaw-tab-btn {
|
|
background: transparent;
|
|
color: var(--aw-on-surface-variant);
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
padding: 10px 16px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-tabs-minimal .wpaw-tab-btn:hover {
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-tabs-minimal .wpaw-tab-btn.active {
|
|
color: var(--aw-on-surface);
|
|
border-bottom-color: var(--aw-primary);
|
|
}
|
|
|
|
/* Status Bar Actions (Top Right) */
|
|
.wpaw-status-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.wpaw-status-icon-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
padding: 2px;
|
|
line-height: 1;
|
|
transition:
|
|
color var(--aw-transition-fast),
|
|
transform var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-status-icon-btn:hover {
|
|
color: var(--aw-on-surface);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.wpaw-status-icon-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.wpaw-undo-btn {
|
|
background: rgba(0, 73, 113, 0.1);
|
|
border-radius: var(--aw-radius);
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-undo-btn:hover:not(:disabled) {
|
|
background: rgba(0, 73, 113, 0.2);
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
/* Bottom Toolbar (Inline with Execute) */
|
|
.wpaw-command-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 10px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-command-actions-group {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.wpaw-command-actions-group button:last-child {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-command-mode-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wpaw-command-label {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-command-mode-select {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-primary);
|
|
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
margin: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wpaw-command-mode-select:focus {
|
|
box-shadow: none;
|
|
outline: none;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Web Search Toggle */
|
|
.wpaw-web-search-toggle {
|
|
display: flex !important;
|
|
margin-bottom: 0 !important;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: var(--aw-radius);
|
|
transition: background var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-web-search-toggle:hover {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-web-search-toggle input[type="checkbox"] {
|
|
display: none;
|
|
}
|
|
|
|
.wpaw-web-search-icon {
|
|
font-size: 12px;
|
|
opacity: 0.5;
|
|
transition: opacity var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-web-search-toggle input:checked + .wpaw-web-search-icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpaw-web-search-toggle input:checked + .wpaw-web-search-icon * {
|
|
stroke: var(--aw-tertiary);
|
|
}
|
|
|
|
.wpaw-web-search-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.05em;
|
|
color: var(--aw-on-surface-variant);
|
|
transition: color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-web-search-toggle input:checked ~ .wpaw-web-search-label {
|
|
color: var(--aw-tertiary);
|
|
}
|
|
|
|
/* Blocked state (no Brave API key for local models) */
|
|
.wpaw-web-search-toggle.wpaw-search-blocked {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wpaw-web-search-toggle.wpaw-search-blocked:hover {
|
|
background: rgba(186, 26, 26, 0.05);
|
|
}
|
|
|
|
.wpaw-web-search-toggle.wpaw-search-blocked .wpaw-web-search-label {
|
|
color: var(--aw-error);
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.wpaw-command-text-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
letter-spacing: 0.05em;
|
|
padding: 4px 8px;
|
|
transition: color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-command-text-btn:hover {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-command-stop-btn {
|
|
background: var(--aw-error);
|
|
color: var(--aw-on-error);
|
|
border: none;
|
|
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
padding: 6px 12px;
|
|
border-radius: var(--aw-radius);
|
|
transition: background var(--aw-transition-fast);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-command-stop-btn:hover {
|
|
background: #8b1515;
|
|
}
|
|
|
|
.wpaw-resume-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
/* Circle Icon Buttons */
|
|
.wpaw-command-circle-btn {
|
|
width: 40px !important;
|
|
height: 40px !important;
|
|
border-radius: 50%;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
padding: 0;
|
|
}
|
|
|
|
.wpaw-send-circle-btn {
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-send-circle-btn:hover:not(:disabled) {
|
|
background: var(--aw-primary-container);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.wpaw-send-circle-btn:disabled {
|
|
background: var(--aw-outline-variant);
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.wpaw-stop-circle-btn {
|
|
background: var(--aw-error);
|
|
color: var(--aw-on-error);
|
|
}
|
|
|
|
.wpaw-stop-circle-btn:hover {
|
|
background: #8b1515;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.wpaw-stop-circle-btn.is-stopping,
|
|
.wpaw-stop-circle-btn.is-stopping:hover {
|
|
background: #c2410c;
|
|
cursor: wait;
|
|
transform: none;
|
|
}
|
|
|
|
.wpaw-stop-spinner {
|
|
animation: wpaw-spin 0.85s linear infinite;
|
|
}
|
|
|
|
.wpaw-command-circle-btn svg {
|
|
width: 20px !important;
|
|
height: 20px !important;
|
|
margin-bottom: unset !important;
|
|
}
|
|
|
|
/* =========================================================================
|
|
TAB CONTENT BASE (formerly dark-theme overrides — now the light base)
|
|
========================================================================= */
|
|
|
|
.wpaw-tab-content {
|
|
background: var(--aw-surface);
|
|
color: var(--aw-on-surface);
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Tab Header with Back Button */
|
|
.wpaw-tab-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
background: var(--aw-surface-container-lowest);
|
|
}
|
|
|
|
.wpaw-tab-header h3 {
|
|
margin: 0;
|
|
|
|
font-size: 12px;
|
|
letter-spacing: 0.05em;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-back-btn {
|
|
background: transparent;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface-variant);
|
|
|
|
font-size: 11px;
|
|
padding: 4px 10px;
|
|
border-radius: var(--aw-radius-sm);
|
|
cursor: pointer;
|
|
transition: all var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-back-btn:hover {
|
|
border-color: var(--aw-outline);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* Config Sections — base styles */
|
|
.wpaw-config-section {
|
|
padding: 16px;
|
|
border-top: unset;
|
|
border-right: unset;
|
|
border-left: unset;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
background-color: var(--aw-surface-container-lowest);
|
|
}
|
|
|
|
.wpaw-tab-content label {
|
|
display: block;
|
|
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-select,
|
|
.wpaw-tab-content input[type="text"],
|
|
.wpaw-tab-content select {
|
|
background: var(--aw-surface-container-lowest) !important;
|
|
border: 1px solid var(--aw-outline-variant) !important;
|
|
color: var(--aw-on-surface) !important;
|
|
border-radius: var(--aw-radius-sm) !important;
|
|
padding: 6px 10px !important;
|
|
width: 100%;
|
|
}
|
|
|
|
.wpaw-tab-content input[type="text"]::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-tab-content .description,
|
|
.wpaw-tab-content .components-checkbox-control__help {
|
|
color: var(--aw-on-surface-variant);
|
|
|
|
font-size: 11px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Cost Card base overrides */
|
|
.wpaw-tab-content .wpaw-cost-card {
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wpaw-tab-content .wpaw-cost-stat {
|
|
border-top: unset;
|
|
border-right: unset;
|
|
border-left: unset;
|
|
border-bottom-color: var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-tab-content .wpaw-cost-stat label {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-tab-content .wpaw-cost-value {
|
|
color: var(--aw-on-surface);
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* Panel body base */
|
|
.wpaw-tab-content .components-panel__body {
|
|
background: var(--aw-surface);
|
|
}
|
|
|
|
/* =========================================================================
|
|
SEO SECTION STYLES / CONFIG DIVIDER
|
|
========================================================================= */
|
|
|
|
.wpaw-config-divider {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 16px 0 8px;
|
|
padding: 16px 16px 5px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-config-divider span {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-meta-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 8px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wpaw-meta-info span {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.wpaw-meta-info span.good {
|
|
color: var(--aw-tertiary);
|
|
}
|
|
|
|
.wpaw-meta-info span.warning {
|
|
color: #b45309;
|
|
}
|
|
|
|
.wpaw-meta-info .components-button {
|
|
font-size: 11px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.wpaw-tab-content textarea {
|
|
background: var(--aw-surface-container-lowest) !important;
|
|
color: var(--aw-on-surface) !important;
|
|
width: 100%;
|
|
min-height: 60px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.wpaw-tab-content textarea::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
/* SEO Audit Styles */
|
|
.wpaw-seo-audit-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wpaw-seo-audit-header label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
/* === PART 2 — Sections from original sidebar.css lines ~1700-5116 === */
|
|
|
|
/* ===========================
|
|
ANSWER OPTIONS & QUESTION CARDS (cont.)
|
|
=========================== */
|
|
.wpaw-answer-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.wpaw-answer-options label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
border: 2px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.wpaw-answer-options label:hover {
|
|
border-color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-answer-options label:has(input:checked) {
|
|
border-color: var(--aw-primary);
|
|
background: var(--aw-primary-fixed);
|
|
color: var(--aw-on-surface);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.wpaw-answer-options input[type="radio"],
|
|
.wpaw-answer-options input[type="checkbox"] {
|
|
margin: 0 10px 0 0;
|
|
appearance: auto !important;
|
|
-webkit-appearance: auto !important;
|
|
}
|
|
|
|
.wpaw-answer-options input[type="radio"]:focus,
|
|
.wpaw-answer-options input[type="checkbox"]:focus {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.wpaw-answer-options span {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Textarea styling for open_text questions */
|
|
.wpaw-answer-options textarea {
|
|
width: 100%;
|
|
min-height: 100px;
|
|
padding: 12px;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
border: 2px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
background: var(--aw-surface-container-lowest);
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.wpaw-answer-options textarea:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
box-shadow: 0 0 0 3px rgba(0, 73, 113, 0.1);
|
|
}
|
|
|
|
.wpaw-previous-answers {
|
|
margin-top: 15px;
|
|
padding: 15px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border-radius: var(--aw-radius-md);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-previous-answers strong {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-size: 13px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-question-label {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--aw-primary);
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.wpaw-answer-text {
|
|
margin: 0 0 10px 0;
|
|
padding: 8px 12px;
|
|
background: var(--aw-surface-container);
|
|
border-radius: var(--aw-radius);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-previous-answers > div:last-child .wpaw-answer-text {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wpaw-quiz-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: space-between;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.wpaw-quiz-actions button {
|
|
justify-content: center;
|
|
}
|
|
|
|
.wpaw-quiz-actions button.is-primary {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Custom answer input */
|
|
.wpaw-custom-answer-wrapper {
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-custom-text-input {
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
padding: 8px 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-custom-text-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
/* Config form styles */
|
|
.wpaw-config-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.wpaw-config-field {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
padding: 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
}
|
|
|
|
.wpaw-config-label {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.wpaw-config-label-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-config-description {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-config-toggle {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 48px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wpaw-config-toggle input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.wpaw-toggle-slider {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--aw-outline-variant);
|
|
border-radius: 24px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.wpaw-toggle-slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background-color: var(--aw-surface-container-lowest);
|
|
border-radius: 50%;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.wpaw-config-toggle input:checked + .wpaw-toggle-slider {
|
|
background-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-config-toggle input:checked + .wpaw-toggle-slider:before {
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
.wpaw-config-text-input {
|
|
width: 250px;
|
|
padding: 6px 10px;
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-config-text-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-config-text-input::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-form label {
|
|
display: flex;
|
|
}
|
|
|
|
.wpaw-question-card
|
|
.wpaw-config-form
|
|
.wpaw-config-label
|
|
.wpaw-config-description {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-field:has(input[type="text"]) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.wpaw-question-card:has(.wpaw-config-form) {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.wpaw-question-card:has(.wpaw-config-form) h4,
|
|
.wpaw-question-card:has(.wpaw-config-form) .wpaw-quiz-actions {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-form {
|
|
gap: 0;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-form .wpaw-config-field {
|
|
border-radius: unset !important;
|
|
border-width: 1px 0;
|
|
background-color: unset;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.wpaw-question-card .wpaw-config-form .wpaw-config-field input[type="text"] {
|
|
background-color: var(--aw-surface-container-lowest) !important;
|
|
}
|
|
|
|
/* ===========================
|
|
INFO MESSAGES
|
|
=========================== */
|
|
.wpaw-info {
|
|
padding: 12px 15px;
|
|
background: var(--aw-primary-fixed);
|
|
border-left: 4px solid var(--aw-primary);
|
|
border-radius: var(--aw-radius);
|
|
font-size: 13px;
|
|
margin: 10px 0;
|
|
line-height: 1.5;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-info a {
|
|
color: var(--aw-primary);
|
|
font-weight: 600;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.wpaw-info a:hover {
|
|
color: var(--aw-primary-container);
|
|
}
|
|
|
|
/* ===========================
|
|
BLOCK MENTION STYLES
|
|
=========================== */
|
|
.wpaw-block-mentioned {
|
|
outline: 2px solid var(--aw-primary) !important;
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 0 4px rgba(0, 73, 113, 0.2);
|
|
animation: wpaw-pulse 1.5s infinite;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.wpaw-block-mentioned:hover {
|
|
outline-width: 3px;
|
|
box-shadow: 0 0 0 8px rgba(0, 73, 113, 0.3);
|
|
}
|
|
|
|
@keyframes wpaw-pulse {
|
|
0%,
|
|
100% {
|
|
box-shadow: 0 0 0 0px rgba(0, 73, 113, 0.2);
|
|
}
|
|
|
|
50% {
|
|
box-shadow: 0 0 0 6px rgba(0, 73, 113, 0.4);
|
|
}
|
|
}
|
|
|
|
/* Mention autocomplete */
|
|
.wpaw-mention-autocomplete {
|
|
position: absolute;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 1000;
|
|
box-shadow: var(--aw-shadow-sm);
|
|
}
|
|
|
|
.wpaw-mention-option {
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.wpaw-mention-option:hover,
|
|
.wpaw-mention-option.selected {
|
|
background: var(--aw-primary-fixed);
|
|
border-left: 3px solid var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-mention-option strong {
|
|
display: block;
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-mention-option span {
|
|
display: block;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* ===========================
|
|
RESPONSIVE
|
|
=========================== */
|
|
@media (max-width: 782px) {
|
|
.wpaw-cost-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 482px) {
|
|
.interface-complementary-area__fill:has(
|
|
#wp-agentic-writer\:wp-agentic-writer
|
|
),
|
|
#wp-agentic-writer\:wp-agentic-writer {
|
|
width: 100vw !important;
|
|
}
|
|
}
|
|
|
|
/* Custom Dots Loader for Agentic Vibe */
|
|
.wpaw-dots-loader {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background-color: var(--aw-primary);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary),
|
|
-12px 0 var(--aw-primary);
|
|
position: relative;
|
|
animation: wpaw-flash 0.5s ease-out infinite alternate;
|
|
margin: 0 20px 0 16px;
|
|
display: inline-block;
|
|
}
|
|
|
|
@keyframes wpaw-flash {
|
|
0% {
|
|
background-color: var(--aw-primary-fixed);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary-fixed),
|
|
-12px 0 var(--aw-primary);
|
|
}
|
|
|
|
50% {
|
|
background-color: var(--aw-primary);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary-fixed),
|
|
-12px 0 var(--aw-primary-fixed);
|
|
}
|
|
|
|
100% {
|
|
background-color: var(--aw-primary-fixed);
|
|
box-shadow:
|
|
12px 0 var(--aw-primary),
|
|
-12px 0 var(--aw-primary-fixed);
|
|
}
|
|
}
|
|
|
|
/* Time Elapsed Indicator */
|
|
.wpaw-timeline-elapsed {
|
|
font-weight: 400;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 11px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
/* ===========================
|
|
AGENTIC UI REVAMP
|
|
=========================== */
|
|
|
|
/* Status Bar */
|
|
.wpaw-status-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 12px;
|
|
background: var(--aw-surface-container);
|
|
color: var(--aw-on-surface);
|
|
font-size: 12px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wpaw-status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-status-dot.idle {
|
|
background: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-status-dot.thinking {
|
|
background: #dba617;
|
|
animation: statusPulse 1s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.checking,
|
|
.wpaw-status-dot.refining {
|
|
background: var(--aw-primary);
|
|
animation: statusPulse 0.8s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.writing {
|
|
background: var(--aw-primary);
|
|
animation: statusPulse 0.8s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.stopping {
|
|
background: #f97316;
|
|
animation: statusPulse 0.55s infinite;
|
|
}
|
|
|
|
.wpaw-status-dot.complete {
|
|
background: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-status-dot.error {
|
|
background: var(--aw-error);
|
|
}
|
|
|
|
@keyframes statusPulse {
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.4;
|
|
}
|
|
}
|
|
|
|
.wpaw-status-label {
|
|
letter-spacing: 0.05em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.wpaw-memanto-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
background: var(--aw-primary-fixed);
|
|
color: var(--aw-primary);
|
|
border: 1px solid var(--aw-primary-container);
|
|
cursor: default;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wpaw-status-cost {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Unified Activity Log */
|
|
.wpaw-activity-log {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
background: var(--aw-surface-container-lowest);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wpaw-log-entry {
|
|
padding: 10px 12px;
|
|
border-left: 3px solid transparent;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-log-entry:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* User Command */
|
|
.wpaw-log-entry.user-command {
|
|
background: var(--aw-primary-fixed);
|
|
border-left-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-log-entry.user-command::before {
|
|
content: "> ";
|
|
color: var(--aw-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Agent Status (thinking, processing) */
|
|
.wpaw-log-entry.agent-status {
|
|
color: var(--aw-on-surface-variant);
|
|
padding-left: 24px;
|
|
position: relative;
|
|
}
|
|
|
|
.wpaw-log-entry.agent-status::before {
|
|
content: "\25CF";
|
|
position: absolute;
|
|
left: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 8px;
|
|
}
|
|
|
|
.wpaw-log-entry.agent-status.active::before {
|
|
color: var(--aw-primary);
|
|
animation: statusPulse 1s infinite;
|
|
}
|
|
|
|
/* Agent Success */
|
|
.wpaw-log-entry.agent-success {
|
|
border-left-color: var(--aw-tertiary-container);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-log-entry.agent-success::before {
|
|
content: "\2713 ";
|
|
color: var(--aw-tertiary-container);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Agent Error */
|
|
.wpaw-log-entry.agent-error {
|
|
background: var(--aw-error-container);
|
|
border-left-color: var(--aw-error);
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-log-entry.agent-error::before {
|
|
content: "\2717 ";
|
|
color: var(--aw-error);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Agent Response (prose) */
|
|
.wpaw-log-entry.agent-response {
|
|
border-left-color: var(--aw-outline-variant);
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
}
|
|
|
|
/* Command Input Area */
|
|
.wpaw-command-area {
|
|
background: var(--aw-surface-container);
|
|
padding: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-command-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-command-mode {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-command-mode-value {
|
|
color: var(--aw-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
padding: 8px 10px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.wpaw-command-prefix {
|
|
color: var(--aw-primary);
|
|
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
user-select: none;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper .components-textarea-control {
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper textarea,
|
|
.wpaw-command-input-wrapper .components-textarea-control__input {
|
|
flex: 1;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
color: var(--aw-on-surface) !important;
|
|
|
|
font-size: 13px !important;
|
|
line-height: 1.5 !important;
|
|
resize: none !important;
|
|
min-height: 20px !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper textarea::placeholder {
|
|
color: var(--aw-on-surface-variant) !important;
|
|
}
|
|
|
|
.wpaw-command-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.wpaw-command-btn {
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
border: none;
|
|
border-radius: var(--aw-radius-sm);
|
|
padding: 8px 16px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
cursor: pointer;
|
|
transition: background 0.1s ease;
|
|
}
|
|
|
|
.wpaw-command-btn:hover {
|
|
background: var(--aw-primary-container);
|
|
}
|
|
|
|
.wpaw-command-btn:disabled {
|
|
background: var(--aw-surface-container-high);
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wpaw-command-btn.secondary {
|
|
background: transparent;
|
|
color: var(--aw-on-surface-variant);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-command-btn.secondary:hover {
|
|
border-color: var(--aw-on-surface-variant);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* Minimal Tabs Override */
|
|
.wpaw-tabs-minimal {
|
|
display: flex;
|
|
background: var(--aw-surface-container);
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-tabs-minimal .wpaw-tab-btn {
|
|
background: transparent;
|
|
color: var(--aw-on-surface-variant);
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
padding: 10px 16px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-tabs-minimal .wpaw-tab-btn:hover {
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-tabs-minimal .wpaw-tab-btn.active {
|
|
color: var(--aw-on-surface);
|
|
border-bottom-color: var(--aw-primary);
|
|
}
|
|
|
|
/* ===========================
|
|
UI REVAMP - PHASE 2
|
|
=========================== */
|
|
|
|
/* Status Bar Actions (Top Right) */
|
|
.wpaw-status-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.wpaw-status-icon-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
padding: 2px;
|
|
line-height: 1;
|
|
transition:
|
|
color 0.1s ease,
|
|
transform 0.1s ease;
|
|
}
|
|
|
|
.wpaw-status-icon-btn:hover {
|
|
color: var(--aw-on-surface);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.wpaw-status-icon-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.wpaw-undo-btn {
|
|
background: var(--aw-primary-fixed);
|
|
border-radius: var(--aw-radius);
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-undo-btn:hover:not(:disabled) {
|
|
background: rgba(0, 73, 113, 0.3);
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
/* Bottom Toolbar (Inline with Execute) */
|
|
.wpaw-command-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 10px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-command-actions-group {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.wpaw-command-actions-group button:last-child {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-command-mode-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wpaw-command-label {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-command-mode-select {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-primary);
|
|
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
margin: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wpaw-command-mode-select:focus {
|
|
box-shadow: none;
|
|
outline: none;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Web Search Toggle */
|
|
.wpaw-web-search-toggle {
|
|
display: flex !important;
|
|
margin-bottom: 0 !important;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
border-radius: var(--aw-radius);
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.wpaw-web-search-toggle:hover {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-web-search-toggle input[type="checkbox"] {
|
|
display: none;
|
|
}
|
|
|
|
.wpaw-web-search-icon {
|
|
font-size: 12px;
|
|
opacity: 0.5;
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
.wpaw-web-search-toggle input:checked + .wpaw-web-search-icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpaw-web-search-toggle input:checked + .wpaw-web-search-icon * {
|
|
stroke: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-web-search-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.05em;
|
|
color: var(--aw-on-surface-variant);
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.wpaw-web-search-toggle input:checked ~ .wpaw-web-search-label {
|
|
color: var(--aw-tertiary-container);
|
|
}
|
|
|
|
/* Blocked state (no Brave API key for local models) */
|
|
.wpaw-web-search-toggle.wpaw-search-blocked {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wpaw-web-search-toggle.wpaw-search-blocked:hover {
|
|
background: rgba(186, 26, 26, 0.08);
|
|
}
|
|
|
|
.wpaw-web-search-toggle.wpaw-search-blocked .wpaw-web-search-label {
|
|
color: var(--aw-error);
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.wpaw-command-text-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
letter-spacing: 0.05em;
|
|
padding: 4px 8px;
|
|
transition: color 0.1s ease;
|
|
}
|
|
|
|
.wpaw-command-text-btn:hover {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-command-stop-btn {
|
|
background: var(--aw-error);
|
|
color: var(--aw-on-primary);
|
|
border: none;
|
|
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
padding: 6px 12px;
|
|
border-radius: var(--aw-radius);
|
|
transition: background 0.1s ease;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-command-stop-btn:hover {
|
|
background: #9c1515;
|
|
}
|
|
|
|
.wpaw-resume-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
/* Circle Icon Buttons */
|
|
.wpaw-command-circle-btn {
|
|
width: 40px !important;
|
|
height: 40px !important;
|
|
border-radius: 50%;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
padding: 0;
|
|
}
|
|
|
|
.wpaw-send-circle-btn {
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-send-circle-btn:hover:not(:disabled) {
|
|
background: var(--aw-primary-container);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.wpaw-send-circle-btn:disabled {
|
|
background: var(--aw-surface-container-high);
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.wpaw-stop-circle-btn {
|
|
background: var(--aw-error);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-stop-circle-btn:hover {
|
|
background: #9c1515;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.wpaw-stop-circle-btn.is-stopping,
|
|
.wpaw-stop-circle-btn.is-stopping:hover {
|
|
background: #f97316;
|
|
cursor: wait;
|
|
transform: none;
|
|
}
|
|
|
|
.wpaw-stop-spinner {
|
|
animation: wpaw-spin 0.85s linear infinite;
|
|
}
|
|
|
|
.wpaw-command-circle-btn svg {
|
|
width: 20px !important;
|
|
height: 20px !important;
|
|
margin-bottom: unset !important;
|
|
}
|
|
|
|
/* Tab Content Styles (replacing dark-theme) */
|
|
.wpaw-tab-content {
|
|
background: var(--aw-surface-container-lowest);
|
|
color: var(--aw-on-surface);
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Tab Header with Back Button */
|
|
.wpaw-tab-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-tab-header h3 {
|
|
margin: 0;
|
|
|
|
font-size: 12px;
|
|
letter-spacing: 0.05em;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-back-btn {
|
|
background: transparent;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface-variant);
|
|
|
|
font-size: 11px;
|
|
padding: 4px 10px;
|
|
border-radius: var(--aw-radius-sm);
|
|
cursor: pointer;
|
|
transition: all 0.1s ease;
|
|
}
|
|
|
|
.wpaw-back-btn:hover {
|
|
border-color: var(--aw-on-surface-variant);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* Config Sections */
|
|
.wpaw-tab-content .wpaw-config-section {
|
|
padding: 16px;
|
|
border-top: unset;
|
|
border-right: unset;
|
|
border-left: unset;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
background-color: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-tab-content label {
|
|
display: block;
|
|
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-select,
|
|
.wpaw-tab-content input[type="text"],
|
|
.wpaw-tab-content select {
|
|
background: var(--aw-surface-container-lowest) !important;
|
|
border: 1px solid var(--aw-outline-variant) !important;
|
|
color: var(--aw-on-surface) !important;
|
|
border-radius: var(--aw-radius-sm) !important;
|
|
padding: 6px 10px !important;
|
|
width: 100%;
|
|
}
|
|
|
|
.wpaw-tab-content input[type="text"]::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-tab-content .description,
|
|
.wpaw-tab-content .components-checkbox-control__help {
|
|
color: var(--aw-on-surface-variant);
|
|
|
|
font-size: 11px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Cost Card overrides */
|
|
.wpaw-tab-content .wpaw-cost-card {
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wpaw-tab-content .wpaw-cost-stat {
|
|
border-top: unset;
|
|
border-right: unset;
|
|
border-left: unset;
|
|
border-bottom-color: var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-tab-content .wpaw-cost-stat label {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-tab-content .wpaw-cost-value {
|
|
color: var(--aw-on-surface);
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* Ensure consistent background on tab panels */
|
|
.wpaw-tab-content .components-panel__body {
|
|
background: var(--aw-surface-container-lowest);
|
|
}
|
|
|
|
/* ===========================
|
|
SEO SECTION STYLES
|
|
=========================== */
|
|
.wpaw-config-divider {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 16px 0 8px;
|
|
padding: 16px 16px 5px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-config-divider span {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-meta-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 8px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wpaw-meta-info span {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.wpaw-meta-info span.good {
|
|
color: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-meta-info span.warning {
|
|
color: #dba617;
|
|
}
|
|
|
|
.wpaw-meta-info .components-button {
|
|
font-size: 11px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.wpaw-tab-content textarea {
|
|
background: var(--aw-surface-container-lowest) !important;
|
|
color: var(--aw-on-surface) !important;
|
|
width: 100%;
|
|
min-height: 60px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.wpaw-tab-content textarea::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
/* SEO Audit Styles */
|
|
.wpaw-seo-audit-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wpaw-seo-audit-header label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-seo-audit-results {
|
|
background: var(--aw-surface-container-low);
|
|
border-radius: var(--aw-radius);
|
|
padding: 12px;
|
|
}
|
|
|
|
.wpaw-seo-score {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: center;
|
|
margin-bottom: 12px;
|
|
padding: 8px;
|
|
border-radius: var(--aw-radius);
|
|
}
|
|
|
|
.wpaw-seo-score.good {
|
|
background: rgba(0, 108, 28, 0.1);
|
|
}
|
|
|
|
.wpaw-seo-score.warning {
|
|
background: rgba(219, 166, 23, 0.1);
|
|
}
|
|
|
|
.wpaw-seo-score.poor {
|
|
background: rgba(186, 26, 26, 0.1);
|
|
}
|
|
|
|
.wpaw-seo-score .score-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.wpaw-seo-score.good .score-value {
|
|
color: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-seo-score.warning .score-value {
|
|
color: #dba617;
|
|
}
|
|
|
|
.wpaw-seo-score.poor .score-value {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-seo-score .score-label {
|
|
font-size: 14px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.wpaw-seo-stats {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.wpaw-seo-stat {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-seo-stat .stat-label {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.wpaw-seo-stat .stat-value {
|
|
display: block;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-seo-checks {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wpaw-seo-check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-seo-check .check-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.wpaw-seo-check.passed .check-icon {
|
|
background: rgba(0, 108, 28, 0.15);
|
|
color: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-seo-check.failed .check-icon {
|
|
background: rgba(186, 26, 26, 0.15);
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-seo-check .check-label {
|
|
flex: 1;
|
|
color: var(--aw-on-surface-variant);
|
|
min-width: 0;
|
|
}
|
|
|
|
.wpaw-seo-fix-button.components-button.is-secondary.is-small {
|
|
border-color: var(--aw-primary-fixed);
|
|
box-shadow: none !important;
|
|
color: var(--aw-primary);
|
|
flex-shrink: 0;
|
|
height: 24px;
|
|
min-width: 44px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.wpaw-seo-fix-button.components-button.is-secondary.is-small:hover:not(
|
|
:disabled
|
|
),
|
|
.wpaw-seo-fix-button.components-button.is-secondary.is-small:focus:not(
|
|
:disabled
|
|
) {
|
|
border-color: var(--aw-primary);
|
|
color: var(--aw-primary-container);
|
|
}
|
|
|
|
.wpaw-seo-fix-button.components-button.is-secondary.is-small.is-fixing {
|
|
border-color: #dba617;
|
|
color: #dba617;
|
|
}
|
|
|
|
.wpaw-meta-info > button.components-button.is-secondary.is-small {
|
|
outline: unset !important;
|
|
color: #dba617;
|
|
border: 1px solid #dba617;
|
|
box-shadow: unset !important;
|
|
}
|
|
|
|
/* SEO Tab Styles */
|
|
.wpaw-seo-tab {
|
|
padding: 0;
|
|
}
|
|
|
|
.wpaw-seo-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
background: var(--aw-surface-container);
|
|
}
|
|
|
|
.wpaw-seo-header h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-seo-section {
|
|
padding: 16px;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-seo-section h4 {
|
|
margin: 0 0 12px 0;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-seo-field {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-seo-field input,
|
|
.wpaw-seo-field textarea {
|
|
width: 100%;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
padding: 10px 12px;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.wpaw-seo-field input:focus,
|
|
.wpaw-seo-field textarea:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-char-count {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
text-align: right;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.wpaw-seo-preview {
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
padding: 16px;
|
|
}
|
|
|
|
.wpaw-seo-preview-title {
|
|
color: var(--aw-primary);
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
line-height: 1.3;
|
|
margin-bottom: 4px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.wpaw-seo-preview-url {
|
|
color: var(--aw-tertiary-container);
|
|
font-size: 14px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-seo-preview-desc {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.wpaw-seo-stats {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.wpaw-stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.wpaw-stat-label {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.wpaw-stat-value {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-seo-actions {
|
|
padding: 16px;
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.wpaw-seo-actions .components-button {
|
|
flex: 1;
|
|
min-width: 140px;
|
|
}
|
|
|
|
/* SEO Audit Results (in SEO tab) */
|
|
.wpaw-seo-audit-results {
|
|
margin: 16px;
|
|
padding: 16px;
|
|
background: var(--aw-surface-container-low);
|
|
border-radius: var(--aw-radius);
|
|
}
|
|
|
|
.wpaw-seo-audit-results h4 {
|
|
margin: 0 0 12px 0;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-audit-score {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px;
|
|
background: var(--aw-surface-container);
|
|
border-radius: var(--aw-radius);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wpaw-score-label {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-score-value {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wpaw-score-value.good {
|
|
color: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-score-value.warning {
|
|
color: #dba617;
|
|
}
|
|
|
|
.wpaw-score-value.bad {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-audit-checks {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wpaw-issue-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
background: var(--aw-surface-container);
|
|
border-radius: var(--aw-radius);
|
|
}
|
|
|
|
.wpaw-issue-item.good {
|
|
border-left: 3px solid var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-issue-item.error,
|
|
.wpaw-issue-item.failed {
|
|
border-left: 3px solid var(--aw-error);
|
|
}
|
|
|
|
.wpaw-issue-item.warning {
|
|
border-left: 3px solid #dba617;
|
|
}
|
|
|
|
.wpaw-issue-severity {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
font-size: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-issue-item.good .wpaw-issue-severity {
|
|
background: rgba(0, 108, 28, 0.15);
|
|
color: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-issue-item.error .wpaw-issue-severity,
|
|
.wpaw-issue-item.failed .wpaw-issue-severity {
|
|
background: rgba(186, 26, 26, 0.15);
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-issue-item.warning .wpaw-issue-severity {
|
|
background: rgba(219, 166, 23, 0.15);
|
|
color: #dba617;
|
|
}
|
|
|
|
.wpaw-check-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.wpaw-check-name {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-check-message {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-seo-audit-header .components-button.is-secondary.is-small {
|
|
outline: unset !important;
|
|
color: var(--aw-tertiary-container);
|
|
border: 1px solid var(--aw-tertiary-container);
|
|
box-shadow: unset !important;
|
|
}
|
|
|
|
.wpaw-spinning-icon svg {
|
|
animation: wpaw-spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes wpaw-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* ===========================
|
|
WRITING MODE EMPTY STATE
|
|
=========================== */
|
|
.wpaw-writing-empty-state {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
padding: 2rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.wpaw-empty-state-content {
|
|
text-align: center;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.wpaw-empty-state-icon {
|
|
font-size: 3rem;
|
|
display: block;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.wpaw-empty-state-content h3 {
|
|
margin: 2rem 0 0.5rem 0;
|
|
font-size: 1.5rem;
|
|
color: var(--aw-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wpaw-empty-state-content p {
|
|
color: var(--aw-on-surface-variant);
|
|
margin: 0.5rem 0;
|
|
line-height: 1.5;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.wpaw-empty-state-button {
|
|
margin: 1.5rem 0 1rem 0 !important;
|
|
font-size: 1rem !important;
|
|
}
|
|
|
|
.wpaw-empty-state-hint {
|
|
font-size: 0.9rem !important;
|
|
margin-top: 1rem !important;
|
|
color: var(--aw-on-surface-variant) !important;
|
|
}
|
|
|
|
.wpaw-sessions-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin: 1.5rem 0;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wpaw-new-chat-btn {
|
|
margin-top: 1rem !important;
|
|
}
|
|
|
|
.wpaw-writing-empty-state .wpaw-session-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
background: var(--aw-primary-fixed);
|
|
border: 1px solid var(--aw-outline-subtle);
|
|
border-radius: var(--aw-radius-md);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.wpaw-writing-empty-state .wpaw-session-item:hover {
|
|
background: var(--aw-surface-container-low);
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-writing-empty-state .wpaw-session-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpaw-writing-empty-state .wpaw-session-title {
|
|
font-size: 14px;
|
|
color: var(--aw-on-surface);
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.wpaw-writing-empty-state .wpaw-session-meta {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-writing-empty-state .wpaw-session-delete {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
line-height: 1;
|
|
border-radius: var(--aw-radius);
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.wpaw-writing-empty-state .wpaw-session-delete:hover {
|
|
color: var(--aw-error);
|
|
background: var(--aw-error-container);
|
|
}
|
|
|
|
.wpaw-link-button {
|
|
background: none;
|
|
border: none;
|
|
color: var(--aw-primary);
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
font: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.wpaw-link-button:hover {
|
|
color: var(--aw-primary-container);
|
|
}
|
|
|
|
/* ===========================
|
|
CONTEXT INDICATOR
|
|
=========================== */
|
|
.wpaw-context-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.25rem 1rem;
|
|
|
|
font-size: 11px;
|
|
background: var(--aw-surface-container);
|
|
}
|
|
|
|
.wpaw-context-info {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.wpaw-context-count,
|
|
.wpaw-context-tokens,
|
|
.wpaw-context-cost {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-context-toggle {
|
|
background: none;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 0.85rem;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.wpaw-context-toggle:hover {
|
|
background: var(--aw-primary-fixed);
|
|
}
|
|
|
|
.wpaw-command-input-wrapper.expanded {
|
|
transition: min-height 0.3s ease;
|
|
}
|
|
|
|
.wpaw-command-input-wrapper.expanded textarea {
|
|
transition: min-height 0.3s ease;
|
|
}
|
|
|
|
/* ===========================
|
|
FOCUS KEYWORD BAR
|
|
=========================== */
|
|
.wpaw-focus-keyword-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 6px 10px;
|
|
background: var(--aw-surface-container);
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-focus-keyword-bar.wpaw-compact {
|
|
gap: 8px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.wpaw-focus-keyword-bar.wpaw-expanded {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.wpaw-fk-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.wpaw-fk-icon {
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-fk-select,
|
|
.wpaw-fk-select-full {
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
padding: 4px 8px;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition:
|
|
border-color 0.2s,
|
|
background 0.2s;
|
|
}
|
|
|
|
.wpaw-fk-select {
|
|
flex: 1;
|
|
min-width: 0;
|
|
max-width: 180px;
|
|
}
|
|
|
|
.wpaw-fk-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
padding: 6px 10px;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 12px;
|
|
transition:
|
|
border-color 0.2s,
|
|
background 0.2s;
|
|
}
|
|
|
|
.wpaw-fk-input:focus {
|
|
border-color: var(--aw-primary);
|
|
outline: none;
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-fk-input::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-fk-select-full {
|
|
width: 100%;
|
|
}
|
|
|
|
.wpaw-fk-custom-input {
|
|
width: 100%;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
padding: 10px 12px;
|
|
border-radius: var(--aw-radius-md);
|
|
font-size: 14px;
|
|
transition:
|
|
border-color 0.2s,
|
|
background 0.2s;
|
|
}
|
|
|
|
.wpaw-fk-custom-input:focus {
|
|
border-color: var(--aw-primary);
|
|
outline: none;
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-fk-custom-input::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-fk-select:focus,
|
|
.wpaw-fk-select-full:focus {
|
|
border-color: var(--aw-primary);
|
|
outline: none;
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-fk-select:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wpaw-fk-select option,
|
|
.wpaw-fk-select-full option {
|
|
background: var(--aw-surface-container-lowest);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-fk-cost {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 11px;
|
|
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-fk-expand,
|
|
.wpaw-fk-collapse {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
padding: 4px 6px;
|
|
border-radius: var(--aw-radius);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition:
|
|
background 0.2s,
|
|
color 0.2s;
|
|
}
|
|
|
|
.wpaw-fk-expand:hover,
|
|
.wpaw-fk-collapse:hover {
|
|
background: var(--aw-surface-container-low);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-fk-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-weight: 600;
|
|
font-size: 11px;
|
|
letter-spacing: 0.5px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-fk-main-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.wpaw-fk-suggestions {
|
|
background: var(--aw-surface-container-low);
|
|
border-radius: var(--aw-radius-md);
|
|
padding: 8px;
|
|
}
|
|
|
|
.wpaw-fk-suggestions-label {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-fk-suggestion-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
border-radius: var(--aw-radius);
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.wpaw-fk-suggestion-item:hover {
|
|
background: var(--aw-surface-container);
|
|
}
|
|
|
|
.wpaw-fk-suggestion-item.selected {
|
|
background: var(--aw-primary-fixed);
|
|
}
|
|
|
|
.wpaw-fk-radio {
|
|
color: var(--aw-primary);
|
|
font-size: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-fk-suggestion-text {
|
|
flex: 1;
|
|
color: var(--aw-on-surface);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-fk-suggestion-source {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-fk-stats {
|
|
display: flex;
|
|
gap: 8px;
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-fk-divider {
|
|
color: var(--aw-outline-variant);
|
|
}
|
|
|
|
/* ===========================
|
|
MESSAGE INPUT IMPROVEMENTS
|
|
=========================== */
|
|
.wpaw-message-input-wrapper {
|
|
background: var(--aw-surface-container-lowest);
|
|
padding: 12px 16px;
|
|
border-top: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-input-container {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.wpaw-message-input {
|
|
flex: 1;
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
padding: 12px 14px;
|
|
color: var(--aw-on-surface);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
resize: none;
|
|
transition:
|
|
border-color 0.2s,
|
|
box-shadow 0.2s;
|
|
min-height: 48px;
|
|
max-height: 120px;
|
|
}
|
|
|
|
.wpaw-message-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
box-shadow: 0 0 0 3px rgba(0, 73, 113, 0.1);
|
|
}
|
|
|
|
.wpaw-message-input::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-message-input:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wpaw-send-circle-btn {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: var(--aw-surface-container);
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-send-circle-btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.wpaw-send-circle-btn.can-send {
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-send-circle-btn.can-send:hover {
|
|
background: var(--aw-primary-hover);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.wpaw-send-circle-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wpaw-send-circle-btn:disabled:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.wpaw-input-hint {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.wpaw-input-hint .wpaw-kbd {
|
|
background: var(--aw-surface-container);
|
|
padding: 2px 5px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
font-family: inherit;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
/* ===========================
|
|
WELCOME SCREEN
|
|
=========================== */
|
|
.wpaw-welcome-screen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem 1.5rem;
|
|
text-align: center;
|
|
min-height: 400px;
|
|
animation: fadeInUp 0.3s ease-out;
|
|
background: var(--aw-surface-container-lowest);
|
|
}
|
|
|
|
.wpaw-welcome-content {
|
|
max-width: 320px;
|
|
width: 100%;
|
|
}
|
|
|
|
.wpaw-welcome-icon {
|
|
display: block;
|
|
color: var(--aw-primary);
|
|
margin-bottom: 1.25rem;
|
|
opacity: 0.9;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%,
|
|
100% {
|
|
opacity: 0.7;
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1.02);
|
|
}
|
|
}
|
|
|
|
.wpaw-welcome-icon svg {
|
|
width: 56px;
|
|
height: 56px;
|
|
stroke-width: 1.5;
|
|
}
|
|
|
|
.wpaw-welcome-title {
|
|
margin: 0 0 0.5rem 0;
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
}
|
|
|
|
.wpaw-welcome-subtitle {
|
|
margin: 0 0 1.5rem 0;
|
|
font-size: 0.95rem;
|
|
color: var(--aw-on-surface-variant);
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
}
|
|
|
|
.wpaw-welcome-input {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
color: var(--aw-on-surface);
|
|
font-size: 14px;
|
|
margin-bottom: 1rem;
|
|
box-sizing: border-box;
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
transition:
|
|
border-color 0.2s,
|
|
background 0.2s;
|
|
}
|
|
|
|
.wpaw-welcome-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
background: var(--aw-surface-container-lowest);
|
|
box-shadow: 0 0 0 3px rgba(0, 73, 113, 0.1);
|
|
}
|
|
|
|
.wpaw-welcome-input::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-welcome-pills {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.wpaw-welcome-pills button {
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
|
|
.wpaw-welcome-pill {
|
|
flex: 1;
|
|
padding: 10px 12px;
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
color: var(--aw-on-surface-variant);
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
}
|
|
|
|
.wpaw-session-list .wpaw-welcome-pill {
|
|
width: unset !important;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.wpaw-welcome-pill:hover {
|
|
background: var(--aw-surface-container);
|
|
border-color: var(--aw-outline);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-welcome-pill.active {
|
|
background: var(--aw-primary-fixed);
|
|
border-color: var(--aw-primary);
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-session-list {
|
|
max-height: 35vh;
|
|
overflow-y: auto;
|
|
padding-right: 2px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-session-open-btn {
|
|
display: block;
|
|
min-width: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.wpaw-session-open-btn:disabled {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.wpaw-welcome-start-btn {
|
|
width: 100%;
|
|
padding: 12px 24px !important;
|
|
font-size: 14px !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
/* ===========================
|
|
SESSIONS LIST VIEW
|
|
=========================== */
|
|
.wpaw-sessions-list-view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
padding: 1rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpaw-view-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 14px;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.wpaw-sessions-header-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-sessions-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
margin: 0;
|
|
}
|
|
|
|
.wpaw-new-conversation-btn {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.wpaw-sessions-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wpaw-no-sessions {
|
|
text-align: center;
|
|
color: var(--aw-on-surface-variant);
|
|
padding: 2rem;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ===========================
|
|
UNCOMPLETED SESSIONS PANEL
|
|
=========================== */
|
|
.wpaw-uncompleted-sessions {
|
|
margin-top: 2rem;
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.wpaw-sessions-header {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 0.75rem;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-session-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 12px;
|
|
background: var(--aw-surface-container-low);
|
|
border: 1px solid var(--aw-outline-subtle);
|
|
border-radius: var(--aw-radius-md);
|
|
margin-bottom: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.wpaw-session-item:hover {
|
|
background: var(--aw-surface-container);
|
|
border-color: var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-session-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpaw-session-title {
|
|
font-size: 13px;
|
|
color: var(--aw-on-surface);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.wpaw-session-meta {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-session-delete {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
line-height: 1;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.wpaw-session-delete:hover {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
/* ===========================
|
|
CONTEXTUAL ACTION CARDS
|
|
=========================== */
|
|
.wpaw-contextual-action {
|
|
display: flex;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background: var(--aw-surface-container-low);
|
|
border: 2px dashed var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
margin: 1rem 0;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-action-icon {
|
|
font-size: 2rem;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-action-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-action-content h4 {
|
|
margin: 0 0 0.25rem 0;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-action-content p {
|
|
margin: 0 0 0.75rem 0;
|
|
color: var(--aw-on-surface-variant);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.wpaw-action-content .components-button {
|
|
background: var(--aw-surface-container-lowest) !important;
|
|
color: var(--aw-primary) !important;
|
|
border: none !important;
|
|
font-weight: 600 !important;
|
|
padding: 0.5rem 1rem !important;
|
|
}
|
|
|
|
.wpaw-action-content .components-button:hover {
|
|
background: var(--aw-surface-container-high) !important;
|
|
color: var(--aw-primary-container) !important;
|
|
}
|
|
|
|
/* Variant for different intent types */
|
|
.wpaw-contextual-action.intent-create-outline {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--aw-primary) 0%,
|
|
var(--aw-primary-container) 100%
|
|
);
|
|
color: var(--aw-on-primary);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.wpaw-contextual-action.intent-start-writing {
|
|
background: linear-gradient(135deg, var(--aw-error) 0%, #8a1e1e 100%);
|
|
color: var(--aw-on-primary);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.wpaw-contextual-action.intent-refine-content {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--aw-primary) 0%,
|
|
var(--aw-tertiary-container) 100%
|
|
);
|
|
color: var(--aw-on-primary);
|
|
border-color: transparent;
|
|
}
|
|
|
|
/* ===========================
|
|
INFO MESSAGE STYLES
|
|
=========================== */
|
|
.wpaw-ai-item[data-type="info"] {
|
|
background: var(--aw-primary-fixed);
|
|
border-left: 4px solid var(--aw-primary);
|
|
padding: 0.75rem 1rem;
|
|
margin: 0.5rem 0;
|
|
border-radius: var(--aw-radius);
|
|
}
|
|
|
|
.wpaw-ai-item[data-type="info"] .wpaw-ai-content {
|
|
color: var(--aw-on-surface);
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ===========================
|
|
SMOOTH TRANSITIONS
|
|
=========================== */
|
|
.wpaw-writing-empty-state,
|
|
.wpaw-context-indicator,
|
|
.wpaw-contextual-action {
|
|
animation: fadeInUp 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* ===========================
|
|
P2: TYPING ANIMATION
|
|
=========================== */
|
|
@keyframes wpaw-typewriter-cursor {
|
|
0%,
|
|
100% {
|
|
border-color: transparent;
|
|
}
|
|
|
|
50% {
|
|
border-color: var(--aw-primary);
|
|
}
|
|
}
|
|
|
|
.wpaw-typing-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px 12px;
|
|
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-typing-dots {
|
|
display: inline-flex;
|
|
gap: 3px;
|
|
}
|
|
|
|
.wpaw-typing-dots span {
|
|
width: 5px;
|
|
height: 5px;
|
|
background: var(--aw-primary);
|
|
border-radius: 50%;
|
|
animation: wpaw-typing-bounce 1.2s infinite;
|
|
}
|
|
|
|
.wpaw-typing-dots span:nth-child(2) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.wpaw-typing-dots span:nth-child(3) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
@keyframes wpaw-typing-bounce {
|
|
0%,
|
|
60%,
|
|
100% {
|
|
transform: translateY(0);
|
|
opacity: 0.4;
|
|
}
|
|
|
|
30% {
|
|
transform: translateY(-4px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* P3: KEYBOARD HINTS */
|
|
.wpaw-keyboard-hints {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 6px 0 0;
|
|
|
|
font-size: 10px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-kbd {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.wpaw-kbd kbd {
|
|
background: var(--aw-surface-container);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-sm);
|
|
padding: 1px 4px;
|
|
|
|
font-size: 10px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
/* ===================================
|
|
PROACTIVE SUGGESTIONS UI
|
|
=================================== */
|
|
|
|
.wpaw-suggestions-banner {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--aw-primary) 0%,
|
|
var(--aw-primary-container) 100%
|
|
);
|
|
border-radius: var(--aw-radius-lg);
|
|
margin: 8px 12px;
|
|
padding: 12px;
|
|
border: 1px solid rgba(0, 73, 113, 0.2);
|
|
box-shadow: var(--aw-shadow-sm);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-suggestion-analyzing {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--aw-on-primary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-suggestion-icon {
|
|
font-size: 16px;
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.wpaw-suggestion-item {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: var(--aw-radius-md);
|
|
margin-bottom: 8px;
|
|
padding: 10px;
|
|
border-left: 3px solid var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-suggestion-item.wpaw-priority-high {
|
|
border-left-color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-suggestion-item.wpaw-priority-medium {
|
|
border-left-color: #f97316;
|
|
}
|
|
|
|
.wpaw-suggestion-item.wpaw-priority-low {
|
|
border-left-color: var(--aw-tertiary-container);
|
|
}
|
|
|
|
.wpaw-suggestion-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-suggestion-type-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.wpaw-suggestion-location {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-suggestion-priority {
|
|
font-size: 9px;
|
|
padding: 2px 6px;
|
|
border-radius: var(--aw-radius-full);
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-suggestion-priority:empty {
|
|
display: none;
|
|
}
|
|
|
|
.wpaw-suggestion-content {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-suggestion-issue {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin: 0 0 4px 0;
|
|
}
|
|
|
|
.wpaw-suggestion-text {
|
|
font-size: 12px;
|
|
color: var(--aw-on-primary);
|
|
margin: 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
.wpaw-suggestion-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wpaw-suggestion-actions .wpaw-btn {
|
|
flex: 1;
|
|
padding: 6px 12px;
|
|
border: none;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.wpaw-suggestion-actions .wpaw-btn:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.wpaw-suggestion-actions .wpaw-btn-apply {
|
|
background: var(--aw-tertiary-container);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-suggestion-actions .wpaw-btn-dismiss {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-suggestion-dismiss-all {
|
|
width: 100%;
|
|
padding: 8px;
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: var(--aw-radius);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.wpaw-suggestion-dismiss-all:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* ===================================
|
|
COMMAND PALETTE (Cmd+Shift+P)
|
|
=================================== */
|
|
|
|
.wpaw-command-palette-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(21, 28, 36, 0.5);
|
|
z-index: 100000;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
padding-top: 15vh;
|
|
}
|
|
|
|
.wpaw-command-palette {
|
|
width: 500px;
|
|
max-width: 90vw;
|
|
background: var(--aw-surface-container-lowest);
|
|
border-radius: var(--aw-radius-xl);
|
|
box-shadow:
|
|
0 20px 60px rgba(0, 0, 0, 0.15),
|
|
0 0 0 1px var(--aw-outline-variant);
|
|
overflow: hidden;
|
|
animation: wpaw-palette-slide-in 0.15s ease-out;
|
|
}
|
|
|
|
@keyframes wpaw-palette-slide-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px) scale(0.95);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.wpaw-command-palette-input {
|
|
width: 100%;
|
|
background: transparent;
|
|
border: none;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface);
|
|
font-size: 16px;
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
outline: none;
|
|
}
|
|
|
|
.wpaw-command-palette-input::placeholder {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-command-palette-results {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wpaw-command-palette-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 20px;
|
|
cursor: pointer;
|
|
transition: background 0.1s;
|
|
}
|
|
|
|
.wpaw-command-palette-item:hover,
|
|
.wpaw-command-palette-item.selected {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-command-palette-item.selected {
|
|
background: var(--aw-primary-fixed);
|
|
}
|
|
|
|
.wpaw-command-icon {
|
|
font-size: 18px;
|
|
width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-command-label {
|
|
font-size: 14px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* Scrollbar for command palette */
|
|
.wpaw-command-palette-results::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.wpaw-command-palette-results::-webkit-scrollbar-track {
|
|
background: var(--aw-surface-container-lowest);
|
|
}
|
|
|
|
.wpaw-command-palette-results::-webkit-scrollbar-thumb {
|
|
background: var(--aw-surface-container-high);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.wpaw-command-palette-results::-webkit-scrollbar-thumb:hover {
|
|
background: var(--aw-outline-variant);
|
|
}
|
|
|
|
/* ===================================
|
|
PER-ACTION ACCEPT/REJECT
|
|
=================================== */
|
|
|
|
.wpaw-edit-plan-item {
|
|
padding: 10px 12px;
|
|
background: var(--aw-surface-container-low);
|
|
border-radius: var(--aw-radius-md);
|
|
margin-bottom: 8px;
|
|
border-left: 3px solid var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-edit-plan-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-edit-plan-action-type {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-edit-plan-item-buttons {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wpaw-edit-plan-accept-btn,
|
|
.wpaw-edit-plan-reject-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.wpaw-edit-plan-accept-btn {
|
|
background: var(--aw-tertiary-container);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-edit-plan-accept-btn:hover {
|
|
background: #008622;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.wpaw-edit-plan-reject-btn {
|
|
background: var(--aw-surface-container);
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-edit-plan-reject-btn:hover {
|
|
background: var(--aw-error);
|
|
color: var(--aw-on-primary);
|
|
}
|
|
|
|
.wpaw-edit-plan-item-before,
|
|
.wpaw-edit-plan-item-after {
|
|
font-size: 11px;
|
|
margin: 4px 0;
|
|
padding: 6px 8px;
|
|
border-radius: var(--aw-radius-sm);
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-before {
|
|
background-color: rgba(220, 38, 38, 0.1);
|
|
color: var(--aw-error);
|
|
border-left-color: var(--aw-error);
|
|
text-decoration: line-through;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-after {
|
|
background-color: rgba(16, 185, 129, 0.1);
|
|
color: #10b981;
|
|
border-left-color: #10b981;
|
|
}
|
|
|
|
.wpaw-diff-marker {
|
|
font-weight: bold;
|
|
user-select: none;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-target {
|
|
background: transparent;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
color: var(--aw-on-surface-variant);
|
|
padding: 4px 8px;
|
|
border-radius: var(--aw-radius);
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.wpaw-edit-plan-item-target:hover:not(:disabled) {
|
|
background: var(--aw-surface-container-low);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
/* ===================================
|
|
Block Outline Panel
|
|
=================================== */
|
|
|
|
.wpaw-outline-panel {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 280px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border-left: 1px solid var(--aw-outline-variant);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 100;
|
|
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.wpaw-outline-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: var(--aw-surface-container-low);
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-outline-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-outline-close {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: none;
|
|
background: var(--aw-surface-container);
|
|
color: var(--aw-on-surface-variant);
|
|
border-radius: var(--aw-radius);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.wpaw-outline-close:hover {
|
|
background: var(--aw-surface-container-high);
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-outline-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.wpaw-outline-empty {
|
|
padding: 24px 16px;
|
|
text-align: center;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wpaw-outline-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 16px;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
border-bottom: 1px solid var(--aw-outline-subtle);
|
|
}
|
|
|
|
.wpaw-outline-item:hover {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-outline-item.wpaw-outline-heading {
|
|
background: rgba(0, 108, 28, 0.05);
|
|
}
|
|
|
|
.wpaw-outline-item.wpaw-outline-heading:hover {
|
|
background: rgba(0, 108, 28, 0.1);
|
|
}
|
|
|
|
.wpaw-outline-item.wpaw-outline-heading[level="2"] {
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.wpaw-outline-item.wpaw-outline-heading[level="3"] {
|
|
padding-left: 28px;
|
|
}
|
|
|
|
.wpaw-outline-item.wpaw-outline-heading[level="4"] {
|
|
padding-left: 40px;
|
|
}
|
|
|
|
.wpaw-outline-icon {
|
|
font-size: 14px;
|
|
margin-right: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-outline-label {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
font-weight: 500;
|
|
min-width: 50px;
|
|
}
|
|
|
|
.wpaw-outline-text {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface);
|
|
margin-left: 8px;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wpaw-outline-count {
|
|
font-size: 10px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.wpaw-outline-footer {
|
|
padding: 10px 16px;
|
|
background: var(--aw-surface-container-low);
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
text-align: center;
|
|
}
|
|
|
|
.wpaw-outline-stats {
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
/* ===================================
|
|
User Preferences Section in Config
|
|
=================================== */
|
|
|
|
.wpaw-config-divider {
|
|
padding: 12px 0;
|
|
margin: 16px 0;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface-variant);
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.wpaw-input {
|
|
padding: 8px 12px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius);
|
|
color: var(--aw-on-surface);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wpaw-input:focus {
|
|
outline: none;
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
/* ===================================
|
|
Provider Transparency Display
|
|
=================================== */
|
|
|
|
.wpaw-provider-info {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 11px;
|
|
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.wpaw-provider-info:hover {
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-provider-badge {
|
|
margin-left: 2px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.wpaw-provider-badge[title*="warning"],
|
|
.wpaw-provider-badge[title*="Warning"],
|
|
.wpaw-provider-info:has(.wpaw-fallback) {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
/* ===========================
|
|
AUDIT FIXES: Mode Indicator Badge
|
|
=========================== */
|
|
|
|
/* Override WordPress editor-sidebar h3 shrinkage inside our panel */
|
|
#wp-agentic-writer\:wp-agentic-writer .interface-complementary-area h3,
|
|
#wp-agentic-writer\:wp-agentic-writer h3,
|
|
.wpaw-response-content h3,
|
|
.wpaw-messages-inner h3 {
|
|
font-size: 15px !important;
|
|
text-transform: none !important;
|
|
font-weight: 700 !important;
|
|
color: var(--aw-on-surface) !important;
|
|
margin-bottom: 0.5em !important;
|
|
letter-spacing: normal !important;
|
|
}
|
|
|
|
.wpaw-response-content h1 {
|
|
font-size: 20px !important;
|
|
color: var(--aw-on-surface) !important;
|
|
font-weight: bold;
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.wpaw-response-content h2 {
|
|
font-size: 17px !important;
|
|
color: var(--aw-on-surface) !important;
|
|
font-weight: bold;
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.wpaw-response-content h4,
|
|
.wpaw-response-content h5,
|
|
.wpaw-response-content h6 {
|
|
font-size: 13px !important;
|
|
color: var(--aw-on-surface-variant) !important;
|
|
}
|
|
|
|
.wpaw-response-content table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
.wpaw-response-content table th,
|
|
table td {
|
|
border: 1px solid var(--aw-outline-variant) !important;
|
|
padding: 4px 6px;
|
|
}
|
|
|
|
.wpaw-mode-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 3px 10px;
|
|
border-radius: var(--aw-radius-full);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wpaw-mode-badge.mode-chat {
|
|
background: var(--aw-primary-fixed);
|
|
color: var(--aw-primary);
|
|
border: 1px solid rgba(0, 73, 113, 0.25);
|
|
}
|
|
|
|
.wpaw-mode-badge.mode-planning {
|
|
background: rgba(219, 166, 23, 0.12);
|
|
color: #9a7b10;
|
|
border: 1px solid rgba(219, 166, 23, 0.25);
|
|
}
|
|
|
|
.wpaw-mode-badge.mode-writing {
|
|
background: rgba(0, 108, 28, 0.12);
|
|
color: var(--aw-tertiary);
|
|
border: 1px solid rgba(0, 108, 28, 0.25);
|
|
}
|
|
|
|
/* ===========================
|
|
AUDIT FIXES: Streaming Heartbeat
|
|
=========================== */
|
|
.wpaw-heartbeat-notice {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
margin: 8px 0;
|
|
background: rgba(219, 166, 23, 0.08);
|
|
border: 1px solid rgba(219, 166, 23, 0.2);
|
|
border-radius: var(--aw-radius-lg);
|
|
font-size: 12px;
|
|
color: #9a7b10;
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
.wpaw-heartbeat-notice .wpaw-heartbeat-icon {
|
|
animation: pulse-ring 2s infinite;
|
|
}
|
|
|
|
/* ===========================
|
|
AUDIT FIXES: Slash Command Hint
|
|
=========================== */
|
|
.wpaw-input-hint {
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 12px;
|
|
right: 12px;
|
|
padding: 6px 10px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-bottom: none;
|
|
border-radius: var(--aw-radius-lg) var(--aw-radius-lg) 0 0;
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
z-index: 0;
|
|
transition:
|
|
transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
|
|
opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
|
|
visibility 0.3s;
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.wpaw-input-hint.is-hidden {
|
|
transform: translateY(100%);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.wpaw-input-hint kbd {
|
|
background: var(--aw-surface-container);
|
|
color: var(--aw-on-surface-variant);
|
|
padding: 1px 5px;
|
|
border-radius: 3px;
|
|
font-size: 10px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
/* ===========================
|
|
AUDIT FIXES: Provider Fallback Warning
|
|
=========================== */
|
|
.wpaw-provider-warning {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
margin: 8px 0;
|
|
background: rgba(249, 115, 22, 0.08);
|
|
border: 1px solid rgba(249, 115, 22, 0.2);
|
|
border-left: 3px solid #f97316;
|
|
border-radius: var(--aw-radius-lg);
|
|
font-size: 12px;
|
|
color: #c2410c;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wpaw-provider-warning a {
|
|
color: #f97316;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* ===========================
|
|
AUDIT FIXES: DB Health Notice
|
|
=========================== */
|
|
.wpaw-health-notice {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
margin: 8px 0;
|
|
background: rgba(186, 26, 26, 0.06);
|
|
border: 1px solid rgba(186, 26, 26, 0.2);
|
|
border-radius: var(--aw-radius-lg);
|
|
font-size: 12px;
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-health-notice a {
|
|
color: var(--aw-error);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* ===========================
|
|
AUDIT FIXES: Confirm Modal for Writing
|
|
=========================== */
|
|
.wpaw-write-confirm-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1200;
|
|
background: rgba(21, 28, 36, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
animation: fadeIn 0.2s ease;
|
|
}
|
|
|
|
.wpaw-write-confirm-modal {
|
|
width: 100%;
|
|
max-width: 380px;
|
|
background: var(--aw-surface-container-lowest);
|
|
color: var(--aw-on-surface);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-xl);
|
|
padding: 20px;
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.wpaw-write-confirm-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-write-confirm-body {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.wpaw-write-confirm-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ===========================
|
|
AUDIT FIXES: Response content
|
|
=========================== */
|
|
.wpaw-response-content {
|
|
line-height: 1.6;
|
|
word-wrap: break-word;
|
|
white-space: normal;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-response-content > * {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.wpaw-response-content p {
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.wpaw-response-content p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Plan section title */
|
|
.wpaw-plan-section-title {
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-plan-section-desc {
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Config summary */
|
|
.wpaw-plan-config-summary {
|
|
margin-bottom: 12px;
|
|
padding: 10px 12px;
|
|
background: var(--aw-surface-container);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.wpaw-config-summary-item {
|
|
color: var(--aw-on-surface-variant);
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
system-ui,
|
|
sans-serif;
|
|
margin-bottom: 4px;
|
|
font-size: 11.5px;
|
|
}
|
|
|
|
.wpaw-config-summary-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* =========================================================================
|
|
BOTTOM TAB BAR
|
|
========================================================================= */
|
|
|
|
.wpaw-bottom-tab-bar {
|
|
display: flex;
|
|
align-items: stretch;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
background: var(--aw-surface-container-lowest);
|
|
flex-shrink: 0;
|
|
position: sticky;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.wpaw-bottom-tab-btn {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
padding: 8px 4px 10px;
|
|
background: transparent;
|
|
border: none;
|
|
border-top: 2px solid transparent;
|
|
cursor: pointer;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
Roboto,
|
|
sans-serif;
|
|
letter-spacing: 0.02em;
|
|
transition:
|
|
color var(--aw-transition-fast),
|
|
border-color var(--aw-transition-fast),
|
|
background var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-bottom-tab-btn:hover {
|
|
color: var(--aw-primary);
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-bottom-tab-btn.active {
|
|
color: var(--aw-primary);
|
|
border-top-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-bottom-tab-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wpaw-bottom-tab-icon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.wpaw-bottom-tab-label {
|
|
line-height: 1;
|
|
}
|
|
|
|
/* =========================================================================
|
|
AUTOCOMPLETE DROPDOWNS (theme-correct)
|
|
========================================================================= */
|
|
|
|
.wpaw-mention-autocomplete {
|
|
background: var(--aw-surface-container-lowest) !important;
|
|
border: 1px solid var(--aw-outline-variant) !important;
|
|
border-radius: var(--aw-radius-md);
|
|
box-shadow: var(--aw-shadow-sm);
|
|
}
|
|
|
|
.wpaw-mention-option {
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-mention-option:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.wpaw-mention-option.selected,
|
|
.wpaw-mention-option:hover {
|
|
background: var(--aw-surface-container-low) !important;
|
|
}
|
|
|
|
.wpaw-mention-option strong {
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-mention-option span {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
/* =========================================================================
|
|
HISTORY TAB
|
|
========================================================================= */
|
|
|
|
.wpaw-history-tab {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
.wpaw-history-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 16px 12px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-history-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-history-count {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-history-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px 24px;
|
|
text-align: center;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-history-empty p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wpaw-history-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.wpaw-history-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
border-radius: var(--aw-radius-md);
|
|
cursor: pointer;
|
|
transition: background var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-history-item:hover {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-history-item.active {
|
|
background: var(--aw-primary-fixed);
|
|
border: 1px solid var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-history-item-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.wpaw-history-item-title {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wpaw-history-item-meta {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.wpaw-history-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-history-restore-btn {
|
|
padding: 4px 12px;
|
|
border-radius: var(--aw-radius-full);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
background: var(--aw-surface-container-lowest);
|
|
color: var(--aw-primary);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
transition:
|
|
background var(--aw-transition-fast),
|
|
border-color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-history-restore-btn:hover {
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-history-item.active .wpaw-history-restore-btn {
|
|
background: var(--aw-primary);
|
|
color: var(--aw-on-primary);
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-history-delete-btn {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--aw-radius-full);
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--aw-on-surface-variant);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
transition:
|
|
background var(--aw-transition-fast),
|
|
color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-history-delete-btn:hover {
|
|
background: var(--aw-error-container);
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
/* =========================================================================
|
|
INSIGHTS TAB
|
|
========================================================================= */
|
|
|
|
.wpaw-insights-tab {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
.wpaw-insights-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 16px 12px;
|
|
border-bottom: 1px solid var(--aw-outline-variant);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-insights-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-insights-refresh-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--aw-radius-full);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
background: transparent;
|
|
color: var(--aw-on-surface-variant);
|
|
cursor: pointer;
|
|
transition:
|
|
background var(--aw-transition-fast),
|
|
color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-insights-refresh-btn:hover {
|
|
background: var(--aw-surface-container-low);
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-insights-card {
|
|
margin: 12px 16px;
|
|
padding: 16px;
|
|
background: var(--aw-surface-container-lowest);
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-lg);
|
|
}
|
|
|
|
.wpaw-insights-card-title {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.05em;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wpaw-insights-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.wpaw-insights-stat {
|
|
text-align: center;
|
|
padding: 8px;
|
|
background: var(--aw-surface-container-low);
|
|
border-radius: var(--aw-radius-md);
|
|
}
|
|
|
|
.wpaw-insights-stat-value {
|
|
display: block;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-insights-stat-label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.wpaw-insights-budget-section {
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--aw-outline-variant);
|
|
}
|
|
|
|
.wpaw-insights-budget-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
color: var(--aw-on-surface-variant);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wpaw-budget-warning {
|
|
margin-top: 8px;
|
|
padding: 8px 12px;
|
|
border-radius: var(--aw-radius-md);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.wpaw-budget-warning.ok {
|
|
background: var(--aw-surface-container-low);
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-budget-warning.warning {
|
|
background: rgba(217, 119, 6, 0.1);
|
|
color: #92400e;
|
|
}
|
|
|
|
.wpaw-budget-warning.danger {
|
|
background: var(--aw-error-container);
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-insights-budget-fill.ok {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--aw-tertiary),
|
|
var(--aw-tertiary-container)
|
|
);
|
|
}
|
|
|
|
.wpaw-insights-budget-fill.warning {
|
|
background: linear-gradient(90deg, #d97706, #f59e0b);
|
|
}
|
|
|
|
.wpaw-insights-budget-fill.danger {
|
|
background: linear-gradient(90deg, var(--aw-error), #ef5350);
|
|
}
|
|
|
|
.wpaw-insights-budget-track {
|
|
height: 6px;
|
|
background: var(--aw-surface-container);
|
|
border-radius: var(--aw-radius-full);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpaw-insights-budget-fill {
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--aw-tertiary),
|
|
var(--aw-tertiary-container)
|
|
);
|
|
border-radius: var(--aw-radius-full);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.wpaw-insights-activity-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.wpaw-insights-activity-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 10px;
|
|
border-radius: var(--aw-radius);
|
|
}
|
|
|
|
.wpaw-insights-activity-item:nth-child(even) {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-insights-activity-action {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface);
|
|
}
|
|
|
|
.wpaw-insights-activity-cost {
|
|
font-size: 12px;
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-insights-footer {
|
|
padding: 12px 16px 16px;
|
|
}
|
|
|
|
.wpaw-insights-settings-link {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-md);
|
|
background: transparent;
|
|
color: var(--aw-primary);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
text-align: center;
|
|
transition:
|
|
background var(--aw-transition-fast),
|
|
border-color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-insights-settings-link:hover {
|
|
background: var(--aw-surface-container-low);
|
|
border-color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-insights-audit-btn {
|
|
padding: 6px 14px;
|
|
border: 1px solid var(--aw-primary);
|
|
border-radius: var(--aw-radius-md);
|
|
background: transparent;
|
|
color: var(--aw-primary);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition:
|
|
background 150ms ease,
|
|
border-color 150ms ease;
|
|
}
|
|
|
|
.wpaw-insights-audit-btn:hover {
|
|
background: var(--aw-surface-container-low);
|
|
}
|
|
|
|
.wpaw-insights-audit-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* =========================================================================
|
|
SVG ICON HELPERS (currentcolor)
|
|
========================================================================= */
|
|
|
|
.wpaw-spinning-icon {
|
|
animation: wpaw-spin 1s linear infinite;
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-spinning-icon svg {
|
|
color: inherit;
|
|
}
|
|
|
|
.wpaw-svg-wrapper svg {
|
|
color: var(--aw-on-surface-variant);
|
|
}
|
|
|
|
.wpaw-refresh-btn {
|
|
color: var(--aw-on-surface-variant);
|
|
background: transparent;
|
|
border: 1px solid var(--aw-outline-variant);
|
|
border-radius: var(--aw-radius-full);
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition:
|
|
background var(--aw-transition-fast),
|
|
color var(--aw-transition-fast);
|
|
}
|
|
|
|
.wpaw-refresh-btn:hover {
|
|
background: var(--aw-surface-container-low);
|
|
color: var(--aw-primary);
|
|
}
|
|
|
|
.wpaw-refresh-btn svg {
|
|
color: inherit;
|
|
}
|
|
|
|
/* Error message action links */
|
|
.wpaw-message-error a,
|
|
.wpaw-message a[rel="noopener"] {
|
|
color: var(--aw-error);
|
|
}
|
|
|
|
.wpaw-message-error a:hover,
|
|
.wpaw-message a[rel="noopener"]:hover {
|
|
color: var(--aw-error);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* =========================================================================
|
|
TAB CONTENT WRAPPER FIX — ensure bottom bar stays fixed
|
|
========================================================================= */
|
|
|
|
.wpaw-tab-content-wrapper {
|
|
position: relative;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.wpaw-tab-content {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Top bar Undo Button Styling */
|
|
.wpaw-status-icon-btn.wpaw-undo-btn {
|
|
color: var(--aw-primary);
|
|
position: relative;
|
|
background: transparent;
|
|
}
|
|
.wpaw-status-icon-btn.wpaw-undo-btn::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #38bdf8; /* Bright sky blue to pop against dark headers */
|
|
border-radius: 50%;
|
|
border: 2px solid var(--aw-surface-container);
|
|
}
|
|
.wpaw-status-icon-btn.wpaw-undo-btn:hover {
|
|
background: var(--aw-surface-container-high);
|
|
}
|
|
|
|
.wpaw-inline-undo-btn:hover {
|
|
background: var(--aw-primary-container) !important;
|
|
}
|
|
/**
|
|
* WP Agentic Writer - Editor Styles
|
|
*
|
|
* @package WP_Agentic_Writer
|
|
*/
|
|
|
|
/* Image Placeholders in Editor */
|
|
.wpaw-image-placeholder {
|
|
margin: 20px 0;
|
|
padding: 0;
|
|
border: 2px dashed #2271b1;
|
|
border-radius: 8px;
|
|
background: #f0f6ff;
|
|
}
|
|
|
|
.wpaw-placeholder-content {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.wpaw-placeholder-icon {
|
|
font-size: 32px;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wpaw-placeholder-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.wpaw-placeholder-text strong {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: #2271b1;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.wpaw-placeholder-text p {
|
|
margin: 0;
|
|
color: #475569;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Editor-specific styles for image placeholders */
|
|
.block-editor-block-list__block .wpaw-image-placeholder {
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.block-editor-block-list__block .wpaw-image-placeholder:hover {
|
|
border-color: #135e96;
|
|
background: #e7f3ff;
|
|
box-shadow: 0 2px 8px rgba(34, 113, 177, 0.1);
|
|
}
|
|
|
|
/* Block Refine Toolbar Button */
|
|
.wpaw-refine-toolbar-button {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.wpaw-refine-toolbar-button button {
|
|
color: #2271b1;
|
|
}
|
|
|
|
.wpaw-refine-toolbar-button button:hover {
|
|
color: #135e96;
|
|
}
|
|
|
|
/* Refine Modal */
|
|
.wpaw-refine-modal .components-modal__content {
|
|
padding: 24px;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.wpaw-refine-modal .components-modal__header {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.wpaw-refine-modal p {
|
|
margin-bottom: 16px;
|
|
color: #475569;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.wpaw-refine-modal .components-textarea-control__input {
|
|
min-height: 100px;
|
|
}
|
|
|
|
.wpaw-refine-modal-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: flex-end;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.wpaw-refine-modal-actions button {
|
|
flex: 0;
|
|
}
|
|
|
|
/* Gutenberg Editor Diff Highlights */
|
|
.block-editor-block-list__block.wpaw-diff-removed,
|
|
.editor-styles-wrapper .wpaw-diff-removed {
|
|
background-color: #f1cbcb !important;
|
|
position: relative;
|
|
padding: 20px !important;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.block-editor-block-list__block.wpaw-diff-removed::before,
|
|
.editor-styles-wrapper .wpaw-diff-removed::before {
|
|
content: "-";
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
transform: translateX(-36px);
|
|
background-color: red;
|
|
color: white;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 2px;
|
|
font-weight: bold;
|
|
font-family: monospace;
|
|
font-size: 16px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.block-editor-block-list__block.wpaw-diff-added,
|
|
.editor-styles-wrapper .wpaw-diff-added {
|
|
background-color: #c9f3c9 !important;
|
|
position: relative;
|
|
padding: 20px !important;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.block-editor-block-list__block.wpaw-diff-added::before,
|
|
.editor-styles-wrapper .wpaw-diff-added::before {
|
|
content: "+";
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
transform: translateX(-36px);
|
|
background-color: green;
|
|
color: white;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 2px;
|
|
font-weight: bold;
|
|
font-family: monospace;
|
|
font-size: 16px;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Active Tab Highlight in Topbar */
|
|
.wpaw-status-icon-btn.is-active {
|
|
background: var(--aw-surface-container-highest);
|
|
color: var(--aw-on-surface);
|
|
}
|