-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathstyle.css
175 lines (161 loc) · 3.91 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
@import "@yearn-finance/web-lib/style.css";
@import "@rainbow-me/rainbowkit/styles.css";
* {@apply font-mono;}
:root,
:root body[data-theme="light"] {
--default-rounded: 0rem;
--color-yellow-900: 55 100% 67%;
--color-yellow-300: 55 100% 95%;
--color-yellow-200: 55 100% 90%;
}
:root,
:root body[data-theme="dark"] {
--default-rounded: 0rem;
--color-yellow-900: 55 100% 67%;
--color-yellow-300: 55 100% 95%;
--color-yellow-200: 55 100% 90%;
}
.yearn--modal {
@apply sm:max-w-2xl;
}
::placeholder {
color: #C5C6C7 !important;
}
:-ms-input-placeholder,
::-ms-input-placeholder {
color: #C5C6C7 !important;
}
.whitePlaceholder {
caret-color: #FFFFFF !important;
}
.whitePlaceholder::placeholder {
color: #FFFFFF !important;
opacity: 0.5;
}
.whitePlaceholder:-ms-input-placeholder,
.whitePlaceholder::-ms-input-placeholder {
color: #FFFFFF !important;
opacity: 0.5;
}
/******************************************************************************
** Styled button style
******************************************************************************/
.button {
will-change: transform, opacity;
contain: content;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: fit-content;
transition: 0.1s;
outline: none;
cursor: pointer;
font-weight: 600;
border-radius: 4px;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 16px;
padding-right: 16px;
font-size: 0.875rem;
line-height: 1.25rem;
}
/******************************************************************************
** TAILWIND CSS ++
******************************************************************************/
.text-xxs {
font-size: 10px;
line-height: 12px;
}
.text-ybase {
font-family: Roboto;
font-size: 14px;
font-style: normal;
line-height: 16px;
letter-spacing: 0em;
}
.text-ylarge {
font-family: Roboto;
font-size: 24px;
font-style: normal;
line-height: 32px;
letter-spacing: 0em;
text-align: center;
}
.text-yerror {
font-family: SF Pro Display;
font-size: 14px;
font-style: normal;
line-height: 17px;
letter-spacing: 0em;
}
.dashed-underline-white {
border-bottom: 1px dashed transparent;
}
.dashed-underline-white:hover {
border-bottom: 1px dashed #FFFFFF;
}
.dashed-underline-gray {
border-bottom: 1px dashed transparent;
}
.dashed-underline-gray:hover {
border-bottom: 1px dashed #2c3e50;
}
.dark .dashed-underline-gray:hover {
border-bottom: 1px dashed #ced3dd;
}
.progress-bar {
display: inline-block;
white-space: pre-wrap;
}
.noBr {
border-radius: 0 !important;
}
.noShadow {
box-shadow: none !important;
}
.toaster {
height: 34px !important;
margin-top: -0.5rem !important;
}
/* -- ElementWithActions.tsx ------------------------------------------- */
.yearn--elementWithActions-copy {
@apply cursor-copy px-1 md:px-2;
}
.yearn--elementWithActions-linkout {
@apply cursor-alias;
& > a {@apply cursor-alias;}
}
.yearn--elementWithActions-icon {
@apply w-4 h-4 transition-colors;
color: var(--elementWithActions-action-color);
&:hover {
color: var(--elementWithActions-action-color-hover);
}
}
.yearn--elementWithActions {
@apply font-mono font-bold text-left;
color: var(--elementWithActions-text-color);
& ~ button {
@apply flex justify-center items-center p-0 w-8 h-8;
border-radius: var(--default-rounded);
}
}
.yearn--elementWithActions-wrapper {
--elementWithActions-text-color: hsl(var(--color-neutral-700));
--elementWithActions-action-color: hsl(var(--color-primary-500));
--elementWithActions-action-color-hover: hsl(var(--color-primary-600));
@apply flex flex-row items-center;
}
.yearn--toast-options {
@apply !w-screen text-sm text-neutral-700 !px-4 !rounded-none !shadow-none !py-2 !max-w-full;
}
.yearn--toast-button {
@apply text-xs px-3 py-1 text-[#0657F9] bg-white;
}
.yearn--button {
@apply mb-2 border border-solid border-neutral-500 h-8 px-2 py-0 font-mono text-sm font-semibold transition-colors hover:bg-neutral-100;
&[aria-busy="true"] svg {
@apply text-neutral-900;
}
}