Modals
Modal
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults. Modals should be easy to digest so that the
user can quickly get back to what they were doing.
Set the initial width of your modal depending on the amount of content you are showing.
The buttons in this example are not included and will have to be added to the blend separately.
CSS
Modifier classes:-
modal-lg
-
modal-sm
LESS
The main mixin is called:_modals(WBC)
-
GUI.modals.init();
-
GUI.modals.toggelModal( _isOpen, $modal, target )
- @param
_isOpen
[boolean] Whether to open or close the modal - @param
$modal
[jquery object] The modal element - @param
target
[string] Selector string to id the modal for opening only
- @param
Modal
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults. Modals should be easy to digest so that the
user can quickly get back to what they were doing.
Set the initial width of your modal depending on the amount of content you are showing.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier classes:-
modal-lg
-
modal-sm
LESS
The main mixin is called:_modals(WBC)
-
GUI.modals.init();
after the page has been loaded. -
GUI.modals.render();
for dynamically added elements after page load. -
GUI.modals.toggelModal( _isOpen, $modal, target )
- @param
_isOpen
[boolean] Whether to open or close the modal - @param
$modal
[jquery object] The modal element - @param
target
[string] Selector string to id the modal for opening only
- @param
Modal
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults. Modals should be easy to digest so that the
user can quickly get back to what they were doing.
Set the initial width of your modal depending on the amount of content you are showing.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier classes:-
modal-lg
-
modal-sm
LESS
The main mixin is called:_modals(WBC)
-
GUI.modals.init();
after the page has been loaded. -
GUI.modals.render();
for dynamically added elements after page load. -
GUI.modals.toggelModal( _isOpen, $modal, target )
- @param
_isOpen
[boolean] Whether to open or close the modal - @param
$modal
[jquery object] The modal element - @param
target
[string] Selector string to id the modal for opening only
- @param
Modal
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults. Modals should be easy to digest so that the
user can quickly get back to what they were doing.
Set the initial width of your modal depending on the amount of content you are showing.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
- The headline in modals was hanging a bit low. We put it up again, tucked it’s shirt in and ironed it’s pants. Now the modal is presentable again. (#219)
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier classes:-
modal-lg
-
modal-sm
LESS
The main mixin is called:_modals(WBC)
-
GUI.modals.init();
after the page has been loaded. -
GUI.modals.render();
for dynamically added elements after page load. -
GUI.modals.toggelModal( _isOpen, $modal, target )
- @param
_isOpen
[boolean] Whether to open or close the modal - @param
$modal
[jquery object] The modal element - @param
target
[string] Selector string to id the modal for opening only
- @param
Modal
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults. Modals should be easy to digest so that the
user can quickly get back to what they were doing.
Set the initial width of your modal depending on the amount of content you are showing.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v2.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- We removed the border around the modal. Why? Because you couldn’t see it. (#240)
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
- The headline in modals was hanging a bit low. We put it up again, tucked it’s shirt in and ironed it’s pants. Now the modal is presentable again. (#219)
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier classes:-
modal-lg
-
modal-sm
LESS
The main mixin is called:_modals(WBC)
-
GUI.modals.init();
after the page has been loaded. -
GUI.modals.render();
for dynamically added elements after page load. -
GUI.modals.toggelModal( _isOpen, $modal, target )
- @param
_isOpen
[boolean] Whether to open or close the modal - @param
$modal
[jquery object] The modal element - @param
target
[string] Selector string to id the modal for opening only
- @param
Popovers
Small overlays of content for housing secondary information. There are two popover options:
Toggle switch: Has a toggle function requiring the user to click on the original trigger to close the overlay. This allows
multiple popovers to be open simultaneously.
Dismissible: Allows the user to click anywhere else on the screen to close the overlay. This allows only one popover to be open at time.
Logic has also been applied to ensure that the popover fits in the viewport on all devices.
The buttons in this example are not included and will have to be added to the blend separately.
Small overlays of content for housing secondary information. There are two popover options:
Toggle switch: Has a toggle function requiring the user to click on the original trigger to close the overlay. This allows
multiple popovers to be open simultaneously.
Dismissible: Allows the user to click anywhere else on the screen to close the overlay. This allows only one popover to be open at time.
Logic has also been applied to ensure that the popover fits in the viewport on all devices.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier class:-
popover-dismissible
LESS
The main mixin is called:_popovers(WBC)
-
GUI.popovers.init();
after the page has been loaded. -
GUI.popovers.render();
for dynamically added elements after page load.
Small overlays of content for housing secondary information. There are two popover options:
Toggle switch: Has a toggle function requiring the user to click on the original trigger to close the overlay. This allows
multiple popovers to be open simultaneously.
Dismissible: Allows the user to click anywhere else on the screen to close the overlay. This allows only one popover to be open at time.
Logic has also been applied to ensure that the popover fits in the viewport on all devices.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier class:-
popover-dismissible
LESS
The main mixin is called:_popovers(WBC)
-
GUI.popovers.init();
after the page has been loaded. -
GUI.popovers.render();
for dynamically added elements after page load.
Small overlays of content for housing secondary information. There are two popover options:
Toggle switch: Has a toggle function requiring the user to click on the original trigger to close the overlay. This allows
multiple popovers to be open simultaneously.
Dismissible: Allows the user to click anywhere else on the screen to close the overlay. This allows only one popover to be open at time.
Logic has also been applied to ensure that the popover fits in the viewport on all devices.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier class:-
popover-dismissible
LESS
The main mixin is called:_popovers(WBC)
-
GUI.popovers.init();
after the page has been loaded. -
GUI.popovers.render();
for dynamically added elements after page load.
Small overlays of content for housing secondary information. There are two popover options:
Toggle switch: Has a toggle function requiring the user to click on the original trigger to close the overlay. This allows
multiple popovers to be open simultaneously.
Dismissible: Allows the user to click anywhere else on the screen to close the overlay. This allows only one popover to be open at time.
Logic has also been applied to ensure that the popover fits in the viewport on all devices.
The buttons in this example are not included and will have to be added to the blend separately.
What’s new since v2.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- The popover demanded space in the flow on initial page load. Really that didn’t make any sense as the popover was hidden at first and hidden things don’t need no space in the flow. No more space flowing! (#203)
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:HTML
,
JS
but not:
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
CSS
Modifier class:-
popover-dismissible
LESS
The main mixin is called:_popovers(WBC)
-
GUI.popovers.init();
after the page has been loaded. -
GUI.popovers.render();
for dynamically added elements after page load.
Tooltips
Tool tips display when a hover event is triggered. On small devices the information is displayed inline.
What’s new since v1.0.0
This version changed:JS
but not:
HTML
,
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
LESS
The main mixin is called:_tooltips(WBC)
-
GUI.tooltips.init();
after the page has been loaded. -
GUI.tooltips.render();
for dynamically added elements after page load.
Tool tips display when a hover event is triggered. On small devices the information is displayed inline.
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:JS
but not:
HTML
,
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
LESS
The main mixin is called:_tooltips(WBC)
-
GUI.tooltips.init();
after the page has been loaded. -
GUI.tooltips.render();
for dynamically added elements after page load.
Tool tips display when a hover event is triggered. On small devices the information is displayed inline.
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- When attaching tooltips to a button element the tooltip got cut off. We explained to buttons that interrupting a well articulated tooltip is rude. Now tooltips won’t stop in the middle of (#220)
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.1
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
What’s new since v1.0.0
This version changed:JS
but not:
HTML
,
CSS/LESS
- We got word that using our JavaScript in dynamic DOM application was a bit... clunky. Clunky wasn't good enough for us so we refactored all Javascript modules to unclunk all the things. Beware though, some JavaScript classes had to be injected to keep the modules clunk-free. (#140)
LESS
The main mixin is called:_tooltips(WBC)
-
GUI.tooltips.init();
after the page has been loaded. -
GUI.tooltips.render();
for dynamically added elements after page load.