global.scss
2.01 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
body {
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB",'Source Han Sans',"Microsoft YaHei","微软雅黑",Arial,sans-serif !important;
font-size: 16px;
transform: translate3D(0,0,0);
-webkit-transform: translate3D(0,0,0);
}
// html {
// font-size: 16px;
// }
// .page-enter-active {
// transition: all .3s ease;
// }
// .page-leave-active {
// transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
// }
// .page-enter, .page-leave-to {
// transform: translateX(10px);
// opacity: 0;
// }
// @media screen and (min-width: 375px) {
// html {
// /* iPhone6的375px尺寸作为16px基准,414px正好18px大小, 600 20px */
// font-size: calc(100% + 2 * (100vw - 375px) / 39);
// font-size: calc(16px + 2 * (100vw - 375px) / 39);
// }
// }
// @media screen and (min-width: 414px) {
// html {
// /* 414px-1000px每100像素宽字体增加1px(18px-22px) */
// font-size: calc(112.5% + 4 * (100vw - 414px) / 586);
// font-size: calc(18px + 4 * (100vw - 414px) / 586);
// }
// }
// @media screen and (min-width: 600px) {
// html {
// /* 600px-1000px每100像素宽字体增加1px(20px-24px) */
// font-size: calc(125% + 4 * (100vw - 600px) / 400);
// font-size: calc(20px + 4 * (100vw - 600px) / 400);
// }
// }
// @media screen and (min-width: 1000px) {
// html {
// /* 1000px往后是每100像素0.5px增加 */
// font-size: calc(137.5% + 6 * (100vw - 1000px) / 1000);
// font-size: calc(22px + 6 * (100vw - 1000px) / 1000);
// }
// }
.hintDialog {
background-color: #fff;
color: #000;
.headline {
justify-content: center;
font-weight: bold;
padding-bottom: 0;
}
.dialogContent {
justify-content: center;
text-align: center;
.warningIcon {
margin-bottom: 0.5rem;
color: red;
font-size: 5rem;
}
.bold {
font-weight: bold;
}
p {
margin-bottom: 0;
}
}
.btn {
width: 100%;
}
}
input[type=number] {
-webkit-text-security: disc;
}