| 1 |
.ai-builder-image { |
| 2 |
max-width: 100%; |
| 3 |
height: auto; |
| 4 |
border-radius: 8px; |
| 5 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| 6 |
} |
| 7 |
|
| 8 |
.wp-block-ai-builder-image-ia { |
| 9 |
margin: 1em 0; |
| 10 |
position: relative; |
| 11 |
} |
| 12 |
|
| 13 |
.wp-block-ai-builder-image-ia .ai-builder-image { |
| 14 |
max-width: 100%; |
| 15 |
height: auto; |
| 16 |
border-radius: 8px; |
| 17 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| 18 |
display: block; |
| 19 |
} |
| 20 |
|
| 21 |
.wp-block-ai-builder-image-ia .image-preview { |
| 22 |
position: relative; |
| 23 |
display: inline-block; |
| 24 |
} |
| 25 |
|
| 26 |
.wp-block-ai-builder-image-ia .remove-image { |
| 27 |
position: absolute; |
| 28 |
top: 10px; |
| 29 |
right: 10px; |
| 30 |
background: rgba(255, 255, 255, 0.9) !important; |
| 31 |
} |
| 32 |
|
| 33 |
.wp-block-ai-builder-image-ia .image-controls { |
| 34 |
display: flex; |
| 35 |
flex-direction: column; |
| 36 |
gap: 10px; |
| 37 |
padding: 20px; |
| 38 |
background: #f8f9fa; |
| 39 |
border-radius: 8px; |
| 40 |
text-align: center; |
| 41 |
} |
| 42 |
|
| 43 |
.wp-block-ai-builder-image-ia .generate-button { |
| 44 |
width: 100%; |
| 45 |
justify-content: center; |
| 46 |
} |
| 47 |
|
| 48 |
.wp-block-ai-builder-image-ia .error-message { |
| 49 |
color: #d63638; |
| 50 |
margin-top: 10px; |
| 51 |
padding: 10px; |
| 52 |
background: #f8d7da; |
| 53 |
border-radius: 4px; |
| 54 |
} |
| 55 |
|
| 56 |
@media (min-width: 600px) { |
| 57 |
.wp-block-ai-builder-image-ia .image-controls { |
| 58 |
flex-direction: row; |
| 59 |
justify-content: center; |
| 60 |
} |
| 61 |
|
| 62 |
.wp-block-ai-builder-image-ia .generate-button { |
| 63 |
width: auto; |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
.wp-block-ai-builder-image-ia .components-button { |
| 68 |
margin: 5px; |
| 69 |
} |