Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Screenshot

Description

For the Button you can define different styles and sizes and and link it to a URL.

Adding the Macro

Edit your page.

Select "+" => Other macros

Type in "ButtonBootstrap" in the Search box

Select the "Bootstrap Button" macro

Macro Options

Text

Enter the text of the button.

Style

The style defines the color of the button. The listbox contains the terms that Bootstrap uses to identify the color style.

TermBackground Color
danger


Div
stylebackground-color:#dc3545;width:100px;height:30px;border:1px solid #000;



dark


Div
stylebackground-color:#343a40;width:100px;height:30px;border:1px solid #000;


info


Div
stylebackground-color:#17a2b8;width:100px;height:30px;border:1px solid #000;


light


Div
stylebackground-color:#f8f9fa;width:100px;height:30px;border:1px solid #000;


primary


Div
stylebackground-color:#007bff;width:100px;height:30px;border:1px solid #000;


secondary


Div
stylebackground-color:#868e96;width:100px;height:30px;border:1px solid #000;


success


Div
stylebackground-color:#28a745;width:100px;height:30px;border:1px solid #000;



warning


Div
stylebackground-color:#ffc107;width:100px;height:30px;border:1px solid #000;


Size

Select the size of the button.

Outline

Check if you want to display the button with an outline only. This feature can only be applied to the flat buttons (not the 3D styles).

You can link the button to a URL. Enter it here and include http:// or https://.

Link Tooltip

Status
colourGreen
titleVersion: > 1.3.0

This text will be shown as an HTML tooltip when you hover over a button that has a link.

Target

Select where to load the linked page, in the same window or a new tab.

Custom Text Color

You can overwriite the Bootstrap text color here that is defined by the style you selected. You can enter any hexadecimal color vlaue here, preceded by a hash, e.g. #990000.

Custom Background Color

You can overwriite the Bootstrap background color here that is defined by the style you selected. You can enter any hexadecimal color vlaue here, preceded by a hash, e.g. #990000. However, this will not work with the 3D styles because they will create a default color gradient for your button.


Style
div#main-content.wiki-content {
   font-size: 1.2em !important;
   font-family: Segoe UI, sans-serif !important;
}
.wiki-content .contentLayout2 .columnLayout .cell
{
  padding-left: 0px;
  padding-right: 0px;
}