-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.less
executable file
·69 lines (66 loc) · 1.17 KB
/
base.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/**
* https://juejin.cn/book/6844733826191589390/section/6844733826288058381 公共样式
*/
// *{
// margin: 0;
// padding: 0;
// }
//移动端点击高亮
html,body,p{
padding: 0;
margin: 0;
font-size: 16px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
height: 100%;
}
//body, body * {
// padding: 0;
// margin: 0;
//}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#root {
height: 100%;
}
#app {
height: 100%;
}
.text-deep {
color: rgba(0, 0, 0, 0.9)
}
.text-light {
color: rgba(0, 0, 0, 0.6)
}
input{
border: none;
outline: none;
-webkit-appearance: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
textarea{
border: none;
outline: none;
}
button{
border: none;
outline: none;
}
a{
text-decoration: none;
color: #333;
}
li{
list-style-type: none;
}
//解决端遮罩层穿透
body.dialog-open {
position: fixed;
width: 100%;
}