@randstad-design/orbit-multitheme
Version:
multitheme Front-end code based on Randstad Human Forward components
62 lines (58 loc) • 1.38 kB
CSS
.badge {
font-family: Montserrat, arial, sans-serif;
font-size: 16px;
text-transform: none;
line-height: 25px;
display: inline-block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border-radius: 15px;
height: 30px;
line-height: 30px;
min-width: 30px;
text-align: center;
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center; }
.badge .icon {
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0; }
.badge--s {
font-family: Montserrat, arial, sans-serif;
font-size: 12px;
text-transform: none;
line-height: 15px;
border-radius: 50%;
height: 20px;
line-height: 20px;
min-width: 20px; }
.badge--l {
padding: 0 15px; }
.badge--xl {
height: 40px;
padding: 0 15px;
border-radius: 20px; }
.badge__text {
display: inline-block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.badge--blue {
background: #1f82db;
color: #fff; }
.badge--blue .icon {
color: #fff; }
/*# sourceMappingURL=badge.css.map */