You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/assets/stylesheets/common/badge.scss

39 lines
716 B

@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
@import '~cartoassets/src/scss/cdb-variables/colors';
.Badge {
display: block;
position: absolute;
top: -9px;
right: -9px;
width: 17px;
height: 17px;
border-radius: 23px;
background-color: $cIcons-default;
color: #FFF;
font-size: $sFontSize-smallUpperCase;
font-weight: $sFontWeight-normal;
line-height: 17px; /* same as width/height */
text-align: center;
&.is-icon {
position: relative;
top: auto;
right: auto;
}
}
.Badge--negative {
background-color: $cError;
}
.Badge--positive {
background-color: $cHighlight-positive;
}
.Badge--alert {
background-color: $cAlert;
}