_common.scss
1.79 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
// 通用颜色
.cOrange {
color: $cOrange;
}
.cGreen {
color: $cGreen;
}
.cGray {
color: $cGray;
}
.cDark {
color: $cDark;
}
// 提示栏
.alert {
@extend .bb;
display: flex;
align-items: center;
position: relative;
width: 100%;
border-radius: 10px;
border: solid 1px #dcdddd;
background-color: #f2f2f2;
margin: 0 auto 12px;
padding: 6px 36px;
.icon {
margin-right: 5px;
display: inline-block;
}
.btn {
color: $cOrange;
}
.close {
position: absolute;
right: 17px;
}
}
// 输入框
.ipt-wrap {
.ipt {
@extend .bb;
width: 100%;
height: 4.5rem;
border-radius: 4.5rem;
border: solid 1px #dcdddd !important;
background-color: #ffffff;
padding: 0 2rem;
flex: 1;
display: flex;
align-items: center;
}
.ipt:lang(zh) {
letter-spacing: 0.1rem;
}
.down-arrow {
position: absolute;
top: 2.2rem;
right: 2rem;
background-image: url('~@/assets/images/common/down-arrow.png');
width: 1rem;
height: 8px;
pointer-events: none;
cursor: default;
}
.eye {
position: absolute;
top: 1.2rem;
right: 2rem;
background-image: url('~@/assets/images/common/icon-eyes-off.png');
width: 27px;
height: 24px;
pointer-events: none;
cursor: default;
}
.eye-act {
background-image: url('~@/assets/images/common/icon-eyes-on.png');
}
}
.ipt:focus {
border-color: $cOrange !important;
}
.ipt.err {
border-color: $cOrange !important;
}
.err {
.ipt {
border-color: $cOrange !important;
}
}
// 轮播
.swiper-pagination-bullet {
width: 1rem !important;
height: 1rem !important;
}
.swiper-pagination-bullet-active {
background: $cOrange !important;
}
@media (max-width: 768px) {
.alert {
padding: 4px 36px 4px 12px;
.icon {}
}
}