forked from Tencent/wepy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.less
More file actions
48 lines (48 loc) · 1.09 KB
/
style.less
File metadata and controls
48 lines (48 loc) · 1.09 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
.button {
display: block;
height: 44px;
line-height: 43px;
padding: 0 20px;
font-family: @font_family_1;
font-size: 13px;
text-transform: uppercase;
text-align: center;
letter-spacing: 1px;
color: @color_2;
background-color: @background_color_2;
box-shadow: 0 8px 14px 0 #DEE2E5;
border-radius: 8px;
transform: translate3d(0, 0, 0) scale(1);
transition: transform .1s ease, box-shadow .2s ease, background-color .2s ease;
-webkit-appearance: none;
cursor: pointer;
&:active {
transform: translate3d(0, 0, 0) scale(0.99);
}
&:hover {
background-color: @background_color_3;
}
}
.button.button--disabled {
color: @color_3;
cursor: default;
}
.button.button--secondary {
box-shadow: none;
&:hover {
color: @color_2;
//border: #1F9948 2px solid;
background-color: @background_color_8;
}
}
.button.button--more {
padding: 0 35px;
transform: translate3d(-50%, 0, 0);
position: absolute;
bottom: 30px;
left: 50%;
transition: transform .2s ease, background-color .2s ease;
&:active {
transform: translate3d(-50%, 0, 0) scale(0.99);
}
}