flatten the new / unread post badges
This commit is contained in:
parent
2b3cdf9f38
commit
d8c2856a4c
|
@ -10,11 +10,10 @@
|
||||||
|
|
||||||
%badge {
|
%badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1px solid rgba($black, 0.4);
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@include border-radius-all(4px);
|
@include border-radius-all(10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Category badge
|
// Category badge
|
||||||
|
@ -36,13 +35,11 @@
|
||||||
|
|
||||||
.badge-notification {
|
.badge-notification {
|
||||||
@extend %badge;
|
@extend %badge;
|
||||||
margin-left: 4px;
|
margin-left: 3px;
|
||||||
padding: 2px 4px;
|
padding: 3px 5px;
|
||||||
color: $white;
|
color: $white;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
text-shadow: 0 1px 0 rgba($black, 0.2);
|
|
||||||
background-color: $badge-notification-background-color;
|
background-color: $badge-notification-background-color;
|
||||||
@include box-shadow(inset 0 1px 0 rgba($white, 0.26));
|
|
||||||
&[href] {
|
&[href] {
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
|
@ -56,9 +53,7 @@
|
||||||
// Click count
|
// Click count
|
||||||
|
|
||||||
&.clicks {
|
&.clicks {
|
||||||
border: 0;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-shadow: none;
|
|
||||||
background-color: rgba($black, 0.15)
|
background-color: rgba($black, 0.15)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue