This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathstyle.css
executable file
·98 lines (81 loc) · 2.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
/* This will load Tailwindcss + all the overwrite from Yearn lib */
@import '@yearn-finance/web-lib/style.css';
:root body[data-theme="dark"] {
--color-neutral-0: 225 50% 27%;
--color-neutral-100: 225 51% 23%;
--color-neutral-200: 225 47% 21%;
--color-neutral-300: 219 60% 16%;
--color-neutral-400: 0 0% 100%;
--color-neutral-500: 230 27% 87%;
--color-neutral-700: 0 0% 100%;
--color-primary-100: 226 50% 18%;
--color-primary-200: 225 47% 41%;
@apply bg-neutral-200;
background-image: linear-gradient(180deg,transparent 0,#293e81 80vh);
& .yearn--button[data-variant="light"] {
@apply text-neutral-900 bg-primary-200 hover:bg-primary-100;
&:not(:disabled):not([aria-busy="true"]):hover {@apply bg-primary-100;}
}
& .yearn--card {
@apply border border-neutral-200 !shadow-none;
}
& .yearn--searchBox-wrapper {
--searchBox-text-color: hsl(var(--color-neutral-500));
--searchBox-border-color: hsl(var(--color-neutral-300));
--searchBox-bg-color: hsl(var(--color-neutral-0));
--searchBox-border-width: 1px;
}
& .yearn--searchBox {
@apply focus-within:border-neutral-200;
}
& .yearn--banner {
--banner-bg-color: hsl(var(--color-primary-100));
--banner-text-color: hsl(var(--color-neutral-700));
--banner-border-color: hsl(var(--color-neutral-200));
--banner-border-width: 2px;
}
& .yearn--elementWithActions {
--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));
}
& .project--kbar-wrapper {
@apply rounded-lg opacity-60 bg-neutral-100/70 hover:bg-neutral-100 transition-colors;
}
}
/* 🔵 - Yearn Finance ******************************************************
** Shorthand for some group of style used across the application
**************************************************************************/
.component--alertSelector-wrapper {
@apply flex flex-row items-center space-x-1 md:space-x-2;
}
.component--alertSelector-base {
@apply flex justify-center items-center cursor-pointer py-4 px-4 rounded-default border transition-colors;
}
.component--input-wrapper {
@apply flex overflow-hidden flex-row items-center p-2 w-full h-10 rounded-default border-2 transition-colors border-neutral-0 focus-within:border-accent-500 bg-neutral-200;
}
.component--input-base {
@apply p-0 w-full h-10 bg-transparent border-none focus:border-none outline-none focus:outline-none focus:ring-0;
}
.component--switchCard-wrapper {
@apply flex flex-row justify-between p-2 space-x-2 w-full cursor-pointer md:p-0 md:space-x-6 md:w-max
}
.yearn--searchBox-input {
@apply bg-transparent;
}
.yearn--select-reset {
@apply bg-transparent p-0 border-none;
&:focus {
outline: none;
box-shadow: none;
}
}
.yearn--select-no-arrow {
-webkit-appearance: none;
-moz-appearance: none;
background-image: none;
}
.yearn--select-no-arrow::-ms-expand {
display: none;
}