63 lines
1.1 KiB
CSS
63 lines
1.1 KiB
CSS
/* Puffin Calculator Styles */
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
.puffin-calculator {
|
|
max-width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Custom focus styles for better accessibility */
|
|
input:focus, select:focus, button:focus {
|
|
outline: 3px solid rgba(59, 130, 246, 0.5);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #94a3b8;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #64748b;
|
|
}
|
|
|
|
/* Safari input number button styling */
|
|
input[type="number"]::-webkit-inner-spin-button,
|
|
input[type="number"]::-webkit-outer-spin-button {
|
|
opacity: 1;
|
|
height: 24px;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 640px) {
|
|
.puffin-calculator {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Animation for loading state */
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.animate-spin {
|
|
animation: spin 1s linear infinite;
|
|
}
|