-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathButton.module.css
More file actions
63 lines (54 loc) · 1.17 KB
/
Button.module.css
File metadata and controls
63 lines (54 loc) · 1.17 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
.button {
display: inline-flex;
align-items: center;
text-align: center;
padding: 8px 16px;
border-radius: 8px;
font-family: (--ifm-font-family-base);
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px;
cursor: pointer;
transition: background-color 0.2s;
svg {
margin-right: 8px;
}
}
.buttonPrimary {
background-color: var(--color-black-action);
color: var(--color-text-on-primary);
border: none;
path {
stroke: var(--color-text-on-primary);
&:first-child {
fill: var(--color-text-on-primary);
}
}
}
.buttonPrimary:hover {
background-color: var(--color-primary-action-hover);
}
.buttonSecondary {
background-color: var(--color-background);
color: var(--color-text);
border: 1px solid var(--color-border);
path {
stroke: var(--color-black-action);
&:first-child {
fill: var(--color-black-action);
}
}
}
.buttonSecondary:hover {
border: 1px solid var(--color-text);
}
.big {
padding: 12px 24px;
}
/* TABLET */
@media (min-width: 768px) {
.button {
width: auto;
}
}