-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuttons.less
49 lines (39 loc) · 849 Bytes
/
buttons.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
@import "colors";
@border-radius: 3px;
@button-font-size: 15px;
.bs-button-override{
border-radius: 0;
}
button {
border-radius: 3px;
cursor: pointer;
border: 1px solid @gray-md;
}
button.border-only {
background: @white;
&:hover {
background-color: lighten(@gray-md, 47%);
transition: background-color 0.3s ease-in-out;
}
&.red:hover {
background: @sw-error-header;
color: @white;
}
}
button.call {
font-size: 1em;
padding: 0.5em 1em;
display: inline-block;
border:1px solid @gray-lt;
background-color: @gray-lt;
color: @call-button;
border-radius: 3px;
appearance: none;
cursor: pointer;
background-image: (linear-gradient(lighten(@gray-lt, 10%), darken(@gray-lt, 1%)));
&:hover {
color: @gray-dk;
border: 1px solid @gray-md;
transition: border 0.2s ease-in-out;
}
}