|
| 1 | +@tailwind base; |
| 2 | +@tailwind components; |
| 3 | +@tailwind utilities; |
| 4 | + |
| 5 | +@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap'); |
| 6 | + |
| 7 | +@layer base { |
| 8 | + html { |
| 9 | + background-color: #080d19; |
| 10 | + color: #e2e8f0; |
| 11 | + font-family: 'DM Sans', sans-serif; |
| 12 | + } |
| 13 | + |
| 14 | + body { |
| 15 | + min-height: 100vh; |
| 16 | + background-color: #080d19; |
| 17 | + background-image: radial-gradient(circle, rgba(56, 189, 248, 0.06) 1px, transparent 1px); |
| 18 | + background-size: 28px 28px; |
| 19 | + } |
| 20 | + |
| 21 | + h1, h2, h3, h4, h5 { |
| 22 | + font-family: 'Syne', sans-serif; |
| 23 | + font-weight: 700; |
| 24 | + } |
| 25 | + |
| 26 | + a { |
| 27 | + color: #38bdf8; |
| 28 | + font-weight: 600; |
| 29 | + } |
| 30 | + |
| 31 | + * { |
| 32 | + scrollbar-color: #1c3050 #0d1628; |
| 33 | + scrollbar-width: thin; |
| 34 | + } |
| 35 | +} |
| 36 | + |
| 37 | +@layer components { |
| 38 | + /* form-panel: glass-like dark card */ |
| 39 | + .form-panel { |
| 40 | + background: #0d1628; |
| 41 | + border: 1px solid #1c3050; |
| 42 | + border-radius: .5rem; |
| 43 | + box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08), 0 4px 24px rgba(8, 13, 25, .6); |
| 44 | + overflow: hidden; |
| 45 | + margin-bottom: 1rem; |
| 46 | + } |
| 47 | + |
| 48 | + /* panel-header: dark bar + left 3px sky accent stripe */ |
| 49 | + .panel-header { |
| 50 | + background: #0a1220; |
| 51 | + border-bottom: 1px solid #1c3050; |
| 52 | + border-left: 3px solid #38bdf8; |
| 53 | + padding: .625rem 1rem; |
| 54 | + display: flex; |
| 55 | + align-items: center; |
| 56 | + gap: .5rem; |
| 57 | + font-family: 'Syne', sans-serif; |
| 58 | + font-weight: 700; |
| 59 | + font-size: 1rem; |
| 60 | + color: #e2e8f0; |
| 61 | + margin: 0; |
| 62 | + } |
| 63 | + |
| 64 | + .panel-body { |
| 65 | + padding: 1.25rem; |
| 66 | + } |
| 67 | + |
| 68 | + .panel-body.disabled { |
| 69 | + opacity: 0.35; |
| 70 | + pointer-events: none; |
| 71 | + } |
| 72 | + |
| 73 | + /* form inputs / selects */ |
| 74 | + .form-input, |
| 75 | + .form-select { |
| 76 | + background: #080d19; |
| 77 | + border: 1px solid #1c3050; |
| 78 | + border-radius: .375rem; |
| 79 | + color: #e2e8f0; |
| 80 | + padding: .5rem .75rem; |
| 81 | + width: 100%; |
| 82 | + font-family: 'JetBrains Mono', monospace; |
| 83 | + font-size: .875rem; |
| 84 | + transition: border-color .15s, box-shadow .15s; |
| 85 | + } |
| 86 | + |
| 87 | + .form-input:focus, |
| 88 | + .form-select:focus { |
| 89 | + outline: none; |
| 90 | + border-color: #38bdf8; |
| 91 | + box-shadow: 0 0 0 3px rgba(56, 189, 248, .2); |
| 92 | + } |
| 93 | + |
| 94 | + .form-label { |
| 95 | + display: block; |
| 96 | + color: #94a3b8; |
| 97 | + font-size: .8125rem; |
| 98 | + font-weight: 500; |
| 99 | + margin-bottom: .25rem; |
| 100 | + } |
| 101 | + |
| 102 | + .form-note { |
| 103 | + font-style: italic; |
| 104 | + font-size: .75rem; |
| 105 | + color: #94a3b8; |
| 106 | + } |
| 107 | + |
| 108 | + .form-error { |
| 109 | + color: #f87171; |
| 110 | + font-size: .75rem; |
| 111 | + margin-top: .25rem; |
| 112 | + } |
| 113 | + |
| 114 | + /* submit button */ |
| 115 | + .btn-generate { |
| 116 | + background: linear-gradient(135deg, #0ea5e9, #6366f1); |
| 117 | + color: #fff; |
| 118 | + font-family: 'Syne', sans-serif; |
| 119 | + font-weight: 700; |
| 120 | + font-size: 1rem; |
| 121 | + padding: .875rem 2.5rem; |
| 122 | + border-radius: .5rem; |
| 123 | + border: none; |
| 124 | + cursor: pointer; |
| 125 | + box-shadow: 0 0 20px rgba(56, 189, 248, .25); |
| 126 | + transition: opacity .2s, box-shadow .2s; |
| 127 | + letter-spacing: .025em; |
| 128 | + } |
| 129 | + |
| 130 | + .btn-generate:hover { |
| 131 | + opacity: .9; |
| 132 | + box-shadow: 0 0 30px rgba(56, 189, 248, .4); |
| 133 | + } |
| 134 | +} |
| 135 | + |
| 136 | +/* bootstrap-multiselect overrides */ |
| 137 | +button.multiselect.dropdown-toggle { |
| 138 | + display: block; |
| 139 | + width: 100%; |
| 140 | + background: #080d19; |
| 141 | + border: 1px solid #1c3050; |
| 142 | + border-radius: .375rem; |
| 143 | + color: #e2e8f0; |
| 144 | + padding: .5rem .75rem; |
| 145 | + font-family: 'JetBrains Mono', monospace; |
| 146 | + font-size: .875rem; |
| 147 | + text-align: left; |
| 148 | + cursor: pointer; |
| 149 | + transition: border-color .15s, box-shadow .15s; |
| 150 | +} |
| 151 | + |
| 152 | +button.multiselect.dropdown-toggle:hover, |
| 153 | +button.multiselect.dropdown-toggle:focus { |
| 154 | + border-color: #38bdf8; |
| 155 | + box-shadow: 0 0 0 3px rgba(56, 189, 248, .2); |
| 156 | + outline: none; |
| 157 | +} |
| 158 | + |
| 159 | +.multiselect-container.dropdown-menu { |
| 160 | + display: block; |
| 161 | + position: relative; |
| 162 | + z-index: 10; |
| 163 | + width: 100%; |
| 164 | + background: #080d19; |
| 165 | + border: 1px solid #1c3050; |
| 166 | + border-radius: .375rem; |
| 167 | + margin-top: 2px; |
| 168 | + padding: 4px 0; |
| 169 | + list-style: none; |
| 170 | + max-height: 200px; |
| 171 | + overflow-y: auto; |
| 172 | +} |
| 173 | + |
| 174 | +.multiselect-container > li > a { |
| 175 | + display: block; |
| 176 | + padding: 0; |
| 177 | + color: #e2e8f0; |
| 178 | + text-decoration: none; |
| 179 | +} |
| 180 | + |
| 181 | +.multiselect-container > li > a > label { |
| 182 | + display: block; |
| 183 | + padding: 5px 12px 5px 36px; |
| 184 | + cursor: pointer; |
| 185 | + color: #e2e8f0; |
| 186 | + font-size: .875rem; |
| 187 | + font-family: 'DM Sans', sans-serif; |
| 188 | + margin: 0; |
| 189 | +} |
| 190 | + |
| 191 | +.multiselect-container > li > a > label:hover { |
| 192 | + background: #1c3050; |
| 193 | + color: #38bdf8; |
| 194 | +} |
| 195 | + |
| 196 | +.multiselect-container > li > a > label > input[type=checkbox] { |
| 197 | + margin-right: 8px; |
| 198 | + accent-color: #34d399; |
| 199 | +} |
| 200 | + |
| 201 | +.input-group-addon { |
| 202 | + background: #0d1628; |
| 203 | + border: 1px solid #1c3050; |
| 204 | + color: #94a3b8; |
| 205 | + padding: .375rem .5rem; |
| 206 | + font-size: .875rem; |
| 207 | +} |
| 208 | + |
| 209 | +.multiselect-container .input-group input.form-control { |
| 210 | + background: #080d19; |
| 211 | + border: 1px solid #1c3050; |
| 212 | + border-left: 0; |
| 213 | + color: #e2e8f0; |
| 214 | + padding: .375rem .5rem; |
| 215 | + font-size: .875rem; |
| 216 | +} |
| 217 | + |
| 218 | +button.btn.btn-default.multiselect-clear-filter { |
| 219 | + background: #0d1628; |
| 220 | + border: 1px solid #1c3050; |
| 221 | + color: #94a3b8; |
| 222 | + padding: .25rem .5rem; |
| 223 | + border-radius: .25rem; |
| 224 | + cursor: pointer; |
| 225 | +} |
| 226 | + |
| 227 | +/* Pure CSS toggles — replaces bootstrap-toggle entirely */ |
| 228 | +#generator input[type=checkbox] { |
| 229 | + appearance: none; |
| 230 | + -webkit-appearance: none; |
| 231 | + position: relative; |
| 232 | + display: inline-block; |
| 233 | + width: 44px; |
| 234 | + min-width: 44px; |
| 235 | + height: 24px; |
| 236 | + background: #1c3050; |
| 237 | + border: 1px solid #2d4a6e; |
| 238 | + border-radius: 9999px; |
| 239 | + cursor: pointer; |
| 240 | + vertical-align: middle; |
| 241 | + transition: background .2s, border-color .2s; |
| 242 | +} |
| 243 | + |
| 244 | +#generator input[type=checkbox]::after { |
| 245 | + content: ''; |
| 246 | + position: absolute; |
| 247 | + width: 18px; |
| 248 | + height: 18px; |
| 249 | + background: #94a3b8; |
| 250 | + border-radius: 9999px; |
| 251 | + top: 2px; |
| 252 | + left: 2px; |
| 253 | + transition: left .2s, background .2s; |
| 254 | +} |
| 255 | + |
| 256 | +#generator input[type=checkbox]:checked { |
| 257 | + background: #34d399; |
| 258 | + border-color: #34d399; |
| 259 | +} |
| 260 | + |
| 261 | +#generator input[type=checkbox]:checked::after { |
| 262 | + left: 22px; |
| 263 | + background: #fff; |
| 264 | +} |
0 commit comments