This is where custom Manta components should go. For the most part we should be able to use standard components. If we can't, hopefully we can create new components here that use the bootstrap variables and mostly just compose new components from existing ones.
Components
Inline Delete Confirmation
This element is simply a re-purposed carousel used as means of prompting the user to confirm deletion of an object.
The biggest changes here entail ditching the nav dots and the left/right navigation controls and binding the next/previous slide commands to the Delete and Cancel buttons within the carousel.
A generic bootstrap dialog with a fancy Manta header, using icon-manta (or any other icon). Add a bg-* class to the modal-header to color the header, and a heading tag (h1 through h6) with classes modal-title icon-title inside that for spacing.
Just like the normal bootstrap popovers but with contextual background classes applied. It's kind of a combination of a popover and an alert.
With Titles
Without Titles
With Titles
<button class="btn btn-primary btn-lg popover-danger" type="button" data-toggle="popover" data-placement="top" data-content="Popover with popover-danger class and a title" data-title="Popover Danger">Popover Danger</button>
<button class="btn btn-primary btn-lg popover-warning" type="button" data-toggle="popover" data-placement="top" data-content="Popover with popover-warning class and a title" data-title="Popover Warning">Popover Warning</button>
<button class="btn btn-primary btn-lg popover-info" type="button" data-toggle="popover" data-placement="top" data-content="Popover with popover-info class and a title" data-title="Popover Info">Popover Info</button>
<button class="btn btn-primary btn-lg popover-success" type="button" data-toggle="popover" data-placement="top" data-content="Popover with popover-success class and a title" data-title="Popover Success">Popover Success</button>
Without Titles
<button class="btn btn-primary btn-lg popover-danger" type="button" data-toggle="popover" data-placement="bottom" data-content="Popover with popover-danger class and no title">Popover Danger</button>
<button class="btn btn-primary btn-lg popover-warning" type="button" data-toggle="popover" data-placement="bottom" data-content="Popover with popover-warning class and no title">Popover Warning</button>
<button class="btn btn-primary btn-lg popover-info" type="button" data-toggle="popover" data-placement="bottom" data-content="Popover with popover-info class and no title">Popover Info</button>
<button class="btn btn-primary btn-lg popover-success" type="button" data-toggle="popover" data-placement="bottom" data-content="Popover with popover-success class and no title">Popover Success</button>
Helpers
.ellipsis
Add text-overflow ellipsis to any element you need to truncate.
This text will be truncated at 300px. Lorem ibsum
Just add the ellipsis class to an element. Make sure you set the max-width to tell it when to start truncating.
<span class="ellipsis" style="max-width: 300px">This text will be truncated at 300px. Lorem ibsum</span>
.btn-row
You know how side-by-side bootstrap buttons never look quite right? That ends today. Just put them in a div with the .btn-row class.