Skip to content

Commit de25386

Browse files
authored
[draft] staff (#4611)
2 parents 776fdc6 + 2c60221 commit de25386

File tree

2 files changed

+160
-188
lines changed

2 files changed

+160
-188
lines changed

infra/staff/src/App.css

Lines changed: 61 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,20 @@
11
.container {
2-
position: relative; /* Ensure the parent is relatively positioned */
3-
height: 100vh; /* Full viewport height */
4-
width: 100vw; /* Full viewport width */
5-
display: flex;
6-
justify-content: center;
2+
max-width: 1200px;
3+
height: auto;
74
align-items: center;
5+
margin: 0 auto;
86
}
97

108
.center-table {
119
display: table;
1210
}
1311

14-
.input-form {
15-
display: flex;
16-
flex-direction: column;
17-
align-items: center;
18-
}
19-
20-
.horizontal-group {
21-
position: absolute; /* Use absolute positioning */
22-
top: 32px; /* 32px below the top of the page */
23-
left: 32px; /* 32px from the leftmost edge of the page */
24-
right: 32px;
25-
display: flex;
26-
align-items: center; /* Align items vertically centered */
27-
gap: 20px; /* Adjust the gap between elements as needed */
28-
background-color: #fafafa;
29-
height: 104px;
30-
width: 1375px;
31-
border-radius: 10px;
32-
}
33-
3412
.fetch-button-container button {
3513
background-color: #00b33c;
3614
color: white;
3715
border: none;
3816
width: 199px;
3917
height: 56px;
40-
margin-left: 20px;
4118
}
4219

4320
.fetch-button-container button:hover {
@@ -52,15 +29,9 @@
5229
color: inherit; /* Inherit color from parent */
5330
font-weight: bold; /* Make the text bold */
5431
font-size: 40px;
32+
margin-bottom: 25px;
5533
}
5634

57-
.text-field-token {
58-
margin-left: 70px !important; /* Adjust margin for Token field */
59-
}
60-
61-
.text-field-email {
62-
margin-left: 20px !important; /* Adjust margin for Email field */
63-
}
6435
.duckie-container {
6536
position: absolute;
6637
top: 50%;
@@ -85,32 +56,31 @@
8556
justify-content: center;
8657
align-items: center;
8758
}
88-
.container {
89-
position: relative; /* Ensure the parent is relatively positioned */
90-
height: 100vh; /* Full viewport height */
91-
width: 100vw; /* Full viewport width */
92-
display: flex;
93-
flex-direction: column; /* Add this */
94-
justify-content: center; /* Center vertically */
95-
align-items: center; /* Center horizontally */
96-
}
9759

9860
.input-form {
9961
display: flex;
10062
flex-direction: column;
10163
align-items: center;
102-
z-index: 1; /* Ensure form is on top */
64+
justify-content: space-around;
65+
marign: 20px;
10366
}
10467

10568
.horizontal-group {
10669
display: flex;
10770
align-items: center;
108-
gap: 20px; /* Adjust the gap between elements as needed */
109-
background-color: #fafafa;
71+
background-color: #fcfcfc;
11072
padding: 20px; /* Add padding around content */
11173
border-radius: 10px;
74+
margin-top: 90px;
75+
width: 1200px;
76+
justify-content: space-around;
11277
}
11378

79+
.text-fields {
80+
display: flex;
81+
justify-content: row;
82+
gap: 20px;
83+
}
11484
.fetch-button-container button {
11585
background-color: #00b33c;
11686
color: white;
@@ -123,24 +93,6 @@
12393
background-color: #007c6c;
12494
}
12595

126-
.link-text {
127-
display: flex;
128-
align-items: center;
129-
padding: 0 16px; /* Add padding for better appearance */
130-
text-decoration: none; /* Remove underline */
131-
color: inherit; /* Inherit color from parent */
132-
font-weight: bold; /* Make the text bold */
133-
font-size: 40px;
134-
}
135-
136-
.text-field-token {
137-
margin-left: 70px !important; /* Adjust margin for Token field */
138-
}
139-
140-
.text-field-email {
141-
margin-left: 50px !important; /* Adjust margin for Email field */
142-
}
143-
14496
.center-content {
14597
display: flex;
14698
justify-content: center;
@@ -157,69 +109,18 @@
157109
align-items: center;
158110
}
159111

160-
/* Example CSS to maintain tabs fixed position */
161-
.tabs-container {
162-
position: sticky;
163-
top: 20px; /* Adjust as needed */
164-
z-index: 1000; /* Ensure tabs are above other content */
165-
}
166-
.container {
167-
position: relative; /* Ensure the parent is relatively positioned */
168-
height: 100vh; /* Full viewport height */
169-
width: 100vw; /* Full viewport width */
170-
display: flex;
171-
flex-direction: column; /* Ensure children stack vertically */
172-
justify-content: center; /* Center vertically */
173-
align-items: center; /* Center horizontally */
174-
}
175-
176-
.input-form {
177-
display: flex;
178-
flex-direction: column;
179-
align-items: center;
180-
z-index: 1; /* Ensure form is on top */
181-
margin-bottom: 20px; /* Add space between form and tabs */
182-
}
183-
184-
.horizontal-group {
185-
display: flex;
186-
align-items: center;
187-
gap: 20px; /* Adjust the gap between elements as needed */
188-
background-color: #fafafa;
189-
padding: 20px; /* Add padding around content */
190-
border-radius: 10px;
191-
}
192-
193112
.fetch-button-container button {
194113
background-color: #00b33c;
195114
color: white;
196115
border: none;
197-
width: 199px;
116+
width: 150px;
198117
height: 56px;
199118
}
200119

201120
.fetch-button-container button:hover {
202121
background-color: #007c6c;
203122
}
204123

205-
.link-text {
206-
display: flex;
207-
align-items: center;
208-
padding: 0 16px; /* Add padding for better appearance */
209-
text-decoration: none; /* Remove underline */
210-
color: inherit; /* Inherit color from parent */
211-
font-weight: bold; /* Make the text bold */
212-
font-size: 40px;
213-
}
214-
215-
.text-field-token {
216-
margin-left: 70px !important; /* Adjust margin for Token field */
217-
}
218-
219-
.text-field-email {
220-
margin-left: 50px !important; /* Adjust margin for Email field */
221-
}
222-
223124
.center-content {
224125
display: flex;
225126
justify-content: center;
@@ -236,14 +137,6 @@
236137
align-items: center;
237138
}
238139

239-
.tabs-container {
240-
position: sticky; /* Make the tabs sticky */
241-
top: 0; /* Stick to the top of the viewport */
242-
z-index: 1000; /* Ensure tabs are above other content */
243-
background-color: #fafafa; /* Optional: Add background color to tabs */
244-
padding: 10px 20px; /* Optional: Add padding for better appearance */
245-
border-bottom: 1px solid #ccc; /* Optional: Add bottom border */
246-
}
247140
.dialog-popup-container {
248141
/* Styles for the overlay/background */
249142
position: fixed;
@@ -313,35 +206,65 @@
313206
min-height: 100vh;
314207
}
315208

316-
.input-form {
317-
margin-bottom: 16px;
318-
}
319-
320209
.content-container {
321210
display: flex;
322211
flex-direction: column;
323212
align-items: center;
213+
gap: 25px;
324214
width: 100%;
325-
margin-top: 150px;
326-
}
327-
328-
.horizontal-group {
329-
display: flex;
330-
align-items: center;
331215
}
332216

333217
.fetch-button-container {
334218
margin-right: 10px;
335219
margin-left: 10px;
336220
}
337221

338-
.text-field-token,
339-
.text-field-email {
340-
margin: 0 8px;
341-
}
342-
343222
.error-message {
344223
color: red;
345224
font-weight: bold;
346225
margin-top: 16px;
347226
}
227+
228+
/* MUi Component Custom CSS */
229+
css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input {
230+
padding: none;
231+
margin: none;
232+
}
233+
234+
/* Mobile */
235+
@media screen and (max-width: 475px) {
236+
.link-text {
237+
font-size: 30px;
238+
text-align: center;
239+
}
240+
.input-form {
241+
max-width: 400px;
242+
align-items: center;
243+
gap: 20px;
244+
flex-direction: row;
245+
}
246+
.horizontal-group {
247+
width: 500px;
248+
flex-direction: column;
249+
gap: 25px;
250+
}
251+
.text-fields {
252+
width: fit-content;
253+
flex-direction: column;
254+
gap: 20px;
255+
justify-content: center;
256+
}
257+
.text-fields label {
258+
padding: 0;
259+
margin: none;
260+
}
261+
}
262+
263+
@media screen and (max-width: 576px) {
264+
}
265+
266+
@media screen and (max-width: 900px) {
267+
}
268+
269+
@media screen and (max-width: 1200px) {
270+
}

0 commit comments

Comments
 (0)