forked from fanruan/fineui
Browse Source
* commit '13468f619f95da2240fb897811475d41cfcbb8f0': BI-33796 属于BI-32833的后续补充修改,调整body的font-family顺序,使windows点击苹方显示微软雅黑,mac相反es6
Zhenfei.Li
6 years ago
9 changed files with 146 additions and 146 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,61 +1,61 @@
|
||||
@import "../index"; |
||||
|
||||
html { |
||||
height: 100%; |
||||
overflow: hidden; |
||||
} |
||||
|
||||
body { |
||||
position: absolute; |
||||
width: 100%; |
||||
height: 100%; |
||||
margin: 0; |
||||
padding: 0; |
||||
top: 0; |
||||
left: 0; |
||||
background-repeat: repeat; |
||||
.user-select-disable(); |
||||
color: @color-bi-text-normal; |
||||
font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti; |
||||
-webkit-font-smoothing: antialiased; |
||||
-moz-osx-font-smoothing: grayscale; |
||||
text-decoration: none; |
||||
-kthml-user-focus: normal; |
||||
-moz-user-focus: normal; |
||||
-moz-outline: 0 none; |
||||
outline: 0 none; |
||||
} |
||||
|
||||
div, textarea { |
||||
&::-webkit-scrollbar { |
||||
-webkit-appearance: none; |
||||
.background-color(@scroll-color, 5%); |
||||
width: 6px; |
||||
height: 6px; |
||||
} |
||||
&::-webkit-scrollbar-thumb { |
||||
.border-radius(0); |
||||
.background-color(@scroll-color, 30%); |
||||
&:hover { |
||||
.background-color(@scroll-color, 70%); |
||||
} |
||||
} |
||||
} |
||||
|
||||
.bi-theme-dark { |
||||
div, textarea { |
||||
&::-webkit-scrollbar { |
||||
-webkit-appearance: none; |
||||
.background-color(@scroll-color-theme-dark, 5%); |
||||
width: 6px; |
||||
height: 6px; |
||||
} |
||||
&::-webkit-scrollbar-thumb { |
||||
.border-radius(0); |
||||
.background-color(@scroll-color-theme-dark, 30%); |
||||
&:hover { |
||||
.background-color(@scroll-color-theme-dark, 70%); |
||||
} |
||||
} |
||||
} |
||||
@import "../index"; |
||||
|
||||
html { |
||||
height: 100%; |
||||
overflow: hidden; |
||||
} |
||||
|
||||
body { |
||||
position: absolute; |
||||
width: 100%; |
||||
height: 100%; |
||||
margin: 0; |
||||
padding: 0; |
||||
top: 0; |
||||
left: 0; |
||||
background-repeat: repeat; |
||||
.user-select-disable(); |
||||
color: @color-bi-text-normal; |
||||
font: normal 12px "Microsoft YaHei", "PingFangSC-Light", SimHei, SimSun, FangSong, KaiTi, Arial, Tahoma, Verdana, "Times New Roman"; |
||||
-webkit-font-smoothing: antialiased; |
||||
-moz-osx-font-smoothing: grayscale; |
||||
text-decoration: none; |
||||
-kthml-user-focus: normal; |
||||
-moz-user-focus: normal; |
||||
-moz-outline: 0 none; |
||||
outline: 0 none; |
||||
} |
||||
|
||||
div, textarea { |
||||
&::-webkit-scrollbar { |
||||
-webkit-appearance: none; |
||||
.background-color(@scroll-color, 5%); |
||||
width: 6px; |
||||
height: 6px; |
||||
} |
||||
&::-webkit-scrollbar-thumb { |
||||
.border-radius(0); |
||||
.background-color(@scroll-color, 30%); |
||||
&:hover { |
||||
.background-color(@scroll-color, 70%); |
||||
} |
||||
} |
||||
} |
||||
|
||||
.bi-theme-dark { |
||||
div, textarea { |
||||
&::-webkit-scrollbar { |
||||
-webkit-appearance: none; |
||||
.background-color(@scroll-color-theme-dark, 5%); |
||||
width: 6px; |
||||
height: 6px; |
||||
} |
||||
&::-webkit-scrollbar-thumb { |
||||
.border-radius(0); |
||||
.background-color(@scroll-color-theme-dark, 30%); |
||||
&:hover { |
||||
.background-color(@scroll-color-theme-dark, 70%); |
||||
} |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue