CSNET's picture
Design a mobile-first HTML5 web app (single-page) for a modern **Wellness Restoration Platform** under the brand "WP WELLNET", with a clean and professional health-tech UI in Thai language.
55fb16a verified
Raw History Blame Contribute Delete
2.44 kB
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
* {
font-family: 'Prompt', sans-serif;
}
.page-section {
display: none;
}
.page-section.active {
display: block;
}
.nav-item.active {
color: #16a34a;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Smooth transitions */
* {
transition: all 0.3s ease;
}
/* Range slider styling */
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
}
input[type="range"]::-webkit-slider-track {
background: #e5e7eb;
height: 6px;
border-radius: 3px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
background: #16a34a;
height: 20px;
width: 20px;
border-radius: 50%;
margin-top: -7px;
}
input[type="range"]::-moz-range-track {
background: #e5e7eb;
height: 6px;
border-radius: 3px;
}
input[type="range"]::-moz-range-thumb {
background: #16a34a;
height: 20px;
width: 20px;
border-radius: 50%;
border: none;
}
/* Animation for slide in */
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.page-section.active {
animation: slideIn 0.3s ease-out;
}
/* Floating button pulse animation */
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}
}
.fixed.bottom-24.right-4 {
animation: pulse 2s infinite;
}
/* Card hover effects */
.hover\:shadow-lg:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
/* Progress bar animation */
@keyframes progressAnimation {
from {
width: 0;
}
}
.bg-green-500[style*="width"] {
animation: progressAnimation 1s ease-out;
}
/* Notification badge */
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-3px);
}
}
.w-2.h-2.bg-red-500 {
animation: bounce 1.5s infinite;
}