Remove vernum

This commit is contained in:
Jeremy Thomas
2017-11-06 13:44:58 +00:00
parent bc33ace128
commit 67117ffed9
7 changed files with 49 additions and 68 deletions

View File

@@ -21,8 +21,7 @@ mdi: https://cdn.materialdesignicons.com/2.0.46/css/materialdesignicon
# Variables # Variables
documentation: "/documentation/overview/start/" documentation: "/documentation/overview/start/"
download: https://github.com/jgthms/bulma/releases/download/0.6.0/bulma-0.6.0.zip download: https://github.com/jgthms/bulma/releases/download/0.6.1/bulma-0.6.1.zip
github: https://github.com/jgthms/bulma github: https://github.com/jgthms/bulma
twitter: https://twitter.com/jgthms twitter: https://twitter.com/jgthms
version: 0.6.0 version: 0.6.1
vernum: 60

View File

@@ -52,15 +52,9 @@
<a class="navbar-item {% if page.doc-tab == 'elements' %}is-active{% endif %}" href="{{ site.url }}/documentation/elements/box/"> <a class="navbar-item {% if page.doc-tab == 'elements' %}is-active{% endif %}" href="{{ site.url }}/documentation/elements/box/">
Elements Elements
</a> </a>
{% if site.vernum >= 43 %} <a class="navbar-item {% if page.doc-tab == 'components' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/breadcrumb/">
<a class="navbar-item {% if page.doc-tab == 'components' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/breadcrumb/"> Components
Components </a>
</a>
{% else %}
<a class="navbar-item {% if page.doc-tab == 'components' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/card/">
Components
</a>
{% endif %}
<hr class="navbar-divider"> <hr class="navbar-divider">
<div class="navbar-item"> <div class="navbar-item">
<div> <div>

View File

@@ -47,11 +47,7 @@ route: documentation
<a href="{{ site.url }}/documentation/elements/box/">Elements</a> <a href="{{ site.url }}/documentation/elements/box/">Elements</a>
</li> </li>
<li {% if page.doc-tab == 'components' %}class="is-active"{% endif %}> <li {% if page.doc-tab == 'components' %}class="is-active"{% endif %}>
{% if site.vernum >= 43 %} <a href="{{ site.url }}/documentation/components/breadcrumb/">Components</a>
<a href="{{ site.url }}/documentation/components/breadcrumb/">Components</a>
{% else %}
<a href="{{ site.url }}/documentation/components/card/">Components</a>
{% endif %}
</li> </li>
</ul> </ul>
</div> </div>

View File

@@ -9,19 +9,17 @@ doc-subtab: nav
<section class="section"> <section class="section">
<div class="container"> <div class="container">
{% if site.vernum >= 43 %} <div class="message is-danger">
<div class="message is-danger"> <div class="message-body">
<div class="message-body"> <p>This component has been <strong>deprecated</strong>.</p>
<p>This component has been <strong>deprecated</strong> and will be deleted soon.</p>
</div>
</div> </div>
</div>
<div class="message is-info"> <div class="message is-info">
<div class="message-body"> <div class="message-body">
<p>While both <code>.nav</code> and <code>.navbar</code> currently co-exist to ensure backwards compatibility, the <code>.nav</code> will probably be deleted in an upcoming update, so you should start using <a href="{{ site.url }}/documentation/components/navbar/">the new navbar</a> instead.</p> <p>While both <code>.nav</code> and <code>.navbar</code> currently co-exist to ensure backwards compatibility, the <code>.nav</code> will probably be deleted in an upcoming update, so you should start using <a href="{{ site.url }}/documentation/components/navbar/">the new navbar</a> instead.</p>
</div>
</div> </div>
{% endif %} </div>
<h1 class="title">Nav</h1> <h1 class="title">Nav</h1>
<h2 class="subtitle"> <h2 class="subtitle">

View File

@@ -341,21 +341,19 @@ variables_keys:
</div> </div>
</div> </div>
{% if site.vernum >= 43 %} <div class="columns">
<div class="columns"> <div class="column is-half">
<div class="column is-half"> <div class="content">
<div class="content"> <p>
<p> You can resize the loading spinner by appending <code>is-small</code>, <code>is-medium</code> or <code>is-large</code> to the <code>control</code> container.
You can resize the loading spinner by appending <code>is-small</code>, <code>is-medium</code> or <code>is-large</code> to the <code>control</code> container. </p>
</p>
</div>
{{loading_sizes_example}}
</div>
<div class="column is-half">
{% highlight html %}{{loading_sizes_example}}{% endhighlight %}
</div> </div>
{{loading_sizes_example}}
</div> </div>
{% endif %} <div class="column is-half">
{% highlight html %}{{loading_sizes_example}}{% endhighlight %}
</div>
</div>
<h4 class="subtitle">Disabled</h4> <h4 class="subtitle">Disabled</h4>
<div class="columns"> <div class="columns">

View File

@@ -296,25 +296,23 @@ doc-subtab: select
</div> </div>
</div> </div>
{% if site.vernum >= 44 %} <hr>
<hr>
<h3 class="title">Multiple select</h3> <h3 class="title">Multiple select</h3>
<div class="columns"> <div class="columns">
<div class="column is-half"> <div class="column is-half">
<div class="content"> <div class="content">
<p> <p>
You can style a <strong>multiple select</strong> dropdown, by using the <code>is-multiple</code> modifier, and by using the <code>multiple</code> HTML attribute. You can style a <strong>multiple select</strong> dropdown, by using the <code>is-multiple</code> modifier, and by using the <code>multiple</code> HTML attribute.
</p> </p>
</div>
{{select_multiple_example}}
</div>
<div class="column is-half highlight-full">
{% highlight html %}{{select_multiple_example}}{% endhighlight %}
</div> </div>
{{select_multiple_example}}
</div> </div>
{% endif %} <div class="column is-half highlight-full">
{% highlight html %}{{select_multiple_example}}{% endhighlight %}
</div>
</div>
{% include anchor.html name="Colors" %} {% include anchor.html name="Colors" %}

View File

@@ -176,21 +176,19 @@ doc-subtab: textarea
{% include snippet.html content=loading_example %} {% include snippet.html content=loading_example %}
{% if site.vernum >= 43 %} <div class="columns">
<div class="columns"> <div class="column is-half">
<div class="column is-half"> <div class="content">
<div class="content"> <p>
<p> You can resize the loading spinner by appending <code>is-small</code>, <code>is-medium</code> or <code>is-large</code> to the <code>control</code> container.
You can resize the loading spinner by appending <code>is-small</code>, <code>is-medium</code> or <code>is-large</code> to the <code>control</code> container. </p>
</p>
</div>
{{loading_sizes_example}}
</div>
<div class="column is-half highlight-full">
{% highlight html %}{{loading_sizes_example}}{% endhighlight %}
</div> </div>
{{loading_sizes_example}}
</div> </div>
{% endif %} <div class="column is-half highlight-full">
{% highlight html %}{{loading_sizes_example}}{% endhighlight %}
</div>
</div>
<h4 class="subtitle">Disabled</h4> <h4 class="subtitle">Disabled</h4>