Share badges style in /patron

This commit is contained in:
Mathieu Magnin 2017-09-20 15:47:57 +02:00
parent 42663ca110
commit 8dace5217a
3 changed files with 23 additions and 10 deletions

View file

@ -43,16 +43,6 @@
}
}
.badge {
background-color: rgba(0, 0, 0, 0.08);
padding-left: 5px;
padding-right: 5px;
border-radius: 100px;
font-weight: bold;
color: rgba(0, 0, 0, 0.6);
font-size: 14px;
}
.notifications {
top: 3px;
right: 3px;

View file

@ -0,0 +1,18 @@
@import "colors";
@import "constants";
.badge {
padding: 0 5px;
font-size: 14px;
font-weight: bold;
text-align: center;
white-space: nowrap;
border-radius: 100px;
background-color: rgba(0, 0, 0, 0.08);
vertical-align: top;
&.warning {
background-color: $orange;
color: #FFFFFF;
}
}

View file

@ -68,6 +68,11 @@
%span.label.refused .label.refused
%span.label.without-continuation .label.without-continuation
%h1 Badges
%span.badge 1
%span.badge.warning 1
%h1 Cards
.card