forked from nodejs/nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.module.css
More file actions
83 lines (75 loc) · 1.17 KB
/
index.module.css
File metadata and controls
83 lines (75 loc) · 1.17 KB
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
@reference "../../styles/index.css";
.summary {
@apply flex
h-9
cursor-pointer
items-center
gap-2
rounded-md
border
border-neutral-200
p-2
text-sm
text-neutral-700
outline-hidden
select-none
motion-safe:transition-colors
dark:border-neutral-900
dark:text-neutral-300;
&:hover,
&:focus-visible {
@apply bg-neutral-100
dark:bg-neutral-900;
}
}
.dropdownContentWrapper {
@apply absolute
top-full
right-0
z-50
mt-1
max-h-80
w-52
overflow-hidden
rounded-sm
border
border-neutral-200
bg-white
shadow-lg
dark:border-neutral-900
dark:bg-neutral-950;
}
.dropdownContentInner {
@apply max-h-80
w-52
overflow-y-auto;
}
.dropdownItem {
@apply block
px-2.5
py-1.5
text-sm
font-medium
text-neutral-800
no-underline
outline-hidden
motion-safe:transition-colors
dark:text-white;
&:hover,
&:focus-visible {
@apply bg-green-600
text-white;
}
}
.dropdownLabel {
@apply block
text-sm
leading-tight
font-medium;
}
.dropdownVersions {
@apply block
text-xs
leading-tight
opacity-75;
}