Browse Source

KERNEL-6032 去除过期兼容css

es6
iapyang 4 years ago
parent
commit
3f8d39e0b7
  1. 12
      src/less/image.less

12
src/less/image.less

@ -360,9 +360,6 @@
.font(@class,@content, @color: @color-bi-font-native) { .font(@class,@content, @color: @color-bi-font-native) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font {
*zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content};')";
}
& .b-font:before { & .b-font:before {
content: @fc; content: @fc;
color: @color; color: @color;
@ -378,9 +375,6 @@
.font-hover(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover) { .font-hover(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font {
*zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content};')";
}
& .b-font:before { & .b-font:before {
content: @fc; content: @fc;
color: @color-native; color: @color-native;
@ -401,9 +395,6 @@
.font-hover-active(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active) { .font-hover-active(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font {
*zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content};')";
}
& .b-font:before { & .b-font:before {
content: @fc; content: @fc;
color: @color-native; color: @color-native;
@ -429,9 +420,6 @@
.font-effect(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active, @color-selected: @color-bi-font-active) { .font-effect(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active, @color-selected: @color-bi-font-active) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font {
*zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content};')";
}
& .b-font:before { & .b-font:before {
content: @fc; content: @fc;
color: @color-native; color: @color-native;

Loading…
Cancel
Save