Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Make tab and badge styling global #318

Merged
merged 1 commit into from
Sep 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions uw-frame-components/css/buckyless/general.less
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,25 @@ button:focus {
}
}
}
.md-tab {
text-transform: none;
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 8px;
font-size: 12px;
font-weight: bold;
color: #fff;
line-height: 1;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
background-color: #999;
border-radius: 10px;
}
&.md-active {
.badge {
background-color: @color1;
}
}
}
22 changes: 0 additions & 22 deletions uw-frame-components/css/buckyless/notifications.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,6 @@
}
}
}
.md-tab {
text-transform: none;
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 8px;
font-size: 12px;
font-weight: bold;
color: #fff;
line-height: 1;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
background-color: #999;
border-radius: 10px;
}
&.md-active {
.badge {
background-color: @color1;
}
}
}
li.read {
padding:8px 10px;
}
Expand Down