This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/frontend/less/espo/bootstrap/labels.less
T
Yuri Kuznetsov 2364cb096f less ref
2024-10-30 15:43:42 +02:00

52 lines
945 B
Plaintext

.label {
display: inline;
font-size: 75%;
line-height: 1;
color: var(--label-color);
text-align: center;
white-space: nowrap;
vertical-align: baseline;
a& {
&:hover,
&:focus {
text-decoration: none;
cursor: pointer;
}
}
&:empty {
display: none;
}
// Quick fix for labels in buttons
.btn & {
position: relative;
top: var(--minus-1px);
}
}
.label-default {
.label-variant-espo(var(--label-default-bg); var(--gray-light-10));
}
.label-primary {
.label-variant-espo(var(--brand-primary); var(--brand-primary-10));
}
.label-success {
.label-variant-espo(var(--brand-success); var(--brand-success-10));
}
.label-info {
.label-variant-espo(var(--brand-info); var(--brand-info-10));
}
.label-warning {
.label-variant-espo(var(--brand-warning); var(--brand-warning-10));
}
.label-danger {
.label-variant-espo(var(--brand-danger); var(--brand-danger-10));
}