mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-07 17:56:36 +08:00
框架重构
清除多余的业务
This commit is contained in:
17
WebFirst/wwwroot/vendors/bootstrap/scss/mixins/_badge.scss
vendored
Normal file
17
WebFirst/wwwroot/vendors/bootstrap/scss/mixins/_badge.scss
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
@mixin badge-variant($bg) {
|
||||
color: color-yiq($bg);
|
||||
background-color: $bg;
|
||||
|
||||
@at-root a#{&} {
|
||||
@include hover-focus {
|
||||
color: color-yiq($bg);
|
||||
background-color: darken($bg, 10%);
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&.focus {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user