This commit is contained in:
Nikodem Jaworski 2014-02-25 23:01:20 +01:00
Родитель aacdc90030
Коммит 1ac5d96077
4 изменённых файлов: 24 добавлений и 0 удалений

7
dist/css/ratchet.css поставляемый
Просмотреть файл

@ -552,6 +552,7 @@ input[type="button"] {
border-bottom: 0;
}
.bar-tab .tab-item {
position: relative;
display: table-cell;
width: 1%;
height: 50px;
@ -562,6 +563,12 @@ input[type="button"] {
.bar-tab .tab-item.active, .bar-tab .tab-item:active {
color: #428bca;
}
.bar-tab .tab-item .badge {
vertical-align: top;
position: absolute;
top: 3px;
left: 50%;
}
.bar-tab .tab-item .icon {
top: 3px;
width: 24px;

Просмотреть файл

@ -211,6 +211,7 @@ title: Components · Ratchet
<span class="tab-label">Home</span>
</a>
<a class="tab-item" href="#">
<div class="badge badge-negative badge-filled">3</div>
<span class="icon icon-person"></span>
<span class="tab-label">Profile</span>
</a>

7
docs/dist/css/ratchet.css поставляемый
Просмотреть файл

@ -552,6 +552,7 @@ input[type="button"] {
border-bottom: 0;
}
.bar-tab .tab-item {
position: relative;
display: table-cell;
width: 1%;
height: 50px;
@ -562,6 +563,12 @@ input[type="button"] {
.bar-tab .tab-item.active, .bar-tab .tab-item:active {
color: #428bca;
}
.bar-tab .tab-item .badge {
vertical-align: top;
position: absolute;
top: 3px;
left: 50%;
}
.bar-tab .tab-item .icon {
top: 3px;
width: 24px;

Просмотреть файл

@ -89,6 +89,7 @@
// Navigational tab (Nested to be more specific for the icons in tab-items)
.tab-item {
position: relative;
display: table-cell;
width: 1%;
height: $bar-tab-height;
@ -102,6 +103,14 @@
color: $primary-color;
}
// Activity badge on an icon
.badge {
vertical-align: top;
position: absolute;
top: 3px;
left: 50%;
}
// Tab icon
.icon {
top: 3px;