mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[CL-759] Remove browser style overrides for checkbox (#15552)
This commit is contained in:
@@ -100,7 +100,7 @@ a:not(popup-page a, popup-tab-navigation a) {
|
||||
}
|
||||
}
|
||||
|
||||
input:not(bit-form-field input, bit-search input),
|
||||
input:not(bit-form-field input, bit-search input, input[bitcheckbox]),
|
||||
select:not(bit-form-field select),
|
||||
textarea:not(bit-form-field textarea) {
|
||||
@include themify($themes) {
|
||||
@@ -109,7 +109,7 @@ textarea:not(bit-form-field textarea) {
|
||||
}
|
||||
}
|
||||
|
||||
input,
|
||||
input:not(input[bitcheckbox]),
|
||||
select,
|
||||
textarea,
|
||||
button:not(bit-chip-select button) {
|
||||
|
||||
@@ -15,6 +15,7 @@ export class CheckboxComponent implements BitFormControlAbstraction {
|
||||
protected inputClasses = [
|
||||
"tw-appearance-none",
|
||||
"tw-outline-none",
|
||||
"tw-box-border",
|
||||
"tw-relative",
|
||||
"tw-transition",
|
||||
"tw-cursor-pointer",
|
||||
@@ -37,6 +38,7 @@ export class CheckboxComponent implements BitFormControlAbstraction {
|
||||
"before:tw-border",
|
||||
"before:tw-border-solid",
|
||||
"before:tw-border-secondary-500",
|
||||
"before:tw-box-border",
|
||||
|
||||
"after:tw-content-['']",
|
||||
"after:tw-block",
|
||||
@@ -44,6 +46,7 @@ export class CheckboxComponent implements BitFormControlAbstraction {
|
||||
"after:tw-inset-0",
|
||||
"after:tw-h-[1.12rem]",
|
||||
"after:tw-w-[1.12rem]",
|
||||
"after:tw-box-border",
|
||||
|
||||
"hover:before:tw-border-2",
|
||||
"[&>label]:before:tw-border-2",
|
||||
|
||||
Reference in New Issue
Block a user