Update references to variables in docs (#1238)

* Update navbar variables in component docs page

* Update pagination variables in component docs page

* Update tabs variables in component docs page

* Update button variables in element docs page

* Update table variables in element docs page

* Update title variables in element docs page

* Update variables template to support layout

* Add section variables in relevant docs page

* Add footer variables in relevant docs page

* Update variables template to support custom messages

* Add form generic variables in relevant docs page

* Update derived variables in relevant docs page

* Add generic variables to variables docs page

* Update sass files count in docs Modular page
This commit is contained in:
bstashio
2017-10-02 21:23:35 +03:00
committed by Jeremy Thomas
parent 0acd2a1b1a
commit afcdb7dbcc
12 changed files with 95 additions and 14 deletions

View File

@@ -3,6 +3,21 @@ title: Form controls
layout: documentation
doc-tab: form
doc-subtab: general
variables:
- name: $control-radius
value: $radius
- name: $control-radius-small
value: $radius-small
- name: $control-padding-vertical
value: calc(0.375em - 1px)
- name: $control-padding-horizontal
value: calc(0.625em - 1px)
- name: $label-color
value: $grey-darker
- name: $label-weight
value: $weight-bold
- name: $help-size
value: $size-small
---
{% capture example %}
@@ -1027,6 +1042,10 @@ doc-subtab: general
</div>
{% include snippet.html content=field_label_example horizontal=true clipped=true %}
{% capture custom_message %}Form elements can be <strong>customized</strong> using the following generic variables. Simply set one or multiple of these variables <em>before</em> importing Bulma. <a href="{{ site.url }}/documentation/overview/customize/">Learn how</a>.{% endcapture %}
{% include variables.html custom_message = custom_message %}
</div>
</section>