File size: 3,390 Bytes
d02c2a6 | 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 | @tailwind base;
@tailwind components;
@tailwind utilities;
/* Light mode (default root values, overridden by .dark) */
:root {
--background: #fafafa;
--foreground: #171717;
/* Gray scale: inverted for light mode so bg-gray-950 = light bg, text-gray-100 = dark text */
--gray-950: 235 235 235;
--gray-900: 215 215 215;
--gray-800: 195 195 195;
--gray-700: 175 175 175;
--gray-600: 163 163 163;
--gray-500: 115 115 115;
--gray-400: 82 82 82;
--gray-300: 64 64 64;
--gray-200: 38 38 38;
--gray-100: 23 23 23;
}
/* Dark mode */
.dark {
--background: #0a0a0a;
--foreground: #ededed;
--gray-950: 10 10 10;
--gray-900: 23 23 23;
--gray-800: 38 38 38;
--gray-700: 64 64 64;
--gray-600: 82 82 82;
--gray-500: 115 115 115;
--gray-400: 163 163 163;
--gray-300: 212 212 212;
--gray-200: 229 229 229;
--gray-100: 245 245 245;
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
}
/* Prevent iOS Safari from auto-zooming when a form field is focused.
iOS only zooms when the field's font-size is < 16px. */
@media (max-width: 639px) {
input,
textarea,
select,
.aitk-react-select-container .aitk-react-select__control,
.aitk-react-select-container .aitk-react-select__input,
.aitk-react-select-container .aitk-react-select__single-value,
.aitk-react-select-container .aitk-react-select__placeholder,
.aitk-react-select-container .aitk-react-select__option {
font-size: 16px !important;
}
}
@keyframes heartbeat {
0%,
40%,
100% {
transform: scale(1);
}
10% {
transform: scale(1.6);
}
20% {
transform: scale(1);
}
30% {
transform: scale(1.45);
}
}
.animate-heartbeat {
animation: heartbeat 1.6s ease-in-out infinite;
transform-origin: center;
transform-box: fill-box;
will-change: transform;
}
@layer components {
/* control */
.aitk-react-select-container .aitk-react-select__control {
@apply flex w-full h-8 min-h-0 px-0 text-sm bg-gray-950 dark:bg-gray-800 border border-gray-700 rounded-sm hover:border-gray-600 items-center;
}
/* selected label */
.aitk-react-select-container .aitk-react-select__single-value {
@apply flex-1 min-w-0 truncate text-sm text-gray-200;
}
/* invisible input (keeps focus & typing, never wraps) */
.aitk-react-select-container .aitk-react-select__input-container {
@apply text-gray-200;
}
/* focus */
.aitk-react-select-container .aitk-react-select__control--is-focused {
@apply ring-2 ring-gray-600 border-transparent hover:border-transparent shadow-none;
}
/* menu */
.aitk-react-select-container .aitk-react-select__menu {
@apply bg-gray-950 dark:bg-gray-800 border border-gray-700;
}
/* options */
.aitk-react-select-container .aitk-react-select__option {
@apply text-sm text-gray-200 bg-gray-950 dark:bg-gray-800 hover:bg-gray-700 dark:hover:bg-gray-700 cursor-pointer;
}
/* indicator separator */
.aitk-react-select-container .aitk-react-select__indicator-separator {
@apply bg-gray-600;
}
/* indicators */
.aitk-react-select-container .aitk-react-select__indicators,
.aitk-react-select-container .aitk-react-select__indicator {
@apply py-0 flex items-center;
}
/* placeholder */
.aitk-react-select-container .aitk-react-select__placeholder {
@apply text-sm text-gray-200;
}
}
|