-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathstyle.css
More file actions
139 lines (125 loc) · 2.74 KB
/
style.css
File metadata and controls
139 lines (125 loc) · 2.74 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@import './style.base.css';
.font-mono {
font-family: 'Source Code Pro', monospace !important;
}
@layer base {
.max-w-4xl,
.max-w-5xl,
.max-w-6xl {
@apply px-0;
}
.font-number {
@apply font-mono tabular-nums;
}
}
.box-0 {
@apply bg-neutral-0 border border-neutral-200/60 rounded-md shadow-sm;
&.hover {
@apply transition-colors hover:bg-neutral-200;
}
}
.tooltip {
@apply relative cursor-help;
}
.tooltip .tooltiptext,
.tooltip .tooltiptextsmall {
@apply text-xs text-center invisible bg-neutral-0 text-neutral-900 absolute z-50 right-1 opacity-0 transition-opacity p-2 rounded;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.16);
}
.tooltip .tooltipLight {
@apply invisible absolute z-50 opacity-0 transition-opacity flex justify-center items-center;
}
.tooltiptext {
top: 110%;
width: 16rem;
margin-right: calc(-122px + 50%);
}
.tooltiptextsmall {
top: 150%;
width: 10rem;
margin-right: calc(-5rem + 4px);
}
.tooltip:hover .tooltiptext,
.tooltip:hover .tooltiptextsmall,
.tooltip:hover .tooltipLight {
@apply visible opacity-100;
}
.tooltip .tooltiptext::after,
.tooltip .tooltiptextsmall::after {
content: '';
position: absolute;
bottom: 98%;
right: 50%;
margin-right: -5px;
border-width: 5px;
border-style: solid;
border-color: hsl(var(--color-neutral-0)) transparent transparent;
transform: rotate(180deg);
}
.tooltip.top .tooltiptext,
.tooltip.top .tooltiptextsmall {
top: -105%;
bottom: unset;
}
.tooltip.top .tooltiptext::after,
.tooltip.top .tooltiptextsmall::after {
top: 98%;
transform: rotate(0deg);
}
.addr > span {
& > span {
@apply break-normal;
}
@apply break-all;
}
.scrollbar-show::-webkit-scrollbar {
-webkit-appearance: none;
overflow: hidden;
width: 4px;
}
.scrollbar-show::-webkit-scrollbar-thumb {
@apply rounded-md;
background-color: rgba(0, 0, 0, 0.1);
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
}
.scrollable {
@apply -mr-2 pr-1 overflow-y-auto;
scrollbar-gutter: stable;
}
* {
scrollbar-color: rgba(247, 247, 247, 1);
scroll-behavior: smooth;
&::-webkit-scrollbar {
@apply transition-all;
background: rgba(247, 247, 247, 0.5);
border-radius: 14px;
width: 4px;
height: 4px;
}
&::-webkit-scrollbar-thumb {
@apply transition-all;
background-color: rgba(220, 221, 221, 0.5);
border-radius: 14px;
background-clip: padding-box;
}
}
.scrollable:hover {
&::-webkit-scrollbar {
@apply transition-all;
background: rgba(247, 247, 247, 1);
border-radius: 14px;
width: 4px;
height: 4px;
}
&::-webkit-scrollbar-thumb {
@apply transition-all;
background-color: rgba(220, 221, 221, 1);
border-radius: 14px;
background-clip: padding-box;
}
}
:root {
.toast {
@apply rounded-lg border-0 bg-primary flex items-start justify-between p-2 text-xs min-w-[300px] max-w-[600px];
}
}