mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
26 lines
560 B
CSS
26 lines
560 B
CSS
@define-mixin label-type $type {
|
|
.label--$(type) {
|
|
background-color: var(--$(type)-color);
|
|
}
|
|
}
|
|
|
|
.label {
|
|
display: flex;
|
|
background: var(--primary-color);
|
|
padding: var(--padding-tiny) var(--padding-small);
|
|
border-radius: var(--border-radius-inner);
|
|
width: fit-content;
|
|
gap: var(--padding-tiny);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.label--block {
|
|
margin: var(--padding-small) 0;
|
|
}
|
|
|
|
@mixin label-type secondary;
|
|
@mixin label-type danger;
|
|
@mixin label-type warning;
|
|
@mixin label-type success;
|
|
@mixin label-type special;
|
|
@mixin label-type information;
|