-
Notifications
You must be signed in to change notification settings - Fork 139
Expand file tree
/
Copy pathApp.css
More file actions
190 lines (163 loc) · 3.06 KB
/
App.css
File metadata and controls
190 lines (163 loc) · 3.06 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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/* App.css */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f9;
color: #333;
}
.App {
text-align: center;
padding: 20px;
position: relative; /* Ensure the App container is positioned relatively for absolute children */
}
.logo-container {
text-align: center;
margin-bottom: 20px;
}
.logo {
max-width: 150px; /* Adjust as needed for logo size */
}
.App-header {
background-color: #f8f9fa;
padding: 20px;
border-bottom: 2px solid #eaeaea;
position: relative; /* To position elements inside it */
margin-bottom: 100px; /* Space between header and content */
}
.App-header h1 {
margin: 0;
color: #ff6f00; /* Core Chain orange color */
}
.btn-primary {
background-color: #ff6f00; /* Core Chain orange color */
color: white;
border: none;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
width: 200px; /* Set a consistent width for all buttons */
height: 40px; /* Set a consistent height for all buttons */
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
margin: 10px; /* Add margin to separate buttons */
}
.btn-primary:hover {
background-color: #e65c00; /* Darker orange for hover effect */
}
.input-field {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
width: 200px;
margin: 5px;
}
.input-field:focus {
border-color: #ff6f00;
outline: none;
}
.amount-ticker {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.amount-ticker p {
margin: 5px 20px;
font-size: 18px;
}
.stake-container,
.unstake-container {
margin: 20px 0;
}
.stake-container input,
.unstake-container input {
width: 200px;
}
.modal-btns {
display: flex;
justify-content: center;
gap: 10px;
}
.disconnect-btn {
position: absolute;
top: 20px;
right: 20px;
}
.swap-container {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.swap-box {
width: 350px;
padding: 20px;
border-radius: 10px;
border: 1px solid #ffa31a;
}
.swap-input {
margin-bottom: 20px;
}
.swap-options {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
width: 100px;
margin: 5px;
}
.input-row {
display: flex;
justify-content: space-between;
align-items: center;
}
.input-row select {
width: 40%;
padding: 10px;
margin-right: 10px;
background: #333;
color: white;
border: none;
border-radius: 5px;
}
.input-row input {
width: 60%;
padding: 10px;
background: #333;
color: white;
border: none;
border-radius: 5px;
}
.swap-arrow {
width: 20%;
padding: 10px;
background: #333;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin-bottom: 20px;
}
.swap-subtitle {
text-align: left;
color: #696868;
padding-bottom: 20px;
}
@media (max-width: 768px) {
.amount-ticker {
flex-direction: column;
align-items: flex-start;
}
.amount-ticker p {
margin: 5px 0;
}
.disconnect-btn {
position: relative;
top: auto;
right: auto;
}
}