Spaces:
Running
Running
File size: 2,840 Bytes
0e61b0f f92a892 0e61b0f f92a892 0e61b0f f92a892 0e61b0f f92a892 0e61b0f f92a892 0e61b0f f92a892 0e61b0f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | /* Custom Styles for WP WELLNET */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Prompt', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Hide all views by default except dashboard */
.view {
display: none;
}
.view:first-child {
display: block;
}
/* Custom animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.view.active {
display: block;
animation: fadeIn 0.3s ease-out;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #A5D6A7;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #81C784;
}
/* Smooth transitions */
.nav-item {
transition: all 0.2s ease;
}
.nav-item.active {
color: #10B981;
}
.nav-item:hover {
transform: translateY(-1px);
}
/* Card hover effects */
.bg-white:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
transition: all 0.2s ease;
}
/* Button animations */
button {
transition: all 0.2s ease;
}
button:active {
transform: scale(0.98);
}
/* Progress circle animation */
circle {
transition: stroke-dashoffset 0.5s ease-in-out;
}
/* Checkbox custom styling */
input[type="checkbox"] {
appearance: none;
width: 18px;
height: 18px;
border: 2px solid #D1D5DB;
border-radius: 4px;
cursor: pointer;
position: relative;
transition: all 0.2s ease;
}
input[type="checkbox"]:checked {
background-color: #10B981;
border-color: #10B981;
}
input[type="checkbox"]:checked::after {
content: '✓';
position: absolute;
color: white;
font-size: 12px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* Chart container responsiveness */
canvas {
max-width: 100%;
height: auto !important;
}
/* Floating animation for badges */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-5px);
}
}
.badge-float {
animation: float 3s ease-in-out infinite;
}
/* Mobile optimizations */
@media (max-width: 640px) {
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.text-3xl {
font-size: 1.875rem;
}
.text-2xl {
font-size: 1.5rem;
}
}
/* Focus states for accessibility */
button:focus,
input:focus,
select:focus {
outline: 2px solid #10B981;
outline-offset: 2px;
}
/* Loading spinner */
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.spinner {
animation: spin 1s linear infinite;
} |