mirror of
https://github.com/jgthms/bulma.git
synced 2025-01-09 15:44:25 +00:00
Fix #3211
This commit is contained in:
parent
5432d0625b
commit
d7fdc13579
@ -292,6 +292,13 @@
|
||||
"width":"125",
|
||||
"height":"28",
|
||||
"follow": true
|
||||
},
|
||||
"quickbookstoolhub": {
|
||||
"name": "quickbookstoolhub",
|
||||
"url": "https://quickbookstoolhub.com/",
|
||||
"title": "Quickbooks Tool Hub",
|
||||
"width":"64",
|
||||
"height":"64"
|
||||
}
|
||||
},
|
||||
"home": [
|
||||
@ -315,6 +322,7 @@
|
||||
,"gamblizard"
|
||||
,"casinofiables"
|
||||
,"123calendars"
|
||||
,"quickbookstoolhub"
|
||||
],
|
||||
"footer": [
|
||||
"polygon"
|
||||
|
@ -3,7 +3,7 @@
|
||||
<a class="navbar-item" href="{{ site.url }}">
|
||||
<img src="{{ site.url }}/images/bulma-logo.png" alt="Bulma: a modern CSS framework based on Flexbox" width="112" height="28">
|
||||
</a>
|
||||
<div class="navbar-burger burger" data-target="navbarExample{{ include.id }}">
|
||||
<div class="navbar-burger" data-target="navbarExample{{ include.id }}">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<img src="{{ site.url }}/images/bulma-logo-white.png" alt="Bulma: a modern CSS framework based on Flexbox" width="112" height="28">
|
||||
{% endif %}
|
||||
</a>
|
||||
<div class="navbar-burger burger" data-target="navMenuColor{{ include.color }}-example">
|
||||
<div class="navbar-burger" data-target="navMenuColor{{ include.color }}-example">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<a class="navbar-item" href="{{ site.url }}">
|
||||
<img src="{{ site.url }}/images/bulma-logo.png" alt="Bulma: a modern CSS framework based on Flexbox" width="112" height="28">
|
||||
</a>
|
||||
<div class="navbar-burger burger" data-target="navbarExample{{ include.id }}">
|
||||
<div class="navbar-burger" data-target="navbarExample{{ include.id }}">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<div id="navbarBurger" class="navbar-burger burger" data-target="navMenu{{ include.id }}">
|
||||
<div id="navbarBurger" class="navbar-burger" data-target="navMenu{{ include.id }}">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
@ -136,10 +136,14 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
// Toggles
|
||||
|
||||
const $burgers = getAll('.burger');
|
||||
const $burgers = getAll('.navbar-burger');
|
||||
|
||||
if ($burgers.length > 0) {
|
||||
$burgers.forEach($el => {
|
||||
if (!$el.dataset.target) {
|
||||
return;
|
||||
}
|
||||
|
||||
$el.addEventListener('click', () => {
|
||||
const target = $el.dataset.target;
|
||||
const $target = document.getElementById(target);
|
||||
|
File diff suppressed because it is too large
Load Diff
2
docs/css/bulma-docs.min.css
vendored
2
docs/css/bulma-docs.min.css
vendored
File diff suppressed because one or more lines are too long
@ -21,7 +21,7 @@ meta:
|
||||
<img src="{{ site.url }}/images/bulma-logo.png" width="112" height="28">
|
||||
</a>
|
||||
|
||||
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
|
||||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
|
@ -525,7 +525,7 @@ meta:
|
||||
<a class="navbar-item">
|
||||
<img src="{{ site.url }}/images/bulma-type-white.png" alt="Logo">
|
||||
</a>
|
||||
<span class="navbar-burger burger" data-target="navbarMenuHeroA">
|
||||
<span class="navbar-burger" data-target="navbarMenuHeroA">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
@ -595,7 +595,7 @@ meta:
|
||||
<a class="navbar-item">
|
||||
<img src="{{ site.url }}/images/bulma-type-white.png" alt="Logo">
|
||||
</a>
|
||||
<span class="navbar-burger burger" data-target="navbarMenuHeroB">
|
||||
<span class="navbar-burger" data-target="navbarMenuHeroB">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
@ -676,7 +676,7 @@ meta:
|
||||
<a class="navbar-item">
|
||||
<img src="{{ site.url }}/images/bulma-type-white.png" alt="Logo">
|
||||
</a>
|
||||
<span class="navbar-burger burger" data-target="navbarMenuHeroC">
|
||||
<span class="navbar-burger" data-target="navbarMenuHeroC">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
|
BIN
docs/images/amis/quickbookstoolhub.png
Normal file
BIN
docs/images/amis/quickbookstoolhub.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
BIN
docs/images/amis/quickbookstoolhub@2x.png
Normal file
BIN
docs/images/amis/quickbookstoolhub@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
@ -138,10 +138,14 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
// Toggles
|
||||
|
||||
var $burgers = getAll('.burger');
|
||||
var $burgers = getAll('.navbar-burger');
|
||||
|
||||
if ($burgers.length > 0) {
|
||||
$burgers.forEach(function ($el) {
|
||||
if (!$el.dataset.target) {
|
||||
return;
|
||||
}
|
||||
|
||||
$el.addEventListener('click', function () {
|
||||
var target = $el.dataset.target;
|
||||
var $target = document.getElementById(target);
|
||||
|
Loading…
Reference in New Issue
Block a user