Loading...

Buttons View all kinds of Buttons examples below.

Buttons

Using the Supina Framework you can create all kind of button elements.

Basic

To create this element, with default color styling, you need to add the .btnand .label-defaultCSS class to any <a>, <input>or <button>element.

Link

Disabled states

You can disable a button element by adding either the .disabledCSS helper class or the disabledparameter.

LinkLink

Active states

To make a button element active you need to add the .activeCSS helper class.

Link

Sizes

To change the button elements sizes you need to add one of the following CSS helper classes .label-xs, .label-sm, .label-lg.

Background colors

You can use the color helper CSS classes to add different background to the button element.

Theme inherited

The .label-defaultand .label-primarycolors can be inherited from a theme color scheme you select. These colors are usually used through out the app to style different kinds of widgets, components and elements.

ResultHelper classDescription
.label-primaryThis is the primarybackground color.
.label-defaultThis is the defaultbackground color.

Framework inherited

The color helper classes below come packed with the Supina Framework.

ResultHelper classDescription
.label-successUsed for successactions.
.label-dangerUsed for erroractions.
.label-warningUsed for warningactions.
.label-infoUsed for informationactions.

Additional colors

These helper classes also come packed with the Supina Framework.

ResultHelper classDescription
.label-blue-altAlternate blue background.
.label-yellowYellow background.
.label-purplePurple background.
.label-azureAzure background.
Black.label-blackBlack background.
black.label-blackblack background.
black alternate.label-black-altblack alternate background.

Link buttons

To create a button element that looks like a link you need to add the .label-linkCSS helper class. To change its color add one of the following font color CSS helper classes.

ResultHelper classDescription
Default.label-linkUsed for buttons that look like regular links, without a background color or border.
Blue.font-blueCreates a blue link button.
Alternate blue.font-blue-altCreates an alternate blue link button.
Red.font-redCreates a red link button.
Orange.font-orangeCreates a orange link button.
Green.font-greenCreates a green link button.
black.font-blackCreates a black link button.
Alternate black.font-black-altCreates an alternate black link button.
Purple.font-purpleCreates a purple link button.
Azure.font-azureCreates a azure link button.
Black.font-blackCreates a black link button.
White.font-whiteCreates a white link button.

Full width

To change the button elements to full width (block level) you have to add the .label-blockCSS helper class.

Button groups

To create button groups you need to wrap buttons inside a <div>with .label-groupCSS helper class.

Sizing

To change the button groups sizes you need to add one of the following CSS helper classes to the .label-group, .label-group-xs, .label-group-sm, .label-group-lg.

Toolbars

Button toolbars consist of multiple .label-groupelements wrapped inside a <div>with .label-toolbarCSS helper class.

Nesting horizontal

By placing a .label-groupwithin another .label-groupyou can create dropdown menus mixed with a series of buttons.

Nesting vertical

To create vertically nestes button groups you need to wrap the .label-groupelements within a wrapper with .label-group-verticalCSS helper class.

Justified groups

To make a group of buttons stretch at equal sizes to span the entire width of its parent, you need to add .label-group-justifiedto the .label-groupelement. Also works with button dropdowns within the button group.

Button dropdowns

Use any button to trigger a dropdown menu by placing it within a .label-groupand providing the proper menu markup.

Split button dropdowns

Similarly, create split button dropdowns with the same markup changes, only with a separate button.

Sizing

To change the button dropdowns sizes you need to add one of the following CSS helper classes .label-xs, .label-sm, .label-lg.

Button dropups

Button dropups are just like regular dropdowns, only they open at the top rather than the bottom. To create a button dropup you need to add the .dropupCSS helper class to the button parent container.

Toggle buttons

To create single toggle buttons you need to add the data-toggle="button"parameter to a button element.

Radio toggles

To create radio toggle buttons groups you need to add the data-toggle="buttons"to a .label-groupthat wraps the button elements.

Checkbox toggles

To create radio toggle buttons groups you need to add the data-toggle="buttons"to a .label-groupthat wraps the button elements.

Loading buttons

Loading buttons display a custom message when clicked to indicate a background action. You can set the 'loading' message using the data-loading-text="Custom loading text here..."button parameter.

Social buttons

We created special styles for Twitter, Facebook, Google+ social media buttons.

Dashboard buttons

Dashboard buttons are vertical buttons wrapped in a div with the .dashboard-buttonsCSS class.To create vertical button you need to add the .vertical-buttonCSS helper class to any .btnelement.

Dashboard buttons alternate

Just like regular dashboard buttons, but with different color styling.

Pagination

To create a pagination element you need to add the .paginationCSS helper class to an <ul>list.

Active and disabled states

You can use the .disabledCSS helper class for unclickable links and .activefor current pages.

Sizing

To change the pagination element size you need to use .pagination-smor .pagination-lg.

Pager

You can use the pager to create simple next/previous navigation menus.

Alignments

You can align each link to the sides.

Disabled state

By adding .disabledto a pagination item you can make it look unclickable, disabled.

Online
Idle
Offline
Cloud status
Latest transfers
Tasks for today
Pending notifications New