first commit
This commit is contained in:
53
resources/assets/vendor/scss/_bootstrap-extended/_badge.scss
vendored
Normal file
53
resources/assets/vendor/scss/_bootstrap-extended/_badge.scss
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
// Badges
|
||||
// ? Bootstrap use bg-label-variant and bg color for solid and label style, hence we have not created mixin for that.
|
||||
// *******************************************************************************
|
||||
|
||||
@each $color, $value in $theme-colors {
|
||||
@if $color != primary and $color != light {
|
||||
@include bg-glow-variant('.bg-#{$color}', $value);
|
||||
}
|
||||
}
|
||||
|
||||
// Badge Center Style
|
||||
|
||||
.badge-center {
|
||||
padding: 3px;
|
||||
line-height: 1.375;
|
||||
@include badge-size($badge-height, $badge-width, $badge-center-font-size);
|
||||
i {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
// Dots Style
|
||||
|
||||
.badge.badge-dot {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// Notifications
|
||||
|
||||
.badge.badge-notifications {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
transform: translate(-50%, -45%);
|
||||
|
||||
@include rtl-style {
|
||||
transform: translate(50%, -45%);
|
||||
}
|
||||
|
||||
&:not(.badge-dot) {
|
||||
padding: 0.063rem 0.112rem;
|
||||
font-size: 0.75rem;
|
||||
line-height: 0.875rem;
|
||||
@include border-radius(50rem);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user