mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Run just as fast as I can
To the middle of nowhere To the middle of my frustrated fears And I swear you're just like a pill Instead of makin' me better, You keep makin' me ill You keep makin' me ill adds .label-pill to replace .badge
This commit is contained in:
parent
d80f26fe49
commit
9330c4a947
5
dist/css/bootstrap-flex.css
vendored
5
dist/css/bootstrap-flex.css
vendored
@ -3278,6 +3278,11 @@ a.label:hover {
|
||||
text-decoration: none;
|
||||
cursor: pointer; }
|
||||
|
||||
.label-pill {
|
||||
padding-left: .6em;
|
||||
padding-right: .6em;
|
||||
border-radius: 1rem; }
|
||||
|
||||
.label-default {
|
||||
background-color: #818a91; }
|
||||
.label-default[href]:focus,
|
||||
|
2
dist/css/bootstrap-flex.css.map
vendored
2
dist/css/bootstrap-flex.css.map
vendored
File diff suppressed because one or more lines are too long
@ -3193,6 +3193,11 @@ a.label:hover {
|
||||
text-decoration: none;
|
||||
cursor: pointer; }
|
||||
|
||||
.label-pill {
|
||||
padding-left: .6em;
|
||||
padding-right: .6em;
|
||||
border-radius: 1rem; }
|
||||
|
||||
.label-default {
|
||||
background-color: #818a91; }
|
||||
.label-default[href]:focus,
|
||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
@ -30,3 +30,16 @@ Add any of the below mentioned modifier classes to change the appearance of a la
|
||||
<span class="label label-warning">Warning</span>
|
||||
<span class="label label-danger">Danger</span>
|
||||
{% endexample %}
|
||||
|
||||
### Pill labels
|
||||
|
||||
Use the `.label-pill` modifier class to increase the rounded corners. Useful if you miss the badges from v3.
|
||||
|
||||
{% example html %}
|
||||
<span class="label label-pill label-default">Default</span>
|
||||
<span class="label label-pill label-primary">Primary</span>
|
||||
<span class="label label-pill label-success">Success</span>
|
||||
<span class="label label-pill label-info">Info</span>
|
||||
<span class="label label-pill label-warning">Warning</span>
|
||||
<span class="label label-pill label-danger">Danger</span>
|
||||
{% endexample %}
|
||||
|
@ -36,6 +36,16 @@ a.label {
|
||||
}
|
||||
}
|
||||
|
||||
// Pill labels
|
||||
//
|
||||
// Make them extra rounded with a modifier to replace v3's badges.
|
||||
|
||||
.label-pill {
|
||||
padding-left: .6em;
|
||||
padding-right: .6em;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
|
||||
// Colors
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user