1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-04 09:33:27 +00:00

Migrated Stripe payment fields from Bootstrap to Tailwind (#13633)

This commit is contained in:
Conner Turnbull
2025-03-25 07:41:35 -04:00
committed by GitHub
parent c8069baa24
commit ec07ffde93
4 changed files with 27 additions and 56 deletions

View File

@@ -29,6 +29,29 @@
@apply tw-text-muted !important;
}
/**
* Stripe form control styling
*/
.tw-stripe-form-control {
@apply tw-block tw-w-full tw-h-11 tw-rounded-lg tw-bg-background tw-border tw-border-solid tw-border-secondary-500 tw-px-3 tw-py-2 tw-text-main;
@apply hover:tw-border-primary-600;
@apply focus:tw-outline-none focus:tw-border-primary-600 focus:tw-border-2 focus:tw-ring-1 focus:tw-ring-inset focus:tw-ring-primary-600;
&.is-invalid {
@apply tw-border-danger-600 hover:tw-border-danger-700;
}
&.is-focused {
@apply tw-outline-none tw-border-primary-600 focus:tw-border-primary-600;
&.is-invalid {
@apply tw-border-danger-600;
}
}
}
/**
* Loading page
*/