Skip to content

Commit

Permalink
Merge branch 'main' into gs-list_picker-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed May 18, 2021
2 parents 1e3caba + 0b2d20b commit 2b21854
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 28 deletions.
2 changes: 0 additions & 2 deletions site/content/docs/5.0/content/reboot.md
Expand Up @@ -37,8 +37,6 @@ $font-family-sans-serif:
system-ui,
// Safari for macOS and iOS (San Francisco)
-apple-system,
// Chrome < 56 for macOS (San Francisco)
BlinkMacSystemFont,
// Windows
"Segoe UI",
// Android
Expand Down
9 changes: 7 additions & 2 deletions site/content/docs/5.0/examples/cheatsheet/cheatsheet.js
Expand Up @@ -25,8 +25,8 @@
toast.show()
})

// Disable empty links
document.querySelectorAll('[href="#"]')
// Disable empty links and submit buttons
document.querySelectorAll('[href="#"], [type="submit"]')
.forEach(function (link) {
link.addEventListener('click', function (event) {
event.preventDefault()
Expand All @@ -41,6 +41,11 @@
}

var link = document.querySelector('.bd-aside a[href="' + hash + '"]')

if (!link) {
return
}

var active = document.querySelector('.bd-aside .active')
var parent = link.parentNode.parentNode.previousElementSibling

Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/examples/dashboard-rtl/dashboard.js
Expand Up @@ -3,7 +3,7 @@
(function () {
'use strict'

feather.replace()
feather.replace({ 'aria-hidden': 'true' })

// Graphs
var ctx = document.getElementById('myChart')
Expand Down
20 changes: 10 additions & 10 deletions site/content/docs/5.0/examples/dashboard-rtl/index.html
Expand Up @@ -18,11 +18,11 @@
<span class="navbar-toggler-icon"></span>
</button>
<input class="form-control form-control-dark w-100" type="text" placeholder="بحث" aria-label="بحث">
<ul class="navbar-nav px-3">
<li class="nav-item text-nowrap">
<a class="nav-link" href="#">تسجيل الخروج</a>
</li>
</ul>
<div class="navbar-nav">
<div class="nav-item text-nowrap">
<a class="nav-link px-3" href="#">تسجيل الخروج</a>
</div>
</div>
</header>

<div class="container-fluid">
Expand Down Expand Up @@ -125,11 +125,11 @@ <h2>عنوان القسم</h2>
<table class="table table-striped table-sm">
<thead>
<tr>
<th>#</th>
<th>عنوان</th>
<th>عنوان</th>
<th>عنوان</th>
<th>عنوان</th>
<th scope="col">#</th>
<th scope="col">عنوان</th>
<th scope="col">عنوان</th>
<th scope="col">عنوان</th>
<th scope="col">عنوان</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/examples/dashboard/dashboard.css
Expand Up @@ -52,7 +52,7 @@ body {
}

.sidebar .nav-link.active {
color: #007bff;
color: #2470dc;
}

.sidebar .nav-link:hover .feather,
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/examples/dashboard/dashboard.js
Expand Up @@ -3,7 +3,7 @@
(function () {
'use strict'

feather.replace()
feather.replace({ 'aria-hidden': 'true' })

// Graphs
var ctx = document.getElementById('myChart')
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/examples/dashboard/dashboard.rtl.css
Expand Up @@ -48,7 +48,7 @@ body {
}

.sidebar .nav-link.active {
color: #007bff;
color: #2470dc;
}

.sidebar .nav-link:hover .feather,
Expand Down
20 changes: 10 additions & 10 deletions site/content/docs/5.0/examples/dashboard/index.html
Expand Up @@ -17,11 +17,11 @@
<span class="navbar-toggler-icon"></span>
</button>
<input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
<ul class="navbar-nav px-3">
<li class="nav-item text-nowrap">
<a class="nav-link" href="#">Sign out</a>
</li>
</ul>
<div class="navbar-nav">
<div class="nav-item text-nowrap">
<a class="nav-link px-3" href="#">Sign out</a>
</div>
</div>
</header>

<div class="container-fluid">
Expand Down Expand Up @@ -124,11 +124,11 @@ <h2>Section title</h2>
<table class="table table-striped table-sm">
<thead>
<tr>
<th>#</th>
<th>Header</th>
<th>Header</th>
<th>Header</th>
<th>Header</th>
<th scope="col">#</th>
<th scope="col">Header</th>
<th scope="col">Header</th>
<th scope="col">Header</th>
<th scope="col">Header</th>
</tr>
</thead>
<tbody>
Expand Down

0 comments on commit 2b21854

Please sign in to comment.