-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathindex.scss
111 lines (93 loc) · 1.68 KB
/
index.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
101
102
103
104
105
106
107
108
109
110
111
.a-link {
display: inline;
text-decoration: none;
color: $color-axa-blue;
align-items: center;
@include text(t3);
&:active,
&:hover {
text-decoration: underline;
color: $color-deep-sapphire;
}
// Simple Link == Everything except the normal hyperlinks
&--simple {
display: inline-flex;
@include text(t4, bold);
text-transform: uppercase;
letter-spacing: 0.4px;
}
&__icon {
display: flex;
margin-left: 10px;
min-width: 24px; // just for IE
&--left {
margin-left: 0;
margin-right: 3px;
}
}
&--icon {
&:active,
&:hover {
text-decoration: none;
}
}
&--red {
color: $color-burnt-sienna;
&:hover,
&:active {
color: $color-flamingo;
}
}
&--white {
color: $color-prim-white;
opacity: 1;
&:active,
&:hover {
color: $color-prim-white;
opacity: 0.65;
}
}
&--hyperlink-white,
&--hyperlink-white-underline {
color: $color-prim-white;
opacity: 1;
&:active,
&:hover {
color: $color-prim-white;
text-decoration: underline;
opacity: 0.65;
}
}
&--hyperlink-white-underline {
text-decoration: underline;
}
&--motion {
&:hover,
&:active,
&:focus {
.a-link__icon {
animation-duration: 0.6s;
animation-timing-function: ease;
animation-fill-mode: both;
animation-name: fadeOutRightInLeft;
}
}
}
}
@keyframes fadeOutRightInLeft {
0% {
opacity: 1;
}
50% {
opacity: 0;
transform: translate3d(50%, 0, 0);
}
51% {
opacity: 0;
transform: translate3d(-50%, 0, 0);
}
100% {
opacity: 1;
transform: none;
}
}