mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 14:13:37 +08:00
flatten and simplify default category badge styles
This commit is contained in:
parent
5bb2090b81
commit
d68f30c09d
|
@ -238,5 +238,6 @@
|
|||
.category {
|
||||
float: left;
|
||||
background-color: transparent;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,7 +77,6 @@
|
|||
color: $topic-list-th-color;
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
text-shadow: 0 1px 0 $white;
|
||||
@include box-shadow(inset 0 1px 0 $white);
|
||||
&:first-of-type {
|
||||
@include border-radius-all(4px 0 0 0);
|
||||
|
|
|
@ -21,12 +21,10 @@
|
|||
// --------------------------------------------------
|
||||
|
||||
.badge-category {
|
||||
@extend %badge;
|
||||
padding: 3px 8px;
|
||||
padding: 5px 8px;
|
||||
color: $white;
|
||||
font-size: 12px;
|
||||
text-shadow: 0 1px 0 rgba($black, 0.3);
|
||||
@include box-shadow(inset 0 1px 0 rgba($white, 0.22));
|
||||
font-weight: bold;
|
||||
&[href] {
|
||||
color: $white;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user