blob: deecb1ca8e5772726fe4bcd9886e7b8c5f68d1b0 (
plain)
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
|
.btn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 0.5rem;
background: #fff;
border: 3px solid #195881;
border-radius: 5px;
color: #195881;
font-weight: 600;
text-decoration: none;
cursor: pointer;
&:hover,
&:focus {
background: #195881;
color: #fff;
}
&__icon {
font-weight: 900;
transform: scale(1.2) translateY(-2px);
transition: all 0.3s ease-in-out 0s;
}
&:hover &,
&:focus & {
&__icon {
transform: scale(1.8) translateY(-2px);
}
}
&:active & {
&__icon {
transform: scale(1.2) translateY(-2px);
}
}
}
|