From: Jeremy Thomas Date: Sat, 29 Jul 2017 14:54:51 +0000 (+0100) Subject: Add meta to form X-Git-Tag: 0.5.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d4fb79b60d1a3ca6bee44332eec97a90afe881;p=thirdparty%2Fbulma.git Add meta to form --- diff --git a/docs/documentation/form/checkbox.html b/docs/documentation/form/checkbox.html index 4674d7f9e..6c3032cda 100644 --- a/docs/documentation/form/checkbox.html +++ b/docs/documentation/form/checkbox.html @@ -34,6 +34,12 @@ doc-subtab: checkbox

The 2-state checkbox in its native format

+ {% + include meta.html + colors=false + sizes=false + variables=false + %}
diff --git a/docs/documentation/form/input.html b/docs/documentation/form/input.html index 9827249d6..01328e0e4 100644 --- a/docs/documentation/form/input.html +++ b/docs/documentation/form/input.html @@ -3,6 +3,37 @@ title: Input layout: documentation doc-tab: form doc-subtab: input +variables: +- name: $input-color + value: $grey-darker +- name: $input-background-color + value: $white +- name: $input-border-color + value: $grey-lighter +- name: $input-shadow + value: inset 0 1px 2px rgba($black, 0.1) +- name: $input-hover-color + value: $grey-darker +- name: $input-hover-border-color + value: $grey-light +- name: $input-focus-color + value: $grey-darker +- name: $input-focus-border-color + value: $link +- name: $input-disabled-color + value: $text-light +- name: $input-disabled-background-color + value: $background +- name: $input-disabled-border-color + value: $background +- name: $input-arrow + value: $link +- name: $input-icon-color + value: $grey-lighter +- name: $input-icon-active-color + value: $grey +- name: $input-radius + value: $radius --- {% capture input_example %} @@ -191,6 +222,12 @@ doc-subtab: input

The text input and its variations

+ {% + include meta.html + colors=true + sizes=true + variables=true + %}
@@ -219,9 +256,7 @@ doc-subtab: input -
- -

Colors

+ {% include heading.html name="Colors" %}
@@ -232,8 +267,8 @@ doc-subtab: input
-
-

Sizes

+ {% include heading.html name="Sizes" %} +
{{sizes_example}} @@ -391,5 +426,7 @@ doc-subtab: input
+ {% include variables.html element=true %} + diff --git a/docs/documentation/form/radio.html b/docs/documentation/form/radio.html index c0533d59a..d8897dadd 100644 --- a/docs/documentation/form/radio.html +++ b/docs/documentation/form/radio.html @@ -56,6 +56,12 @@ doc-subtab: radio

The mutually exclusive radio buttons in their native format

+ {% + include meta.html + colors=false + sizes=false + variables=false + %}
diff --git a/docs/documentation/form/select.html b/docs/documentation/form/select.html index 621e0902a..f508dfc53 100644 --- a/docs/documentation/form/select.html +++ b/docs/documentation/form/select.html @@ -269,6 +269,12 @@ doc-subtab: select

The browser built-in select dropdown, styled accordingly

+ {% + include meta.html + colors=true + sizes=true + variables=false + %}
@@ -314,9 +320,7 @@ doc-subtab: select {% endif %} -
- -

Colors

+ {% include heading.html name="Colors" %}
@@ -327,8 +331,8 @@ doc-subtab: select
-
-

Sizes

+ {% include heading.html name="Sizes" %} +
{{sizes_example}} diff --git a/docs/documentation/form/textarea.html b/docs/documentation/form/textarea.html index ab7b55756..b570df058 100644 --- a/docs/documentation/form/textarea.html +++ b/docs/documentation/form/textarea.html @@ -125,6 +125,12 @@ doc-subtab: textarea

The multiline textarea and its variations

+ {% + include meta.html + colors=true + sizes=true + variables=false + %}
@@ -165,9 +171,7 @@ doc-subtab: textarea
-
- -

Colors

+ {% include heading.html name="Colors" %}
@@ -178,8 +182,8 @@ doc-subtab: textarea
-
-

Sizes

+ {% include heading.html name="Sizes" %} +
{{sizes_example}}