forked from innovaccer/design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinkButton.module.css
More file actions
97 lines (80 loc) · 1.85 KB
/
linkButton.module.css
File metadata and controls
97 lines (80 loc) · 1.85 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
.LinkButton {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
box-sizing: border-box;
position: relative;
vertical-align: middle;
cursor: pointer;
user-select: none;
border: 0;
text-align: center;
padding: 0;
background: transparent;
font-weight: var(--font-weight-medium);
font-family: var(--font-family);
border-radius: var(--border-radius-10);
transition: var(--duration--fast-01) var(--standard-productive-curve);
}
.LinkButton--iconAlign-right {
flex-direction: row-reverse;
}
.LinkButton-icon {
line-height: inherit;
display: flex;
align-items: center;
}
.LinkButton-icon--left {
margin-right: var(--spacing-10);
}
.LinkButton-icon--right {
margin-left: var(--spacing-10);
}
.LinkButton--regular {
line-height: var(--font-height);
font-size: var(--font-size);
}
.LinkButton--tiny {
line-height: var(--font-height-s);
font-size: var(--font-size-s);
}
.LinkButton--default {
color: var(--primary);
}
.LinkButton--default:hover {
color: var(--primary-dark);
}
.LinkButton--default:active {
color: var(--primary-darker);
}
.LinkButton--default:focus,
.LinkButton--default:focus-visible {
outline: var(--border-width-05) solid var(--primary-focus);
outline-offset: var(--spacing-05);
}
.LinkButton--default:disabled {
cursor: not-allowed;
pointer-events: none;
color: var(--primary-lighter);
}
/* Subtle Appearance */
.LinkButton--subtle {
color: var(--inverse-lighter);
}
.LinkButton--subtle:hover {
color: var(--inverse-light);
}
.LinkButton--subtle:active {
color: var(--inverse);
}
.LinkButton--subtle:focus,
.LinkButton--subtle:focus-visible {
outline: var(--border-width-05) solid var(--primary-focus);
outline-offset: var(--spacing-05);
}
.LinkButton--subtle:disabled {
cursor: not-allowed;
pointer-events: none;
color: var(--inverse-lightest);
}