gruene-seele/resources/assets/vendor/libs/bootstrap-maxlength/bootstrap-maxlength.scss
2021-01-08 17:48:20 +01:00

67 lines
1.6 KiB
SCSS

@import '../../sass/_custom-variables/libs';
.bootstrap-maxlength {
vertical-align: baseline;
text-align: center;
line-height: 1;
}
@if $enable-light-style {
.light-style {
@import '../../sass/_appwork/include';
.bootstrap-maxlength {
padding: $badge-padding-y $badge-padding-x;
background: $badge-default-bg;
font-weight: $badge-font-weight;
font-size: $badge-font-size;
@include border-bottom-radius($badge-border-radius);
&.label-danger {
background: map-get($theme-colors, danger);
color: yiq(map-get($theme-colors, danger));
}
}
}
}
@if $enable-material-style {
.material-style {
@import '../../sass/_appwork/include-material';
.bootstrap-maxlength {
padding: $badge-padding-y $badge-padding-x;
background: $badge-default-bg;
font-weight: $badge-font-weight;
font-size: $badge-font-size;
@include border-bottom-radius($badge-border-radius);
&.label-danger {
background: map-get($theme-colors, danger);
color: yiq(map-get($theme-colors, danger));
}
}
}
}
@if $enable-dark-style {
.dark-style {
@import '../../sass/_appwork/include-dark';
.bootstrap-maxlength {
padding: $badge-padding-y $badge-padding-x;
background: $badge-default-bg;
font-weight: $badge-font-weight;
font-size: $badge-font-size;
@include border-bottom-radius($badge-border-radius);
&.label-danger {
background: map-get($theme-colors, danger);
color: yiq(map-get($theme-colors, danger));
}
}
}
}