blob: 0dff9095078c16cf3c9b074490f222195f4e8b98 (
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
39
40
41
42
43
44
45
46
|
/* Focus states */
input:focus, textarea:focus, a:focus {
box-shadow: inset 0 0 0 2px var(--primary);
outline: 0!important;
}
button:focus {
box-shadow: inset 0 0 0 4px var(--primary);
outline: 0!important;
}
.raise {
transition: var(--hover-transition);
transform: translateY(0) translateZ(0);
}
.raise:hover,
.raise:focus {
transition: var(--hover-transition);
transform: translateY(-.12rem) translateZ(0);
}
.raise:active {
transition: var(--hover-transition);
opacity: .5;
}
.hide-child .child {
opacity: 0;
transition: opacity .15s ease-in;
}
.hide-child:hover .child,
.hide-child:focus .child,
.hide-child:active .child {
opacity: 1;
transition: opacity .15s ease-in;
}
.underline-hover:hover,
.underline-hover:focus {
text-decoration: underline;
}
.pointer:hover {
cursor: pointer;
}
|