Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 7,057 Bytes
b2ecf7d |
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 |
@tailwind base;
@layer base {
html.dark {
--scrollbarBG: #020011;
--thumbBG: #374151;
}
.dark *::-webkit-scrollbar {
width: 11px;
height: 11px;
}
.dark * {
scrollbar-width: thin;
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
.dark input,
.dark textarea,
.dark [contenteditable] {
caret-color: white !important;
}
.dark *::-webkit-scrollbar-track {
background: var(--scrollbarBG);
}
.dark *::-webkit-scrollbar-thumb {
background-color: var(--thumbBG);
border-radius: 6px;
border: 3px solid var(--scrollbarBG);
}
/* .dark input:-internal-autofill-selected {
@apply bg-gray-925;
} */
.dark .bg-white {
@apply bg-gray-950;
}
.dark .text-black {
@apply text-gray-200;
}
.dark .text-gray-900 {
@apply text-gray-200;
}
.dark .text-gray-800 {
@apply text-gray-300;
}
.dark .text-gray-700 {
@apply text-gray-300;
}
.dark .text-gray-600 {
@apply text-gray-350;
}
.dark .text-gray-500 {
@apply text-gray-400;
}
.dark .border-gray-200,
.dark .border-gray-100,
.dark .border,
.dark .border-b {
@apply border-gray-850;
}
}
@tailwind components;
@layer components {
.btn,
.btn-widget {
@apply inline-flex cursor-pointer select-none items-center justify-center whitespace-nowrap rounded-lg border bg-gradient-to-b px-3 py-1 focus:outline-none focus:ring;
}
.btn {
@apply border-gray-200 from-white to-gray-100 text-gray-800 hover:shadow-inner dark:border-gray-900 dark:from-gray-800 dark:to-gray-950 dark:text-gray-200 dark:hover:from-gray-700;
}
.btn-widget {
@apply h-8 from-gray-50 to-gray-200 hover:from-gray-100 dark:border-gray-900 dark:from-gray-800 dark:to-gray-950 dark:hover:from-gray-700;
}
.btn:disabled,
.btn-widget:disabled {
@apply cursor-not-allowed opacity-50;
}
.btn.btn-lg {
@apply px-4 py-1.5 font-semibold;
}
.overview-card-wrapper {
@apply from-gray-50-to-white rounded-lg border border-gray-100 bg-gradient-to-r via-white text-base shadow-sm hover:via-gray-50 hover:to-gray-100 dark:border-gray-900 dark:via-gray-950 dark:hover:from-gray-950 dark:hover:via-gray-925 dark:hover:to-gray-925;
}
.overview-card-wrapper.white {
@apply from-white to-white dark:from-gray-925 dark:to-gray-950;
}
.tab {
@apply -mb-px flex cursor-pointer select-none items-center border-r border-gray-200 px-4 text-center;
}
.tab:not(.active) {
@apply hover:text-gray-700;
}
.tab.active {
@apply flex items-center border-r border-gray-200 bg-white px-4 text-center font-semibold;
}
.tab-alternate {
@apply flex h-full items-center whitespace-nowrap border-b-2 border-transparent px-2.5 font-medium text-gray-600 dark:text-gray-400 sm:px-3.5;
}
.tab-alternate:not(.active) {
@apply hover:border-gray-200 dark:hover:border-gray-800;
}
.tab-alternate.active {
@apply border-gray-700 font-semibold text-gray-800 dark:border-gray-400;
}
.tag {
@apply mr-1 mb-1 inline-flex h-7 max-w-full flex-none items-center overflow-hidden truncate rounded-lg border border-transparent bg-gradient-to-b text-sm dark:border-gray-900 md:mr-1.5 md:mb-1.5;
}
.tag > span {
@apply px-2;
}
.tag.inactive {
@apply filter-grayscale opacity-50;
}
.tag-blue {
@apply from-blue-50 to-blue-50 text-blue-800 hover:to-blue-100 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-ghost {
@apply from-transparent to-transparent text-gray-400 hover:from-gray-100 hover:to-gray-100 hover:text-gray-600;
}
.tag-green {
@apply from-green-50 to-green-50 text-green-800 hover:to-green-100 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-indigo {
@apply from-indigo-50 to-indigo-50 text-indigo-800 hover:to-indigo-100 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-orange {
@apply from-orange-50 to-orange-50 text-orange-800 hover:to-orange-100 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-purple {
@apply from-purple-50 to-purple-50 text-purple-800 hover:to-purple-100 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-red {
@apply from-red-50 to-red-50 text-red-800 hover:to-red-100 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-yellow {
@apply from-yellow-50 text-yellow-800 hover:to-yellow-100 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-white {
@apply border-gray-100 from-white to-white text-gray-700 hover:to-gray-100 dark:border-gray-900 dark:from-gray-925 dark:to-gray-925 dark:text-gray-300 dark:hover:to-gray-950;
}
.tag-ico {
@apply flex h-7 w-8 flex-none items-center bg-gradient-to-t to-white pl-2 dark:to-gray-950;
}
.tag-ico-blue {
@apply from-blue-50 text-blue-500 dark:from-gray-925;
}
.tag-ico-green {
@apply from-green-50 text-green-500 dark:from-gray-925;
}
.tag-ico-indigo {
@apply from-indigo-50 text-indigo-500 dark:from-gray-925;
}
.tag-ico-orange {
@apply from-orange-50 text-orange-500 dark:from-gray-925;
}
.tag-ico-purple {
@apply from-purple-50 text-purple-500 dark:from-gray-925;
}
.tag-ico-red {
@apply from-red-50 text-red-500 dark:from-gray-925;
}
.tag-ico-yellow {
@apply from-yellow-50 text-yellow-500 dark:from-gray-925;
}
.form-input:not([type="checkbox"]) {
@apply border-2 border-gray-200 shadow-sm
focus:border-blue-300 focus:ring focus:ring-blue-200
focus:ring-opacity-50 dark:border-gray-700 dark:bg-gray-950;
}
.form-input:not([type="radio"]):not([type="checkbox"]) {
@apply mt-1 block w-full rounded-md;
}
.form-input[type="radio"] {
@apply mt-2 mr-1.5 h-3.5 w-3.5;
}
.form-input[type="checkbox"] {
@apply rounded border-transparent bg-gray-200 text-blue-500 focus:border-transparent focus:ring-1 focus:ring-gray-200 focus:ring-offset-2;
}
.form-input[type="checkbox"]:checked {
@apply bg-blue-500;
}
.form-input:disabled {
@apply cursor-not-allowed opacity-50;
}
.form-input-alt {
@apply h-10 rounded-lg border border-gray-200 px-3 placeholder-gray-400 shadow-inner outline-none focus:shadow-inner focus:ring-1 focus:ring-inset focus:ring-indigo-200 dark:bg-gray-925 dark:focus:ring-indigo-50;
}
}
@tailwind utilities;
@layer utilities {
.filter-none {
filter: none;
}
.filter-grayscale {
filter: grayscale(100%);
}
.from-gray-50-to-white {
@apply from-gray-50 to-white dark:from-gray-925 dark:to-gray-950;
}
.from-gray-100-to-white {
@apply from-gray-100 to-white dark:from-gray-925 dark:to-gray-925;
}
.min-h-main {
min-height: calc(100vh - theme(spacing.16) - 1px);
}
}
.alert {
@apply rounded-md border border-blue-100 bg-blue-50 py-2 px-3 text-blue-900 dark:border-blue-700 dark:bg-blue-800 dark:text-blue-200;
}
.alert a {
@apply underline;
}
.alert-error {
@apply border-red-100 bg-red-50 text-red-900 dark:border-red-700 dark:bg-red-800 dark:text-red-200;
}
.alert-success {
@apply border-green-100 bg-green-50 text-green-900;
}
.alert-warning {
@apply border-yellow-100 bg-yellow-50 text-yellow-900;
}
|