mirror of
https://github.com/dualshock-tools/dualshock-tools.github.io.git
synced 2026-03-01 11:19:54 +03:00
77 lines
1.7 KiB
CSS
77 lines
1.7 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 */
|
|
i.fas.test-icon-usb {
|
|
animation: pulse 1s ease-in-out infinite !important;
|
|
}
|
|
|
|
i.fas.test-icon-buttons {
|
|
animation: bounce 0.6s ease-in-out infinite !important;
|
|
}
|
|
|
|
i.fas.test-icon-haptic {
|
|
animation: shake 0.5s ease-in-out infinite !important;
|
|
}
|
|
|
|
i.fas.test-icon-adaptive {
|
|
animation: pulse 1s ease-in-out infinite !important;
|
|
}
|
|
|
|
i.fas.test-icon-speaker {
|
|
animation: bounce 0.6s ease-in-out infinite !important;
|
|
}
|
|
|
|
i.fas.test-icon-microphone {
|
|
animation: glow 1.5s ease-in-out infinite !important;
|
|
}
|