Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/content/docs/5.2/examples/badges/index.html')
-rw-r--r--site/content/docs/5.2/examples/badges/index.html158
1 files changed, 158 insertions, 0 deletions
diff --git a/site/content/docs/5.2/examples/badges/index.html b/site/content/docs/5.2/examples/badges/index.html
new file mode 100644
index 0000000000..62c65cb6f5
--- /dev/null
+++ b/site/content/docs/5.2/examples/badges/index.html
@@ -0,0 +1,158 @@
+---
+layout: examples
+title: Badges
+extra_css:
+ - "badges.css"
+body_class: ""
+---
+
+<style>
+ .text-warning { color: #997404 !important; }
+ .text-info { color: #087990 !important; }
+
+ .badge > a {
+ color: inherit;
+ }
+</style>
+
+<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+ <symbol id="x-circle-fill" viewBox="0 0 16 16">
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>
+ </symbol>
+</svg>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge text-bg-primary rounded-pill">Primary</span>
+ <span class="badge text-bg-secondary rounded-pill">Secondary</span>
+ <span class="badge text-bg-success rounded-pill">Success</span>
+ <span class="badge text-bg-danger rounded-pill">Danger</span>
+ <span class="badge text-bg-warning rounded-pill">Warning</span>
+ <span class="badge text-bg-info rounded-pill">Info</span>
+ <span class="badge text-bg-dark rounded-pill">Light</span>
+ <span class="badge text-bg-dark rounded-pill">Dark</span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge text-primary bg-primary bg-opacity-10 rounded-pill">Primary</span>
+ <span class="badge text-secondary bg-secondary bg-opacity-10 rounded-pill">Secondary</span>
+ <span class="badge text-success bg-success bg-opacity-10 rounded-pill">Success</span>
+ <span class="badge text-danger bg-danger bg-opacity-10 rounded-pill">Danger</span>
+ <span class="badge text-warning bg-warning bg-opacity-10 rounded-pill">Warning</span>
+ <span class="badge text-info bg-info bg-opacity-10 rounded-pill">Info</span>
+ <span class="badge text-dark bg-light bg-opacity-10 rounded-pill">Light</span>
+ <span class="badge text-dark bg-dark bg-opacity-10 rounded-pill">Dark</span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">Primary</span>
+ <span class="badge text-secondary bg-secondary bg-opacity-10 border border-secondary border-opacity-25 rounded-pill">Secondary</span>
+ <span class="badge text-success bg-success bg-opacity-10 border border-success border-opacity-25 rounded-pill">Success</span>
+ <span class="badge text-danger bg-danger bg-opacity-10 border border-danger border-opacity-25 rounded-pill">Danger</span>
+ <span class="badge text-warning bg-warning bg-opacity-10 border border-warning border-opacity-25 rounded-pill">Warning</span>
+ <span class="badge text-info bg-info bg-opacity-10 border border-info border-opacity-25 rounded-pill">Info</span>
+ <span class="badge text-dark bg-light bg-opacity-10 border border-dark border-opacity-25 rounded-pill">Light</span>
+ <span class="badge text-dark bg-dark bg-opacity-10 border border-dark border-opacity-25 rounded-pill">Dark</span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge d-flex align-items-center p-1 pe-2 text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Primary
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-secondary bg-secondary bg-opacity-10 border border-secondary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Secondary
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-success bg-success bg-opacity-10 border border-success border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Success
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-danger bg-danger bg-opacity-10 border border-danger border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Danger
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-warning bg-warning bg-opacity-10 border border-warning border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Warning
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-info bg-info bg-opacity-10 border border-info border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Info
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-light bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Light
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-dark bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Dark
+ </span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge d-flex p-2 align-items-center text-bg-primary rounded-pill">
+ <span class="px-1">Primary</span>
+ <a href="#"><svg class="bi ms-1" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex p-2 align-items-center text-primary bg-primary bg-opacity-10 rounded-pill">
+ <span class="px-1">Primary</span>
+ <a href="#"><svg class="bi ms-1" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex p-2 align-items-center text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">
+ <span class="px-1">Primary</span>
+ <a href="#"><svg class="bi ms-1" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge d-flex align-items-center p-1 pe-2 text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Primary
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-secondary bg-secondary bg-opacity-10 border border-secondary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Secondary
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-success bg-success bg-opacity-10 border border-success border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Success
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-danger bg-danger bg-opacity-10 border border-danger border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Danger
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-warning bg-warning bg-opacity-10 border border-warning border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Warning
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-info bg-info bg-opacity-10 border border-info border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Info
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-light bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Light
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-dark bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Dark
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+</div>