mirror of
https://github.com/certd/certd.git
synced 2026-05-18 22:57:31 +08:00
335d175d57
chore: Merge branch 'vben' # Conflicts: # package.json perf: antdv示例改成使用vben框架 chore: vben chore: vben chore: vben
35 lines
458 B
SCSS
35 lines
458 B
SCSS
@forward './constants';
|
|
|
|
@mixin b($block) {
|
|
$B: $namespace + '-' + $block !global;
|
|
|
|
.#{$B} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin e($name) {
|
|
@at-root {
|
|
&#{$element-separator}#{$name} {
|
|
@content;
|
|
}
|
|
}
|
|
}
|
|
|
|
@mixin m($name) {
|
|
@at-root {
|
|
&#{$modifier-separator}#{$name} {
|
|
@content;
|
|
}
|
|
}
|
|
}
|
|
|
|
// block__element.is-active {}
|
|
@mixin is($state, $prefix: $state-prefix) {
|
|
@at-root {
|
|
&.#{$prefix}-#{$state} {
|
|
@content;
|
|
}
|
|
}
|
|
}
|