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