Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,12 @@ These standalone Python project files do not have a browser counterpart yet and
</td>
</tr>
<tr>
<td align="center" width="120">
<a href="https://github.com/yughpatel">
<img src="https://github.com/yughpatel.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="yughpatel" /><br />
<sub><b>@yughpatel</b></sub>
</a>
</td>
<td align="center" width="120">
<a href="https://github.com/yuvraj-k-singh">
<img src="https://github.com/yuvraj-k-singh.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="yuvraj-k-singh" /><br />
Expand All @@ -1195,7 +1201,6 @@ These standalone Python project files do not have a browser counterpart yet and
<td width="120"></td>
<td width="120"></td>
<td width="120"></td>
<td width="120"></td>
</tr>
</table>
<!-- CONTRIBUTORS_END -->
Expand Down
185 changes: 185 additions & 0 deletions web-app/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6760,3 +6760,188 @@ body.sidebar-collapsed .sidebar-dock .sidebar-footer button {
border-color: var(--danger);
color: var(--danger);
}
}

/* ============================================
FIX: Coordinate to Polar Convert Button - GREEN GLOW
============================================ */
.coord-actions .btn-primary#convertCoordinateBtn {
background: linear-gradient(135deg, #22c55e, #16a34a) !important;
color: #ffffff !important;
border: none !important;
padding: 16px 44px !important;
border-radius: 50px !important;
cursor: pointer !important;
font-size: 1.1rem !important;
font-weight: 700 !important;
transition: all 0.3s ease !important;
box-shadow: 0 0 30px rgba(34, 197, 94, 0.35), 0 4px 20px rgba(34, 197, 94, 0.25) !important;
min-width: 180px !important;
height: auto !important;
line-height: 1.5 !important;
letter-spacing: 0.5px !important;
text-transform: none !important;
font-family: 'Space Grotesk', system-ui, sans-serif !important;
}

.coord-actions .btn-primary#convertCoordinateBtn:hover {
transform: translateY(-4px) !important;
box-shadow: 0 0 50px rgba(34, 197, 94, 0.5), 0 8px 35px rgba(34, 197, 94, 0.4) !important;
background: linear-gradient(135deg, #4ade80, #22c55e) !important;
color: #ffffff !important;
}

.coord-actions .btn-primary#convertCoordinateBtn:active {
transform: scale(0.95) !important;
box-shadow: 0 0 20px rgba(34, 197, 94, 0.2), 0 2px 10px rgba(34, 197, 94, 0.15) !important;
}

/* ============================================
FIX: AP/GP/AGP/HP Recognizer - Recognize Button - GREEN GLOW
============================================ */
#recognizeProgressionBtn {
background: linear-gradient(135deg, #22c55e, #16a34a) !important;
color: #ffffff !important;
border: none !important;
padding: 16px 48px !important;
border-radius: 50px !important;
cursor: pointer !important;
font-size: 1.1rem !important;
font-weight: 700 !important;
transition: all 0.3s ease !important;
box-shadow: 0 0 30px rgba(34, 197, 94, 0.35), 0 4px 20px rgba(34, 197, 94, 0.25) !important;
min-width: 200px !important;
letter-spacing: 0.5px !important;
font-family: 'Space Grotesk', system-ui, sans-serif !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
line-height: 1.5 !important;
}

#recognizeProgressionBtn:hover {
transform: translateY(-4px) !important;
box-shadow: 0 0 50px rgba(34, 197, 94, 0.5), 0 8px 35px rgba(34, 197, 94, 0.4) !important;
background: linear-gradient(135deg, #4ade80, #22c55e) !important;
color: #ffffff !important;
}

#recognizeProgressionBtn:active {
transform: scale(0.95) !important;
box-shadow: 0 0 20px rgba(34, 197, 94, 0.2), 0 2px 10px rgba(34, 197, 94, 0.15) !important;
}

/* ============================================
FIX: Derivative Calculator - All Buttons - GREEN GLOW (Smaller)
============================================ */
#calcFirstDerivativeBtn,
#calcNthDerivativeBtn,
#evalDerivativeBtn {
background: linear-gradient(135deg, #22c55e, #16a34a) !important;
color: #ffffff !important;
border: none !important;
padding: 10px 22px !important;
border-radius: 50px !important;
cursor: pointer !important;
font-size: 0.9rem !important;
font-weight: 600 !important;
transition: all 0.3s ease !important;
box-shadow: 0 0 20px rgba(34, 197, 94, 0.3), 0 4px 12px rgba(34, 197, 94, 0.2) !important;
min-width: 120px !important;
letter-spacing: 0.3px !important;
font-family: 'Space Grotesk', system-ui, sans-serif !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
line-height: 1.5 !important;
}

#calcFirstDerivativeBtn:hover,
#calcNthDerivativeBtn:hover,
#evalDerivativeBtn:hover {
transform: translateY(-3px) !important;
box-shadow: 0 0 35px rgba(34, 197, 94, 0.5), 0 8px 25px rgba(34, 197, 94, 0.4) !important;
background: linear-gradient(135deg, #4ade80, #22c55e) !important;
color: #ffffff !important;
}

#calcFirstDerivativeBtn:active,
#calcNthDerivativeBtn:active,
#evalDerivativeBtn:active {
transform: scale(0.95) !important;
box-shadow: 0 0 15px rgba(34, 197, 94, 0.2), 0 2px 10px rgba(34, 197, 94, 0.15) !important;
}

/* ============================================
FIX: Fibonacci Series - Generate Button - GREEN GLOW (Smaller)
============================================ */
#generateFib {
background: linear-gradient(135deg, #22c55e, #16a34a) !important;
color: #ffffff !important;
border: none !important;
padding: 10px 28px !important;
border-radius: 50px !important;
cursor: pointer !important;
font-size: 0.9rem !important;
font-weight: 600 !important;
transition: all 0.3s ease !important;
box-shadow: 0 0 20px rgba(34, 197, 94, 0.3), 0 4px 12px rgba(34, 197, 94, 0.2) !important;
min-width: 120px !important;
letter-spacing: 0.3px !important;
font-family: 'Space Grotesk', system-ui, sans-serif !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
line-height: 1.5 !important;
}

#generateFib:hover {
transform: translateY(-3px) !important;
box-shadow: 0 0 35px rgba(34, 197, 94, 0.5), 0 8px 25px rgba(34, 197, 94, 0.4) !important;
background: linear-gradient(135deg, #4ade80, #22c55e) !important;
color: #ffffff !important;
}

#generateFib:active {
transform: scale(0.95) !important;
box-shadow: 0 0 15px rgba(34, 197, 94, 0.2), 0 2px 10px rgba(34, 197, 94, 0.15) !important;
}

/* ============================================
FIX: Pascal's Triangle - Generate Button - GREEN GLOW
============================================ */
#generatePascal {
background: linear-gradient(135deg, #22c55e, #16a34a) !important;
color: #ffffff !important;
border: none !important;
padding: 12px 28px !important;
border-radius: 50px !important;
cursor: pointer !important;
font-size: 0.9rem !important;
font-weight: 600 !important;
transition: all 0.3s ease !important;
box-shadow: 0 0 20px rgba(34, 197, 94, 0.3), 0 4px 12px rgba(34, 197, 94, 0.2) !important;
min-width: 120px !important;
letter-spacing: 0.3px !important;
font-family: 'Space Grotesk', system-ui, sans-serif !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
line-height: 1.5 !important;
}

#generatePascal:hover {
transform: translateY(-3px) !important;
box-shadow: 0 0 35px rgba(34, 197, 94, 0.5), 0 8px 25px rgba(34, 197, 94, 0.4) !important;
background: linear-gradient(135deg, #4ade80, #22c55e) !important;
color: #ffffff !important;
}

#generatePascal:active {
transform: scale(0.95) !important;
box-shadow: 0 0 15px rgba(34, 197, 94, 0.2), 0 2px 10px rgba(34, 197, 94, 0.15) !important;
}
46 changes: 10 additions & 36 deletions web-app/js/projects/coordinate-polar-transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getCoordinatePolarTransformHTML() {
</div>
</div>

<style>
<style>
.coord-polar-container {
text-align: center;
padding: 1.5rem;
Expand Down Expand Up @@ -79,42 +79,16 @@ function getCoordinatePolarTransformHTML() {
color: var(--primary-color);
min-height: 1.3rem;
}
#cartesianX{
padding:15px;
border-radius:30px;
outline:none;
background-color:var(--bg-color);
border:1px solid white;
color: var(--text-color);
}
#cartesianY{
padding:15px;
border-radius:30px;
outline:none;
background-color:var(--bg-color);
border:1px solid white;
color: var(--text-color);
}
.btn-primary {
background: var(--primary-color);
color: white;
border: none;
padding: 12px 28px;
border-radius: 30px;
cursor: pointer;
font-weight: 600;
font-size: 1rem;
transition: all 0.2s ease;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
filter: brightness(1.05);
}

.btn-primary:active {
transform: translateY(0);
#cartesianX,
#cartesianY {
padding: 15px;
border-radius: 30px;
outline: none;
background-color: var(--bg-color);
border: 1px solid white;
color: var(--text-color);
width: 100%;
}
</style>
`;
Expand Down
55 changes: 23 additions & 32 deletions web-app/js/projects/derivative-calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,33 @@ function getDerivativeCalculatorHTML() {
line-height: 1.6;
}

.control-group {
display: flex;
flex-direction: column;
gap: 0.45rem;
text-align: left;
}

.control-group label {
font-weight: 600;
color: var(--text-secondary);
}

.control-group input {
padding: 0.7rem;
border: 2px solid var(--border-color);
border-radius: 10px;
background: var(--surface-color);
color: var(--text-primary);
font-size: 1rem;
width: 100%;
}

.derivative-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
gap: 1rem;
margin-top: 1rem;
margin: 1rem 0;
}

.derivative-actions {
Expand All @@ -70,37 +92,6 @@ function getDerivativeCalculatorHTML() {
min-height: 110px;
line-height: 1.7;
}
input {
padding: 15px;
border-radius: 30px;
background-color: var(--bg-color);
outline: none;
border: 1px solid var(--border-color);
color: var(--text-color);
width: 100%;
}

button {
background: var(--primary-color);
color: white;
border: none;
padding: 12px 24px;
border-radius: 30px;
cursor: pointer;
font-weight: 600;
font-size: 0.95rem;
transition: all 0.2s ease;
}

button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
filter: brightness(1.05);
}

button:active {
transform: translateY(0);
}
</style>
`;
}
Expand Down
Loading
Loading