Summary of features

Add contextual and/or associational hints to your modals by assigning a single colour class to the modal parent element e.g. blue for information or purple for forms. When applied, this single class will change the colouring of the modal's body, header, footer, text - even the colour of default buttons. Choose from twelve colours (ten named and two for branding), each of which can be altered via a single SASS variable. Vertically centre standard Bootstrap modals by assigning a single additional css class to the modal (CSS solution - no javascript used).

At a glance

  • Add contextual and/or associational colouring to your modals.
  • Style all the main elements with just a single colour class.
  • Choose from up to ten named and two branding colour-sets.
  • All colour-sets based on single SASS-variable base colours.

Demos:

Centred:

Add .modal-v-centre to the modal element to have it vertically centre on devices wider than 768px .modal.modal-v-centre (CSS solution - no javascript used).

Demos:

Bootstrap Modal styled with .modal-brand1

Modal with brand1 class applied to modal only .modal.modal-brand1

Demo:

Bootstrap Modal styled with .modal-brand2

Modal with brand2 class applied to modal only .modal.modal-brand2

Demo:

Bootstrap Modal styled with .modal-blue

Modal with blue class applied to modal only .modal.modal-blue

Demo:

Bootstrap Modal styled with .modal-yellow

Modal with yellow class applied to modal only .modal.modal-yellow

Demo:

Bootstrap Modal styled with .modal-red

Modal with red class applied to modal only .modal.modal-red

Demo:

Bootstrap Modal styled with .modal-green

Modal with green class applied to modal only .modal.modal-green

Demo:

Bootstrap Modal styled with .modal-orange

Modal with orange class applied to modal only .modal.modal-orange

Demo:

Bootstrap Modal styled with .modal-purple

Modal with purple class applied to modal only .modal.modal-purple

Demo:

Bootstrap Modal styled with .modal-gold

Modal with gold class applied to modal only .modal.modal-gold

Demo:

Bootstrap Modal styled with .modal-bronze

Modal with bronze class applied to modal only .modal.modal-bronze

Demo:

Bootstrap Modal styled with .modal-silver

Modal with silver class applied to modal only .modal.modal-silver

Demo:

Bootstrap Modal styled with .modal-grey

Modal with grey class applied to modal only .modal.modal-grey

Demo:

Demos: