Although not explicitly stated in the documentation, a model has the ability to:
- display image content
- vary in sizes
- take up the entire size of the screen
With some CSS customization, it is possible to achieve the following:
You can experiment with using an image as a background:
<style>
.modal {
background:url('Your path to image') !important;
width:200px !important;
}
</style>
<div class="ui view modal inverted " >
<div class="header" style="background:none;">User Deletion ?</div>
<div class="content" style="background:none;">
<p><?php echo __('Are you sure you want to delete ?'); ?></p>
</div>
<div class="actions" style="background:none;">
<div class="ui cancel button">Cancel</div>
<div class="ui approve button">OK</div>
</div>
</div>
To use a colored background instead:
<div class="ui view modal red inverted segment" >
<div class="header" style="background:none;">User Deletion ?</div>
<div class="content" style="background:none;">
<p><?php echo __('Are you sure you want to delete ?'); ?></p>
</div>
<div class="actions" style="background:none;">
<div class="ui cancel button">Cancel</div>
<div class="ui approve button">OK</div>
</div>
</div>