-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathbutton.module.scss
More file actions
69 lines (60 loc) · 1.16 KB
/
button.module.scss
File metadata and controls
69 lines (60 loc) · 1.16 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
@import "../../styles/colors";
.socialButton {
user-select: none;
cursor: pointer;
color: white;
font-size: 1.5rem;
border: none;
border-radius: 100%;
padding: 10px 0;
transition: background-color 0.3s cubic-bezier(0.4, 0, 1, 1);
max-height: 36px;
max-width: 36px;
display: flex;
justify-content: center;
align-items: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.telegram {
background-color: $blue-300;
}
.facebook {
background-color: $blue-200;
}
.discord {
background-color: $blue-100;
}
.newsletter {
background-color: $gray-400;
}
.socialButton:hover {
filter: brightness(1.2);
}
@media only screen and (max-width: 600px) {
.socialButton {
max-height: 48px;
max-width: 48px;
}
}
.basicButton {
user-select: none;
cursor: pointer;
color: white;
font-size: 1rem;
border: none;
border-radius: 64px;
background-color: var(--primary);
display: flex;
align-items: center;
justify-content: center;
padding: 6px 12px 6px 6px;
transition: all 0.3s;
width: 126px;
height: 36px;
}
.basicButton:hover {
filter: brightness(1.2);
transform: scale(1.02);
}