iapyang 6 years ago
parent
commit
ecd0ad5167
  1. 8
      src/less/image.less
  2. 1
      src/less/lib/constant.less

8
src/less/image.less

@ -315,7 +315,7 @@
@color-bi-font-active: #3f8ce8; @color-bi-font-active: #3f8ce8;
// 默认font // 默认font
.font(@class,@content, @color: @color-bi-font-native, @fontSize: 16px) { .font(@class,@content, @color: @color-bi-font-native, @fontSize: @font-size-16) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font { & .b-font {
@ -334,7 +334,7 @@
} }
// 有悬浮效果的font // 有悬浮效果的font
.font-hover(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @fontSize: 16px) { .font-hover(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @fontSize: @font-size-16) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font { & .b-font {
@ -358,7 +358,7 @@
} }
// 有默认、激活(选中)的font // 有默认、激活(选中)的font
.font-hover-active(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active, @fontSize: 16px) { .font-hover-active(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active, @fontSize: @font-size-16) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font { & .b-font {
@ -387,7 +387,7 @@
} }
} }
.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, @fontSize: 16px) { .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, @fontSize: @font-size-16) {
@fc: "\@{content}"; @fc: "\@{content}";
.@{class} { .@{class} {
& .b-font { & .b-font {

1
src/less/lib/constant.less

@ -8,6 +8,7 @@
@font-size-14: 14px; @font-size-14: 14px;
@font-size-16: 16px; @font-size-16: 16px;
@font-size-22: 22px; @font-size-22: 22px;
@font-size-70: 70px;
@radius-2: 2px; @radius-2: 2px;
@radius-6: 6px; @radius-6: 6px;

Loading…
Cancel
Save