bulma/docs/_includes/index/customize.html

88 lines
3.0 KiB
HTML
Raw Normal View History

2018-04-10 11:48:58 +00:00
{% assign customize_link = site.data.links.by_id['overview-customize'] %}
2018-04-13 14:00:15 +00:00
<section id="customize" class="bd-easy section is-medium">
2018-04-10 11:48:58 +00:00
<div class="container">
2018-04-10 13:28:45 +00:00
<header class="bd-index-header">
<h3 class="title is-3">
<a href="{{ site.url }}{{ customize_link.path }}">
So <strong>quick</strong> to customize
</a>
</h3>
<h4 class="subtitle is-4">
Simply set your own Sass variables before importing Bulma
</h4>
</header>
2018-04-10 11:48:58 +00:00
2018-04-10 13:28:45 +00:00
<div class="columns">
<div class="column is-6">
2018-04-11 11:54:56 +00:00
<div class="highlight-full bd-has-drawing">
2018-04-10 13:28:45 +00:00
{% highlight scss %}{% include snippets/customized.html %}{% endhighlight %}
2018-04-11 11:54:56 +00:00
{% include elements/drawing.html id='customize' width=152 height=76 %}
2018-04-10 11:48:58 +00:00
</div>
2018-04-10 13:28:45 +00:00
</div>
<div class="column is-6">
<div class="bd-index-custom bd-is-before">
<p class="bd-index-custom-title">Before</p>
<div class="bd-index-custom-example">
<h1 class="title">
Bulma
</h1>
<p class="subtitle">
Modern CSS framework based on <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox">Flexbox</a>
2018-04-10 11:48:58 +00:00
</p>
2018-04-10 13:28:45 +00:00
<div class="field">
<div class="control">
<input class="input" type="text" placeholder="Input">
</div>
</div>
<div class="field">
<p class="control">
<span class="select">
<select>
<option>Select dropdown</option>
</select>
</span>
</p>
</div>
<div class="buttons">
<a class="button is-primary">Primary</a>
<a class="button is-link">Link</a>
</div>
2018-04-10 11:48:58 +00:00
</div>
</div>
2018-04-10 13:28:45 +00:00
<div class="bd-index-custom bd-is-after">
<p class="bd-index-custom-title">After</p>
<div class="bd-index-custom-example">
<h1 class="title">
Bulma
</h1>
<p class="subtitle">
Modern CSS framework based on <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox">Flexbox</a>
2018-04-10 11:48:58 +00:00
</p>
2018-04-10 13:28:45 +00:00
<div class="field">
<div class="control">
<input class="input" type="text" placeholder="Input">
</div>
</div>
<div class="field">
<p class="control">
<span class="select">
<select>
<option>Select dropdown</option>
</select>
</span>
</p>
</div>
<div class="buttons">
<a class="button is-primary">Primary</a>
<a class="button is-link">Link</a>
</div>
2018-04-10 11:48:58 +00:00
</div>
</div>
</div>
</div>
</div>
</section>