-
Notifications
You must be signed in to change notification settings - Fork 0
/
_auk-button-link.scss
100 lines (86 loc) · 1.64 KB
/
_auk-button-link.scss
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
98
99
100
/* ==========================================================================
auk-button-link
========================================================================== */
.auk-button-link {
// Reset default button
appearance: none;
border: none;
background-color: transparent;
padding: 0;
// Reset default link
text-decoration: none;
// Build styles
font-family: flanders-sans, sans-serif;
font-size: 1.6rem;
font-weight: 500;
color: $auk-blue-500;
display: flex;
cursor: pointer;
&:hover,
&:active {
color: $auk-blue-700;
}
&:focus {
outline: 0;
border-color: $auk-yellow-500;
box-shadow: inset 0 0 0 0.2rem $auk-yellow-500;
}
}
.auk-button-link {
&[disabled],
&:disabled,
&.auk-button--disabled {
color: $auk-gray-400;
text-decoration: none;
pointer-events: none;
&:hover,
&:active,
&:focus {
text-decoration: none;
}
}
}
.auk-button-link--muted {
color: $auk-gray-600;
&:hover,
&:active {
color: $auk-gray-800;
}
}
.auk-button-link--light {
font-weight: 400;
}
.auk-button-link--small {
.auk-button__label {
font-size: 1.3rem;
}
}
.auk-button-link--block {
display: flex;
width: 100%;
}
.auk-button-link--padded-y {
padding: 0.6rem 0;
}
.auk-button-link--padded {
padding: 0.6rem;
}
.auk-button-link {
.au-c-icon + .auk-button__label,
.auk-button__label + .au-c-icon {
margin-left: .5rem;
}
}
.auk-button-link--icon {
padding: .8rem;
}
.auk-button-link .au-c-icon {
width: 1.8rem;
height: 1.8rem;
position: relative;
line-height: 0;
}
.auk-button-link--small .au-c-icon {
width: 1.5rem;
height: 1.5rem;
}