Files
dualshock-tools.github.io/css/main.css
2025-10-15 21:03:58 +02:00

69 lines
1.5 KiB
CSS

/* Main styles for DualShock Calibration GUI */
/* Add padding to body to prevent content from being hidden behind fixed footer */
body {
padding-bottom: 80px;
}
dl.row dt {
font-weight: normal;
}
dl.row dd {
font-family: monospace;
}
#left-stick-card,
#right-stick-card {
cursor: pointer;
}
.stick-card-active {
border: 1px solid #0d6efd !important;
box-shadow: 0 0 10px rgba(13, 110, 253, 0.3) !important;
}
.stick-card-active .card-header {
background-color: #0d6efd !important;
color: white !important;
}
/* Quick Test Icon Animations */
@keyframes shake {
0%, 100% { transform: translateX(0); }
10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
20%, 40%, 60%, 80% { transform: translateX(2px); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.1); opacity: 0.8; }
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-3px); }
60% { transform: translateY(-2px); }
}
@keyframes glow {
0%, 100% { text-shadow: 0 0 5px rgba(13, 110, 253, 0.5); }
50% { text-shadow: 0 0 15px rgba(13, 110, 253, 0.8), 0 0 25px rgba(13, 110, 253, 0.6); }
}
/* Animation classes for different test types */
.test-icon-haptic {
animation: shake 0.5s ease-in-out infinite;
}
.test-icon-adaptive {
animation: pulse 1s ease-in-out infinite;
}
.test-icon-speaker {
animation: bounce 0.6s ease-in-out infinite;
}
.test-icon-microphone {
animation: glow 1.5s ease-in-out infinite;
}