Add badge support to tabs
This commit is contained in:
parent
cc54fec629
commit
93cb2ec118
2 changed files with 24 additions and 4 deletions
|
@ -27,12 +27,30 @@
|
|||
a {
|
||||
color: $blue;
|
||||
}
|
||||
|
||||
.badge {
|
||||
color: $blue;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a {
|
||||
color: $blue;
|
||||
}
|
||||
|
||||
.badge {
|
||||
color: $blue;
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
background-color: rgba(0, 0, 0, 0.08);
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border-radius: 100px;
|
||||
font-weight: bold;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,12 +93,14 @@
|
|||
.container
|
||||
Titre
|
||||
%ul.tabs
|
||||
%li{ class: "active" }
|
||||
= link_to "Onglet 1", "#"
|
||||
%li.active
|
||||
= link_to "Onglet actif", "#"
|
||||
%li
|
||||
= link_to "Onglet 2", "#"
|
||||
= link_to "Onglet inactif", "#"
|
||||
%li
|
||||
= link_to "Onglet 3", "#"
|
||||
= link_to "#" do
|
||||
Onglet avec badge
|
||||
%span.badge 2
|
||||
|
||||
.container
|
||||
%h1 Breadcrumbs
|
||||
|
|
Loading…
Reference in a new issue