mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
flatten the new / unread post badges
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user