+ +
+ Colors +
+ ++ +
+ Sizes +
+ +A white box to contain other elements
+ {% + include meta.html + colors=false + sizes=false + variables=true + %}diff --git a/docs/documentation/elements/button.html b/docs/documentation/elements/button.html index 8feb6384..c76701b2 100644 --- a/docs/documentation/elements/button.html +++ b/docs/documentation/elements/button.html @@ -45,48 +45,25 @@ variables: value: inset 0 1px 2px rgba($black, 0.2) --- -{% include subnav-elements.html %} - -
Buttons
-- The classic button, in different colors, sizes, and states -
- -- {% capture button_example %} - - +Button {% endcapture %} -
+{% capture button_colors_a_example %} +White +Light +Dark +Black +Link +{% endcapture %} -
Sizes
+{% capture button_colors_b_example %} +Primary +Info +Success +Warning +Danger +{% endcapture %} {% capture button_sizes_example %} Small @@ -94,21 +71,7 @@ variables: Medium Large {% endcapture %} -- -
Styles
-Outlined
{% capture button_outlined_example %} Outlined Outlined @@ -116,18 +79,6 @@ variables: Outlined Outlined {% endcapture %} -Inverted (the text color becomes the background color, and vice-versa)
{% capture button_inverted_example %} Inverted @@ -135,20 +86,6 @@ variables: Inverted Inverted {% endcapture %} -Invert Outlined (the invert color becomes the text and border colors)
{% capture button_inverted_outlined_example %} Invert Outlined @@ -156,23 +93,6 @@ variables: Invert Outlined Invert Outlined {% endcapture %} -- -
States
-Normal
{% capture button_normal_example %} Normal @@ -182,18 +102,6 @@ variables: Normal Normal {% endcapture %} -Hover
{% capture button_hover_example %} Hover @@ -203,18 +111,6 @@ variables: Hover Hover {% endcapture %} -Focus
{% capture button_focus_example %} Focus @@ -224,18 +120,6 @@ variables: Focus Focus {% endcapture %} -Active
{% capture button_active_example %} Active @@ -245,18 +129,6 @@ variables: Active Active {% endcapture %} -Loading
{% capture button_loading_example %} Loading @@ -266,46 +138,10 @@ variables: Loading Loading {% endcapture %} -- Static -
{% capture button_static_example %} {% endcapture %} -- New! - 0.4.2 -
-
- You can create a non-interactive button by using the is-static modifier. This is useful to align a text label with an input, for example when using form addons.
-
Disabled
{% capture button_disabled_example %} Disabled @@ -315,23 +151,6 @@ variables: Disabled Disabled {% endcapture %} -With Font Awesome icons
{% capture button_fa_example %}@@ -404,27 +223,7 @@ variables:
{% endcapture %} -- New! -
-- If the button only contains an icon, Bulma will make sure the button remains square, no matter the size of the button or of the icon. -
-- -
Button group
-If you want to group buttons together, use the is-grouped modifier on the field container:
@@ -519,19 +304,7 @@ variables:
- -
Button addons
-If you want to use buttons as addons, use the has-addons modifier on the field container:
@@ -560,19 +333,7 @@ variables:
- -
Button group with addons
-You can group together addons as well:
-@@ -628,12 +389,272 @@ variables:
Buttons
++ The classic button, in different colors, sizes, and states +
+ {% + include meta.html + colors=true + sizes=true + variables=true + %} + ++ +
+ +
+ Colors +
+ ++ +
+ Sizes +
+ ++ +
Styles
+Outlined
+ +Inverted (the text color becomes the background color, and vice-versa)
+ +Invert Outlined (the invert color becomes the text and border colors)
+ ++ +
States
+Normal
+ +Hover
+ +Focus
+ +Active
+ +Loading
+ ++ Static +
+ ++ New! + 0.4.2 +
+
+ You can create a non-interactive button by using the is-static modifier. This is useful to align a text label with an input, for example when using form addons.
+
Disabled
+ +With Font Awesome icons
+ ++ New! +
++ If the button only contains an icon, Bulma will make sure the button remains square, no matter the size of the button or of the icon. +
++ +
Button group
+If you want to group buttons together, use the is-grouped modifier on the field container:
+ +
Button addons
+If you want to use buttons as addons, use the has-addons modifier on the field container:
+ +
Button group with addons
+You can group together addons as well:
+