mirror of
https://github.com/tabler/tabler.git
synced 2025-12-24 02:38:15 +04:00
35 lines
515 B
SCSS
35 lines
515 B
SCSS
.badge {
|
|
//font-weight: 600;
|
|
|
|
@at-root a#{&} {
|
|
color: $white;
|
|
}
|
|
|
|
&:empty {
|
|
display: inline-block;
|
|
width: 8px;
|
|
min-width: 0;
|
|
height: 8px;
|
|
min-height: auto;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.badge-up {
|
|
position: absolute;
|
|
top: 25%;
|
|
right: 0;
|
|
min-width: 1rem;
|
|
min-height: 1rem;
|
|
padding: 0 .25rem;
|
|
line-height: 1rem;
|
|
background-clip: padding-box;
|
|
transform: translate(0%, -50%);
|
|
}
|
|
|
|
//bordered
|
|
.badge-outline {
|
|
background-color: transparent;
|
|
border: 1px solid currentColor;
|
|
}
|