fix: refactor css
This commit is contained in:
@@ -13,9 +13,7 @@ class LoginForm(StylingMixin, AuthenticationForm):
|
||||
widget=forms.EmailInput(
|
||||
attrs={
|
||||
"autofocus": True,
|
||||
"class": "my-2 bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 "
|
||||
"focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600"
|
||||
"dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500",
|
||||
"class": "input-text",
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -25,10 +23,7 @@ class LoginForm(StylingMixin, AuthenticationForm):
|
||||
widget=forms.PasswordInput(
|
||||
attrs={
|
||||
"autocomplete": "current-password",
|
||||
"class": "my-2 bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg "
|
||||
"focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 "
|
||||
"dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 "
|
||||
"dark:focus:border-primary-500",
|
||||
"class": "input-text",
|
||||
}
|
||||
),
|
||||
)
|
||||
@@ -37,8 +32,7 @@ class LoginForm(StylingMixin, AuthenticationForm):
|
||||
required=False,
|
||||
widget=forms.CheckboxInput(
|
||||
attrs={
|
||||
"class": "my-2 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 "
|
||||
"dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-primary-600 dark:ring-offset-gray-800"
|
||||
"class": "input-text"
|
||||
}
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user