generated from yearn/web-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
77 lines (68 loc) · 1.37 KB
/
style.css
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
@import '@yearn-finance/web-lib/dist/style.next.css';
:root {
--default-rounded: 0rem;
margin-left: 0;
}
* {@apply font-aeonik;}
body {@apply text-neutral-900;}
#app {
@apply scroll-mt-28;
}
.header-nav-item {
@apply flex flex-col items-center justify-between cursor-pointer px-4;
&[aria-selected="true"] {
& > p {
@apply pb-5 text-base text-primary font-bold;
}
& > div {
@apply h-0.5 w-full bg-primary;
}
}
&[aria-selected="false"] {
& > p {
@apply pb-5 text-base text-neutral-900;
}
& > div {
@apply h-0.5 w-full bg-transparent transition-colors;
}
&:hover > p {
@apply text-primary font-bold;
}
}
}
.mobile-nav-item {
@apply flex flex-col items-start justify-between rounded bg-good-ol-grey-100;
& > p {
@apply p-2 text-base font-bold text-neutral-900;
}
}
.mobile-nav-item {
@apply flex flex-col items-start justify-between cursor-pointer px-4;
&[aria-selected="true"] {
& > p {
@apply p-2 text-base text-primary;
}
& > div {
@apply h-0.5 w-full bg-primary;
}
}
&[aria-selected="false"] {
& > p {
@apply pb-2 text-base text-neutral-900;
}
& > div {
@apply h-0.5 w-full bg-transparent transition-colors;
}
&:hover > div {
@apply bg-neutral-400;
}
}
}
.hover-fix::before {
display: block;
content: attr(title);
font-weight: bold;
height: 0;
overflow: hidden;
visibility: hidden;
}