Skip to content

Commit

Permalink
feat: update btn.disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodeloo committed Oct 18, 2024
1 parent 89e5b39 commit b216789
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 9 deletions.
31 changes: 25 additions & 6 deletions components.html
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,31 @@ <h6>Button danger <code>.btn .btn-danger</code></h6>
</div>
</div>
</div>
<div class="mb-5">
<h6>Button warning <code>.btn .btn-warning</code></h6>
<div class="row">
<div class="col-12 col-md-3 mb-3">
<button type="button" class="btn btn-block btn-ico btn-warning">
<i class="ri-eye-2-line ri-lg fw-normal" aria-hidden="true"></i>
<span>default</span>
</button>
</div>
<div class="col-12 col-md-3 mb-3">
<button type="button" class="btn btn-block btn-ico btn-warning hover focus">
<span>:hover / focus </span>
<i class="ri-eye-2-line ri-lg fw-normal" aria-hidden="true"></i>
</button>
</div>
<div class="col-12 col-md-3 mb-3">
<button type="button" class="btn btn-ico-only btn-warning" aria-label="ici le label A11Y du bouton">
<i class="ri-eye-2-line ri-lg fw-normal" aria-hidden="true"></i>
</button>
</div>
<div class="col-12 col-md-3 mb-3">
<button type="button" class="btn btn-block btn-warning" disabled>disabled</button>
</div>
</div>
</div>
<div class="mb-5">
<h6>Button success <code>.btn .btn-success</code></h6>
<div class="row">
Expand Down Expand Up @@ -1162,12 +1187,6 @@ <h6>Button dropdown filter<code>.btn .btn-dropdown-filter</code></h6>
<i class="ri-file-copy-line"></i>
</button>
</div>
<div class="col-12">
<script src="https://unpkg.com/[email protected]"></script>
<div>
<button hx-post="/components.html" hx-swap="outerHTML">Htmx Click Me!</button>
</div>
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@

<main class="s-main py-8 d-flex justify-content-center" role="main">
<article class="container-max-lg text-center">
<h1 class="h2 mt-8 text-md-nowrap">
<h1 class="h2 mt-8">
Documentation du thème de la Plateforme de l'Inclusion sur ZeroHeight.
</h1>
<h2 class="h3">
Expand Down
4 changes: 2 additions & 2 deletions stylesheets/app.css

Large diffs are not rendered by default.

0 comments on commit b216789

Please sign in to comment.