Spaces:
Running
Running
Update index.html
Browse files- index.html +45 -4
index.html
CHANGED
@@ -36,7 +36,6 @@
|
|
36 |
backdrop-filter: blur(8px);
|
37 |
border: 1px solid rgba(255, 255, 255, 0.2);
|
38 |
}
|
39 |
-
/* Default button colors (previously hover colors) */
|
40 |
.btn.bg-blue-600 { background: #2563eb; }
|
41 |
.btn.bg-green-600 { background: #16a34a; }
|
42 |
.btn.bg-gray-700 { background: #374151; }
|
@@ -44,7 +43,6 @@
|
|
44 |
.btn.bg-red-600 { background: #dc2626; }
|
45 |
.btn.bg-gray-200 { background: #e5e7eb; color: #1f2937; }
|
46 |
|
47 |
-
/* Hover effects with slightly darker/lighter shades */
|
48 |
.btn.bg-blue-600:hover { background: #1d4ed8; transform: translateY(-1px); }
|
49 |
.btn.bg-green-600:hover { background: #15803d; transform: translateY(-1px); }
|
50 |
.btn.bg-gray-700:hover { background: #1f2937; transform: translateY(-1px); }
|
@@ -68,18 +66,39 @@
|
|
68 |
border: 1px solid rgba(255, 255, 255, 0.2);
|
69 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
70 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
-
/*
|
73 |
@media (max-width: 640px) {
|
74 |
body {
|
75 |
padding: 0.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
.glass-container {
|
78 |
padding: 0.5rem;
|
79 |
margin: 0;
|
80 |
}
|
81 |
.code-block {
|
82 |
-
height: calc(100vh -
|
83 |
padding: 0.5rem;
|
84 |
}
|
85 |
.flex {
|
@@ -132,10 +151,22 @@
|
|
132 |
.glass-container {
|
133 |
padding: 1.5rem;
|
134 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
}
|
136 |
</style>
|
137 |
</head>
|
138 |
<body class="bg-gradient-to-br from-gray-200 via-gray-300 to-gray-400 min-h-screen font-sans">
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
<!-- Progress Steps -->
|
140 |
<div class="flex justify-center space-x-4 mb-6">
|
141 |
<div class="step-indicator flex items-center justify-center w-10 h-10 rounded-full text-gray-700 font-semibold">1</div>
|
@@ -217,8 +248,18 @@
|
|
217 |
document.querySelectorAll('.step-indicator').forEach((indicator, index) => {
|
218 |
indicator.classList.toggle('active', index === currentStep);
|
219 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
}
|
221 |
document.querySelector('.step-indicator').classList.add('active');
|
|
|
|
|
222 |
</script>
|
223 |
<script src="script.js"></script>
|
224 |
</body>
|
|
|
36 |
backdrop-filter: blur(8px);
|
37 |
border: 1px solid rgba(255, 255, 255, 0.2);
|
38 |
}
|
|
|
39 |
.btn.bg-blue-600 { background: #2563eb; }
|
40 |
.btn.bg-green-600 { background: #16a34a; }
|
41 |
.btn.bg-gray-700 { background: #374151; }
|
|
|
43 |
.btn.bg-red-600 { background: #dc2626; }
|
44 |
.btn.bg-gray-200 { background: #e5e7eb; color: #1f2937; }
|
45 |
|
|
|
46 |
.btn.bg-blue-600:hover { background: #1d4ed8; transform: translateY(-1px); }
|
47 |
.btn.bg-green-600:hover { background: #15803d; transform: translateY(-1px); }
|
48 |
.btn.bg-gray-700:hover { background: #1f2937; transform: translateY(-1px); }
|
|
|
66 |
border: 1px solid rgba(255, 255, 255, 0.2);
|
67 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
68 |
}
|
69 |
+
.header {
|
70 |
+
display: flex;
|
71 |
+
justify-content: space-between;
|
72 |
+
align-items: center;
|
73 |
+
padding: 1rem;
|
74 |
+
background: rgba(255, 255, 255, 0.2);
|
75 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
76 |
+
}
|
77 |
|
78 |
+
/* Responsive Styles */
|
79 |
@media (max-width: 640px) {
|
80 |
body {
|
81 |
padding: 0.5rem;
|
82 |
+
margin: 0;
|
83 |
+
}
|
84 |
+
.header {
|
85 |
+
flex-direction: column;
|
86 |
+
text-align: center;
|
87 |
+
padding: 0.5rem;
|
88 |
+
}
|
89 |
+
.header h1 {
|
90 |
+
font-size: 1.5rem;
|
91 |
+
}
|
92 |
+
.header span {
|
93 |
+
font-size: 1rem;
|
94 |
+
margin-top: 0.5rem;
|
95 |
}
|
96 |
.glass-container {
|
97 |
padding: 0.5rem;
|
98 |
margin: 0;
|
99 |
}
|
100 |
.code-block {
|
101 |
+
height: calc(100vh - 20rem);
|
102 |
padding: 0.5rem;
|
103 |
}
|
104 |
.flex {
|
|
|
151 |
.glass-container {
|
152 |
padding: 1.5rem;
|
153 |
}
|
154 |
+
.header h1 {
|
155 |
+
font-size: 2rem;
|
156 |
+
}
|
157 |
+
.header span {
|
158 |
+
font-size: 1.25rem;
|
159 |
+
}
|
160 |
}
|
161 |
</style>
|
162 |
</head>
|
163 |
<body class="bg-gradient-to-br from-gray-200 via-gray-300 to-gray-400 min-h-screen font-sans">
|
164 |
+
<!-- Header -->
|
165 |
+
<div class="header">
|
166 |
+
<h1 class="text-2xl font-bold text-gray-900">FREE GSHEET2DB</h1>
|
167 |
+
<span id="crud-title" class="text-xl font-semibold text-gray-800 hidden">GENERATE CODE FOR GSHEET TO DB CRUD</span>
|
168 |
+
</div>
|
169 |
+
|
170 |
<!-- Progress Steps -->
|
171 |
<div class="flex justify-center space-x-4 mb-6">
|
172 |
<div class="step-indicator flex items-center justify-center w-10 h-10 rounded-full text-gray-700 font-semibold">1</div>
|
|
|
248 |
document.querySelectorAll('.step-indicator').forEach((indicator, index) => {
|
249 |
indicator.classList.toggle('active', index === currentStep);
|
250 |
});
|
251 |
+
|
252 |
+
// Show/hide CRUD title based on active section
|
253 |
+
const crudTitle = document.getElementById('crud-title');
|
254 |
+
if (sectionId === 'columns') {
|
255 |
+
crudTitle.classList.remove('hidden');
|
256 |
+
} else {
|
257 |
+
crudTitle.classList.add('hidden');
|
258 |
+
}
|
259 |
}
|
260 |
document.querySelector('.step-indicator').classList.add('active');
|
261 |
+
// Initially show CRUD title since 'columns' is active by default
|
262 |
+
document.getElementById('crud-title').classList.remove('hidden');
|
263 |
</script>
|
264 |
<script src="script.js"></script>
|
265 |
</body>
|