File size: 8,147 Bytes
c09f67c | 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 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | html,
body {
height: 100%;
}
*:focus {
outline: none;
}
.skeleton-box {
background-color: hsl(var(--border));
color: hsl(var(--border));
user-select: none;
cursor: default;
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
border-color: transparent;
}
.skeleton-circle {
background-color: hsl(var(--border));
border-radius: 1000px;
color: hsl(var(--border));
user-select: none;
cursor: default;
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
border-color: transparent;
}
.skeleton-circle > *,
.skeleton-box > *,
.skeleton-line > * {
opacity: 0;
}
.pin-field-container {
display: grid;
grid-auto-columns: max-content;
grid-auto-flow: column;
justify-content: center;
margin: 4rem 0;
}
.pin-field {
border: 1px solid hsl(var(--border));
background-color: hsl(var(--accent));
border-right: none;
font-size: 2rem;
height: 4rem;
outline: none;
text-align: center;
transition-duration: 250ms;
transition-property: color, border, box-shadow, transform;
width: 4rem;
}
.pin-field:last-of-type {
border-radius: 0 0.5rem 0.5rem 0;
border-right: 1px solid hsl(var(--border));
}
.pin-field:focus {
box-shadow: "0 0 0.25rem rgba(white, 0.5)";
opacity: 0.9;
outline: none;
}
.invalid {
animation: shake 0.2s ease-in-out 0s 2;
}
.pin-field:first-of-type {
border-radius: 0.5rem 0 0 0.5rem;
}
.pin-field[disabled] {
cursor: not-allowed;
opacity: 0.5;
}
@keyframes shake {
0% {
transform: translateX(0rem);
}
25% {
transform: translateX(0.5rem);
}
75% {
transform: translateX(-0.5rem);
}
100% {
transform: translateX(0rem);
}
}
/* Desktop App */
html.desktop {
background: transparent;
user-select: none;
-webkit-user-select: none;
overscroll-behavior: none;
border-radius: 10px;
overflow: hidden;
height: 100vh;
width: 100vw;
position: fixed;
top: 0;
left: 0;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
}
html.desktop body {
position: relative;
background: hsl(var(--background));
overscroll-behavior: none;
margin: 0;
padding: 0;
box-sizing: border-box;
height: 100vh;
width: 100%;
overflow: auto;
}
html.desktop body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0.5px solid rgba(0, 0, 0, 0.15);
border-radius: 10px;
z-index: 100;
pointer-events: none;
}
html.desktop.dark body::before {
border: 0.5px solid rgba(255, 255, 255, 0.15);
}
html.desktop .wrapper::-webkit-scrollbar,
html.desktop::-webkit-scrollbar,
html.desktop body::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}
.desktop div,
.desktop a,
.desktop button {
cursor: default;
}
.color-picker .react-colorful {
height: 240px;
}
.color-picker .react-colorful__saturation {
border-radius: 4px 4px 0 0;
}
.color-picker .react-colorful__hue {
height: 40px;
border-radius: 0 0 4px 4px;
}
.color-picker .react-colorful__hue-pointer {
width: 8px;
height: inherit;
}
.color-picker .react-colorful__pointer {
width: 15px;
height: 15px;
}
.color-picker .react-colorful__hue {
height: 20px;
}
.remove-arrow::-webkit-inner-spin-button,
.remove-arrow::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.remove-arrow {
appearance: textfield;
}
input[type="time"]::-webkit-clear-button {
display: none;
}
input[type="time"]::-webkit-calendar-picker-indicator {
display: none;
}
.invoice-editor,
.invoice-editor div[aria-expanded="false"],
.invoice-editor .ProseMirror,
.invoice-editor .is-empty {
height: 100%;
}
.ProseMirror-focused p.is-editor-empty:first-child::before {
content: attr(data-placeholder);
float: left;
color: #434343;
pointer-events: none;
height: 0;
}
.tiptap {
font-size: 11px;
line-height: 18px;
}
.dark .dotted-bg {
background-image: radial-gradient(
circle at 1px 1px,
#232323 0.5px,
transparent 0
);
background-size: 6px 6px;
}
.light .dotted-bg {
background-size: 6px 6px;
background-image: radial-gradient(
circle at 1px 1px,
#e0e0e0 0.5px,
transparent 0
);
}
.global-search-list {
height: min(450px, var(--search-list-height));
overscroll-behavior: contain;
transition: 100ms ease;
transition-property: height;
}
.desktop-search .global-search-list {
height: 450px;
}
.desktop-search .search-container {
border: none;
border-bottom: 0.5px solid hsl(var(--border));
}
.desktop-search .search-footer {
border-left: 0px;
border-right: 0px;
border-bottom: 0px;
border-top: 1px;
}
/* Wiggle Animations for Customize Mode - Faster & Smaller Movements */
@keyframes wiggle1 {
0%,
100% {
transform: rotate(0deg);
}
20% {
transform: rotate(0.6deg);
}
40% {
transform: rotate(-0.4deg);
}
60% {
transform: rotate(0.7deg);
}
80% {
transform: rotate(-0.5deg);
}
}
@keyframes wiggle2 {
0%,
100% {
transform: rotate(0deg);
}
15% {
transform: rotate(-0.6deg);
}
35% {
transform: rotate(0.5deg);
}
55% {
transform: rotate(-0.4deg);
}
75% {
transform: rotate(0.7deg);
}
}
@keyframes wiggle3 {
0%,
100% {
transform: rotate(0deg);
}
25% {
transform: rotate(0.4deg);
}
45% {
transform: rotate(-0.6deg);
}
65% {
transform: rotate(0.6deg);
}
85% {
transform: rotate(-0.3deg);
}
}
@keyframes wiggle4 {
0%,
100% {
transform: rotate(0deg);
}
18% {
transform: rotate(0.7deg);
}
38% {
transform: rotate(-0.5deg);
}
58% {
transform: rotate(0.4deg);
}
78% {
transform: rotate(-0.6deg);
}
}
@keyframes wiggle5 {
0%,
100% {
transform: rotate(0deg);
}
22% {
transform: rotate(-0.5deg);
}
42% {
transform: rotate(0.6deg);
}
62% {
transform: rotate(-0.7deg);
}
82% {
transform: rotate(0.5deg);
}
}
@keyframes wiggle6 {
0%,
100% {
transform: rotate(0deg);
}
28% {
transform: rotate(0.5deg);
}
48% {
transform: rotate(-0.4deg);
}
68% {
transform: rotate(0.6deg);
}
88% {
transform: rotate(-0.7deg);
}
}
@keyframes wiggle7 {
0%,
100% {
transform: rotate(0deg);
}
16% {
transform: rotate(-0.6deg);
}
36% {
transform: rotate(0.7deg);
}
56% {
transform: rotate(-0.4deg);
}
76% {
transform: rotate(0.5deg);
}
}
.wiggle-1 {
animation: wiggle1 1.2s linear infinite;
}
.wiggle-2 {
animation: wiggle2 1.3s linear infinite;
}
.wiggle-3 {
animation: wiggle3 1.1s linear infinite;
}
.wiggle-4 {
animation: wiggle4 1.25s linear infinite;
}
.wiggle-5 {
animation: wiggle5 1.35s linear infinite;
}
.wiggle-6 {
animation: wiggle6 1.15s linear infinite;
}
.wiggle-7 {
animation: wiggle7 1.4s linear infinite;
}
/* Chat input positioning for small viewport heights on homepage */
@media (max-height: 860px) {
.chat-input-wrapper-static {
position: relative;
bottom: auto;
left: 0;
right: 0;
width: 100%;
margin-top: auto;
margin-bottom: 0;
}
.chat-input-static {
position: relative;
bottom: 30px;
left: 0;
right: 0;
width: 100%;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.widgets-container-spacing {
padding-bottom: 0px;
}
/* Allow scrolling when chat input is not fixed */
.chat-interface-container-scrollable {
overflow-y: auto;
overflow-x: hidden;
height: auto;
min-height: calc(100vh - 764px);
}
}
/* Chart selection overlay - exclude labels from background effect */
/* Ensure chart axis labels are not affected by the overlay */
.recharts-wrapper .recharts-xAxis .recharts-cartesian-axis-tick text,
.recharts-wrapper .recharts-yAxis .recharts-cartesian-axis-tick text {
position: relative;
z-index: 10;
user-select: none;
pointer-events: none;
isolation: isolate;
}
/* Ensure the overlay doesn't affect labels */
.chart-selection-overlay {
isolation: isolate;
}
/* Dark mode support for chart selection overlay */
.dark .chart-selection-overlay {
background: rgba(255, 255, 255, 0.08);
}
.dark .chart-selection-border {
border-left-color: #999999;
}
|