1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 17:55:24 +03:00

Altered checkbox/radio accent color & size (#4195)

This commit is contained in:
Yaros 2024-10-01 20:57:38 +02:00 committed by GitHub
parent 0a7f22bcb5
commit f8601c3293
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 5 deletions

View file

@ -129,9 +129,9 @@ input, select, .select2-selection--single {
cursor: not-allowed; cursor: not-allowed;
pointer-events: none; pointer-events: none;
} }
&[type="range"], &[type="checkbox"] { &[type="range"], &[type="checkbox"], &[type="radio"] {
min-width: 0; min-width: 0;
height: unset !important; accent-color: var(--primary-400);
} }
} }
.ms-choice { .ms-choice {
@ -144,9 +144,7 @@ input, select, .select2-selection--single {
min-width: 4rem !important; min-width: 4rem !important;
font-weight: normal !important; font-weight: normal !important;
} }
input {
cursor: text;
}
select, input[type="checkbox"] { select, input[type="checkbox"] {
cursor: pointer; cursor: pointer;
} }

View file

@ -62,6 +62,10 @@
padding: 0 6px; padding: 0 6px;
} }
} }
input[type="checkbox"] {
width: 18px;
height: 18px;
}
ul { ul {
li { li {
list-style: circle; list-style: circle;

View file

@ -6,6 +6,8 @@
input { input {
vertical-align: middle; vertical-align: middle;
margin: 0 5px 0 15px; margin: 0 5px 0 15px;
width: 18px;
height: 18px;
} }
.first { .first {
margin: 0 5px 0 0; margin: 0 5px 0 0;

View file

@ -87,6 +87,10 @@
line-height: 20px; line-height: 20px;
text-align: right; text-align: right;
} }
input[type="checkbox"] {
width: 16px;
height: 16px;
}
} }
input[type="number"] { input[type="number"] {
&::-webkit-inner-spin-button { &::-webkit-inner-spin-button {