mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 11:00:56 +02:00
@@ -152,15 +152,15 @@ Add badges to any list group item to show unread counts, activity, and more with
|
|||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||||
Cras justo odio
|
Cras justo odio
|
||||||
<span class="badge badge-primary badge-pill">14</span>
|
<span class="badge bg-primary rounded-pill">14</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||||
Dapibus ac facilisis in
|
Dapibus ac facilisis in
|
||||||
<span class="badge badge-primary badge-pill">2</span>
|
<span class="badge bg-primary rounded-pill">2</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||||
Morbi leo risus
|
Morbi leo risus
|
||||||
<span class="badge badge-primary badge-pill">1</span>
|
<span class="badge bg-primary rounded-pill">1</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
|
@@ -19,7 +19,7 @@ body_class: "bg-light"
|
|||||||
<div class="col-md-4 order-md-2 mb-4">
|
<div class="col-md-4 order-md-2 mb-4">
|
||||||
<h4 class="d-flex justify-content-between align-items-center mb-3">
|
<h4 class="d-flex justify-content-between align-items-center mb-3">
|
||||||
<span class="text-muted">Your cart</span>
|
<span class="text-muted">Your cart</span>
|
||||||
<span class="badge badge-secondary badge-pill">3</span>
|
<span class="badge bg-secondary rounded-pill">3</span>
|
||||||
</h4>
|
</h4>
|
||||||
<ul class="list-group mb-3">
|
<ul class="list-group mb-3">
|
||||||
<li class="list-group-item d-flex justify-content-between lh-condensed">
|
<li class="list-group-item d-flex justify-content-between lh-condensed">
|
||||||
|
@@ -49,7 +49,7 @@ body_class: "bg-light"
|
|||||||
<a class="nav-link active" href="#">Dashboard</a>
|
<a class="nav-link active" href="#">Dashboard</a>
|
||||||
<a class="nav-link" href="#">
|
<a class="nav-link" href="#">
|
||||||
Friends
|
Friends
|
||||||
<span class="badge badge-pill bg-light align-text-bottom">27</span>
|
<span class="badge bg-light rounded-pill align-text-bottom">27</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="nav-link" href="#">Explore</a>
|
<a class="nav-link" href="#">Explore</a>
|
||||||
<a class="nav-link" href="#">Suggestions</a>
|
<a class="nav-link" href="#">Suggestions</a>
|
||||||
|
@@ -32,7 +32,7 @@ For left, right, and center alignment, responsive classes are available that use
|
|||||||
Wrap text with a `.text-wrap` class.
|
Wrap text with a `.text-wrap` class.
|
||||||
|
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
<div class="badge badge-primary text-wrap" style="width: 6rem;">
|
<div class="badge bg-primary text-wrap" style="width: 6rem;">
|
||||||
This text should wrap.
|
This text should wrap.
|
||||||
</div>
|
</div>
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
<a class="list-group-item list-group-item-action py-2 text-primary{{ if (eq $version.v $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $version.v }}/">
|
<a class="list-group-item list-group-item-action py-2 text-primary{{ if (eq $version.v $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $version.v }}/">
|
||||||
{{ $version.v }}
|
{{ $version.v }}
|
||||||
{{ if (eq $version.v $.Site.Params.docs_version) -}}
|
{{ if (eq $version.v $.Site.Params.docs_version) -}}
|
||||||
<span class="badge badge-primary">Latest</span>
|
<span class="badge bg-primary">Latest</span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</a>
|
</a>
|
||||||
{{ if (eq (add $i 1) $len) }}</div>{{ end }}
|
{{ if (eq (add $i 1) $len) }}</div>{{ end }}
|
||||||
|
Reference in New Issue
Block a user