104 lines
1.7 KiB
CSS
104 lines
1.7 KiB
CSS
/**
|
|
* 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;
|
|
}
|